Class SuccessfulGetValueToBeValidatedResponse
A GetValueToBeValidatedResponse which indicates success.
Implements
System.IEquatable<GetValueToBeValidatedResponse>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: CSF.Validation.RuleExecution
Assembly: CSF.Validation.Abstractions.dll
Syntax
public sealed class SuccessfulGetValueToBeValidatedResponse : GetValueToBeValidatedResponse, IEquatable<GetValueToBeValidatedResponse>
Constructors
| Improve this Doc View SourceSuccessfulGetValueToBeValidatedResponse(Object)
Initialises a new instance of SuccessfulGetValueToBeValidatedResponse.
Declaration
public SuccessfulGetValueToBeValidatedResponse(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The value derived from the accessor function. |
Properties
| Improve this Doc View SourceIsSuccess
Gets a value that indicates whether ornot the current instance represents success.
Declaration
public override bool IsSuccess { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceValue
Gets the value derived from the accessor function.
Declaration
public object Value { get; }
Property Value
Type | Description |
---|---|
System.Object |
Methods
| Improve this Doc View SourceEquals(GetValueToBeValidatedResponse)
Gets a value that indicates whether or not the current instance is equal to the specified GetValueToBeValidatedResponse.
Declaration
public override bool Equals(GetValueToBeValidatedResponse other)
Parameters
Type | Name | Description |
---|---|---|
GetValueToBeValidatedResponse | other | The value response. |
Returns
Type | Description |
---|---|
System.Boolean | true if the current instance is equal to the specified valuse response; false otherwise. |
Overrides
| Improve this Doc View SourceGetHashCode()
Gets a value which may serve as a hash code for the current instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A hash code value. |
Overrides
Implements
System.IEquatable<T>