Refactor command handlers and Startup
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
using FileTime.App.Core;
|
||||
using FileTime.Core.Services;
|
||||
using FileTime.Providers.Local;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
@@ -10,6 +12,8 @@ namespace FileTime.App.DependencyInjection
|
||||
serviceCollection ??= new ServiceCollection();
|
||||
|
||||
return serviceCollection
|
||||
.AddTransient<ITab, Tab>()
|
||||
.AddCoreAppServices()
|
||||
.AddLocalServices();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\Providers\FileTime.Providers.Local\FileTime.Providers.Local.csproj" />
|
||||
<ProjectReference Include="..\FileTime.App.Core\FileTime.App.Core.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user