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