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