메소드 | 설명 | |
---|---|---|
CommandParameterAttribute ( CommandUsage usage, |
Creates a new parameter attribute with a blank matching pattern
|
|
CommandParameterAttribute ( CommandUsage usage, |
Creates a new parameter attribute
|
|
MatchesPattern ( string inputString ) : bool |
Does the keywords incoming match the regex pattern (unless it's blank, in which case it always matches)
|
public CommandParameterAttribute ( CommandUsage usage, |
||
usage | CommandUsage | How the parameter is used in the command |
type | The system type of the parameter expected | |
cacheTypes | CacheReferenceType | How this parameter can be found (is it data, is it a live entity) |
optional | bool | Is this parameter optional |
리턴 | System |
public CommandParameterAttribute ( CommandUsage usage, |
||
usage | CommandUsage | How the parameter is used in the command |
type | The system type of the parameter expected | |
cacheTypes | CacheReferenceType | How this parameter can be found (is it data, is it a live entity) |
matchingPattern | string | Does this pattern keyword follow a regex pattern |
optional | bool | Is this parameter optional |
리턴 | System |
public MatchesPattern ( string inputString ) : bool | ||
inputString | string | |
리턴 | bool |