InjectionParameterValue.GetResolverPolicy 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.

Return a IDependencyResolverPolicy instance that will return this types value for the parameter.

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

public abstract IDependencyResolverPolicy GetResolverPolicy(
	Type typeToBuild
)

Parameters

typeToBuild
Type: System.Type
Type that contains the member that needs this parameter. Used to resolve open generic parameters.

Return Value

The IDependencyResolverPolicy.
Show: