TaskNavigatorNavigateAsync - метод
Устанавливает контент и кнопки для начального состояния задания,
в котором не видна форма задания.
Пространство имён: Tessa.UI.Cards.TasksСборка: Tessa.UI (в Tessa.UI.dll) Версия: 4.0.4
public ValueTask NavigateAsync(
TaskWorkspaceState state,
ObservableCollection<ITaskAction> actions,
ObservableCollection<ITaskAction> additionalActions = null,
CancellationToken cancellationToken = default
)
Public Function NavigateAsync (
state As TaskWorkspaceState,
actions As ObservableCollection(Of ITaskAction),
Optional additionalActions As ObservableCollection(Of ITaskAction) = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask
public:
ValueTask NavigateAsync(
TaskWorkspaceState state,
ObservableCollection<ITaskAction^>^ actions,
ObservableCollection<ITaskAction^>^ additionalActions = nullptr,
CancellationToken cancellationToken = CancellationToken()
)
member NavigateAsync :
state : TaskWorkspaceState *
actions : ObservableCollection<ITaskAction> *
?additionalActions : ObservableCollection<ITaskAction> *
?cancellationToken : CancellationToken
(* Defaults:
let _additionalActions = defaultArg additionalActions null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask
- state TaskWorkspaceState
- Состояние рабочей области с заданием.
- actions ObservableCollectionITaskAction
- additionalActions ObservableCollectionITaskAction (Optional)
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
ValueTaskАсинхронная задача.