Method | Description | |
---|---|---|
FlagDefinition ( char flag, ModeArt art ) : System |
Initializes a new instance of the FlagDefinition class with the given flag character and mode art.
|
|
FlagDefinition ( char flag, ModeArt art, FlagParameter parameters ) : System |
Initializes a new instance of the FlagDefinition class with the given flag character, mode art and parameter definition.
|
|
FlagDefinition ( char flag, ModeArt art, FlagParameter setParams, FlagParameter unsetParams ) : System |
Initializes a new instance of the FlagDefinition class with the given flag character and mode art.
|
|
IsParameter ( FlagArt art, string text ) : bool |
Checks if the given parameter is valide for the given flag.
|
|
NeedsParameter ( FlagArt art ) : bool |
Tests if this flag needs a parameter or not . Because some flags only require a parameter, when they are set you have to use the art parameter to get the result for setting or unsetting the flag. |
public FlagDefinition ( char flag, ModeArt art ) : System | ||
flag | char |
/// The |
art | ModeArt |
/// The |
return | System |
public FlagDefinition ( char flag, ModeArt art, FlagParameter parameters ) : System | ||
flag | char |
/// The |
art | ModeArt |
/// The |
parameters | FlagParameter |
/// The |
return | System |
public FlagDefinition ( char flag, ModeArt art, FlagParameter setParams, FlagParameter unsetParams ) : System | ||
flag | char |
/// A |
art | ModeArt |
/// A |
setParams | FlagParameter |
/// The |
unsetParams | FlagParameter |
/// The |
return | System |
public IsParameter ( FlagArt art, string text ) : bool | ||
art | FlagArt | The flag art to check for. |
text | string | The parameter text to check. |
return | bool |
public NeedsParameter ( FlagArt art ) : bool | ||
art | FlagArt |
/// The |
return | bool |