Configuring and Using 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 Unity Application Block information can be found at the Unity Application Block site. |
The Unity Application Block includes matching rule implementations that provide a wide range of capabilities for selecting the objects and their members to which the application block will add a handler pipeline. Interception policies use the matching rules to define which methods get intercepted and use the call handlers to define what processing to perform on the intercepted object. For information about using interception, see Using Interception with Unity. The following sections describe the built-in matching rules in detail:
- The Assembly Matching Rule
- The Custom Attribute Matching Rule
- The Member Name Matching Rule
- The Method Signature Matching Rule
- The Namespace Matching Rule
- The Parameter Type Matching Rule
- The Property Matching Rule
- The Return Type Matching Rule
- The Tag Attribute Matching Rule
- The Type Matching Rule
You can also create and use custom matching rules. For more information, see Custom Matching Rules.