C# Class StyleCopPlus.Plugin.MoreCustom.NumericValue

Holds numeric value.
ファイルを表示 Open project: shuruev/StyleCopPlus Class Usage Examples

Public Methods

Method Description
CreateCharLimit ( ) : NumericValue

Creates numeric value holding char count limit.

CreateMethodSize ( ) : NumericValue

Creates numeric value holding method line count limit.

CreatePropertySize ( ) : NumericValue

Creates numeric value holding property line count limit.

CreateTabSize ( ) : NumericValue

Creates numeric value holding tab chars count.

NumericValue ( int defaultValue, int minValue, int maxValue ) : System

Initializes a new instance.

Parse ( string text ) : void

Parses numeric value from text.

Method Details

CreateCharLimit() public static method

Creates numeric value holding char count limit.
public static CreateCharLimit ( ) : NumericValue
return NumericValue

CreateMethodSize() public static method

Creates numeric value holding method line count limit.
public static CreateMethodSize ( ) : NumericValue
return NumericValue

CreatePropertySize() public static method

Creates numeric value holding property line count limit.
public static CreatePropertySize ( ) : NumericValue
return NumericValue

CreateTabSize() public static method

Creates numeric value holding tab chars count.
public static CreateTabSize ( ) : NumericValue
return NumericValue

NumericValue() public method

Initializes a new instance.
public NumericValue ( int defaultValue, int minValue, int maxValue ) : System
defaultValue int
minValue int
maxValue int
return System

Parse() public method

Parses numeric value from text.
public Parse ( string text ) : void
text string
return void