Freigeben über


MethodSelectorPolicyBase<TMarkerAttribute> 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.

Base class that provides an implementation of IMethodSelectorPolicy which lets you override how the parameter resolvers are created.

Namespace:  Microsoft.Practices.ObjectBuilder2
Assembly:  Microsoft.Practices.ObjectBuilder2 (in Microsoft.Practices.ObjectBuilder2.dll)

Syntax

'Declaration
Public MustInherit Class MethodSelectorPolicyBase(Of TMarkerAttribute As Attribute) _
    Implements IMethodSelectorPolicy, IBuilderPolicy
public abstract class MethodSelectorPolicyBase<TMarkerAttribute> : IMethodSelectorPolicy, 
    IBuilderPolicy
where TMarkerAttribute : Attribute
generic<typename TMarkerAttribute>
where TMarkerAttribute : Attribute
public ref class MethodSelectorPolicyBase abstract : IMethodSelectorPolicy, 
    IBuilderPolicy
JScript does not support generic types or methods.

Type Parameters

  • TMarkerAttribute
    Attribute that marks methods that should be called.

Inheritance Hierarchy

System.Object
  Microsoft.Practices.ObjectBuilder2.MethodSelectorPolicyBase<TMarkerAttribute>
    Microsoft.Practices.ObjectBuilder2.MethodSelectorPolicy<TMarkerAttribute>
    Microsoft.Practices.Unity.ObjectBuilder.DefaultUnityMethodSelectorPolicy

See Also

MethodSelectorPolicyBase<TMarkerAttribute> Members

Microsoft.Practices.ObjectBuilder2 Namespace