Skip to content
Tracon

ExtensionPointDiagnostic

Namespace Tracon · Assembly Tracon.Abstractions.dll

One host-bound extension point and whether the host replaced its built-in default.

public sealed record ExtensionPointDiagnostic : IEquatable<ExtensionPointDiagnostic>

objectExtensionPointDiagnostic

IEquatable<ExtensionPointDiagnostic>

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Tracon embeds into a host application through seven contracts: ITenantContext, IRunAttributionContext, IToolAuthorizationHandler, IRunAuthorizationHandler, IRunEventSink, IAttachmentStorage, and IToolApprovalPresenter. Each is registered with TryAdd, so an application that registers nothing keeps Tracon’s built-in behavior exactly. This record answers, for each of the seven, whether the host replaced that default.

This is the list, and it does not grow to cover every contract Tracon registers with TryAdd: turning every replaceable registration into a row would produce a dependency-injection dump instead of an answer to “which of my seven embedding points are wired”.

public ExtensionPointDiagnostic()

Gets the contract’s name, for example ITenantContext.

public required string Contract { get; init; }

string

Gets the registered implementation’s type name.

public required string Implementation { get; init; }

string

Gets whether the registration is Tracon’s built-in default.

public required bool IsBuiltInDefault { get; init; }

bool

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(ExtensionPointDiagnostic? other)

other ExtensionPointDiagnostic?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(ExtensionPointDiagnostic?, ExtensionPointDiagnostic?)

Section titled “ operator ==(ExtensionPointDiagnostic?, ExtensionPointDiagnostic?)”
public static bool operator ==(ExtensionPointDiagnostic? left, ExtensionPointDiagnostic? right)

left ExtensionPointDiagnostic?

right ExtensionPointDiagnostic?

bool

operator !=(ExtensionPointDiagnostic?, ExtensionPointDiagnostic?)

Section titled “ operator !=(ExtensionPointDiagnostic?, ExtensionPointDiagnostic?)”
public static bool operator !=(ExtensionPointDiagnostic? left, ExtensionPointDiagnostic? right)

left ExtensionPointDiagnostic?

right ExtensionPointDiagnostic?

bool