private SetChannelModes ( |
||
channel | ||
modes | string | |
modeParameters | IEnumerable |
|
Результат | void |
/// <summary> /// Sets the specified modes on the channel. /// </summary> /// <param name="modes"> /// The mode string that specifies mode changes, which takes the form /// `( "+" / "-" ) *( mode character )`. /// </param> /// <param name="modeParameters"> /// A collection of parameters to he modes, or <see langword="null" /> for no /// parameters. /// </param> /// <exception cref="ArgumentNullException"><paramref name="modes" /> is <see langword="null" />.</exception> public void SetModes(string modes, IEnumerable <string> modeParameters = null) { if (modes == null) { throw new ArgumentNullException("modes"); } client.SetChannelModes(this, modes, modeParameters); }