StaticFactoryExtension Class

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 (in Microsoft.Practices.Unity.dll)

[ObsoleteAttribute("Use RegisterType<TInterface, TImpl>(new InjectionFactory(...)) instead of the extension's methods.")]
public class StaticFactoryExtension : UnityContainerExtension, 
	IStaticFactoryConfiguration, IUnityContainerExtensionConfigurator

System.Object
  Microsoft.Practices.Unity.UnityContainerExtension
    Microsoft.Practices.Unity.StaticFactory.StaticFactoryExtension
Show: