Class EventSubscription
Subscription for ISubscribableEvent.
Inheritance
System.Object
EventSubscription
Implements
Namespace: Eco.Shared.View
Assembly: Eco.Shared.dll
Syntax
public class EventSubscription : Object, ISubscription
Constructors
EventSubscription(ISubscribableEvent, Delegate)
Declaration
public EventSubscription(ISubscribableEvent subscribableEvent, Delegate handler)
Parameters
Type | Name | Description |
---|---|---|
ISubscribableEvent | subscribableEvent | |
System.Delegate | handler |
Methods
Unsubscribe()
Declaration
public void Unsubscribe()