Example #1
0
 public ValuesController(IMediator mediator, ILoggerManager logger,
                         IOptionsSnapshot <CommonserviceUrlModel> commonServer, IServiceAuthorization serviceAuthorization)
 {
     _serviceAuthorization  = serviceAuthorization;
     _commonserviceUrlModel = commonServer.Value;
     _mediator = mediator;
     _logger   = logger;
 }
Example #2
0
        private CTLToggle()
        {
            this._notificationService  = new ServiceNotificationRequestBin();
            this.authenticationService = new ServiceAuthenticationDummy();
            this.authorizationService  = new ServiceAuthorizationDummy();
            UCIToggle uciT = new UCIToggle();

            this._uciToggle = uciT;

            // NOTE regist as uciT observer
            uciT.observers.Add(this);

            this._observees.Add(uciT);
        }
Example #3
0
 public AuthorizationController(IServiceAuthorization serviceAuthorization, IMapper mapper)
 {
     _serviceAuthorization = serviceAuthorization;
     _mapper = mapper;
 }
Example #4
0
 public SageApiController(IServiceManagement serviceManager, IServiceOdbc serviceOdbc, IServiceAuthorization serviceAuthorization)
 {
     this.serviceManager       = serviceManager;
     this.serviceOdbc          = serviceOdbc;
     this.serviceAuthorization = serviceAuthorization;
 }