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