# ILanguageSupport

- Kind: `interface`
- Package: [Aspire.TypeSystem](/reference/api/csharp/aspire.typesystem.md)
- Version: `13.4.0`
- Namespace: `Aspire.TypeSystem`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/a3766e994fd2cba86c8ac60b8a80268cab7e6383/src/Aspire.TypeSystem/ILanguageSupport.cs)

Interface for providing language-specific support for polyglot AppHosts. Implementations provide scaffolding, detection, and runtime execution configuration.

## Definition

```csharp
namespace Aspire.TypeSystem;

public interface ILanguageSupport
{
    // ...
}
```

## Properties

- [Language](/reference/api/csharp/aspire.typesystem/ilanguagesupport/properties.md#language) : `string` `abstract` `get` -- Gets the language identifier (e.g., "TypeScript", "Python").

## Methods

- [Detect(string)](/reference/api/csharp/aspire.typesystem/ilanguagesupport/methods.md#detect-string) : [DetectionResult](/reference/api/csharp/aspire.typesystem/detectionresult.md) `abstract` -- Detects if a directory contains an AppHost for this language.
- [GetRuntimeSpec](/reference/api/csharp/aspire.typesystem/ilanguagesupport/methods.md#getruntimespec) : [RuntimeSpec](/reference/api/csharp/aspire.typesystem/runtimespec.md) `abstract` -- Gets the runtime execution specification for this language.
- [Scaffold(ScaffoldRequest)](/reference/api/csharp/aspire.typesystem/ilanguagesupport/methods.md#scaffold-scaffoldrequest) : `Dictionary<string, string>` `abstract` -- Generates scaffold files for a new project.
