Intersoft ClientUI Documentation
DelegateEvent<TPayload> Class
Members 



The type of message that will be passed to the subscribers.
Defines a generic class that manages publication and subscription to events.
Syntax
Public Class DelegateEvent(Of TPayload) 
   Inherits DelegateEventBase
Dim instance As DelegateEvent(Of TPayload)
public class DelegateEvent<TPayload> : DelegateEventBase 
generic<typename TPayload>
public ref class DelegateEvent : public DelegateEventBase 
Type Parameters
TPayload
The type of message that will be passed to the subscribers.
Remarks

The DelegateEvent<TPayLoad> provides an easy way to define a new event type based on certain TPayLoad type.

C#
Copy Code
public class MailNotificationEvent : DelegateEvent<Mail>   
{
}

To learn more about event aggregator concept and usage, see Event Aggregator Overview.

Inheritance Hierarchy

System.Object
   Intersoft.Client.Framework.DelegateEventBase
      Intersoft.Client.Framework.DelegateEvent<TPayload>

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DelegateEvent<TPayload> Members
Intersoft.Client.Framework Namespace

Send Feedback