Пример #1
0
 public LabelService(ILabelRepository labelRepository, IObjectClassRepository objectClassRepository)
 {
     LabelRepository       = labelRepository ?? throw new ArgumentNullException(nameof(labelRepository));
     ObjectClassRepository = objectClassRepository ?? throw new ArgumentNullException(nameof(objectClassRepository));
 }
Пример #2
0
 public ObjectClassService(IObjectClassRepository objectClassRepository)
 {
     ObjectClassRepository = objectClassRepository ?? throw new ArgumentNullException(nameof(objectClassRepository));
 }