public bool Equals(BinaryCarsFile other)
 {
     return(other != null &&
            base.Equals(other) &&
            Header == other.Header &&
            RecordsCount == other.RecordsCount);
 }
 protected virtual void Initialize(BinaryCarsFile from)
 {
     from.ThrowArgumentNullExceptionIfNull();
     Cars = new CarsCollection <XmlCar>(from.Cars.Convert(new Mapper <BinaryCar, XmlCar>()));
 }
 void IInitializable <BinaryCarsFile> .Initialize(BinaryCarsFile from)
 {
     Initialize(from);
 }