MiniUtilNewForT Method
Create an object of type T by calling T.Create().
Namespace: Karamba.UtilitiesAssembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
public static T NewFor<T>()
where T : class, new()
Public Shared Function NewFor(Of T As {Class, New}) As T
public:
generic<typename T>
where T : ref class, gcnew()
static T NewFor()
static member NewFor : unit -> 'T when 'T : not struct, new()
- T
- the class of the to generating object.
Tthe object hopefully.