BindingRedirect
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
One <bindingRedirect> entry parsed from a .NET Framework configuration file
or a publisher-policy assembly’s embedded XML resource.
public sealed record BindingRedirect : IEquatable<BindingRedirect>Inheritance
Section titled “Inheritance”Object → BindingRedirect
Implements
Section titled “Implements”Constructors
Section titled “Constructors”BindingRedirect(PolicyLayer, string, string?, string, string?, Version, Version, Version)
Section titled “BindingRedirect(PolicyLayer, string, string?, string, string?, Version, Version, Version)”One <bindingRedirect> entry parsed from a .NET Framework configuration file
or a publisher-policy assembly’s embedded XML resource.
Parameters:
Source(PolicyLayer): Which policy layer this redirect came from.Name(String): Simple name of the redirected assembly.PublicKeyToken(String): Hex-string PKT, lower-cased; null for weak-named.Culture(String): Culture, defaulting to"neutral".ProcessorArchitecture(String):processorArchitectureattribute on<assemblyIdentity>, or null when unspecified (applies to any architecture).OldMin(Version): Inclusive lower bound of the redirected range.OldMax(Version): Inclusive upper bound of the redirected range.NewVersion(Version): The version the binder will use instead.
public BindingRedirect(PolicyLayer Source, string Name, string? PublicKeyToken, string Culture, string? ProcessorArchitecture, Version OldMin, Version OldMax, Version NewVersion)Properties
Section titled “Properties”Culture
Section titled “Culture”Culture, defaulting to "neutral".
Returns: String
public string Culture { get; init; }Simple name of the redirected assembly.
Returns: String
public string Name { get; init; }NewVersion
Section titled “NewVersion”The version the binder will use instead.
Returns: Version
public Version NewVersion { get; init; }OldMax
Section titled “OldMax”Inclusive upper bound of the redirected range.
Returns: Version
public Version OldMax { get; init; }OldMin
Section titled “OldMin”Inclusive lower bound of the redirected range.
Returns: Version
public Version OldMin { get; init; }ProcessorArchitecture
Section titled “ProcessorArchitecture”processorArchitecture attribute on <assemblyIdentity>, or
null when unspecified (applies to any architecture).
Returns: String
public string? ProcessorArchitecture { get; init; }PublicKeyToken
Section titled “PublicKeyToken”Hex-string PKT, lower-cased; null for weak-named.
Returns: String
public string? PublicKeyToken { get; init; }Source
Section titled “Source”Which policy layer this redirect came from.
Returns: PolicyLayer
public PolicyLayer Source { get; init; }