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
Empty
public static readonly Response Empty
Field Value
NotFound
public static readonly Response NotFound
Field Value
Properties
Problems
public List<ResponseProblem> Problems { get; }
Property Value
Methods
AddProblem(object?, string?)
public Response AddProblem(object? problem, string? property = null)
Parameters
Returns
HasProblems()
public bool HasProblems()
Returns
Problem(object?, string?)
public static Response Problem(object? problem, string? property = null)
Parameters
Returns
ThrowIfFailed()
public Response ThrowIfFailed()
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.