Class CatalogOption
One endpoint option in the catalog: name, kind, default, secrecy, enum hints, the side that reads it.
public sealed record CatalogOption : IEquatable<CatalogOption>
Inheritance
Implements
Properties
ConnectionFactoryReference
This option names the connection factory ([ConnectionFactoryReference]).
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool ConnectionFactoryReference { get; init; }
ConnectionParameter
The connection factory sets it ([ConnectionParameter]): beside the option that names
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool ConnectionParameter { get; init; }
EnumValues
The member names of an enum option, else null.
public IReadOnlyList<string>? EnumValues { get; init; }
Name
The option's property name (PascalCase; the URI and the markup take it case-insensitively).
public string Name { get; init; }
Reference
Set when the option names a registry object ([RegistryReference], [ConnectionFactoryReference]):
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Reference { get; init; }
Sensitive
A secret ([Sensitive]): redacted wherever the URI is shown.
public bool Sensitive { get; init; }
Type
The value kind: bool, int, long, double, duration, enum (one member), flags (members joined by commas) or string.
public string Type { get; init; }
Constructors
CatalogOption(string, string, string?, bool, IReadOnlyList<string>?, EndpointRole?, bool, bool)
One endpoint option in the catalog: name, kind, default, secrecy, enum hints, the side that reads it.