Click or drag to resize

ValidationResult Class

Class that represents a validation result of a context.
Inheritance Hierarchy
SystemObject
  Xploration.ValidationValidationResult

Namespace:  Xploration.Validation
Assembly:  Xploration.Validation (in Xploration.Validation.dll) Version: 1.0.0-alpha1
Syntax
public class ValidationResult

The ValidationResult type exposes the following members.

Constructors
  NameDescription
Public methodValidationResult(ValidationContext, IValidator, Boolean, Object)
Initializes a new instance of the ValidationResult class.
Public methodValidationResult(ValidationContext, IValidator, ValidationResult, Object)
Initializes a new instance of the ValidationResult class with a validation result the new instance depends on.
Top
Properties
  NameDescription
Public propertyContext
Gets the context that is validated.
Public propertyDependsOn
Gets the ValidationResult the current result depends on.
Public propertyError
Gets or sets an user defined error object.
Public propertyIsValid
Gets if the validated context is valid.
Public propertyCode examplePath
Gets or sets the path of the entity that is validated.
Public propertyValidator
Gets the validator.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Top
See Also