Click or drag to resize

WriteOnceValidator Class

Defines a validator that only allows an entity transition of Unchanged or Assigned.
Inheritance Hierarchy

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

The WriteOnceValidator type exposes the following members.

Public methodWriteOnceValidator
Initializes a new instance of the WriteOnceValidator class
Protected methodCreateResult
Creates a new validation result.
(Inherited from Validator.)
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Inherited from Validator.)
Protected methodEquals(IValidator)
Determines if the given validator can be considered equal to the current validator.
(Overrides ValidatorEquals(IValidator).)
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 Validator.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodIsValidAsync
Validates that the transition of the entity is Unchanged or Assigned.
(Overrides ValidatorIsValidAsync(StateTransition, Object, 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.)
Public methodValidateAsync(Object)
Validates the given entity asynchronously and determines if the entity is valid.
(Inherited from Validator.)
Public methodValidateAsync(ValidationContext)
Validates the given ValidationContext asynchronously and determines if the context is valid.
(Inherited from Validator.)
Public methodValidateAsync(Object, Object)
Validates the given new entity against the old entity asynchronously and determines if the new entity is valid.
(Inherited from Validator.)
See Also