Class AiPromptProjectScan
Pure, test-constructible view over a project scan: every ScannedSerenityAsset the wizard
can offer as an extension base, plus the lookups intents and templates need. Never touches
AssetDatabase itself — see AiPromptProjectScanner for the live scan.
Inheritance
AiPromptProjectScan
Assembly: Serenity.AiPromptBuilder.Editor.dll
Syntax
public sealed class AiPromptProjectScan
Constructors
AiPromptProjectScan(IReadOnlyList<ScannedSerenityAsset>)
Declaration
public AiPromptProjectScan(IReadOnlyList<ScannedSerenityAsset> assets)
Parameters
Properties
All
Declaration
public IReadOnlyList<ScannedSerenityAsset> All { get; }
Property Value
IsEmptyProject
Declaration
public bool IsEmptyProject { get; }
Property Value
Methods
BuildSummaryBlock(IReadOnlyList<string>)
A deterministic markdown bullet list of every asset whose type is in typeNames,
grouped per type (types sorted ordinal, assets within a type sorted by Id).
A requested type with no matches gets a single "(none found)" line instead of being silently omitted.
Declaration
public string BuildSummaryBlock(IReadOnlyList<string> typeNames)
Parameters
Returns
OfAnyType(IReadOnlyList<string>)
Declaration
public IReadOnlyList<ScannedSerenityAsset> OfAnyType(IReadOnlyList<string> typeNames)
Parameters
Returns
OfType(string)
Declaration
public IReadOnlyList<ScannedSerenityAsset> OfType(string typeName)
Parameters
| Type |
Name |
Description |
| string |
typeName |
|
Returns