AssemblyResolution
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
Outcome of an identity-based assembly resolution. Carries everything the dependency-graph builder and UI need: the resolved assembly or module (or null on failure), the provenance classifying how the file was located, the candidate path of an identity-mismatched simple-name hit, and — for .NET Framework binds — the policy-layer attribution and the effective bound identity.
public sealed record AssemblyResolution : IEquatable<AssemblyResolution>Inheritance
Section titled “Inheritance”Object → AssemblyResolution
Implements
Section titled “Implements”Constructors
Section titled “Constructors”AssemblyResolution(ResolvedAssembly?, AssemblyProvenance, string?, AppliedPolicy?, AssemblyRefInfo?)
Section titled “AssemblyResolution(ResolvedAssembly?, AssemblyProvenance, string?, AppliedPolicy?, AssemblyRefInfo?)”Outcome of an identity-based assembly resolution. Carries everything the dependency-graph builder and UI need: the resolved assembly or module (or null on failure), the provenance classifying how the file was located, the candidate path of an identity-mismatched simple-name hit, and — for .NET Framework binds — the policy-layer attribution and the effective bound identity.
Parameters:
Resolved(ResolvedAssembly): The assembly file, bundle entry, or authenticated sibling module the resolver selected, or null when the bind failed (Unresolved, IdentityMismatch, CodeBaseMissing).Provenance(AssemblyProvenance): Classification of how the node was located.CandidateProbePath(String): The simple-name match whose identity did not align (IdentityMismatch), or the configured codeBase href that does not exist (CodeBaseMissing). null for other outcomes.AppliedPolicy(AppliedPolicy): Records the requested → bound rewrite when .NET Framework binding policy fired. null for non-redirected resolutions and for all .NET Core / .NET 5+ resolutions.LoadedIdentity(AssemblyRefInfo): The identity the binder actually loaded after applying policy. May differ from the requested identity for net48 binds when redirects collapsed multiple requested versions onto one loaded version. null for non-net48 resolutions and for failures.
public AssemblyResolution(ResolvedAssembly? Resolved, AssemblyProvenance Provenance, string? CandidateProbePath, AppliedPolicy? AppliedPolicy = null, AssemblyRefInfo? LoadedIdentity = null)Properties
Section titled “Properties”AppliedPolicy
Section titled “AppliedPolicy”Records the requested → bound rewrite when .NET Framework binding policy fired. null for non-redirected resolutions and for all .NET Core / .NET 5+ resolutions.
Returns: AppliedPolicy
public AppliedPolicy? AppliedPolicy { get; init; }CandidateProbePath
Section titled “CandidateProbePath”The simple-name match whose identity did not align (IdentityMismatch), or the configured codeBase href that does not exist (CodeBaseMissing). null for other outcomes.
Returns: String
public string? CandidateProbePath { get; init; }LoadedIdentity
Section titled “LoadedIdentity”The identity the binder actually loaded after applying policy. May differ from the requested identity for net48 binds when redirects collapsed multiple requested versions onto one loaded version. null for non-net48 resolutions and for failures.
Returns: AssemblyRefInfo
public AssemblyRefInfo? LoadedIdentity { get; init; }Provenance
Section titled “Provenance”Classification of how the node was located.
Returns: AssemblyProvenance
public AssemblyProvenance Provenance { get; init; }Resolved
Section titled “Resolved”The assembly file, bundle entry, or authenticated sibling module the resolver selected, or null when the bind failed (Unresolved, IdentityMismatch, CodeBaseMissing).
Returns: ResolvedAssembly
public ResolvedAssembly? Resolved { get; init; }Methods
Section titled “Methods”Deconstruct(out ResolvedAssembly?, out AssemblyProvenance, out string?, out AppliedPolicy?, out AssemblyRefInfo?)
Section titled “Deconstruct(out ResolvedAssembly?, out AssemblyProvenance, out string?, out AppliedPolicy?, out AssemblyRefInfo?)”Parameters:
Resolved(ResolvedAssembly)Provenance(AssemblyProvenance)CandidateProbePath(String)AppliedPolicy(AppliedPolicy)LoadedIdentity(AssemblyRefInfo)
public void Deconstruct(out ResolvedAssembly? Resolved, out AssemblyProvenance Provenance, out string? CandidateProbePath, out AppliedPolicy? AppliedPolicy, out AssemblyRefInfo? LoadedIdentity)Equals(AssemblyResolution?)
Section titled “Equals(AssemblyResolution?)”Parameters:
other(AssemblyResolution)
Returns: Boolean
public bool Equals(AssemblyResolution? other)Equals(object?)
Section titled “Equals(object?)”Parameters:
obj(Object)
Returns: Boolean
public override bool Equals(object? obj)GetHashCode()
Section titled “GetHashCode()”Returns: Int32
public override int GetHashCode()ToString()
Section titled “ToString()”Returns: String
public override string ToString()Members
Section titled “Members”operator !=(AssemblyResolution?, AssemblyResolution?)
Section titled “operator !=(AssemblyResolution?, AssemblyResolution?)”Parameters:
left(AssemblyResolution)right(AssemblyResolution)
Returns: Boolean
public static bool operator !=(AssemblyResolution? left, AssemblyResolution? right)operator ==(AssemblyResolution?, AssemblyResolution?)
Section titled “operator ==(AssemblyResolution?, AssemblyResolution?)”Parameters:
left(AssemblyResolution)right(AssemblyResolution)
Returns: Boolean
public static bool operator ==(AssemblyResolution? left, AssemblyResolution? right)