| FactoryCreationPolicy Enumeration |
Describes the creation policy of an object through the
Factory
Namespace:
Cauldron.Activator
Assembly:
Cauldron.Activator (in Cauldron.Activator.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax public enum FactoryCreationPolicy
Members
| Member name | Value | Description |
---|
| Instanced | 0 |
Always creates a new instance.
Instances are not managed by the Factory.
Default policy
|
| Singleton | 1 |
Only a single instance is created and reused everytime.
Instances are managed by the Factory |
See Also