Пример #1
0
 public void Register(IWrite writer)
 {
     if (writer != null)
     {
         Context.Debug(() => $"Registering {writer.GetType().Name}.");
     }
     Writer = writer;
 }
Пример #2
0
 public void Register(IWrite writer)
 {
     _context.Debug(() => $"Registering {writer.GetType().Name}.");
     Writer = writer;
 }