Class EventHolder
- Namespace
- Innova.Prism.Library.ClassDefinitions
- Assembly
- Innova.Prism.Library.dll
Represents a holder for an event and its subscription token.
public class EventHolder
- Inheritance
-
EventHolder
Constructors
- EventHolder()
Initializes a new instance of the EventHolder class.
- EventHolder(EventBase, SubscriptionToken)
Initializes a new instance of the EventHolder class with the specified event and subscription token.
Properties
- Event
Gets or sets the event.
- Token
Gets or sets the subscription token.
Methods
- Unsubscribe()
Unsubscribes from the event.