CodeBaseEntry
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
One <codeBase> entry parsed from a .NET Framework configuration file or
publisher-policy assembly. CodeBase entries are honored only for strong-named binds at
the version specified.
public sealed record CodeBaseEntry : IEquatable<CodeBaseEntry>Inheritance
Section titled “Inheritance”Object → CodeBaseEntry
Implements
Section titled “Implements”Constructors
Section titled “Constructors”CodeBaseEntry(PolicyLayer, string, string?, string, Version, string)
Section titled “CodeBaseEntry(PolicyLayer, string, string?, string, Version, string)”One <codeBase> entry parsed from a .NET Framework configuration file or
publisher-policy assembly. CodeBase entries are honored only for strong-named binds at
the version specified.
Parameters:
Source(PolicyLayer): Which policy layer this codeBase came from.Name(String): Simple name of the assembly.PublicKeyToken(String): Hex-string PKT.Culture(String): Culture, defaulting to"neutral".Version(Version): The version this codeBase is anchored to.Href(String): The configuredhref, either an absolute path/URL or a path relative to the application base.
public CodeBaseEntry(PolicyLayer Source, string Name, string? PublicKeyToken, string Culture, Version Version, string Href)Properties
Section titled “Properties”Culture
Section titled “Culture”Culture, defaulting to "neutral".
Returns: String
public string Culture { get; init; }The configured href, either an absolute path/URL or a path relative to the
application base.
Returns: String
public string Href { get; init; }Simple name of the assembly.
Returns: String
public string Name { get; init; }PublicKeyToken
Section titled “PublicKeyToken”Hex-string PKT.
Returns: String
public string? PublicKeyToken { get; init; }Source
Section titled “Source”Which policy layer this codeBase came from.
Returns: PolicyLayer
public PolicyLayer Source { get; init; }Version
Section titled “Version”The version this codeBase is anchored to.
Returns: Version
public Version Version { get; init; }