コード例 #1
0
 public CarsApplication(IRecorder recorder, IIdentifierFactory idFactory, ICarStorage storage,
                        IPersonsService personsService)
 {
     recorder.GuardAgainstNull(nameof(recorder));
     idFactory.GuardAgainstNull(nameof(idFactory));
     storage.GuardAgainstNull(nameof(storage));
     personsService.GuardAgainstNull(nameof(personsService));
     this.recorder       = recorder;
     this.idFactory      = idFactory;
     this.storage        = storage;
     this.personsService = personsService;
 }
コード例 #2
0
ファイル: CarLogic.cs プロジェクト: pvl-mr/Autoshow
 public CarLogic(ICarStorage CarStorage)
 {
     this.CarStorage = CarStorage;
 }
コード例 #3
0
 public CarsController(ICarStorage carStorage)
 {
     _carStorage = carStorage;
 }