using StabilityMatrix.Core.Models.Progress; using StabilityMatrix.Core.Services; namespace StabilityMatrix.Core.Models.PackageModification; public class SetPackageInstallingStep : IPackageStep { private readonly ISettingsManager settingsManager; private readonly string packageName; public SetPackageInstallingStep(ISettingsManager settingsManager, string packageName) { this.settingsManager = settingsManager; this.packageName = packageName; } public Task ExecuteAsync(IProgress? progress = null) { settingsManager.PackageInstallsInProgress.Add(packageName); return Task.CompletedTask; } public string ProgressTitle => "Starting Package Installation"; }