PropertySelectorPolicy<TResolutionAttribute> 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.

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.ObjectBuilder2 (in Microsoft.Practices.ObjectBuilder2.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