GetNotificationSubjectFuncAsyncTNotification, TNotificationData - делегат
Пространство имён: Tessa.Extensions.Default.Server.NoticesСборка: Tessa.Extensions.Default.Server (в Tessa.Extensions.Default.Server.dll) Версия: 3.6.0.22
public delegate ValueTask<string> GetNotificationSubjectFuncAsync<in TNotification, in TNotificationData>(
INotificationContext context,
TNotification notification,
TNotificationData data,
CancellationToken cancellationToken = default
)
where TNotification : INotification
where TNotificationData : Object, INotificationData<TNotification>
Public Delegate Function GetNotificationSubjectFuncAsync(Of In TNotification As INotification, In TNotificationData As {Object, INotificationData(Of TNotification)}) (
context As INotificationContext,
notification As TNotification,
data As TNotificationData,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of String)
generic<typename TNotification, typename TNotificationData>
where TNotification : INotification
where TNotificationData : Object, INotificationData<TNotification>
public delegate ValueTask<String^> GetNotificationSubjectFuncAsync(
INotificationContext^ context,
TNotification notification,
TNotificationData data,
CancellationToken cancellationToken = CancellationToken()
)
type GetNotificationSubjectFuncAsync =
delegate of
context : INotificationContext *
notification : 'TNotification *
data : 'TNotificationData *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<string>
- context INotificationContext
-
- notification TNotification
-
- data TNotificationData
-
- cancellationToken CancellationToken (Optional)
-
- TNotification
- TNotificationData
ValueTaskString