StaticFactoryExtension 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. |
A UnityContainerExtension that lets you register a delegate with the container to create an object, rather than calling the object's constructor.
Namespace: Microsoft.Practices.Unity.StaticFactory
Assembly: Microsoft.Practices.Unity.StaticFactory (in Microsoft.Practices.Unity.StaticFactory.dll)
Syntax
'Declaration
Public Class StaticFactoryExtension _
Inherits UnityContainerExtension _
Implements IStaticFactoryConfiguration, IUnityContainerExtensionConfigurator
public class StaticFactoryExtension : UnityContainerExtension,
IStaticFactoryConfiguration, IUnityContainerExtensionConfigurator
public ref class StaticFactoryExtension : public UnityContainerExtension,
IStaticFactoryConfiguration, IUnityContainerExtensionConfigurator
public class StaticFactoryExtension extends UnityContainerExtension implements IStaticFactoryConfiguration, IUnityContainerExtensionConfigurator
Inheritance Hierarchy
System.Object
Microsoft.Practices.Unity.UnityContainerExtension
Microsoft.Practices.Unity.StaticFactory.StaticFactoryExtension