From 456f4acc424e5ad6a165c211fc5f8dce4d2dd166 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Merlin=20G=C3=A9linas?= <2133206@etu.cegepsth.qc.ca> Date: Wed, 3 May 2023 11:01:22 -0400 Subject: [PATCH] Fix des erreurs de build --- .../JeuHoy_WPF_Natif/JeuHoy_WPF_Natif.csproj | 2 ++ .../Model/GestionFichiersSorties.cs | 21 +++++++++++++++++++ .../Model/GestionPerceptrons.cs | 2 +- .../Model/IGestionFichiers.cs | 10 +++++++++ 4 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 JeuHoyEtudiants/JeuHoy_WPF_Natif/Model/GestionFichiersSorties.cs create mode 100644 JeuHoyEtudiants/JeuHoy_WPF_Natif/Model/IGestionFichiers.cs diff --git a/JeuHoyEtudiants/JeuHoy_WPF_Natif/JeuHoy_WPF_Natif.csproj b/JeuHoyEtudiants/JeuHoy_WPF_Natif/JeuHoy_WPF_Natif.csproj index a250698..ca5d1a6 100644 --- a/JeuHoyEtudiants/JeuHoy_WPF_Natif/JeuHoy_WPF_Natif.csproj +++ b/JeuHoyEtudiants/JeuHoy_WPF_Natif/JeuHoy_WPF_Natif.csproj @@ -60,6 +60,8 @@ + + diff --git a/JeuHoyEtudiants/JeuHoy_WPF_Natif/Model/GestionFichiersSorties.cs b/JeuHoyEtudiants/JeuHoy_WPF_Natif/Model/GestionFichiersSorties.cs new file mode 100644 index 0000000..76b747c --- /dev/null +++ b/JeuHoyEtudiants/JeuHoy_WPF_Natif/Model/GestionFichiersSorties.cs @@ -0,0 +1,21 @@ +using System.Collections.Generic; + +namespace JeuHoy_WPF_Natif.Model +{ + public class GestionFichiersSorties : IGestionFichiers + { + public GestionFichiersSorties() + { + } + + public List ChargerCoordonnees(string fichier) + { + throw new System.NotImplementedException(); + } + + public int SauvegarderCoordonnees(string fichier, List lstData) + { + throw new System.NotImplementedException(); + } + } +} \ No newline at end of file diff --git a/JeuHoyEtudiants/JeuHoy_WPF_Natif/Model/GestionPerceptrons.cs b/JeuHoyEtudiants/JeuHoy_WPF_Natif/Model/GestionPerceptrons.cs index 1e8440e..aceaa0e 100644 --- a/JeuHoyEtudiants/JeuHoy_WPF_Natif/Model/GestionPerceptrons.cs +++ b/JeuHoyEtudiants/JeuHoy_WPF_Natif/Model/GestionPerceptrons.cs @@ -8,7 +8,7 @@ using System.Threading.Tasks; namespace JeuHoy_WPF_Natif.Model { public class GestionPerceptrons { private Dictionary _lstPerceptrons = new Dictionary(); - private IGestionFichiers _gestionSortie = new GestionFichiersSorties(); + private Model.IGestionFichiers _gestionSortie = new GestionFichiersSorties(); private List _lstData = new List(); /// diff --git a/JeuHoyEtudiants/JeuHoy_WPF_Natif/Model/IGestionFichiers.cs b/JeuHoyEtudiants/JeuHoy_WPF_Natif/Model/IGestionFichiers.cs new file mode 100644 index 0000000..aeada99 --- /dev/null +++ b/JeuHoyEtudiants/JeuHoy_WPF_Natif/Model/IGestionFichiers.cs @@ -0,0 +1,10 @@ +using System.Collections.Generic; + +namespace JeuHoy_WPF_Natif.Model +{ + public interface IGestionFichiers + { + List ChargerCoordonnees(string fichier); + int SauvegarderCoordonnees(string fichier, List lstData); + } +} \ No newline at end of file