Click or drag to resize
ConditionalObjectFactoryObjectType Class
Object factory which includes condition on the object creation
Inheritance Hierarchy
SystemObject
  CMS.CoreObjectFactoryObjectType
    CMS.BaseConditionalObjectFactoryObjectType

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 11.0.0
Syntax
C#
public class ConditionalObjectFactory<ObjectType> : ObjectFactory<ObjectType>, 
	IConditionalObjectFactory
where ObjectType : class, new()

Type Parameters

ObjectType

The ConditionalObjectFactoryObjectType type exposes the following members.

Constructors
Properties
Methods
  NameDescription
Public methodCanCreateObject
Returns true if the factory is able to create the object based on the given parameter
(Overrides ObjectFactoryTCanCreateObject(Object).)
Protected methodCreateActivator
Creates an object activator for the created type
(Inherited from ObjectFactoryT.)
Protected methodCreateInstance
Creates a new instance of the object
(Inherited from ObjectFactoryT.)
Public methodCreateNewObject
Creates and returns a new object
(Inherited from ObjectFactoryT.)
Public methodCreateNewTypedObject
Creates and returns a new object
(Inherited from ObjectFactoryT.)
Public methodWhenParameterInputType
Adds the object condition to the factory
Top
Extension Methods
  NameDescription
Public Extension MethodWhenColumnValue
Adds the condition for the column value to the factory
(Defined by DataExtensions.)
Top
See Also