com.onlineobject.objectnet Namespace

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

Registers a stream handler for a specific data type.

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

Syntax


public void RegisterStream<T>(

	Type dataType,

	T stream

)

where T : IData

Type Parameters

T
The type of the stream handler.

Parameters

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