Click or drag to resize
IObservableEventTSender, TResult Interface
The interface for an observable event.

Namespace: Microsoft.IoT.DeviceHelpers
Assembly: Microsoft.IoT.DeviceHelpers (in Microsoft.IoT.DeviceHelpers.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public interface IObservableEvent<TSender, TResult>

Type Parameters

TSender
The type of object that raises the event.
TResult
The type of result (or args) passed to event handlers.

The IObservableEventTSender, TResult type exposes the following members.

Methods
  NameDescription
Public methodAdd
Adds a handler to the observed event.
Public methodRaise
Raises the observed event if there is at least one subscriber.
Public methodRemove(EventRegistrationToken)
Removes a handler from the observed event.
Public methodRemove(TypedEventHandlerTSender, TResult)
Removes a handler from the observed event.
Top
See Also