AppliedPolicy
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
Records that a requested identity was rewritten by .NET Framework binding policy. Carried on AppliedPolicy so the UI can render ”↪ redirected 1.0.0.0 → 13.0.0.0 via app.config” without inventing new AssemblyProvenance values for redirected hits — a redirect-applied AppLocal hit is still AppLocal, just with this annotation attached.
public sealed record AppliedPolicy : IEquatable<AppliedPolicy>Inheritance
Section titled “Inheritance”Object → AppliedPolicy
Implements
Section titled “Implements”Constructors
Section titled “Constructors”AppliedPolicy(PolicyLayer, Version, Version, string?)
Section titled “AppliedPolicy(PolicyLayer, Version, Version, string?)”Records that a requested identity was rewritten by .NET Framework binding policy. Carried on AppliedPolicy so the UI can render ”↪ redirected 1.0.0.0 → 13.0.0.0 via app.config” without inventing new AssemblyProvenance values for redirected hits — a redirect-applied AppLocal hit is still AppLocal, just with this annotation attached.
Parameters:
Source(PolicyLayer): The policy layer that produced the rewrite.RequestedVersion(Version): The version named by the metadata reference.BoundVersion(Version): The version the binder actually loaded.CodeBaseHref(String): When Source is CodeBase, the configuredhrefattribute. null for non-codeBase sources.
public AppliedPolicy(PolicyLayer Source, Version RequestedVersion, Version BoundVersion, string? CodeBaseHref)Properties
Section titled “Properties”BoundVersion
Section titled “BoundVersion”The version the binder actually loaded.
Returns: Version
public Version BoundVersion { get; init; }CodeBaseHref
Section titled “CodeBaseHref”When Source is CodeBase, the configured
href attribute. null for non-codeBase sources.
Returns: String
public string? CodeBaseHref { get; init; }RequestedVersion
Section titled “RequestedVersion”The version named by the metadata reference.
Returns: Version
public Version RequestedVersion { get; init; }Source
Section titled “Source”The policy layer that produced the rewrite.
Returns: PolicyLayer
public PolicyLayer Source { get; init; }