ViewControlMenuContext - конструктор
Пространство имён: Tessa.UI.Cards.ControlsСборка: Tessa.UI (в Tessa.UI.dll) Версия: 3.6.0.22
public ViewControlMenuContext(
[NotNullAttribute] CardViewControlViewModel viewModel,
[CanBeNullAttribute] IMenuContext menuContext,
CancellationToken cancellationToken = default
)
Public Sub New (
<NotNullAttribute> viewModel As CardViewControlViewModel,
<CanBeNullAttribute> menuContext As IMenuContext,
Optional cancellationToken As CancellationToken = Nothing
)
public:
ViewControlMenuContext(
[NotNullAttribute] CardViewControlViewModel^ viewModel,
[CanBeNullAttribute] IMenuContext^ menuContext,
CancellationToken cancellationToken = CancellationToken()
)
new :
[<NotNullAttribute>] viewModel : CardViewControlViewModel *
[<CanBeNullAttribute>] menuContext : IMenuContext *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ViewControlMenuContext
Параметры
- viewModel CardViewControlViewModel
-
Контекст представления
- menuContext IMenuContext
-
Контекст генерации меню
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.