Click or drag to resize

FastObjectFactory Class

Quickly creates new objects based on specified type.
Inheritance Hierarchy
SystemObject
  GSFFastObjectFactory

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax
public static class FastObjectFactory
View Source

The FastObjectFactory type exposes the following members.

Methods
 NameDescription
Public methodStatic memberGetCreateObjectFunction(Type) Gets delegate that creates new instance of the type.
Public methodStatic memberGetCreateObjectFunctionT(Type) Gets delegate of specified return type that creates new instance of the type.
Top
Remarks
FastObjectFactory should be used when you only have the Type of an object available (such as when you are using reflection), otherwise you should use the generic FastObjectFactoryT.
See Also

Reference

GSF Namespace