ILanguageSupport Methods
InterfaceMethods3 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
directoryPathstringThe directory to check.Returns
DetectionResultDetection result with language and file information. Gets the runtime execution specification for this language.
public interface ILanguageSupport{ public abstract RuntimeSpec GetRuntimeSpec() { // ... }}Returns
RuntimeSpecThe runtime spec containing commands for execution. Generates scaffold files for a new project.
public interface ILanguageSupport{ public abstract Dictionary<string, string> Scaffold( ScaffoldRequest request) { // ... }}Parameters
requestScaffoldRequestThe scaffold request containing project details.Returns
Dictionary<string, string>A dictionary of relative file paths to file contents.