PropertySelectorPolicy<TResolutionAttribute> Class

An implementation of IPropertySelectorPolicy that looks for properties marked with the TResolutionAttribute attribute that are also settable and not indexers.

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

Syntax

'Declaration
Public Class PropertySelectorPolicy(Of TResolutionAttribute As Attribute) _
    Inherits PropertySelectorBase(Of TResolutionAttribute)
public class PropertySelectorPolicy<TResolutionAttribute> : PropertySelectorBase<TResolutionAttribute>
where TResolutionAttribute : Attribute
generic<typename TResolutionAttribute>
where TResolutionAttribute : Attribute
public ref class PropertySelectorPolicy : public PropertySelectorBase<TResolutionAttribute>
JScript does not support generic types or methods.

Type Parameters

  • TResolutionAttribute

Inheritance Hierarchy

System.Object
  Microsoft.Practices.ObjectBuilder2.PropertySelectorBase<TResolutionAttribute>
    Microsoft.Practices.ObjectBuilder2.PropertySelectorPolicy<TResolutionAttribute>

See Also

PropertySelectorPolicy<TResolutionAttribute> Members

Microsoft.Practices.ObjectBuilder2 Namespace