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