Class SupportAiConnectionResult
- Namespace
- Tharga.Team
- Assembly
- Tharga.Team.dll
The outcome of connecting to or testing a provider.
public sealed record SupportAiConnectionResult : IEquatable<SupportAiConnectionResult>
- Inheritance
-
SupportAiConnectionResult
- Implements
- Inherited Members
Properties
Problem
Why it did not work, in words for the person setting it up; null when it did.
public string Problem { get; init; }
Property Value
Reply
What the model answered, for a test; null otherwise.
public string Reply { get; init; }
Property Value
Succeeded
Whether it worked.
public bool Succeeded { get; init; }
Property Value
Methods
Failure(string)
It did not, and why.
public static SupportAiConnectionResult Failure(string problem)
Parameters
problemstring
Returns
Success(string)
It worked, with the model's reply for a test.
public static SupportAiConnectionResult Success(string reply = null)
Parameters
replystring