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