Click or drag to resize

CTExtensionCreateObjectT Method

Allows Class Factory pattern for objects that have public parameterless constructor.

Namespace: CTExtensions
Assembly: CTInterface (in CTInterface.dll) Version: 25.0
Syntax
public virtual Object CreateObject<T>()
where T : class, new()

Type Parameters

T

Return Value

Object

Implements

IClassFactoryCreateObjectT
See Also