Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
StaticFactoryExtension Class

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:
© 2015 Microsoft