Table of Contents

Interface IAssemblyInfo

Namespace
NDepend.DotNet
Assembly
NDepend.API.dll

Represents information about the assembly that is defined by its main module file path FilePath.

public interface IAssemblyInfo
Extension Methods

Properties (9)

AssembliesReferences

Gets a read-only list of assemblies references, representing assemblies referenced by this assembly.

IReadOnlyList<IAssemblyReference> AssembliesReferences { get; }

Property Value

IReadOnlyList<IAssemblyReference>

FileNameWithoutExtension

Gets the assembly main module file name without the ".dll" or ".exe" extension.

string FileNameWithoutExtension { get; }

Property Value

string

FilePath

Gets the assembly main module file path.

IAbsoluteFilePath FilePath { get; }

Property Value

IAbsoluteFilePath

IsStrongNamed

Gets a value indicating whether this assembly is strong named or not.

bool IsStrongNamed { get; }

Property Value

bool

PDBAvailable

Gets a value indicating whether this assembly corresponding PDB file is available or not.

bool PDBAvailable { get; }

Property Value

bool

PlatformTarget

Gets the assembly platform target value.

PlatformTarget PlatformTarget { get; }

Property Value

PlatformTarget

TargetFrameworkName

Gets the target framework name (TFM) of the assembly.

string TargetFrameworkName { get; }

Property Value

string

Remarks

Returns a string such as 'net5.0', 'net5.0-windows', 'netcoreapp3.1', 'netstandard2.0', 'net462', 'net4x'.
Related documentation: https://github.com/dotnet/designs/blob/main/accepted/2020/net5/net5.md

TargetRuntime

Gets the assembly target runtime version.

Version TargetRuntime { get; }

Property Value

Version

Version

Gets the assembly version, the version specified with the System.Reflection.AssemblyVersionAttribute attribute.

Version Version { get; }

Property Value

Version