Syntax
| C# |
|---|
public class NotSameValueValidator |
The type exposes the following members.
Public Constructors
| Name | Description | |
|---|---|---|
| NotSameValueValidatorNotSameValueValidatorNew |
Initializes a new instance of the SameAsValidator class.
|
Public Methods
| Name | Description | |
|---|---|---|
| ApplyBrowserValidation |
Applies the browser validation by setting up one or
more input rules on IBrowserValidationGenerator.
(Inherited from AbstractValidator.) | |
| Equals | (Inherited from Object.) | |
| GetFieldOrPropertyValue |
Obtains the value of a property or field on a specific instance.
(Inherited from AbstractValidator.) | |
| GetHashCode | 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.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Initialize |
Implementors should perform any initialization logic
(Inherited from AbstractValidator.) | |
| IsValid | Overloaded. | |
| ToString | (Inherited from Object.) |
Protected Methods
| Name | Description | |
|---|---|---|
| BuildErrorMessage |
Builds the error message.
(Overrides AbstractValidator..::BuildErrorMessage()().) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetString |
Gets the string from resource
(Inherited from AbstractValidator.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
Public Properties
| Name | Description | |
|---|---|---|
| ErrorMessage |
The error message to be displayed if the validation fails
(Inherited from AbstractValidator.) | |
| ExecutionOrder |
Gets or sets the validation execution order.
(Inherited from AbstractValidator.) | |
| FriendlyName |
Gets or sets the a friendly name for the target property
(Inherited from AbstractValidator.) | |
| Name |
Gets the property name. The FriendlyName
is returned if non-null, otherwise it will return the property name.
(Inherited from AbstractValidator.) | |
| Property |
The target property
(Inherited from AbstractValidator.) | |
| RunWhen |
Defines when to run the validation.
Defaults to RunWhen.Everytime (Inherited from AbstractValidator.) | |
| SupportsBrowserValidation |
Gets a value indicating whether this validator supports browser validation.
(Overrides AbstractValidator..::SupportsBrowserValidation.) |
Protected Properties
| Name | Description | |
|---|---|---|
| MessageKey |
Returns the key used to internationalize error messages
(Overrides AbstractValidator..::MessageKey.) |