Beispiel #1
0
 public ControlService(IControlRepository controlRepository, 
                       IControlTypeRepository controlTypeRepository,
                       IControlPropertyRepository controlPropertyRepository)
 {
     this.ControlRepository = controlRepository;
     this.ControlTypeRepository = controlTypeRepository;
     this.ControlPropertyRepository = controlPropertyRepository;
     this.AddDisposableObject(controlRepository);
     this.AddDisposableObject(ControlTypeRepository);
     this.AddDisposableObject(ControlPropertyRepository);
 }
Beispiel #2
0
 public ControlService(IControlRepository controlRepository,
                       IControlTypeRepository controlTypeRepository,
                       IControlPropertyRepository controlPropertyRepository)
 {
     this.ControlRepository         = controlRepository;
     this.ControlTypeRepository     = controlTypeRepository;
     this.ControlPropertyRepository = controlPropertyRepository;
     this.AddDisposableObject(controlRepository);
     this.AddDisposableObject(ControlTypeRepository);
     this.AddDisposableObject(ControlPropertyRepository);
 }