public EventProviderLogger(EventProvider provider, string category) { if (provider == null) { throw new ArgumentNullException(nameof(provider)); } Provider = provider; Categogy = category; }
public void Dispose() { Provider?.Dispose(); Provider = null; }
public EventProviderLoggerProvider(Guid id) { Provider = new EventProvider(id); }