C# Class MvvmCross.Core.ViewModels.MvxCommandCollectionBuilder

Inheritance: IMvxCommandCollectionBuilder
ファイルを表示 Open project: MvvmCross/MvvmCross Class Usage Examples

Public Methods

Method Description
BuildCollectionFor ( object owner ) : IMvxCommandCollection
MvxCommandCollectionBuilder ( ) : System

Protected Methods

Method Description
CanExecutePropertyInfo ( Type type, MethodInfo commandMethod ) : PropertyInfo
CanExecuteProperyName ( MethodInfo method ) : string
CommandAttribute ( MethodInfo method ) : MvxCommandAttribute
CreateCommand ( object owner, MvxCommandCollection collection, MethodInfo commandMethod, string commandName, bool hasParameter ) : void
CreateCommands ( object owner, MvxCommandCollection toReturn ) : void
GetCommandNameOrNull ( MethodInfo method ) : string
GetConventionalCommandNameOrNull ( MethodInfo method, string suffix ) : string

Method Details

BuildCollectionFor() public method

public BuildCollectionFor ( object owner ) : IMvxCommandCollection
owner object
return IMvxCommandCollection

CanExecutePropertyInfo() protected method

protected CanExecutePropertyInfo ( Type type, MethodInfo commandMethod ) : PropertyInfo
type System.Type
commandMethod System.Reflection.MethodInfo
return System.Reflection.PropertyInfo

CanExecuteProperyName() protected method

protected CanExecuteProperyName ( MethodInfo method ) : string
method System.Reflection.MethodInfo
return string

CommandAttribute() protected method

protected CommandAttribute ( MethodInfo method ) : MvxCommandAttribute
method System.Reflection.MethodInfo
return MvxCommandAttribute

CreateCommand() protected method

protected CreateCommand ( object owner, MvxCommandCollection collection, MethodInfo commandMethod, string commandName, bool hasParameter ) : void
owner object
collection MvxCommandCollection
commandMethod System.Reflection.MethodInfo
commandName string
hasParameter bool
return void

CreateCommands() protected method

protected CreateCommands ( object owner, MvxCommandCollection toReturn ) : void
owner object
toReturn MvxCommandCollection
return void

GetCommandNameOrNull() protected method

protected GetCommandNameOrNull ( MethodInfo method ) : string
method System.Reflection.MethodInfo
return string

GetConventionalCommandNameOrNull() protected method

protected GetConventionalCommandNameOrNull ( MethodInfo method, string suffix ) : string
method System.Reflection.MethodInfo
suffix string
return string

MvxCommandCollectionBuilder() public method

public MvxCommandCollectionBuilder ( ) : System
return System