Ejemplo n.º 1
0
 public ImagesController(ILogger <ImagesController> logger, IServiceAppService serviceAppService,
                         IImageService imageService, IStorageService storageService)
 {
     this._logger            = logger ?? throw new ArgumentNullException(nameof(logger));
     this._imageService      = imageService ?? throw new ArgumentNullException(nameof(imageService));
     this._storageService    = storageService ?? throw new ArgumentNullException(nameof(storageService));
     this._serviceAppService = serviceAppService ?? throw new ArgumentNullException(nameof(serviceAppService));
 }
Ejemplo n.º 2
0
 public ApiUserController(IUserAppService userAppService, IUserTokenAppService userTokenAppService, IServiceAppService serviceAppService, IOrderedAppService orderedAppService, IEvaluationAppService evaluationAppService)
 {
     this._userAppService       = userAppService;
     this._userTokenAppService  = userTokenAppService;
     this._serviceAppService    = serviceAppService;
     this._orderedAppService    = orderedAppService;
     this._evaluationAppService = evaluationAppService;
 }
Ejemplo n.º 3
0
 public ImageService(ILogger <ImageService> logger,
                     IServiceAppService serviceAppService,
                     IStorageService storageService, IStaticObjectsRepository repository)
 {
     this._logger            = logger ?? throw new ArgumentNullException(nameof(logger));
     this._storageService    = storageService ?? throw new ArgumentNullException(nameof(storageService));
     this._serviceAppService = serviceAppService ?? throw new ArgumentNullException(nameof(serviceAppService));
     this._repository        = repository ?? throw new ArgumentNullException(nameof(repository));
 }
Ejemplo n.º 4
0
 public ServiceController(IServiceAppService serviceAppService)
 {
     _serviceAppService = serviceAppService;
 }
Ejemplo n.º 5
0
 public ServiceController(IServiceAppService appService, ServiceValidator validator, IConfigurationRoot configuration)
 {
     this.appService    = appService;
     this.validator     = validator;
     this.configuration = configuration;
 }
 public ServiceAppService_Tests()
 {
     _serviceAppService = GetRequiredService <IServiceAppService>();
 }