ViewModelScopeTryGetViewModelTViewModel(Object, TViewModel) - метод
Пространство имён: Tessa.UIСборка: Tessa.UI (в Tessa.UI.dll) Версия: 4.0.4
public bool TryGetViewModel<TViewModel>(
Object model,
out TViewModel viewModel
)
where TViewModel : IViewModel
Public Function TryGetViewModel(Of TViewModel As IViewModel) (
model As Object,
<OutAttribute> ByRef viewModel As TViewModel
) As Boolean
public:
generic<typename TViewModel>
where TViewModel : IViewModel
bool TryGetViewModel(
Object^ model,
[OutAttribute] TViewModel% viewModel
)
member TryGetViewModel :
model : Object *
viewModel : 'TViewModel byref -> bool when 'TViewModel : IViewModel
- model Object
-
- viewModel TViewModel
-
- TViewModel
Boolean