ILanguageSupport Methods
Interface Methods 3 members
Interface for providing language-specific support for polyglot AppHosts. Implementations provide scaffolding, detection, and runtime execution configuration.
Detects if a directory contains an AppHost for this language.
public interface ILanguageSupport{ public abstract DetectionResult Detect( string directoryPath) { // ... }}Parameters
directoryPath string The directory to check. Returns
DetectionResult Detection result with language and file information. Gets the runtime execution specification for this language.
public interface ILanguageSupport{ public abstract RuntimeSpec GetRuntimeSpec() { // ... }}Returns
RuntimeSpec The runtime spec containing commands for execution. Scaffold(ScaffoldRequest) Section titled Scaffold(ScaffoldRequest) abstract Dictionary<string, string> Generates scaffold files for a new project.
public interface ILanguageSupport{ public abstract Dictionary<string, string> Scaffold( ScaffoldRequest request) { // ... }}Parameters
request ScaffoldRequest The scaffold request containing project details. Returns
Dictionary<string, string> A dictionary of relative file paths to file contents.