ConditionalObjectFactoryObjectType Class |
Namespace: CMS.Base
public class ConditionalObjectFactory<ObjectType> : ObjectFactory<ObjectType>, IConditionalObjectFactory where ObjectType : class, new()
The ConditionalObjectFactoryObjectType type exposes the following members.
Name | Description | |
---|---|---|
![]() | ConditionalObjectFactoryObjectType |
Name | Description | |
---|---|---|
![]() | Conditions |
Condition function which evaluates whether the object of the given type can be created based on the input data
|
![]() | Constructor |
Constructor used for dependency injection
(Inherited from ObjectFactoryT.) |
![]() | CreatedType |
Returns the type created by this factory
(Inherited from ObjectFactoryT.) |
![]() | Initializer |
Object initialization function
(Inherited from ObjectFactoryT.) |
![]() | Singleton |
Singleton instance of the created object type
(Inherited from ObjectFactoryT.) |
![]() | UseCompiledLambda |
If true, the compiled lambda expression is used to create new objects. Set to true if the factory will be creating a lot of objects
(Inherited from ObjectFactoryT.) |
Name | Description | |
---|---|---|
![]() | CanCreateObject |
Returns true if the factory is able to create the object based on the given parameter
(Overrides ObjectFactoryTCanCreateObject(Object).) |
![]() | CreateActivator |
Creates an object activator for the created type
(Inherited from ObjectFactoryT.) |
![]() | CreateInstance |
Creates a new instance of the object
(Inherited from ObjectFactoryT.) |
![]() | CreateNewObject |
Creates and returns a new object
(Inherited from ObjectFactoryT.) |
![]() | CreateNewTypedObject |
Creates and returns a new object
(Inherited from ObjectFactoryT.) |
![]() | WhenParameterInputType |
Adds the object condition to the factory
|
Name | Description | |
---|---|---|
![]() | WhenColumnValue |
Adds the condition for the column value to the factory
(Defined by DataExtensions.) |