| 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.2
Syntax public enum FactoryCreationPolicy
Public Enumeration FactoryCreationPolicy
public enum class 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