C# Class Deveel.Configuration.ReflectedOptions

Show file Open project: deveel/deveel-cli Class Usage Examples

Public Methods

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

Private Methods

Method 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 method

public static CreateFromObject ( object obj ) : Options
obj object
return Options

CreateFromType() public static method

public static CreateFromType ( Type type ) : Options
type System.Type
return Options

SetToObject() public static method

public static SetToObject ( Options options, ICommandLine cmdLine, object obj ) : void
options Options
cmdLine ICommandLine
obj object
return void