C# Class MvvmCross.Droid.Shared.Attributes.MvxFragmentAttributeExtensionMethods

Mostra file Open project: MvvmCross/MvvmCross

Public Methods

Method Description
GetMvxFragmentAttribute ( this fromFragmentType, Type fragmentActivityParentType ) : MvxFragmentAttribute
GetMvxFragmentAttributes ( this fromFragmentType ) : IEnumerable
GetViewModelType ( this fragmentType ) : Type
HasMvxFragmentAttribute ( this candidateType ) : bool
IsFragmentCacheable ( this fragmentType, Type fragmentActivityParentType ) : bool

Private Methods

Method Description
GetActivityViewModelType ( Type activityType ) : Type

Method Details

GetMvxFragmentAttribute() public static method

public static GetMvxFragmentAttribute ( this fromFragmentType, Type fragmentActivityParentType ) : MvxFragmentAttribute
fromFragmentType this
fragmentActivityParentType System.Type
return MvxFragmentAttribute

GetMvxFragmentAttributes() public static method

public static GetMvxFragmentAttributes ( this fromFragmentType ) : IEnumerable
fromFragmentType this
return IEnumerable

GetViewModelType() public static method

public static GetViewModelType ( this fragmentType ) : Type
fragmentType this
return System.Type

HasMvxFragmentAttribute() public static method

public static HasMvxFragmentAttribute ( this candidateType ) : bool
candidateType this
return bool

IsFragmentCacheable() public static method

public static IsFragmentCacheable ( this fragmentType, Type fragmentActivityParentType ) : bool
fragmentType this
fragmentActivityParentType System.Type
return bool