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