Class SupportAiProviderDefault
- Namespace
- Tharga.Team
- Assembly
- Tharga.Team.dll
The address a provider kind starts from, and whether it needs a key.
public sealed record SupportAiProviderDefault : IEquatable<SupportAiProviderDefault>
- Inheritance
-
SupportAiProviderDefault
- Implements
- Inherited Members
Constructors
SupportAiProviderDefault(SupportAiConnectionKind, string)
The address a provider kind starts from, and whether it needs a key.
public SupportAiProviderDefault(SupportAiConnectionKind Kind, string BaseAddress)
Parameters
KindSupportAiConnectionKindThe provider.
BaseAddressstringThe address it starts from; null when the team has to give one, as for a server of its own.
Properties
BaseAddress
The address it starts from; null when the team has to give one, as for a server of its own.
public string BaseAddress { get; init; }
Property Value
Kind
The provider.
public SupportAiConnectionKind Kind { get; init; }
Property Value
RequiresApiKey
Whether the provider needs a key. Default true. A self-hosted server that asks for none sets it false: the key is then optional, and is sent only if the team gave one.
public bool RequiresApiKey { get; init; }