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

problem object
property string

Properties

Code

Gets or initializes the problem code.

public ResponseProblemCode? Code { get; init; }

Property Value

ResponseProblemCode?

ProblemDetails

public object? ProblemDetails { get; init; }

Property Value

object

Property

Gets or initializes the property associated with the problem.

public string? Property { get; init; }

Property Value

string

Text

Gets the display description of the problem code.

public string? Text { get; }

Property Value

string

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

string

Type Parameters

T