C# Class Deveel.Configuration.ReflectedOptions

Afficher le fichier Open project: deveel/deveel-cli Class Usage Examples

Méthodes publiques

Méthode Description
CreateFromObject ( object obj ) : Options
CreateFromType ( Type type ) : Options
SetToObject ( Options options, ICommandLine cmdLine, object obj ) : void

Private Methods

Méthode Description
CreateOptionFromMember ( MemberInfo member, OptionGroup>.IDictionary groups ) : Option
FilterMember ( MemberInfo member, object criteria ) : bool
SetOptionsToMember ( MemberInfo member, Options options, ICommandLine cmdLine ) : void

Method Details

CreateFromObject() public static méthode

public static CreateFromObject ( object obj ) : Options
obj object
Résultat Options

CreateFromType() public static méthode

public static CreateFromType ( Type type ) : Options
type System.Type
Résultat Options

SetToObject() public static méthode

public static SetToObject ( Options options, ICommandLine cmdLine, object obj ) : void
options Options
cmdLine ICommandLine
obj object
Résultat void