public PrincipalManagmentService(IRepositoryService repositoryService, IOperationContextService operationContextService, IAzureRedisCacheService azureRedisCacheService) { this._repositoryService = repositoryService; _operationContextService = operationContextService; _azureRedisCacheService = azureRedisCacheService; }
public SessionService(IRepositoryService repositoryService, IOperationContextService operationContextService, IAzureRedisCacheService azureRedisCacheService) { this._repositoryService = repositoryService; _operationContextService = operationContextService; _azureRedisCacheService = azureRedisCacheService; }
public AzureRedisCacheService(IOperationContextService operationContextService, IAzureRedisConnection azureRedisConnection) { this._operationContextService = operationContextService; if (azureRedisConnection.Enabled) { _redisContext = new Lazy <RedisContext>(() => new RedisContext(azureRedisConnection.ConnectionMultiplexer)); } //To make this library's context: }
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(); }