Пример #1
0
 public ManagedHandler(StreamOpener opener)
 {
     if (opener == null)
     {
         throw new ArgumentNullException(nameof(opener));
     }
     _streamOpener = opener;
 }
Пример #2
0
 public ManagedHandler(StreamOpener opener)
 {
     _streamOpener = opener ?? throw new ArgumentNullException(nameof(opener));
 }