Register(T) Method

Regno Shared SQLRace

RegnoCompleteRegnoSoftware.Standard.Core

RegnoCore..::..Register<(Of <(<'T>)>)> Method

Registers the specified type.

Namespace:  RegnoSoftware.Standard
Assembly:  RegnoSoftware.Standard (in RegnoSoftware.Standard.dll)

Syntax


public static void Register<T>(
	Type type,
	bool isDefault
)

Type Parameters

T

Parameters

type
Type: Type
The type.
isDefault
Type: Boolean
if set to true will overwrite the current registration.

Examples


class ExampleClass { static void Main() { RegnoCore.Register(typeof(MyCustomType)); } }