Skip to content
Docs Try Aspire

ICodeGenerator Methods

Interface Methods 1 member
Interface for generating language-specific code from ATS capabilities.
GenerateDistributedApplication(AtsContext) Section titled GenerateDistributedApplication(AtsContext) abstract Dictionary<string, string>
Generates the distributed application SDK code from the ATS context.
public interface ICodeGenerator
{
public abstract Dictionary<string, string> GenerateDistributedApplication(
AtsContext context)
{
// ...
}
}
context AtsContext The ATS context containing capabilities, types, and enums.
Dictionary<string, string> A dictionary of file paths to file contents.