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