Ejemplo n.º 1
0
 public DiagnosticEventLoggerProvider(IDiagnosticEventRepositoryFactory diagnosticEventRepositoryFactory, IEnvironment environment)
 {
     _diagnosticEventRepositoryFactory = diagnosticEventRepositoryFactory ?? throw new ArgumentNullException(nameof(diagnosticEventRepositoryFactory));
     _environment = environment ?? throw new ArgumentNullException(nameof(environment));
 }
 public DiagnosticEventLogger(IDiagnosticEventRepositoryFactory diagnosticEventRepositoryFactory, IEnvironment environment)
 {
     _diagnosticEventRepositoryFactory = diagnosticEventRepositoryFactory;
     _environment = environment;
 }