TextBox, PropertyChangeHandler

This commit is contained in:
2023-08-11 21:51:44 +02:00
parent e989a65e81
commit 1fde0df2d6
81 changed files with 1539 additions and 390 deletions

View File

@@ -1,4 +1,5 @@
using FileTime.App.Core.ViewModels;
using FileTime.App.CommandPalette.ViewModels;
using FileTime.App.Core.ViewModels;
namespace FileTime.ConsoleUI.App;
@@ -8,12 +9,15 @@ public class RootViewModel : IRootViewModel
public string MachineName => Environment.MachineName;
public IPossibleCommandsViewModel PossibleCommands { get; }
public IConsoleAppState AppState { get; }
public ICommandPaletteViewModel CommandPalette { get; }
public RootViewModel(
IConsoleAppState appState,
IPossibleCommandsViewModel possibleCommands)
IPossibleCommandsViewModel possibleCommands,
ICommandPaletteViewModel commandPalette)
{
AppState = appState;
PossibleCommands = possibleCommands;
CommandPalette = commandPalette;
}
}