Property | Type | Description | |
---|---|---|---|
Rules | string[] |
Method | Description | |
---|---|---|
Add ( IUsernameRule rule ) : void |
Adds a rule to the list, putting it at the end of the stage
|
|
CreateRule ( Stage stage, string action, string val1, string val2 ) : IUsernameRule |
Creates an IUsernameRule based on the Stage value, and string representation of the rule
|
|
CreateRule ( string stage, string action, string val1, string val2 ) : IUsernameRule |
Creates a IUsernameRule based on the string representation of the stage, action, and values.
|
|
ListOfRules ( ) : System | ||
Load ( ) : void |
Loads the rules from the register into list.
|
|
MoveDown ( int index ) : bool |
Moves the rule at the specified index down one (e.g. index=2 becomes index=3). Will not move an item if it's at the bottom, or if it will be below a rule with a later step. (e.g. An authorization rule will not move below a gateway rule)
|
|
MoveUp ( int index ) : bool |
Moves the rule at the specified index up one (e.g. index=2 becomes index=1). Will not move an item if it's at the top, or if it will be above a rule with an earlier step. (e.g. A gateway rule can not be above a authorization rule)
|
|
Save ( ) : void |
Saves the list of rules to the registry.
|
|
remove ( int index ) : void |
Removes the rule at the specified index.
|
public static CreateRule ( Stage stage, string action, string val1, string val2 ) : IUsernameRule | ||
stage | Stage | |
action | string | |
val1 | string | |
val2 | string | |
return | IUsernameRule |
public static CreateRule ( string stage, string action, string val1, string val2 ) : IUsernameRule | ||
stage | string | |
action | string | |
val1 | string | |
val2 | string | |
return | IUsernameRule |