Editare

Partajați prin


AssemblyNameInfo Class

Definition

Describes an assembly.

public ref class AssemblyNameInfo sealed
public sealed class AssemblyNameInfo
type AssemblyNameInfo = class
Public NotInheritable Class AssemblyNameInfo
Inheritance
AssemblyNameInfo

Remarks

It's a more lightweight, immutable version of AssemblyName that does not pre-allocate CultureInfo instances.

Constructors

AssemblyNameInfo(String, Version, String, AssemblyNameFlags, ImmutableArray<Byte>)

Initializes a new instance of the AssemblyNameInfo class.

Properties

CultureName

Gets the name of the culture associated with the assembly.

Flags

Gets the attributes of the assembly.

FullName

Gets the full name of the assembly, also known as the display name.

Name

Gets the simple name of the assembly.

PublicKeyOrToken

Gets the public key or the public key token of the assembly.

Version

Gets the version of the assembly.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Parse(ReadOnlySpan<Char>)

Parses a span of characters into a assembly name.

ToAssemblyName()

Initializes a new instance of the AssemblyName class based on the stored information.

ToString()

Returns a string that represents the current object.

(Inherited from Object)
TryParse(ReadOnlySpan<Char>, AssemblyNameInfo)

Tries to parse a span of characters into an assembly name.

Applies to