ArcFM Desktop Developer Guide
FactoryMethodUnityExtension<T> Class
Members 


Product Availability
Required Licenses
.NET Assembly
An extension for the Unity container that allows the use of a custom factory to build an object
Object Model
FactoryMethodUnityExtension<T> Class
Syntax
Type Parameters
T
Remarks
This extension uses CustomFactoryBuildStrategy<T> which caches the result of the first call. This means that the factory could be called only once for the life of the application.

Use the StaticFactoryExtension that comes with Unity 1.2 to get a similar behavior without the caching. This is useful to retrieve complex COM objects like workspaces.

Inheritance Hierarchy

System.Object
   Microsoft.Practices.Unity.UnityContainerExtension
      Miner.Composition.FactoryMethodUnityExtension<T>

Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

FactoryMethodUnityExtension<T> Members
Miner.Composition Namespace

 

 


Send Comment