Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Models.Attributes.RangeAttribute Class

(not specified)

(not specified)

Namespace: YetaWF.Core.Models.Attributes
Assembly: YetaWF.Core

Inheritance

Syntax

public class RangeAttribute : System.ComponentModel.DataAnnotations.RangeAttribute,
    YetaWF.Core.Models.YIClientValidation;

Constructors

PublicRangeAttributeConstructor.

Properties

PublicInherited from System.ComponentModel.DataAnnotations.RangeAttributeConvertValueInInvariantCultureGets or sets a value that determines whether any conversions of the value being validated to OperandType as set by the <c>type</c> parameter of the String) constructor use the invariant culture or the current culture.
PublicInherited from System.ComponentModel.DataAnnotations.ValidationAttributeErrorMessageGets or sets an error message to associate with a validation control if validation fails.
PublicInherited from System.ComponentModel.DataAnnotations.ValidationAttributeErrorMessageResourceNameGets or sets the error message resource name to use in order to look up the ErrorMessageResourceType property value if validation fails.
PublicInherited from System.ComponentModel.DataAnnotations.ValidationAttributeErrorMessageResourceTypeGets or sets the resource type to use for error-message lookup if validation fails.
PublicInherited from System.ComponentModel.DataAnnotations.RangeAttributeMaximumGets the maximum allowed field value.
PublicInherited from System.ComponentModel.DataAnnotations.RangeAttributeMinimumGets the minimum allowed field value.
PublicInherited from System.ComponentModel.DataAnnotations.RangeAttributeOperandTypeGets the type of the data field whose value must be validated.
PublicInherited from System.ComponentModel.DataAnnotations.RangeAttributeParseLimitsInInvariantCultureGets or sets a value that determines whether string values for Minimum and Maximum are parsed using the invariant culture rather than the current culture.
PublicInherited from System.ComponentModel.DataAnnotations.ValidationAttributeRequiresValidationContextGets a value that indicates whether the attribute requires validation context.
PublicInherited from System.AttributeTypeIdWhen implemented in a derived class, gets a unique identifier for this Attribute.
ProtectedInherited from System.ComponentModel.DataAnnotations.ValidationAttributeErrorMessageStringGets the localized validation error message.

Methods

PublicAddValidation(not specified)
PublicInherited from System.AttributeEqualsReturns a value that indicates whether this instance is equal to a specified object.
ProtectedInherited from System.ObjectFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
PublicInherited from System.ComponentModel.DataAnnotations.RangeAttributeFormatErrorMessageFormats the error message that is displayed when range validation fails.
PublicStaticInherited from System.AttributeGetCustomAttributeRetrieves a custom attribute applied to a specified assembly. Parameters specify the assembly and the type of the custom attribute to search for.
PublicStaticInherited from System.AttributeGetCustomAttributesRetrieves an array of the custom attributes applied to an assembly. A parameter specifies the assembly.
PublicInherited from System.AttributeGetHashCodeReturns the hash code for this instance.
PublicInherited from System.ObjectGetTypeGets the Type of the current instance.
PublicInherited from System.ComponentModel.DataAnnotations.ValidationAttributeGetValidationResultChecks whether the specified value is valid with respect to the current validation attribute.
PublicInherited from System.AttributeIsDefaultAttributeWhen overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
PublicStaticInherited from System.AttributeIsDefinedDetermines whether any custom attributes are applied to an assembly. Parameters specify the assembly, and the type of the custom attribute to search for.
PublicInherited from System.ComponentModel.DataAnnotations.RangeAttributeIsValidChecks that the value of the data field is in the specified range.
PublicInherited from System.AttributeMatchWhen overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
ProtectedInherited from System.ObjectMemberwiseCloneCreates a shallow copy of the current Object.
PublicStaticInherited from System.ObjectReferenceEqualsDetermines whether the specified Object instances are the same instance.
PublicInherited from System.ObjectToStringReturns a string that represents the current object.
PublicInherited from System.ComponentModel.DataAnnotations.ValidationAttributeValidateValidates the specified object.

See Also YetaWF.Core Overview