Syntax

C#
public class NullableSingleValidator

The type exposes the following members.

Public Constructors

Public Methods

  NameDescription
Public methodApplyBrowserValidation
Applies the browser validation by setting up one or more input rules on IBrowserValidationGenerator.
(Overrides AbstractValidator..::ApplyBrowserValidation(BrowserValidationConfiguration, InputElementType, IBrowserValidationGenerator, IDictionary, String).)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetFieldOrPropertyValue
Obtains the value of a property or field on a specific instance.
(Inherited from AbstractValidator.)
Public methodGetHashCode
Serves as a hash function for a particular type. GetHashCode()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitialize
Implementors should perform any initialization logic
(Inherited from AbstractValidator.)
Public methodIsValidOverloaded.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Protected Methods

  NameDescription
Protected methodBuildErrorMessage
Builds the error message.
(Inherited from AbstractValidator.)
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 methodGetString
Gets the string from resource
(Inherited from AbstractValidator.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)

Public Properties

  NameDescription
Public propertyErrorMessage
The error message to be displayed if the validation fails
(Inherited from AbstractValidator.)
Public propertyExecutionOrder
Gets or sets the validation execution order.
(Inherited from AbstractValidator.)
Public propertyFriendlyName
Gets or sets the a friendly name for the target property
(Inherited from AbstractValidator.)
Public propertyName
Gets the property name. The FriendlyName is returned if non-null, otherwise it will return the property name.
(Inherited from AbstractValidator.)
Public propertyProperty
The target property
(Inherited from AbstractValidator.)
Public propertyRunWhen
Defines when to run the validation. Defaults to RunWhen.Everytime
(Inherited from AbstractValidator.)
Public propertySupportsBrowserValidation
Gets a value indicating whether this validator supports browser validation.
(Overrides AbstractValidator..::SupportsBrowserValidation.)

Protected Properties

  NameDescription
Protected propertyMessageKey
Returns the key used to internationalize error messages
(Overrides AbstractValidator..::MessageKey.)

See Also