Example #1
0
 public bool SetOption(ChannelOption option, object value)
 {
     if (option == null)
     {
         throw new ArgumentNullException(nameof(option), "The Channel Option cannot be null.");
     }
     return(option.Set(this, value));
 }
 public bool SetOption(ChannelOption option, object value) => option.Set(this, value);