C# Class CommandLine.Core.Specification

显示文件 Open project: cosmo0/commandline Class Usage Examples

Public Methods

Method Description
FromProperty ( PropertyInfo property ) : Specification

Protected Methods

Method Description
Specification ( SpecificationType tag, bool required, int min, int max, Maybe defaultValue, System conversionType ) : System

Method Details

FromProperty() public static method

public static FromProperty ( PropertyInfo property ) : Specification
property System.Reflection.PropertyInfo
return Specification

Specification() protected method

protected Specification ( SpecificationType tag, bool required, int min, int max, Maybe defaultValue, System conversionType ) : System
tag SpecificationType
required bool
min int
max int
defaultValue Maybe
conversionType System
return System