Definition

Assembly: CloudNimble.DotNetDocs.Core.dll Namespace: CloudNimble.DotNetDocs.Core Inheritance: CloudNimble.DotNetDocs.Core.DocEntity

Syntax

CloudNimble.DotNetDocs.Core.DocAssembly

Summary

Represents documentation for a .NET assembly.

Remarks

Contains metadata about an assembly and its namespaces, extracted from Roslyn symbols and enhanced with conceptual documentation.

Constructors

.ctor

Initializes a new instance of the DocAssembly class.

Syntax

public DocAssembly(Microsoft.CodeAnalysis.IAssemblySymbol symbol)

Parameters

NameTypeDescription
symbolMicrosoft.CodeAnalysis.IAssemblySymbolThe Roslyn assembly symbol.

Exceptions

ExceptionDescription
ArgumentNullExceptionThrown when symbol is null.

Properties

AssemblyName

Gets or sets the name of the assembly.

Syntax

public string AssemblyName { get; set; }

Property Value

Type: string The assembly name.

Namespaces

Gets the collection of namespaces in the assembly.

Syntax

public System.Collections.Generic.List<CloudNimble.DotNetDocs.Core.DocNamespace> Namespaces { get; }

Property Value

Type: System.Collections.Generic.List<CloudNimble.DotNetDocs.Core.DocNamespace> List of documented namespaces within this assembly.

Symbol

Gets the Roslyn symbol for the assembly.

Syntax

public Microsoft.CodeAnalysis.IAssemblySymbol Symbol { get; }

Property Value

Type: Microsoft.CodeAnalysis.IAssemblySymbol The underlying Roslyn assembly symbol containing metadata.

Version

Gets or sets the version of the assembly.

Syntax

public string Version { get; set; }

Property Value

Type: string? The assembly version string.