C# Class SettingsCompiler.MaxValueAttribute

Inheritance: System.Attribute
Mostrar archivo Open project: TheRealMJP/Shadows Class Usage Examples

Public Properties

Property Type Description
MaxValueFloat float
MaxValueInt int

Public Methods

Method Description
GetMaxValue ( FieldInfo field, float &maxValue ) : void
GetMaxValue ( FieldInfo field, int &maxValue ) : void
MaxValueAttribute ( float maxValue ) : System
MaxValueAttribute ( int maxValue ) : System

Method Details

GetMaxValue() public static method

public static GetMaxValue ( FieldInfo field, float &maxValue ) : void
field System.Reflection.FieldInfo
maxValue float
return void

GetMaxValue() public static method

public static GetMaxValue ( FieldInfo field, int &maxValue ) : void
field System.Reflection.FieldInfo
maxValue int
return void

MaxValueAttribute() public method

public MaxValueAttribute ( float maxValue ) : System
maxValue float
return System

MaxValueAttribute() public method

public MaxValueAttribute ( int maxValue ) : System
maxValue int
return System

Property Details

MaxValueFloat public_oe property

public float MaxValueFloat
return float

MaxValueInt public_oe property

public int MaxValueInt
return int