Skip to content
Docs Try Aspire

DetectionResult Properties

Class Properties 4 members
Result of detecting an AppHost in a directory.
AppHostFile Section titled AppHostFile nullable string?
Gets the path to the detected AppHost file.
public string? AppHostFile { get; init; }
Gets whether a valid AppHost was detected.
public bool IsValid { get; init; }
Language Section titled Language nullable string?
Gets the detected language (e.g., "TypeScript").
public string? Language { get; init; }
Creates a result indicating no AppHost was detected.
public static DetectionResult NotFound { get; }