structure du projet, ajout de la lib hexagonal
This commit is contained in:
14
Src/Giants.Application/Giants.Application.csproj
Normal file
14
Src/Giants.Application/Giants.Application.csproj
Normal file
@@ -0,0 +1,14 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Giants.Infrastructure\Giants.Infrastructure.csproj" />
|
||||
<ProjectReference Include="..\Giants.Core\Giants.Core.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
18
Src/Giants.Application/Src/GiantApplication.cs
Normal file
18
Src/Giants.Application/Src/GiantApplication.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
namespace Giants.Application;
|
||||
|
||||
using Giants.Core.Interfaces;
|
||||
using Giants.Infrastructure;
|
||||
|
||||
/// <summary>
|
||||
/// Une application Giants permettant l'instanciations des services, utilisé pour une console
|
||||
/// ou autre archi sans injections de dependances
|
||||
/// /// </summary>
|
||||
public class GiantApplication
|
||||
{
|
||||
|
||||
/// <summary> Constructeur de base </summary>
|
||||
public GiantApplication()
|
||||
{
|
||||
IHexagonalGrid grid = new HexagonalGridImpl();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user