Table of Contents

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

string

Reply

What the model answered, for a test; null otherwise.

public string Reply { get; init; }

Property Value

string

Succeeded

Whether it worked.

public bool Succeeded { get; init; }

Property Value

bool

Methods

Failure(string)

It did not, and why.

public static SupportAiConnectionResult Failure(string problem)

Parameters

problem string

Returns

SupportAiConnectionResult

Success(string)

It worked, with the model's reply for a test.

public static SupportAiConnectionResult Success(string reply = null)

Parameters

reply string

Returns

SupportAiConnectionResult