Delegate NotificationHandler<TDetail, TContext>
- Namespace
- MaaFramework.Binding.Notification
- Assembly
- MaaFramework.Binding.Extensions.dll
Represents the method that will handle a notification when the notification provides detail.
public delegate void NotificationHandler<in TDetail, in TContext>(NotificationType type, TDetail detail, TContext context)Parameters
typeNotificationType-
The type of the notification.
detailTDetail-
An object that contains the notification detail.
contextTContext-
A context object.
Type Parameters
TDetail-
The type of the notification detail generated by the notification.
TContext-
The type of the context.