public ShippingLabelPrinter(IApplicationLogger logger) { _logger = logger; }
public ApiExceptionMapper(ILogger <ApiExceptionMapper> logger, IApplicationLogger appLogger, IHostingEnvironment environment) : base() { Logger = logger ?? throw new ArgumentException($"{GetType().Name}.Ctr parameter {nameof(logger)} cannot be null."); AppLogger = appLogger ?? throw new ArgumentException($"{GetType().Name}.Ctr parameter {nameof(appLogger)} cannot be null."); _environment = environment ?? throw new ArgumentException($"{GetType().Name}.Ctr parameter {nameof(environment)} cannot be null."); }
public ExceptionInterceptor(IApplicationLogger logService) { this.loggingService = logService; }
/// <summary> /// Initializes a new instance of the <see cref="JobProfileSectionController" /> class. /// </summary> /// <param name="jobProfileRepository">The job profile repository.</param> /// <param name="webAppContext">The web application context.</param> /// <param name="applicationLogger">application logger</param> /// <param name="sitefinityPage">sitefinity</param> public JobProfileSectionController(IJobProfileRepository jobProfileRepository, IWebAppContext webAppContext, IApplicationLogger applicationLogger, ISitefinityPage sitefinityPage) : base(webAppContext, jobProfileRepository, applicationLogger, sitefinityPage) { }
public JobProfileStructuredDataController(ISitefinityPage sitefinityPage, IMapper mapper, IStructuredDataInjectionRepository structuredDataInjectionRepository, IApplicationLogger loggingService) : base(loggingService) { this.structuredDataInjectionRepository = structuredDataInjectionRepository; this.mapper = mapper; this.sitefinityPage = sitefinityPage; }
public ModelController(IModelApplicationService modelApplicationService, IApplicationLogger applicationLogger) { _modelApplicationService = modelApplicationService; _applicationLogger = applicationLogger; }
public TolerancePolicy(IApplicationLogger logger, TransientFaultHandlingStrategy strategy) { this.logger = logger; this.strategy = strategy; }
public BodyStyleConfigController(IBodyStyleConfigApplicationService bodyStyleConfigApplicationService, IApplicationLogger applicationLogger, ITextSerializer serializer) { _bodyStyleConfigApplicationService = bodyStyleConfigApplicationService; _applicationLogger = applicationLogger; _serializer = serializer; }
public TemplateManager(IEventAggregator events, ITemplateSerializer serializer, IApplicationLogger logger, ILibraryService librarian) { _events = events; _serializer = serializer; _logger = logger; _librarian = librarian; _events.GetEvent <TemplateSelectedEvent>().Subscribe(OnTemplateSelected); }
/// <summary> /// Initializes DeckPlayer. /// </summary> /// <param name="service">Deck Service.</param> /// <param name="logger">Logger Service.</param> public DeckPlayer(IDeck service, IApplicationLogger <DeckPlayer> logger) { this._service = service; this._logger = logger; }
public DeliveryCreator(IAmqpQueue deliveryQueue, IApplicationLogger logger) { _deliveryQueue = deliveryQueue; _logger = logger; }
public SpellCheckService(IHttpClientService <ISpellcheckService> httpClientService, IApplicationLogger applicationLogger) { this.httpClientService = httpClientService; this.applicationLogger = applicationLogger; }
/// <summary> /// Initializes a new instance of the <see cref="JobProfileSearchBoxController"/> class. /// Constructor JobProfileSearchBoxController /// </summary> /// <param name="searchService">searchService</param> /// <param name="webAppContext">webAppContext</param> /// <param name="mapper">mapper</param> /// <param name="applicationLogger">applicationLogger</param> /// <param name="asyncHelper">asyncHelper</param> /// <param name="spellcheckService">spellCheckService</param> /// <param name="jobProfileSearchResultsManipulator">jobProfileSearchResultsManipulator</param> public JobProfileSearchBoxController(ISearchQueryService <JobProfileIndex> searchService, IWebAppContext webAppContext, IMapper mapper, IApplicationLogger applicationLogger, IAsyncHelper asyncHelper, ISpellcheckService spellcheckService) : base(applicationLogger) { this.searchQueryService = searchService; this.webAppContext = webAppContext; this.mapper = mapper; this.asyncHelper = asyncHelper; this.spellcheckService = spellcheckService; }
public InstrumentationInterceptor(IApplicationLogger logService) { loggingService = logService; }
public FuelSystemControlTypeController(IFuelSystemControlTypeApplicationService fuelSystemControlTypeApplicationService, IApplicationLogger logger) { _fuelSystemControlTypeApplicationService = fuelSystemControlTypeApplicationService; _applicationLogger = logger; }
/// <summary> /// Initializes a new instance of the <see cref="RequestContext"/> class. /// </summary> /// <param name="logger">The logger.</param> public RequestContext(IApplicationLogger logger) { Logger = logger; }
public VocSurveyController(IGovUkNotify govUkNotify, IWebAppContext webAppContext, IApplicationLogger applicationLogger) : base(applicationLogger) { govUkNotifyService = govUkNotify; this.webAppContext = webAppContext; }
public SkillsFrameworkDataImportController(IApplicationLogger applicationLogger, IImportSkillsFrameworkDataService importSkillsFrameworkDataService, IReportAuditRepository reportAuditRepository, IWebAppContext webAppContext) : base(applicationLogger) { this.importSkillsFrameworkDataService = importSkillsFrameworkDataService; this.reportAuditRepository = reportAuditRepository; this.webAppContext = webAppContext; }
public CourseSearchLogger(IApplicationLogger applicationLogger) { this.applicationLogger = applicationLogger; }
public GovUkNotifyService(IApplicationLogger applicationLogger, IGovUkNotifyClientProxy clientProxy) { this.applicationLogger = applicationLogger; this.clientProxy = clientProxy; }
public AzSearchQueryService(ISearchIndexClient indexClient, IAzSearchQueryConverter queryConverter, IApplicationLogger applicationLogger) { this.indexClient = indexClient; this.queryConverter = queryConverter; this.applicationLogger = applicationLogger; }
public CarDeliveryCreator(IAmqpQueue deliveryQueue, IApplicationLogger logger) : base(deliveryQueue, logger) { }
public Cartonizer(IApplicationLogger logger) { _logger = logger; }
public BedConfigController(IBedConfigApplicationService bedConfigApplicationService, IApplicationLogger applicationLogger, ITextSerializer serializer) { _bedConfigApplicationService = bedConfigApplicationService; _applicationLogger = applicationLogger; _serializer = serializer; }
public PaymentsController(IApplicationLogger <PaymentsController> logger, IConfiguration configuration) { _logger = logger; _configuration = configuration; }
public EngineVersionController(IApplicationLogger applicationLogger, IEngineVersionApplicationService engineVersionApplicationService) { _applicationLogger = applicationLogger; _engineVersionApplicationService = engineVersionApplicationService; }
public WheelBaseController(IWheelBaseApplicationService wheelBaseApplicationService, IApplicationLogger applicationLogger) { _wheelBaseApplicationService = wheelBaseApplicationService; _applicationLogger = applicationLogger; }
public BrakeABSController(IBrakeABSApplicationService brakeABSApplicationService, IApplicationLogger applicationLogger) { _brakeABSApplicationService = brakeABSApplicationService; _applicationLogger = applicationLogger; }
public static IMealPlanFactory GetFactoryForDietType(string dietType, IApplicationLogger logger) => dietType switch { "keto" => new KetoMealPlanFactory(logger),
public FuelApplicationExceptionAdapter(IApplicationLogger loger) { _loger = loger; }
/// <summary> /// Add exception, format string and additional arguments to log /// </summary> /// <param name="logger">The application logger</param> /// <param name="level">The log level</param> /// <param name="exception">The thrown exception</param> /// <param name="format">The format string</param> /// <param name="args">Additional arguments</param> public static void Log(this IApplicationLogger logger, LogLevel level, Exception exception, string format, params object[] args) { Argument.NotNull(logger, nameof(logger)); logger.Log(LogEntry(level, exception, format, args)); }