TEvent<T> Class

Represents type TEvent<T>.

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

Type Parameters

T

The TEvent<T> type exposes the following members.

Show:
 NameDescription
Create

Initializes a new instance of the TEvent<T> class.

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)

Overloaded. Adds an event handler to the list.

Clear

Clears all event handlers. (Inherited from TEventBase.)

GetInvoke

Represents method GetInvoke.

InternalInvoke(Pointer,Integer)

Represents method InternalInvoke(Pointer,Integer). (Inherited from TEvent.)

Notify(TObject,TMethodPointer,TCollectionNotification)

Represents method Notify(TObject,TMethodPointer,TCollectionNotification). (Overrides TEventBase.Notify(TObject,TMethodPointer,TCollectionNotification).)

Remove(T)

Overloaded. 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
fInvoke

Represents field fInvoke. (Inherited from TEventBase.)

Top