public LoggingProvider(IApplicationLoggingService applicationLoggingService, IDateTimeService dateTimeService) { this.applicationLoggingService = applicationLoggingService ?? throw new ArgumentNullException(nameof(applicationLoggingService)); this.dateTimeService = dateTimeService ?? throw new ArgumentNullException(nameof(dateTimeService)); }
private ILoggingService NewLoggingProvider(IApplicationLoggingService applicationLoggingService, IDateTimeService dateTimeService) { return(new LoggingProvider(applicationLoggingService, dateTimeService)); }