Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

IApiReferenceExporter Properties

InterfaceProperties1 member
Optional companion to ICodeGenerator for languages that can describe their generated surface as a machine-readable API reference.
LanguageSection titled Languageabstractstring
Gets the target language name (for example, "TypeScript"). This must match the ICodeGenerator.Language value of the generator that produces the same surface, so a host can resolve one from the other.
public abstract string Language { get; }