Struct ResponseProblem
- Namespace
- SIMDispatcher.Core.Models
- Assembly
- SIMDispatcher.Core.dll
Represents a response problem.
public readonly struct ResponseProblem
- Inherited Members
Constructors
ResponseProblem(object?, string?)
Initializes a new instance of the ResponseProblem struct with the specified code and optional property.
public ResponseProblem(object? problem, string? property = null)
Parameters
Properties
Code
Gets or initializes the problem code.
public ResponseProblemCode? Code { get; init; }
Property Value
ProblemDetails
public object? ProblemDetails { get; init; }
Property Value
Property
Gets or initializes the property associated with the problem.
public string? Property { get; init; }
Property Value
Text
Gets the display description of the problem code.
public string? Text { get; }
Property Value
Methods
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.
ToString<T>()
public string ToString<T>()
Returns
Type Parameters
T