TEvent Class

Represents type TEvent.

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

The TEvent type exposes the following members.

Show:
 NameDescription
Create(PTypeInfo)

Initializes a new instance of the TEvent class.

Destroy

Represents the destructor of the TEvent class. (Overrides TEventBase.Destroy.)

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(TMethodPointer)

Represents method Add(TMethodPointer). (Inherited from TEventBase.)

Clear

Clears all event handlers. (Inherited from TEventBase.)

InternalInvoke(Pointer,Integer)

Represents method InternalInvoke(Pointer,Integer).

Invoke

Represents method Invoke.

Notify(TObject,TMethodPointer,TCollectionNotification)

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

Remove(TMethodPointer)

Represents method Remove(TMethodPointer). (Inherited from TEventBase.)

RemoveAll(Pointer)

Removes all event handlers which were registered by an instance. (Inherited from TEventBase.)

Top
Show:
 NameDescription
fInvocations

Represents field fInvocations.

fInvoke

Represents field fInvoke. (Inherited from TEventBase.)

fTypeInfo

Represents field fTypeInfo.

Top