public TokenController(IMemoryFlow flow, IOptions <ApplicationOptions> options, PageFactoryManager pageFactoryManager, ILogger <TokenController> logger) { _flow = flow; _options = options.Value; _pageFactoryManager = pageFactoryManager; _logger = logger; }
public NGeniusClient(IOptions <NGeniusOptions> options, IHttpClientFactory clientFactory, IMemoryFlow <string> cache, IOptions <SenderOptions> senderOptions) { _options = options.Value; _cache = cache; _clientFactory = clientFactory; _senderOptions = senderOptions.Value; }
public HttpBasedAgentContextService(EdoContext context, ITokenInfoAccessor tokenInfoAccessor, IHttpContextAccessor httpContextAccessor, IMemoryFlow flow) { _context = context; _tokenInfoAccessor = tokenInfoAccessor; _httpContextAccessor = httpContextAccessor; _flow = flow; }
public MarkupService(IMarkupPolicyService markupPolicyService, IDiscountFunctionService discountFunctionService, IMarkupPolicyTemplateService templateService, ICurrencyRateService currencyRateService, IMemoryFlow flow) { _markupPolicyService = markupPolicyService; _discountFunctionService = discountFunctionService; _templateService = templateService; _currencyRateService = currencyRateService; _flow = flow; }
public DoubleFlow(IDistributedFlow distributed, IMemoryFlow memory, ILogger <DoubleFlow>?logger = default, IOptions <FlowOptions>?options = default) { _distributed = distributed; _memory = memory; if (options is null) { logger?.LogNoOptionsProvided(nameof(DoubleFlow)); Options = new FlowOptions(); } else { Options = options.Value; } }
public static string BuildKey <T>(this IMemoryFlow <T> cache, params string[] keyComponents) where T : class { var delimiter = cache.Options.CacheKeyDelimiter; return(BuildInternal(delimiter, keyComponents)); }
public MultiProviderAvailabilityStorage(IDistributedFlow distributedFlow, IMemoryFlow memoryFlow) { _distributedFlow = distributedFlow; _memoryFlow = memoryFlow; }
public MemoryFlow(IMemoryFlow cache, IOptions <FlowOptions> options) { _cache = cache; _keyPrefix = GetFullCacheKeyPrefix(typeof(TClass).FullName !, options.Value.CacheKeyDelimiter); }
public AgentContextService(ITokenInfoAccessor tokenInfoAccessor, IMemoryFlow flow, EdoContext context) { _tokenInfoAccessor = tokenInfoAccessor; _flow = flow; _context = context; }
public WideAvailabilityAccommodationsStorage(IMemoryFlow flow, IAccommodationMapperClient mapperClient) { _flow = flow; _mapperClient = mapperClient; }