GetRequestDelegateAsync - делегат
Делегат создания запроса к представлению
Пространство имён: Tessa.UI.ViewsСборка: Tessa.UI (в Tessa.UI.dll) Версия: 3.6.0.22
[CanBeNullAttribute]
public delegate ValueTask<ITessaViewRequest> GetRequestDelegateAsync(
[NotNullAttribute] IWorkplaceViewComponent component,
[NotNullAttribute] ICollection<RequestParameter> parameters,
CancellationToken cancellationToken = default,
params Action<IWorkplaceViewComponent, ITessaViewRequest>[] setupActions
)
<CanBeNullAttribute>
Public Delegate Function GetRequestDelegateAsync (
<NotNullAttribute> component As IWorkplaceViewComponent,
<NotNullAttribute> parameters As ICollection(Of RequestParameter),
Optional cancellationToken As CancellationToken = Nothing,
ParamArray setupActions As Action(Of IWorkplaceViewComponent, ITessaViewRequest)()
) As ValueTask(Of ITessaViewRequest)
[CanBeNullAttribute]
public delegate ValueTask<ITessaViewRequest^> GetRequestDelegateAsync(
[NotNullAttribute] IWorkplaceViewComponent^ component,
[NotNullAttribute] ICollection<RequestParameter^>^ parameters,
CancellationToken cancellationToken = CancellationToken(),
... array<Action<IWorkplaceViewComponent^, ITessaViewRequest^>^>^ setupActions
)
[<CanBeNullAttribute>]
type GetRequestDelegateAsync =
delegate of
[<NotNullAttribute>] component : IWorkplaceViewComponent *
[<NotNullAttribute>] parameters : ICollection<RequestParameter> *
?cancellationToken : CancellationToken *
setupActions : Action<IWorkplaceViewComponent, ITessaViewRequest>[]
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<ITessaViewRequest>
- component IWorkplaceViewComponent
- Объект для которого вызывается делегат
- parameters ICollectionRequestParameter
- Параметры компонента
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
- setupActions ActionIWorkplaceViewComponent, ITessaViewRequest
- Действия устанавливающие параметры запроса
ValueTaskITessaViewRequestСозданные запрос