TEventBase<T> Class

Represents type TEventBase<T>.

Namespace: Spring.Events.Base
TInterfacedObject
  Spring.Events.Base.TEventBase
    Spring.Events.Base.TEventBase<T>
type
 TEventBase<T> = class(TEventBase, IEvent<T>)
 end;

Type Parameters

T

The TEventBase<T> type exposes the following members.

Show:
 NameDescription
Create

Initializes a new instance of the TEventBase class. (Inherited from TEventBase.)

Top
Show:
 NameDescription
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 Handlers. (Inherited from TEventBase.)

OnChanged

Represents property OnChanged. (Inherited from TEventBase.)

Top
Show:
 NameDescription
Add(T)

Adds an event handler to the list.

Clear

Clears all event handlers. (Inherited from TEventBase.)

ForEach(TAction<T>)

Represents method ForEach(TAction<T>).

GetInvoke

Represents method GetInvoke.

Notify(TObject,TMethodPointer,TCollectionNotification)

Represents method Notify(TObject,TMethodPointer,TCollectionNotification). (Inherited from TEventBase.)

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.)

Top
Show:
 NameDescription
Invoke

Represents property Invoke. (Inherited from TEventBase.)

Top
Show:
 NameDescription
fInvoke

Represents field fInvoke. (Inherited from TEventBase.)

Top