public FlightPlainInfo(FlightPlainInfo from) { CharterKey = from.CharterKey; ClassKey = from.ClassKey; FlightDateTimeFrom = from.FlightDateTimeFrom; FlightDateTimeTo = from.FlightDateTimeTo; FlightNumber = from.FlightNumber; AirportFrom = from.AirportFrom; AirportTo = from.AirportTo; FlightClassName = from.FlightClassName; QuotaState = new QuotaStatePlaces(from.QuotaState); AirlineCode = from.AirlineCode; AirlineKey = from.AirlineKey; AirlineName = from.AirlineName; PartnerKey = from.PartnerKey; AircraftCode = from.AirlineCode; }
/// <summary> /// Метод по определению равенства объектов /// </summary> /// <param name="other">Объект, с которым сравниваем</param> /// <returns></returns> protected bool Equals(QuotaStatePlaces other) { return(QuotaState == other.QuotaState && Places == other.Places && IsCheckInQuota.Equals(other.IsCheckInQuota)); }
public QuotaStatePlaces(QuotaStatePlaces from) { QuotaState = from.QuotaState; Places = from.Places; IsCheckInQuota = from.IsCheckInQuota; }
public FlightPlainInfo() { QuotaState = new QuotaStatePlaces(); }