AssemblyElement Class

An assembly of the architecture.

public sealed class AssemblyElement

Properties

NameDescription
ArchitectureGets the architecture that contains the assembly.
AttributesGets the attributes applied to the assembly.
FilePathGets the path of the file the assembly was loaded from, or null when it was loaded from memory.
NameGets the simple name of the assembly.
ReferencesGets the assemblies the assembly references.
TypesGets the types of the assembly, including the nested types. The types generated by the compiler are not included.
VersionGets the version of the assembly.

Architecture

AssemblyElement.cs

Gets the architecture that contains the assembly.

public ArchitectureModel Architecture { get; }

Property value

ArchitectureModel

Gets the attributes applied to the assembly.

public IReadOnlyList<AttributeElement> Attributes { get; }

Gets the path of the file the assembly was loaded from, or null when it was loaded from memory.

public string? FilePath { get; }

Property value

string?

Gets the simple name of the assembly.

public string Name { get; }

Property value

string

Gets the assemblies the assembly references.

public IReadOnlyList<AssemblyName> References { get; }

Gets the types of the assembly, including the nested types. The types generated by the compiler are not included.

public IReadOnlyList<TypeElement> Types { get; }

Gets the version of the assembly.

public Version Version { get; }

Property value

Version

Methods

NameDescription
ToString()Returns the name of the assembly.

Returns the name of the assembly.

public override string ToString()

Returns

string The name of the assembly.