Share via


SpecifiedPropertiesSelectorPolicy.SelectProperties Method

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.

Returns sequence of properties on the given type that should be set as part of building that object.

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

Syntax

'Declaration
Public Function SelectProperties ( _
    context As IBuilderContext _
) As IEnumerable(Of SelectedProperty)
public IEnumerable<SelectedProperty> SelectProperties(
    IBuilderContext context
)
public:
virtual IEnumerable<SelectedProperty^>^ SelectProperties(
    IBuilderContext^ context
) sealed
public final function SelectProperties(
    context : IBuilderContext
) : IEnumerable<SelectedProperty>

Parameters

Return Value

Sequence of PropertyInfo objects that contain the properties to set.

Implements

IPropertySelectorPolicy.SelectProperties(IBuilderContext)

See Also

SpecifiedPropertiesSelectorPolicy Class

Microsoft.Practices.Unity.ObjectBuilder Namespace