C# Class MvvmCross.Core.ViewModels.MvxDefaultViewModelLocator

Inheritance: IMvxViewModelLocator
显示文件 Open project: MvvmCross/MvvmCross Class Usage Examples

Public Methods

Method Description
Load ( Type viewModelType, IMvxBundle parameterValues, IMvxBundle savedState ) : IMvxViewModel
Reload ( IMvxViewModel viewModel, IMvxBundle parameterValues, IMvxBundle savedState ) : IMvxViewModel

Protected Methods

Method Description
CallCustomInitMethods ( IMvxViewModel viewModel, IMvxBundle parameterValues ) : void
CallReloadStateMethods ( IMvxViewModel viewModel, IMvxBundle savedState ) : void
RunViewModelLifecycle ( IMvxViewModel viewModel, IMvxBundle parameterValues, IMvxBundle savedState ) : void

Method Details

CallCustomInitMethods() protected method

protected CallCustomInitMethods ( IMvxViewModel viewModel, IMvxBundle parameterValues ) : void
viewModel IMvxViewModel
parameterValues IMvxBundle
return void

CallReloadStateMethods() protected method

protected CallReloadStateMethods ( IMvxViewModel viewModel, IMvxBundle savedState ) : void
viewModel IMvxViewModel
savedState IMvxBundle
return void

Load() public method

public Load ( Type viewModelType, IMvxBundle parameterValues, IMvxBundle savedState ) : IMvxViewModel
viewModelType System.Type
parameterValues IMvxBundle
savedState IMvxBundle
return IMvxViewModel

Reload() public method

public Reload ( IMvxViewModel viewModel, IMvxBundle parameterValues, IMvxBundle savedState ) : IMvxViewModel
viewModel IMvxViewModel
parameterValues IMvxBundle
savedState IMvxBundle
return IMvxViewModel

RunViewModelLifecycle() protected method

protected RunViewModelLifecycle ( IMvxViewModel viewModel, IMvxBundle parameterValues, IMvxBundle savedState ) : void
viewModel IMvxViewModel
parameterValues IMvxBundle
savedState IMvxBundle
return void