public AddCustomTagHandler(IAddCustomTagService addCustomTagService)
 {
     EnsureArg.IsNotNull(addCustomTagService, nameof(addCustomTagService));
     _addCustomTagService = addCustomTagService;
 }
Example #2
0
 public AddCustomTagServiceTests()
 {
     _customTagEntryValidator = Substitute.For <ICustomTagEntryValidator>();
     _customTagStore          = Substitute.For <ICustomTagStore>();
     _customTagService        = new AddCustomTagService(_customTagStore, _customTagEntryValidator, NullLogger <AddCustomTagService> .Instance);
 }
Example #3
0
 public AddCustomTagHandler(IDicomAuthorizationService dicomAuthorizationService, IAddCustomTagService addCustomTagService)
     : base(dicomAuthorizationService)
 {
     EnsureArg.IsNotNull(addCustomTagService, nameof(addCustomTagService));
     _addCustomTagService = addCustomTagService;
 }
Example #4
0
 public AddCustomTagServiceTests()
 {
     _customTagEntryValidator = Substitute.For <ICustomTagEntryValidator>();
     _customTagStore          = Substitute.For <ICustomTagStore>();
     _customTagService        = new AddCustomTagService(_customTagStore, _customTagEntryValidator);
 }