 | CTExtensionCreateObjectT Method |
Allows Class Factory pattern for objects that have
public parameterless constructor.
Namespace:
CTExtensions
Assembly:
CTInterface (in CTInterface.dll)
Syntaxpublic virtual Object CreateObject<T>()
where T : class, new()
Public Overridable Function CreateObject(Of T As {Class, New}) As Object
Type Parameters
- T
Return Value
Type:
ObjectImplements
IClassFactoryCreateObjectT
See Also