TEventBase<T> Class
Represents type TEventBase<T>
.
type TEventBase<T> = class(TEventBase, IEvent<T>) end;
Type Parameters
- T
The TEventBase<T> type exposes the following members.
Name | Description | |
---|---|---|
Create | Initializes a new instance of the TEventBase class. (Inherited from TEventBase.) |
Name | Description | |
---|---|---|
CanInvoke | Returns True when the event will do anything because it is Enabled and contains any event handler. Otherwise returns False. (Inherited from TEventBase.) | |
Enabled | Gets the value indicates whether the multicast event is enabled, or sets the value to enable or disable the event. (Inherited from TEventBase.) | |
Handlers | Represents property | |
OnChanged | Represents property |
Name | Description | |
---|---|---|
Add(T) | Adds an event handler to the list. | |
Clear | Clears all event handlers. (Inherited from TEventBase.) | |
ForEach(TAction<T>) | Represents method | |
GetInvoke | Represents method | |
Notify(TObject,TMethodPointer,TCollectionNotification) | Represents method | |
Remove(T) | Removes an event handler if it was added to the event. | |
RemoveAll(Pointer) | Removes all event handlers which were registered by an instance. (Inherited from TEventBase.) |