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