Forge
csharpdeeb25a2
1#nullable enable
2
3using CascadeIDE.Cockpit.DataBus;
4using CascadeIDE.Models;
5
6namespace CascadeIDE.Features.SolutionWarmup.Application;
7
8/// <summary>Доступ оркестратора к UI/редактору без ссылки на ViewModels.</summary>
9public sealed class SolutionWarmupHostCallbacks
10{
11 public Func<string?> GetActiveCsFilePath { get; init; } = static () => null;
12
13 public Func<IReadOnlyList<string>> GetOpenCsFilePaths { get; init; } = static () => [];
14
15 public Action RunFeedAnchorsOnUi { get; init; } = static () => { };
16
17 public Func<SolutionWarmupSettings> GetWarmupSettings { get; init; } = static () => new();
18
19 public Func<HybridIndexSettings> GetHybridIndexSettings { get; init; } = static () => new();
20
21 public Func<HybridIndexStateChanged?> GetLatestHybridIndexState { get; init; } = static () => null;
22}
23
View only · write via MCP/CIDE