Class Response

Namespace
SIMDispatcher.Core.Models
Assembly
SIMDispatcher.Core.dll
public record Response : IEquatable<Response>
Inheritance
Response
Implements
Derived
Inherited Members

Fields

CommandcenterNotFound

public static readonly Response CommandcenterNotFound

Field Value

Response

Empty

public static readonly Response Empty

Field Value

Response

NotFound

public static readonly Response NotFound

Field Value

Response

Properties

Problems

public List<ResponseProblem> Problems { get; }

Property Value

List<ResponseProblem>

Methods

AddProblem(object?, string?)

public Response AddProblem(object? problem, string? property = null)

Parameters

problem object
property string

Returns

Response

HasProblems()

public bool HasProblems()

Returns

bool

Problem(object?, string?)

public static Response Problem(object? problem, string? property = null)

Parameters

problem object
property string

Returns

Response

ThrowIfFailed()

public Response ThrowIfFailed()

Returns

Response

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.