Esempio n. 1
0
 public UserModeAttribute(Modes mode, ModeSyntax syntax, Authorizations level)
     : base()
 {
     Mode   = mode;
     Syntax = syntax;
     Level  = level;
 }
Esempio n. 2
0
 public ChannelModeAttribute(Modes mode, ModeSyntax syntax, Authorizations level, char prefix = (char)0)
     : base()
 {
     Mode   = mode;
     Syntax = syntax;
     Level  = level;
     Prefix = prefix == 0 ? (char?)null : prefix;
 }