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); }
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); }