|
FastObjectFactoryT Class
|
Quickly creates new objects based on specified type.
Inheritance Hierarchy
Namespace: GSFAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.255-beta+d64b121002b51165b41b0dbf6ccf4c8d3895faa3
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