Subscribe(T) Method

Glimpse API

IMessageBroker Subscribe T  Method Glimpse API Documentation
Subscribes the specified action to the Type specified.

Namespace: Glimpse.Core.Extensibility
Assembly: Glimpse.Core (in Glimpse.Core.dll) Version: 1.0.1.0 (1.0.1)

Syntax

Guid Subscribe<T>(
	Action<T> action
)
Guid Subscribe<T>(
	Action<T> action
)

Parameters

action
Type: OnlineSystem Action T 
The action.
Type Parameters

T
Type of the message

Return Value

A subscription Id, which should be retained in order to unsubscribe.
See Also