public EventLogger(EventLoggerConfiguration configuration, IRuntimeSettings runtimeSettings) { if (configuration == null) { throw new ArgumentNullException("configuration"); } if (runtimeSettings == null) { throw new ArgumentNullException("runtimeSettings"); } this._sourceName = configuration.SourceName ?? EventLogger.IntegrationService(runtimeSettings); }
public EventLogger(EventLoggerConfiguration configuration, IRuntimeSettings runtimeSettings) { if (configuration == null) { throw new ArgumentNullException(nameof(configuration)); } if (runtimeSettings == null) { throw new ArgumentNullException(nameof(runtimeSettings)); } _sourceName = configuration.SourceName ?? IntegrationService(runtimeSettings); }