WorkplaceComponentFactoryCreateAsync - метод
Создает контент представления.
Пространство имён: Tessa.UI.Views.ContentСборка: Tessa.UI (в Tessa.UI.dll) Версия: 4.0.4
public ValueTask<IWorkplaceViewComponent> CreateAsync(
IWorkplaceViewComponent parent,
IDataNodeMetadata dataNodeMetadata,
IEnumerable<ISortingColumn> sortingColumns,
CancellationToken cancellationToken = default
)
Public Function CreateAsync (
parent As IWorkplaceViewComponent,
dataNodeMetadata As IDataNodeMetadata,
sortingColumns As IEnumerable(Of ISortingColumn),
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of IWorkplaceViewComponent)
public:
virtual ValueTask<IWorkplaceViewComponent^> CreateAsync(
IWorkplaceViewComponent^ parent,
IDataNodeMetadata^ dataNodeMetadata,
IEnumerable<ISortingColumn^>^ sortingColumns,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract CreateAsync :
parent : IWorkplaceViewComponent *
dataNodeMetadata : IDataNodeMetadata *
sortingColumns : IEnumerable<ISortingColumn> *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<IWorkplaceViewComponent>
override CreateAsync :
parent : IWorkplaceViewComponent *
dataNodeMetadata : IDataNodeMetadata *
sortingColumns : IEnumerable<ISortingColumn> *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<IWorkplaceViewComponent>
- parent IWorkplaceViewComponent
- Родительский элемент.
- dataNodeMetadata IDataNodeMetadata
-
- sortingColumns IEnumerableISortingColumn
- Сортировка, задаваемая по умолчанию.
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
ValueTaskIWorkplaceViewComponentСозданный элемент
IWorkplaceComponentFactoryCreateAsync(IWorkplaceViewComponent, IDataNodeMetadata, IEnumerableISortingColumn, CancellationToken)