C# Class MvvmCross.Core.ViewModels.MvxCommandCollectionBuilder

Inheritance: IMvxCommandCollectionBuilder
Afficher le fichier Open project: MvvmCross/MvvmCross Class Usage Examples

Méthodes publiques

Méthode Description
BuildCollectionFor ( object owner ) : IMvxCommandCollection
MvxCommandCollectionBuilder ( ) : System

Méthodes protégées

Méthode 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 méthode

public BuildCollectionFor ( object owner ) : IMvxCommandCollection
owner object
Résultat IMvxCommandCollection

CanExecutePropertyInfo() protected méthode

protected CanExecutePropertyInfo ( Type type, MethodInfo commandMethod ) : PropertyInfo
type System.Type
commandMethod System.Reflection.MethodInfo
Résultat System.Reflection.PropertyInfo

CanExecuteProperyName() protected méthode

protected CanExecuteProperyName ( MethodInfo method ) : string
method System.Reflection.MethodInfo
Résultat string

CommandAttribute() protected méthode

protected CommandAttribute ( MethodInfo method ) : MvxCommandAttribute
method System.Reflection.MethodInfo
Résultat MvxCommandAttribute

CreateCommand() protected méthode

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
Résultat void

CreateCommands() protected méthode

protected CreateCommands ( object owner, MvxCommandCollection toReturn ) : void
owner object
toReturn MvxCommandCollection
Résultat void

GetCommandNameOrNull() protected méthode

protected GetCommandNameOrNull ( MethodInfo method ) : string
method System.Reflection.MethodInfo
Résultat string

GetConventionalCommandNameOrNull() protected méthode

protected GetConventionalCommandNameOrNull ( MethodInfo method, string suffix ) : string
method System.Reflection.MethodInfo
suffix string
Résultat string

MvxCommandCollectionBuilder() public méthode

public MvxCommandCollectionBuilder ( ) : System
Résultat System