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