com.onlineobject.objectnet Namespace

DataStream..::..RegisterGlobalStream<(Of <(<'T>)>)> Method

Registers a global stream handler for a specific data type.

Namespace:  com.onlineobject.objectnet
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


public static void RegisterGlobalStream<T>(

	Type dataType,

	T streamType

)

where T : Type

Type Parameters

T
The type of the stream handler.

Parameters

dataType
Type: Type
The data type to associate with the stream handler.
streamType
Type: T
The stream handler type.