CardViewControlViewModelInitializeStrategyAsync - метод
Инициализирует стратегию создания ViewModelи представления.
DataProvider можно установить через свойство CardViewControlViewModel.DataProvider.
Пространство имён: Tessa.UI.Cards.ControlsСборка: Tessa.UI (в Tessa.UI.dll) Версия: 3.6.0.22
public ValueTask InitializeStrategyAsync(
IViewCardControlInitializationStrategy initializationStrategy,
bool codeGenerated = false,
CancellationToken cancellationToken = default
)
Public Function InitializeStrategyAsync (
initializationStrategy As IViewCardControlInitializationStrategy,
Optional codeGenerated As Boolean = false,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask
public:
ValueTask InitializeStrategyAsync(
IViewCardControlInitializationStrategy^ initializationStrategy,
bool codeGenerated = false,
CancellationToken cancellationToken = CancellationToken()
)
member InitializeStrategyAsync :
initializationStrategy : IViewCardControlInitializationStrategy *
?codeGenerated : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _codeGenerated = defaultArg codeGenerated false
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask
- initializationStrategy IViewCardControlInitializationStrategy
- codeGenerated Boolean (Optional)
- Признак того, что представление генерируется программно.
- cancellationToken CancellationToken (Optional)
ValueTask