/// <summary>
        ///
        /// </summary>
        /// <param name="azureRedisCacheService"></param>
        public DefaultTenancyCacheItem(IAzureRedisCacheService azureRedisCacheService, IRepositoryService repositoryService)
        {
            _azureRedisCacheService = azureRedisCacheService;

            this._repositoryService = repositoryService;

            this._duration = TimeSpan.FromMinutes(1);
        }
Exemplo n.º 2
0
 public PrincipalManagmentService(IRepositoryService repositoryService,
                                  IOperationContextService operationContextService,
                                  IAzureRedisCacheService azureRedisCacheService)
 {
     this._repositoryService  = repositoryService;
     _operationContextService = operationContextService;
     _azureRedisCacheService  = azureRedisCacheService;
 }
Exemplo n.º 3
0
 public SessionService(IRepositoryService repositoryService,
                       IOperationContextService operationContextService,
                       IAzureRedisCacheService azureRedisCacheService)
 {
     this._repositoryService  = repositoryService;
     _operationContextService = operationContextService;
     _azureRedisCacheService  = azureRedisCacheService;
 }
Exemplo n.º 4
0
        public TenantService(IOperationContextService operationContextService, IPrincipalService principalService,
                             IAzureRedisCacheService azureRedisCacheService, IRepositoryService repositoryService,
                             IAppHostNamesService appHostNamesService)
        {
            this._operationContextService = operationContextService;
            this._principalService        = principalService;

            this._azureRedisCacheService = azureRedisCacheService;
            this._repositoryService      = repositoryService;
            this._hostNamesService       = appHostNamesService;
            _id = Guid.NewGuid();
        }
Exemplo n.º 5
0
 public AzureRedisCacheExplorerController(IAzureRedisCacheService azureRedisCacheService, ILogger logger)
 {
     _azureRedisCacheService = azureRedisCacheService;
     _logger = logger;
 }