BindingPolicyParseResult
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
Output of NetFxRuntimeVersion): the redirects, codeBase entries, per-identity publisher-policy disablements, probing privatePath segments, and the runtime-scoped publisher-policy bypass flag found in a single configuration file.
public sealed record BindingPolicyParseResult : IEquatable<BindingPolicyParseResult>Inheritance
Section titled “Inheritance”Object → BindingPolicyParseResult
Implements
Section titled “Implements”Constructors
Section titled “Constructors”BindingPolicyParseResult(IReadOnlyList<BindingRedirect>, IReadOnlyList<CodeBaseEntry>, IReadOnlyCollection<(string Name, string? PublicKeyToken, string Culture)>, IReadOnlyList<string>, bool)
Section titled “BindingPolicyParseResult(IReadOnlyList<BindingRedirect>, IReadOnlyList<CodeBaseEntry>, IReadOnlyCollection<(string Name, string? PublicKeyToken, string Culture)>, IReadOnlyList<string>, bool)”Output of NetFxRuntimeVersion): the redirects, codeBase entries, per-identity publisher-policy disablements, probing privatePath segments, and the runtime-scoped publisher-policy bypass flag found in a single configuration file.
Parameters:
Redirects(IReadOnlyList<BindingRedirect>): All<bindingRedirect>entries parsed from the file.CodeBases(IReadOnlyList<CodeBaseEntry>): All<codeBase>entries parsed from the file.Disabled(IReadOnlyCollection<String, String, String>>): Identities whose<dependentAssembly>block carried a<publisherPolicy apply="no"/>child.PrivatePaths(IReadOnlyList<String>): All<probing privatePath="..."/>segments.PublisherPolicyDisabledGlobally(Boolean): true when the file’s<runtime>element carried a top-level<publisherPolicy apply="no"/>, suppressing publisher policy for every bind in the AppDomain regardless of<dependentAssembly>.
public BindingPolicyParseResult(IReadOnlyList<BindingRedirect> Redirects, IReadOnlyList<CodeBaseEntry> CodeBases, IReadOnlyCollection<(string Name, string? PublicKeyToken, string Culture)> Disabled, IReadOnlyList<string> PrivatePaths, bool PublisherPolicyDisabledGlobally)Properties
Section titled “Properties”CodeBases
Section titled “CodeBases”All <codeBase> entries parsed from the file.
Returns: IReadOnlyList<CodeBaseEntry>
public IReadOnlyList<CodeBaseEntry> CodeBases { get; init; }Disabled
Section titled “Disabled”Identities whose <dependentAssembly> block carried a
<publisherPolicy apply="no"/> child.
Returns: IReadOnlyCollection<String, String, String>>
public IReadOnlyCollection<(string Name, string? PublicKeyToken, string Culture)> Disabled { get; init; }PrivatePaths
Section titled “PrivatePaths”All <probing privatePath="..."/> segments.
Returns: IReadOnlyList<String>
public IReadOnlyList<string> PrivatePaths { get; init; }PublisherPolicyDisabledGlobally
Section titled “PublisherPolicyDisabledGlobally”true when the file’s <runtime> element carried a top-level
<publisherPolicy apply="no"/>, suppressing publisher policy for every bind in
the AppDomain regardless of <dependentAssembly>.
Returns: Boolean
public bool PublisherPolicyDisabledGlobally { get; init; }Redirects
Section titled “Redirects”All <bindingRedirect> entries parsed from the file.
Returns: IReadOnlyList<BindingRedirect>
public IReadOnlyList<BindingRedirect> Redirects { get; init; }