Param_ElementInstantiateT Method
Attempts to instantiate a new instance of T.
Namespace: Karamba.GHopper.ElementsAssembly: karamba (in karamba.dll) Version: 1.0.0+eb23a7103f0eca0b6d808121e15fec6899194e15
protected override GH_Element InstantiateT()
Protected Overrides Function InstantiateT As GH_Element
protected:
virtual GH_Element^ InstantiateT() override
abstract InstantiateT : unit -> GH_Element
override InstantiateT : unit -> GH_Element
Return Value
GH_ElementThis function should return a newly constructed instance of T.
If T is an abstract class or if T has no default (empty) constructor, this function will ASSERT.
In order to avoid a Try...Catch block performance impact,
override this function and call the type constructor for T directly.