public HighloadFrontController(IHttpContextAccessor httpContextAccessor, IOptions <IntegrationProperties> options, QPHelper helper, IHttpClientFactory factory) { _httpContext = httpContextAccessor.HttpContext; _options = options.Value; _qpHelper = helper; _factory = factory; }
public TaskController(ITaskService taskService, IUserProvider userProvider, ICompositeViewEngine viewEngine, QPHelper helper) { _taskService = taskService; _viewEngine = viewEngine; _userProvider = userProvider; _qpHelper = helper; }
public NotificationController(IIdentityProvider identityProvider, IOptions <IntegrationProperties> props, IHttpClientFactory factory, QPHelper helper) { _identityProvider = identityProvider; _factory = factory; _restUrl = props.Value.RestNotificationUrl; _wcfUrl = props.Value.WcfNotificationUrl; _qpHelper = helper; if (String.IsNullOrEmpty(_restUrl) && !String.IsNullOrEmpty(_wcfUrl)) { var myBinding = new BasicHttpBinding(); var myEndpoint = new EndpointAddress(_wcfUrl); _service = new NotificationServiceClient(myBinding, myEndpoint); } }
public ProductController(Func <string, string, IAction> getAction, VersionedCacheProviderBase versionedCacheProvider, Func <string, IArticleFormatter> getFormatter, IProductLocalizationService localizationService, IProductService productService, QPHelper helper ) { _getAction = getAction; _versionedCacheProvider = versionedCacheProvider; _getFormatter = getFormatter; _localizationService = localizationService; _productService = productService; _qpHelper = helper; }