The base class of any gear that validates the integrity of a given value. This class is part of Clockwork validation infrastructure.
Top
Top
Top
Top
Top
The following tables list the members exposed by the Validate<TToValidate> type.
| Name | Description | |
|---|---|---|
|
Validate<TToValidate> | (Overloaded) Creates a new Validate<TToValidate> instance. |
| Name | Description | |
|---|---|---|
|
AutorunInputActions | Gets a value indicating whether to run the input value provider gears when the current gear runs. (inherited from BaseGear). |
|
GearDescription | Gets or sets the gear description. (inherited from BaseGear). |
|
GearId | Gets the gear identifier. (inherited from BaseGear). |
|
GearInputs | Gets or sets the gear inputs. (inherited from BaseGear). |
|
GearName | Gets or sets the gear name. (inherited from BaseGear). |
|
GearOutputs | Gets or sets the gear outputs. (inherited from BaseGear). |
|
GearReturnType | Gets the result type that this gear produces after running. (inherited from Gear<TResult>). |
|
GearRunningEngine | Gets the gear running engine. (inherited from Gear<TResult>). |
| Name | Description | |
|---|---|---|
|
EffectivelyRun | This method calls the actual code of this gear. WARNING: Even though this is a public method, it is not intended to be directly called, it should only be invoked by gear running engines. (inherited from Gear<TResult>). |
|
Equals | (Overloaded) Determines whether the specified object is equal to the current object. (inherited from Object). |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object). |
|
GetHashCode | Serves as the default hash function. (inherited from Object). |
|
GetType | (Overloaded) Gets the Type of the current instance. (inherited from Object). |
|
MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object). |
|
OnAutorunInputActions | Handles the request to get the value indicating whether to run the input value provider gears when the current gear runs. (inherited from BaseGear). |
|
OnGetInputValidations | Handles the request to get the current gear inputs Configuration first validation rules. (inherited from BaseGear). |
|
OnGetInvalidGearInputDefaultMessage | Handles the request to get the default message to include in the input validation exception. (inherited from BaseGear). |
|
OnGetInvalidInputDefaultMessage | Handles the request to get the invalid value default message. |
|
OnInputInstantiationCompleted | Handles the request to execute the subscriber code for the completion event of the gear running engine input instantiation logic. (inherited from BaseGear). |
|
OnIsValid | Handles the request to validate the given value. |
|
OnOutputInstantiationCompleted | Handles the request to execute the subscriber code for the completion event of the gear running engine output instantiation logic. (inherited from BaseGear). |
|
OnRun | Handles the request to run the actual code of this gear. |
|
OnRunCodeFirstValidations | Handles the request to run the Code first validations. (inherited from BaseGear). |
|
OnRunConfigurationFirstValidations | Handles the request to run the Configuration first validation rules. (inherited from Gear<TResult>). |
|
OnRunDeclarationFirstValidations | Handles the request to run the Declaration first validators. (inherited from Gear<TResult>). |
|
ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object). |
|
Run | Runs this gear. This convenience method simplifies the activation of the underlying gear running engine, which in turns handle the calling of the Gear<EffectivelyRun method. (inherited from Gear<TResult>). |
|
RunDeclarationFirstGears | Runs the declaration first gears that annotates the current gear. (inherited from BaseGear). |
|
ToString | Returns a string that represents the current object. (inherited from Object). |
|
ValidateInputs | Validates the gear inputs by applying its Declaration, Configuration and Code first validations, in that specific order. (inherited from BaseGear). |
| Name | Description | |
|---|---|---|
|
FromNullable | Converts object values to nullable relational data store values. (Defined by Object_ToNullable). |
|
GetAttribute | Obtains the first attribute that decorates an object class. (Defined by Attribute_GetAttributes). |
|
GetAttribute<TAtribute> | (Overloaded) Obtains the first attribute that decorates an object class. (Defined by Attribute_GetAttributes). |
|
GetAttributes | Obtains the attributes that decorates a class. (Defined by Attribute_GetAttributes). |
|
GetAttributes<TAtribute> | (Overloaded) Obtains the attributes that decorates a class. (Defined by Attribute_GetAttributes). |
|
ToNullable<T> | Converts nullable relational data store values to Nullable<T>. (Defined by Object_ToNullable). |
| Name | Description | |
|---|---|---|
|
AggregateGearInputValidationExceptions | Input<bool>: Sets the flag that determines if input validation exceptions should be aggregated in one main exception. (inherited from BaseGear). |
|
Input | Input<TToValidate>: The input that holds the value to validate. |
|
InputOwner | Input<InputOwner>: The owner of the Input that holds the value to validate. |
|
InvalidGearInputMessage | Input<string>: Sets the message to include in the input validation exception. (inherited from BaseGear). |
|
InvalidInputMessage | Input<string>: The message to include in a ValidationException when the given Input value is not valid. |
|
MakeDurable | Input<bool>: Sets the flag that determines if this gear running results will be cached, so that subsequent uses of this same gear deliver its results from that cache instead of from a new full run. (inherited from BaseGear). |