ICommandSourceTEventArgs Interface

Represents source information about the command.
See the Remarks section of the ICommand interface for details and examples about commands.

Definition

Namespace: KGySoft.ComponentModel
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public interface ICommandSource<out TEventArgs> : ICommandSource
where TEventArgs : EventArgs
Implements
ICommandSource

Type Parameters

TEventArgs
The type of the event arguments of the source event.

Properties

EventArgs Gets a TEventArgs instance containing the event data.
Sender Gets the sender of the underlying event. For instance events, this is usually the same as Source, but it can be different in some cases, for example when the add/remove accessors of the event map the subscription to another object's event. For static events the sender is usually .
(Inherited from ICommandSource)
Source Gets the source of the invocation. For instance events, this is the object that owns the event. For static events, this is the declaring type of the event.
(Inherited from ICommandSource)
TriggeringEvent Gets the triggering event of the source object.
(Inherited from ICommandSource)

See Also