Console base WIP
This commit is contained in:
@@ -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>>)
|
||||
{
|
||||
|
||||
}*/
|
||||
}
|
||||
@@ -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>
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace FileTime.ConsoleUI.App;
|
||||
|
||||
public interface IApplication
|
||||
{
|
||||
void Run();
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
using FileTime.App.Core.ViewModels;
|
||||
|
||||
namespace FileTime.ConsoleUI.App;
|
||||
|
||||
public interface IConsoleAppState : IAppState
|
||||
{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
using FileTime.App.Core.Models;
|
||||
|
||||
namespace FileTime.ConsoleUI.App.KeyInputHandling;
|
||||
|
||||
public interface IKeyInputHandlerService
|
||||
{
|
||||
void HandleKeyInput(GeneralKeyEventArgs keyEvent);
|
||||
}
|
||||
Reference in New Issue
Block a user