Class SupportAnswer
What an assistant had to say about a case.
public record SupportAnswer : IEquatable<SupportAnswer>
- Inheritance
-
SupportAnswer
- Implements
- Inherited Members
Remarks
A record with no Body is a decline, and Reason says why in terms a person reading the
case can use. Both outcomes are ordinary, so neither throws.
Properties
Answered
True when there is an answer to append.
public bool Answered { get; }
Property Value
Body
The answer to append to the case, or null when the assistant declined.
public string Body { get; init; }
Property Value
Reason
Why the assistant declined, or null when it answered.
public string Reason { get; init; }
Property Value
Methods
Declined(string)
A decline, with a reason a person can read.
public static SupportAnswer Declined(string reason)
Parameters
reasonstring
Returns
FromBody(string)
An answer.
public static SupportAnswer FromBody(string body)
Parameters
bodystring