Skip to content
DocsTry Aspire
DocsTry

ICodeGenerator Methods

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