From 341bb8f5e6440cfe5c496d434f1735078a63df70 Mon Sep 17 00:00:00 2001 From: hulivet1 Date: Thu, 19 Jan 2023 23:50:48 +0100 Subject: [PATCH] =?UTF-8?q?ReadOnly=20bugg=C3=A9=20:(?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/Modele/Manager.cs | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/Sources/Modele/Manager.cs b/Sources/Modele/Manager.cs index da90dc7..3005964 100644 --- a/Sources/Modele/Manager.cs +++ b/Sources/Modele/Manager.cs @@ -94,19 +94,7 @@ namespace Model private IList listeDesBanques = new List(); //private IList listeDesBanques = new List(); - /*public ReadOnlyCollection AllBanque - { - get => allBanque; - set - { - if (allBanque != value) - { - allBanque = value; - OnPropertyChanged(nameof(AllBanque)); - } - } - } - private ReadOnlyCollection allBanque;*/ + public ReadOnlyCollection AllBanque { get; private set; } public List ListeDesComptes { @@ -122,13 +110,13 @@ namespace Model } private List listeDesComptes = new List(); - //public ReadOnlyCollection AllCompte { get; private set; } + public ReadOnlyCollection AllCompte { get; private set; } public Manager(IPersistanceManager persistance) { - //AllBanque = new ReadOnlyCollection(listeDesBanques); - //AllCompte = new ReadOnlyCollection(listeDesComptes); + AllBanque = new ReadOnlyCollection(ListeDesBanques); + AllCompte = new ReadOnlyCollection(ListeDesComptes); Pers = persistance; }