AssemblyRefInfo
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
Information about a referenced assembly from the AssemblyRef metadata table.
public sealed record AssemblyRefInfo : IEquatable<AssemblyRefInfo>Inheritance
Section titled “Inheritance”Object → AssemblyRefInfo
Implements
Section titled “Implements”Constructors
Section titled “Constructors”AssemblyRefInfo(string, string, string, string?)
Section titled “AssemblyRefInfo(string, string, string, string?)”Information about a referenced assembly from the AssemblyRef metadata table.
Parameters:
Name(String): The simple name of the referenced assembly.Version(String): The version of the referenced assembly.Culture(String): The culture of the referenced assembly, or empty for culture-neutral.PublicKeyToken(String): The public key token as a hex string, or null if not strong-named.
public AssemblyRefInfo(string Name, string Version, string Culture, string? PublicKeyToken)Properties
Section titled “Properties”Culture
Section titled “Culture”The culture of the referenced assembly, or empty for culture-neutral.
Returns: String
public string Culture { get; init; }The simple name of the referenced assembly.
Returns: String
public string Name { get; init; }PublicKeyToken
Section titled “PublicKeyToken”The public key token as a hex string, or null if not strong-named.
Returns: String
public string? PublicKeyToken { get; init; }Version
Section titled “Version”The version of the referenced assembly.
Returns: String
public string Version { get; init; }Methods
Section titled “Methods”Deconstruct(out string, out string, out string, out string?)
Section titled “Deconstruct(out string, out string, out string, out string?)”Parameters:
public void Deconstruct(out string Name, out string Version, out string Culture, out string? PublicKeyToken)Equals(AssemblyRefInfo?)
Section titled “Equals(AssemblyRefInfo?)”Parameters:
other(AssemblyRefInfo)
Returns: Boolean
public bool Equals(AssemblyRefInfo? 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 !=(AssemblyRefInfo?, AssemblyRefInfo?)
Section titled “operator !=(AssemblyRefInfo?, AssemblyRefInfo?)”Parameters:
left(AssemblyRefInfo)right(AssemblyRefInfo)
Returns: Boolean
public static bool operator !=(AssemblyRefInfo? left, AssemblyRefInfo? right)operator ==(AssemblyRefInfo?, AssemblyRefInfo?)
Section titled “operator ==(AssemblyRefInfo?, AssemblyRefInfo?)”Parameters:
left(AssemblyRefInfo)right(AssemblyRefInfo)
Returns: Boolean
public static bool operator ==(AssemblyRefInfo? left, AssemblyRefInfo? right)