GroupedVariableResolver Class |
This resolver for group property values, resolves grouped variable references in property values.
The default syntax for a grouped variable reference is an expression like $GROUP:NAME$. Every occurance of such an expression is replaced by the value of the referenced property from ValueSource. This syntax can be changed by setting a custom expression for GroupVariablePattern.
If the referenced property does not exists, the expression is transformed by replacing it with #GROUP:NAME#.
Namespace: Mastersign.Bench.PropertyCollections
The GroupedVariableResolver type exposes the following members.
Name | Description | |
---|---|---|
GroupedVariableResolver |
Initializes a new instance of GroupedVariableResolver.
| |
GroupedVariableResolver(IGroupedPropertyCollection) |
Initializes a new instance of GroupedVariableResolver.
|
Name | Description | |
---|---|---|
GroupVariablePattern |
A regular expression, that detects variable references.
The defaut expression is \$(?<group>.*?):(?<name>.+?)\$ | |
ValueSource |
A group property collection, which will be used as to retrieve the referenced property values.
|
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ResolveGroupValue |
Returns the resolved or transformed value of the specified property.
| |
ResolveValue |
Returns the resolved or transformed value of the specified property.
| |
ToString | (Inherited from Object.) |