CreateFromType() public static method

public static CreateFromType ( Type type ) : Options
type System.Type
return Options
Esempio n. 1
0
 public static T ParseObject <T>(this ICommandLineParser parser, string[] args, bool stopAtNotOption)
 {
     return(ParseObject <T>(parser, ReflectedOptions.CreateFromType(typeof(T)), args, stopAtNotOption));
 }
Esempio n. 2
0
 public static object ParseObject(this ICommandLineParser parser, Type type, string[] args, bool stopAtNotOption)
 {
     return(ParseObject(parser, type, ReflectedOptions.CreateFromType(type), args, stopAtNotOption));
 }