Class FloatRangeAttributeTests
Tests for FloatRangeAttribute: constructor stores range and display hints, default optional-argument values, attribute usage metadata, and applicability to a field.
Inherited Members
Namespace: Serenity.Global.Tests.Domain
Assembly: Tests.dll
Syntax
public class FloatRangeAttributeTests
Constructors
FloatRangeAttributeTests()
Declaration
public FloatRangeAttributeTests()
Methods
AppliedToField_IsReadableViaReflection()
Declaration
public void AppliedToField_IsReadableViaReflection()
AttributeUsage_TargetsParameterFieldAndProperty()
Declaration
public void AttributeUsage_TargetsParameterFieldAndProperty()
Ctor_AllArguments_StoreEachValue()
Declaration
public void Ctor_AllArguments_StoreEachValue()
Ctor_AllowsInvertedRange_WithoutValidation()
Declaration
public void Ctor_AllowsInvertedRange_WithoutValidation()
Ctor_DisplayAsPercentageOnly_LeavesResettableFalse()
Declaration
public void Ctor_DisplayAsPercentageOnly_LeavesResettableFalse()
Ctor_MinMaxOnly_StoresRange_AndDefaultsHints()
Declaration
public void Ctor_MinMaxOnly_StoresRange_AndDefaultsHints()
Type_DerivesFromAttribute()
Declaration
public void Type_DerivesFromAttribute()
Type_IsSealed()
Declaration
public void Type_IsSealed()