WPF hinzugefügt

This commit is contained in:
Husky
2021-02-26 18:31:57 +01:00
parent 6761b17f4d
commit 746353e54e
34 changed files with 1261 additions and 37 deletions

View File

@@ -0,0 +1,20 @@
using DataStoring.Contract;
using DataStoring.EfCore;
using DichtheitManagement;
using DichtheitManagement.Contract;
using Ninject;
using System;
namespace Mappings
{
public class KernelInitializer
{
public void Initialize(IKernel kernel)
{
kernel.Bind<DPContext>().ToSelf();
kernel.Bind(typeof(IRepository<>)).To(typeof(Repository<>));
kernel.Bind<IAuftraggeberManager>().To<AuftraggeberManager>();
kernel.Bind<IBaustelleManager>().To<BaustelleManager>();
}
}
}

19
Mappings/Mappings.csproj Normal file
View File

@@ -0,0 +1,19 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Ninject" Version="3.3.4" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\DataStoring.Contract\DataStoring.Contract.csproj" />
<ProjectReference Include="..\DataStoring.CSV\DataStoring.CSV.csproj" />
<ProjectReference Include="..\DataStoring.EfCore\DataStoring.EfCore.csproj" />
<ProjectReference Include="..\DichtheitManagement.Contract\DichtheitManagement.Contract.csproj" />
<ProjectReference Include="..\DichtheitManagement\DichtheitManagement.csproj" />
</ItemGroup>
</Project>