FactoryDelegate Delegate

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.

A delegate type used by the static factory extension.

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

Syntax

'Declaration
Public Delegate Function FactoryDelegate ( _
    container As IUnityContainer _
) As Object
public delegate Object FactoryDelegate(
    IUnityContainer container
)
public delegate Object^ FactoryDelegate(
    IUnityContainer^ container
)
JScript does not support delegates.

Parameters

Return Value

The created object.

See Also

Microsoft.Practices.Unity.StaticFactory Namespace