C# Class MvvmCross.Core.Views.MvxViewExtensionMethods

ファイルを表示 Open project: MvvmCross/MvvmCross

Public Methods

Method Description
CreateSaveStateBundle ( this view ) : IMvxBundle
FindAssociatedViewModelTypeOrNull ( this view ) : Type
OnViewCreate ( this view, Func viewModelLoader ) : void
OnViewDestroy ( this view ) : void
OnViewNewIntent ( this view, Func viewModelLoader ) : void
ReflectionGetViewModel ( this view ) : IMvxViewModel

Method Details

CreateSaveStateBundle() public static method

public static CreateSaveStateBundle ( this view ) : IMvxBundle
view this
return IMvxBundle

FindAssociatedViewModelTypeOrNull() public static method

public static FindAssociatedViewModelTypeOrNull ( this view ) : Type
view this
return System.Type

OnViewCreate() public static method

public static OnViewCreate ( this view, Func viewModelLoader ) : void
view this
viewModelLoader Func
return void

OnViewDestroy() public static method

public static OnViewDestroy ( this view ) : void
view this
return void

OnViewNewIntent() public static method

public static OnViewNewIntent ( this view, Func viewModelLoader ) : void
view this
viewModelLoader Func
return void

ReflectionGetViewModel() public static method

public static ReflectionGetViewModel ( this view ) : IMvxViewModel
view this
return IMvxViewModel