Skip to content
DocsTry Aspire
DocsTry

DetectionResult Properties

ClassProperties4 members
Result of detecting an AppHost in a directory.
AppHostFileSection titled AppHostFilenullablestring?
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; }
LanguageSection titled Languagenullablestring?
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; }