Parses a rule:// URI to provide easy access to the parts of the URI. More...
Public Member Functions | |
RuleUri (string ruleString) | |
Creates an instance of the object by parsing the provided rule:// URI. More... | |
RuleUri (Uri uri) | |
Creates an instance of the type. More... | |
RuleUri (IBusinessRuleBase rule, Csla.Core.IPropertyInfo property) | |
Creates an instance of the type. More... | |
RuleUri (string typeName, string propertyName) | |
Creates an instance of the type. More... | |
override string | ToString () |
Gets a string representation of the rule URI. More... | |
void | AddQueryParameter (string key, string value) |
Adds a query parameter to the URI. More... | |
Static Public Member Functions | |
static RuleUri | Parse (string ruleString) |
Parses a rule:// URI. More... | |
Properties | |
string | RuleTypeName [get] |
Gets the name of the type containing the rule method. More... | |
string | PropertyName [get] |
Gets the name of the property with which the rule is associated. More... | |
Dictionary< string, string >? | Arguments [get] |
Gets a Dictionary containing the name/value arguments provided to the rule method. More... | |
Parses a rule:// URI to provide easy access to the parts of the URI.
Definition at line 18 of file RuleUri.cs.
Csla.Rules.RuleUri.RuleUri | ( | string | ruleString | ) |
Creates an instance of the object by parsing the provided rule:// URI.
ruleString | The rule:// URI. |
Definition at line 27 of file RuleUri.cs.
Csla.Rules.RuleUri.RuleUri | ( | Uri | uri | ) |
Creates an instance of the type.
uri | The rule:// URI. |
Definition at line 35 of file RuleUri.cs.
Csla.Rules.RuleUri.RuleUri | ( | IBusinessRuleBase | rule, |
Csla.Core.IPropertyInfo | property | ||
) |
Creates an instance of the type.
rule | Rule object. |
property | Property to which rule applies. |
Definition at line 47 of file RuleUri.cs.
Csla.Rules.RuleUri.RuleUri | ( | string | typeName, |
string | propertyName | ||
) |
Creates an instance of the type.
typeName | Name of the rule type. |
propertyName | Name of the business object property or the string literal "null". |
Definition at line 57 of file RuleUri.cs.
void Csla.Rules.RuleUri.AddQueryParameter | ( | string | key, |
string | value | ||
) |
Adds a query parameter to the URI.
key | Key for the parameter. |
value | Value of the parameter. |
Definition at line 113 of file RuleUri.cs.
|
static |
Parses a rule:// URI.
ruleString | Text representation of a rule:// URI. |
Definition at line 94 of file RuleUri.cs.
override string Csla.Rules.RuleUri.ToString | ( | ) |
|
get |
Gets a Dictionary containing the name/value arguments provided to the rule method.
Definition at line 153 of file RuleUri.cs.
|
get |
Gets the name of the property with which the rule is associated.
Definition at line 143 of file RuleUri.cs.
|
get |
Gets the name of the type containing the rule method.
Definition at line 127 of file RuleUri.cs.