Files
Partsource/PartSource.Data/Nexpart/VehicleIdentifier.cs
2020-04-12 20:52:03 -04:00

31 lines
1004 B
C#

// Decompiled with JetBrains decompiler
// Type: PartSource.Data.Nexpart.VehicleIdentifier
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
using System.Xml.Serialization;
namespace PartSource.Data.Nexpart
{
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
public class VehicleIdentifier
{
[XmlElement(Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
public int BaseVehicleId { get; set; }
[XmlElement(Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
public int EngineConfigId { get; set; }
public bool ShouldSerializeBaseVehicleId()
{
return BaseVehicleId != 0;
}
public bool ShouldSerializeEngineConfigId()
{
return EngineConfigId != 0;
}
}
}