Skip to content

NetFxBindResult

Namespace: Dotsider.Core.Analysis.Models

Assembly: Dotsider.Core.dll

Result of a single .NET Framework bind. Carries the requested identity, the effective identity after policy was applied, the loaded identity (when binding succeeded), the file path the CLR would load, the provenance classification, the policy-layer attribution, and (when binding failed) a human-readable reason for UI surfacing.

public sealed record NetFxBindResult : IEquatable<NetFxBindResult>

ObjectNetFxBindResult

NetFxBindResult(AssemblyRefInfo, AssemblyRefInfo, AssemblyRefInfo?, string?, AssemblyProvenance, AppliedPolicy?, string?, string?)

Section titled “NetFxBindResult(AssemblyRefInfo, AssemblyRefInfo, AssemblyRefInfo?, string?, AssemblyProvenance, AppliedPolicy?, string?, string?)”

Result of a single .NET Framework bind. Carries the requested identity, the effective identity after policy was applied, the loaded identity (when binding succeeded), the file path the CLR would load, the provenance classification, the policy-layer attribution, and (when binding failed) a human-readable reason for UI surfacing.

Parameters:

  • Requested (AssemblyRefInfo): Identity exactly as named by the metadata reference.
  • EffectiveAfterPolicy (AssemblyRefInfo): Identity after framework unification + machine + publisher + app.
  • Loaded (AssemblyRefInfo): Identity of the file the binder actually opened, or null on failure.
  • LoadedPath (String): Path the binder would hand to the CLR loader, or null on failure.
  • Provenance (AssemblyProvenance): Classification of how the node was located.
  • AppliedPolicy (AppliedPolicy): Records the requested → bound rewrite when policy fired.
  • FailureReason (String): Human-readable explanation for non-success outcomes.
  • CandidateProbePath (String): For IdentityMismatch, the simple-name match whose identity did not align. null for other outcomes.
public NetFxBindResult(AssemblyRefInfo Requested, AssemblyRefInfo EffectiveAfterPolicy, AssemblyRefInfo? Loaded, string? LoadedPath, AssemblyProvenance Provenance, AppliedPolicy? AppliedPolicy, string? FailureReason, string? CandidateProbePath)

Records the requested → bound rewrite when policy fired.

Returns: AppliedPolicy

public AppliedPolicy? AppliedPolicy { get; init; }

For IdentityMismatch, the simple-name match whose identity did not align. null for other outcomes.

Returns: String

public string? CandidateProbePath { get; init; }

Identity after framework unification + machine + publisher + app.

Returns: AssemblyRefInfo

public AssemblyRefInfo EffectiveAfterPolicy { get; init; }

Human-readable explanation for non-success outcomes.

Returns: String

public string? FailureReason { get; init; }

Identity of the file the binder actually opened, or null on failure.

Returns: AssemblyRefInfo

public AssemblyRefInfo? Loaded { get; init; }

Path the binder would hand to the CLR loader, or null on failure.

Returns: String

public string? LoadedPath { get; init; }

Classification of how the node was located.

Returns: AssemblyProvenance

public AssemblyProvenance Provenance { get; init; }

Identity exactly as named by the metadata reference.

Returns: AssemblyRefInfo

public AssemblyRefInfo Requested { get; init; }