Compartilhar via


RuleDrivenPolicy Class

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.

A policy is a combination of a matching rule set and a set of handlers. If the policy applies to a member, then the handlers will be enabled for that member.

Namespace:  Microsoft.Practices.Unity.InterceptionExtension
Assembly:  Microsoft.Practices.Unity.Interception (in Microsoft.Practices.Unity.Interception.dll)

Syntax

'Declaration
Public Class RuleDrivenPolicy _
    Inherits InjectionPolicy
public class RuleDrivenPolicy : InjectionPolicy
public ref class RuleDrivenPolicy : public InjectionPolicy
public class RuleDrivenPolicy extends InjectionPolicy

Inheritance Hierarchy

System.Object
  Microsoft.Practices.Unity.InterceptionExtension.InjectionPolicy
    Microsoft.Practices.Unity.InterceptionExtension.RuleDrivenPolicy

See Also

RuleDrivenPolicy Members

Microsoft.Practices.Unity.InterceptionExtension Namespace