INotificationPipelineBehavior<TNotification> interface
Namespace: Vitreous.Abstractions
Assembly: Vitreous.dll
Cross-cutting behavior that wraps the dispatch of a notification.
public interface INotificationPipelineBehavior<TNotification> where TNotification : INotificationType Parameters
Section titled “Type Parameters”TNotification
The notification type.
Methods
Section titled “Methods”Handle(TNotification, NotificationHandlerDelegate<TNotification>, CancellationToken)
Section titled “ Handle(TNotification, NotificationHandlerDelegate<TNotification>, CancellationToken)”Executes this behavior step, calling next to continue the pipeline.
ValueTask Handle(TNotification notification, NotificationHandlerDelegate<TNotification> next, CancellationToken ct = default)Parameters
Section titled “Parameters”notification TNotification
next NotificationHandlerDelegate<TNotification>