protected virtual void Initialize(BinaryCarsFile from) { from.ThrowArgumentNullExceptionIfNull(); Cars = new CarsCollection <XmlCar>(from.Cars.Convert(new Mapper <BinaryCar, XmlCar>())); }
public BinaryCarsFile(CarsCollection <BinaryCar> cars) : base(cars) { SunbscribeCarsCollectionEvents(); }
public XmlCarsFile(CarsCollection <XmlCar> cars) : base(cars) { }
public BaseCarsFile(CarsCollection <TCar> cars) { cars.ThrowArgumentNullExceptionIfNull(); carsField = cars; }