
Visual Basic (Declaration) | |
---|---|
Public Class DelegateEvent(Of TPayload) Inherits DelegateEventBase |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As DelegateEvent(Of TPayload) |
C# | |
---|---|
public class DelegateEvent<TPayload> : DelegateEventBase |
Delphi | |
---|---|
public class DelegateEvent = class(DelegateEventBase) |
JScript | |
---|---|
JScript does not support Generics. |
Managed Extensions for C++ | |
---|---|
public __gc class DelegateEvent<TPayload> : public DelegateEventBase |
C++/CLI | |
---|---|
generic<typename TPayload> public ref class DelegateEvent : public DelegateEventBase |
- TPayload
- The type of message that will be passed to the subscribers.
The DelegateEvent<TPayLoad> provides an easy way to define a new event type based on certain TPayLoad type.
C# | ![]() |
---|---|
public class MailNotificationEvent : DelegateEvent<Mail> { } |
To learn more about event aggregator concept and usage, see Event Aggregator Overview.
Intersoft.Client.Framework.DelegateEventBase
Intersoft.Client.Framework.DelegateEvent<TPayload>
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family