2 instantiations of DetectionResult
Aspire.Hosting (2)
Ats\LanguageModels.cs (2)
54
public static DetectionResult NotFound =>
new
() { IsValid = false };
59
public static DetectionResult Found(string language, string appHostFile) =>
new
()
10 references to DetectionResult
Aspire.Hosting (3)
Ats\ILanguageSupport.cs (1)
32
DetectionResult
Detect(string directoryPath);
Ats\LanguageModels.cs (2)
54
public static
DetectionResult
NotFound => new() { IsValid = false };
59
public static
DetectionResult
Found(string language, string appHostFile) => new()
Aspire.Hosting.CodeGeneration.TypeScript (4)
TypeScriptLanguageSupport.cs (4)
126
public
DetectionResult
Detect(string directoryPath)
132
return
DetectionResult
.NotFound;
139
return
DetectionResult
.NotFound;
145
return
DetectionResult
.Found(LanguageId, "apphost.ts");
Aspire.Hosting.RemoteHost (3)
Language\LanguageService.cs (3)
72
public
DetectionResult
DetectAppHostType(string directoryPath)
81
var
result = languageSupport.Detect(directoryPath);
90
return
DetectionResult
.NotFound;