Пример #1
0
        public EventProviderLogger(EventProvider provider, string category)
        {
            if (provider == null)
            {
                throw new ArgumentNullException(nameof(provider));
            }

            Provider = provider;
            Categogy = category;
        }
Пример #2
0
 public void Dispose()
 {
     Provider?.Dispose();
     Provider = null;
 }
Пример #3
0
 public EventProviderLoggerProvider(Guid id)
 {
     Provider = new EventProvider(id);
 }