Custom Matching Rules
Retired Content |
---|
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The latest Enterprise Library information can be found at the Enterprise Library site. |
Developers can create custom matching rules that integrate with the Policy Injection Application Block. If the developer creates a full set of design support classes for a custom matching rule, it will appear in the Configuration Console and the Visual Studio Configuration Editor and allow operators and administrators to select and configure the rule just as they do any of the built-in rules. However, the set of properties available for the custom rule depends on the design of the rule and the configuration design classes that the developer implements.
A second possibility is that developers will rely on configuration support provided by the CustomMatchingRuleData configuration class provided with the Policy Injection Application Block. In this case, operators and administrators will configure the new rule as a Custom Matching Rule type in the Configuration Console and the Visual Studio Configuration Editor. They must select the correct containing assembly and class in the configuration tools and specify the correct list of name/value pairs, as required by the custom matching rule.
For details about how to create custom matching rules, see Creating a New Matching Rule.
For details about how to configure custom matching rules, see Defining and Configuring Matching Rules.