Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

ApiReferenceExportOptions

Classsealednet10.0
📦 Aspire.TypeSystem v13.6.0
Describes the package identity and ownership scope of an IApiReferenceExporter export.
namespace Aspire.TypeSystem;
public sealed class ApiReferenceExportOptions
{
// ...
}

The ATS context handed to an exporter is already filtered to the exporting assemblies, their reference closure, and the reduced member shapes needed to resolve wrappers for referenced handle types. That closure is exactly why ApiReferenceExportOptions.ExportingAssemblyNames exists: it lets the exporter tell apart symbols the package owns and should document from symbols it merely needs to emit so the output is self-contained. Without it, every package would republish its dependencies' API reference.

The constructor snapshots the assembly-name collection. Exporters should compare these CLR assembly simple names using StringComparer.OrdinalIgnoreCase.

View all constructors
View all properties