Share via


RuleDrivenPolicyElementConfigurationElement 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.

Implements shared structure and behavior for the configuration elements representing call handlers and matching rules in the configuration file.

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

Syntax

'Declaration
Public MustInherit Class RuleDrivenPolicyElementConfigurationElement _
    Inherits TypeResolvingConfigurationElement
public abstract class RuleDrivenPolicyElementConfigurationElement : TypeResolvingConfigurationElement
public ref class RuleDrivenPolicyElementConfigurationElement abstract : public TypeResolvingConfigurationElement
public abstract class RuleDrivenPolicyElementConfigurationElement extends TypeResolvingConfigurationElement

Remarks

These configuration elements have a required "name" attribute, an optional "type" attribute, and optional child elements <lifetime> and <injection>

Elements without a value for the type attribute can only have a value for the name attribute, and indicate that the represented handler or rule is configured elsewhere and that a reference to the given name must be added to the policy to be resolved, while elements with a value for the type attribute indicate how the represented handler or rule should be built and can optionally specify lifetime management and injection configuration.

This element is similar to the UnityTypeElement, except that it does not provide an extension point for arbitrary configuration like the type element's <typeConfig> child.

Inheritance Hierarchy

System.Object
  System.Configuration.ConfigurationElement
    Microsoft.Practices.Unity.Configuration.TypeResolvingConfigurationElement
      Microsoft.Practices.Unity.InterceptionExtension.Configuration.RuleDrivenPolicyElementConfigurationElement
        Microsoft.Practices.Unity.InterceptionExtension.Configuration.CallHandlerConfigurationElement
        Microsoft.Practices.Unity.InterceptionExtension.Configuration.MatchingRuleConfigurationElement

See Also

RuleDrivenPolicyElementConfigurationElement Members

Microsoft.Practices.Unity.InterceptionExtension.Configuration Namespace

Microsoft.Practices.Unity.InterceptionExtension.Configuration.CallHandlerConfigurationElement

Microsoft.Practices.Unity.InterceptionExtension.Configuration.MatchingRuleConfigurationElement

Microsoft.Practices.Unity.Configuration.UnityTypeElement