'Declaration
<ExtensionAttribute()> Public Overloads Shared Function New(Of T)( _ ByVal type As Type, _ ByVal initializers As Action(Of T) _ ) As T
'Usage
Dim type As Type Dim initializers As Action(Of T) Dim value As T value = TypeEx.New(Of T)(type, initializers)
[Extension()] public: static T^ Newgeneric<typename T> ( Type^ type, Action<T^>^ initializers )
Parameters
- type
- The type.
- initializers
- The initializers.
Type Parameters
- T
Return Value
A new instance of type T