Show / Hide Table of Contents

Class ErrorGetValueToBeValidatedResponse

A GetValueToBeValidatedResponse which indicates failure and that an error should be added to the results.

Inheritance
System.Object
GetValueToBeValidatedResponse
ErrorGetValueToBeValidatedResponse
Implements
System.IEquatable<GetValueToBeValidatedResponse>
Inherited Members
GetValueToBeValidatedResponse.Equals(Object)
GetValueToBeValidatedResponse.GetHashCode()
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 ErrorGetValueToBeValidatedResponse : GetValueToBeValidatedResponse, IEquatable<GetValueToBeValidatedResponse>

Constructors

| Improve this Doc View Source

ErrorGetValueToBeValidatedResponse(Exception)

Initialises a new instance of ErrorGetValueToBeValidatedResponse.

Declaration
public ErrorGetValueToBeValidatedResponse(Exception exception)
Parameters
Type Name Description
System.Exception exception

The exception which lead to this result.

Properties

| Improve this Doc View Source

Exception

Gets the exception which lead to this result.

Declaration
public Exception Exception { get; }
Property Value
Type Description
System.Exception
| Improve this Doc View Source

IsSuccess

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
GetValueToBeValidatedResponse.IsSuccess

Methods

| Improve this Doc View Source

Equals(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
GetValueToBeValidatedResponse.Equals(GetValueToBeValidatedResponse)

Implements

System.IEquatable<T>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX