Syntax

C#
[SerializableAttribute]
public class ValidateDecimalAttribute

The type exposes the following members.

Public Constructors

Public Methods

  NameDescription
Public methodBuildOverloaded.
Public methodEquals
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from Attribute.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsDefaultAttribute
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute.)
Public methodMatch
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Protected Methods

  NameDescription
Protected methodConfigureValidatorMessage
Applies the common configuration defined on the attribute.
(Inherited from AbstractValidationAttribute.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)

Public Properties

  NameDescription
Public propertyExecutionOrder
Gets or sets the validation execution order.
(Inherited from AbstractValidationAttribute.)
Public propertyFriendlyName
Gets or sets the a friendly name for the target property
(Inherited from AbstractValidationAttribute.)
Public propertyRunWhen
Defines when to run the validation. Defaults to RunWhen.Everytime
(Inherited from AbstractValidationAttribute.)
Public propertyTypeId
When implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute.)

Protected Properties

  NameDescription
Protected propertyErrorMessage
Gets the error message.
(Inherited from AbstractValidationAttribute.)

See Also