Console base WIP

This commit is contained in:
2023-08-07 14:55:18 +02:00
parent 2107d4f92a
commit b9adbc8272
18 changed files with 454 additions and 5 deletions

View File

@@ -0,0 +1,9 @@
namespace FileTime.ConsoleUI.App.Extensions;
public static class DeclarativePropertyExtensions
{
/*public static IDisposable Bind<T>(this IDeclarativeProperty<T> prop, Expression<Func<T>>)
{
}*/
}

View File

@@ -0,0 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<RootNamespace>FileTime.ConsoleUI.App</RootNamespace>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\AppCommon\FileTime.App.Core.Abstraction\FileTime.App.Core.Abstraction.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Terminal.Gui" Version="1.13.5" />
</ItemGroup>
</Project>

View File

@@ -0,0 +1,6 @@
namespace FileTime.ConsoleUI.App;
public interface IApplication
{
void Run();
}

View File

@@ -0,0 +1,8 @@
using FileTime.App.Core.ViewModels;
namespace FileTime.ConsoleUI.App;
public interface IConsoleAppState : IAppState
{
}

View File

@@ -0,0 +1,8 @@
using FileTime.App.Core.Models;
namespace FileTime.ConsoleUI.App.KeyInputHandling;
public interface IKeyInputHandlerService
{
void HandleKeyInput(GeneralKeyEventArgs keyEvent);
}