NullDocumentTabManagerOpenWorkplaceAsync(IWorkplaceViewModel, Boolean, CancellationToken) - метод
Осуществляет отображение модели рабочего места
Пространство имён: Tessa.UI.WindowsСборка: Tessa.UI (в Tessa.UI.dll) Версия: 3.6.0.22
public ValueTask<ITessaShellTab> OpenWorkplaceAsync(
IWorkplaceViewModel workplaceViewModel,
bool activate = true,
CancellationToken cancellationToken = default
)
Public Function OpenWorkplaceAsync (
workplaceViewModel As IWorkplaceViewModel,
Optional activate As Boolean = true,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of ITessaShellTab)
public:
virtual ValueTask<ITessaShellTab^> OpenWorkplaceAsync(
IWorkplaceViewModel^ workplaceViewModel,
bool activate = true,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract OpenWorkplaceAsync :
workplaceViewModel : IWorkplaceViewModel *
?activate : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _activate = defaultArg activate true
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<ITessaShellTab>
override OpenWorkplaceAsync :
workplaceViewModel : IWorkplaceViewModel *
?activate : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _activate = defaultArg activate true
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<ITessaShellTab>
- workplaceViewModel IWorkplaceViewModel
-
Модель рабочего места
- activate Boolean (Optional)
-
Признак необходимости активировать данное рабочее место
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
ValueTaskITessaShellTabВкладка с рабочим местом
IDocumentTabManagerOpenWorkplaceAsync(IWorkplaceViewModel, Boolean, CancellationToken)