internal static ILocation V2C(VLocation view) { if (!System.Runtime.Remoting.RemotingServices.IsObjectOutOfAppDomain(view) && (view.GetType().Equals(typeof(LocationC2V)))) { return(((LocationC2V)(view)).GetSourceContract()); } else { return(new LocationV2C(view)); } }
public int CheckSum() { int ret = 0; ret += VMake.CalCheckSum(); ret += VModel.CalCheckSum(); ret += VYear.CalCheckSum(); ret += VType.ToDescription().CalCheckSum(); ret += VVIN.CalCheckSum(); ret += VRegion.CalCheckSum(); ret += VLocation.CalCheckSum(); ret += VStatus.ToString().CalCheckSum(); return(ret); }
public LocationV2C(VLocation view) { _view = view; }