|
FastObjectFactoryT Class
|
Quickly creates new objects based on specified type.
Inheritance Hierarchy
Namespace: GSFAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.230-beta+03417d7b5cff037b24e882d7adef82d359b34964
Syntaxpublic static class FastObjectFactory<T>
where T : class, new()
Public NotInheritable Class FastObjectFactory(Of T As {Class, New})
generic<typename T>
where T : ref class, gcnew()
public ref class FastObjectFactory abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type FastObjectFactory<'T when 'T : not struct, new()> = class end
JavaScript does not support generic types or methods.
View SourceType Parameters
- T
- Type of object to create quickly.
The FastObjectFactoryT type exposes the following members.
Properties
Remarks
You can use the alternate
FastObjectFactory implementation if you only have the
Type of
an object available (such as when you are using reflection).
See Also