correction des erreurs
continuous-integration/drone/push Build is passing Details

Code
Vincent ASTOLFI 2 years ago
parent 6b540e7731
commit 4361847010

@ -20,12 +20,12 @@ namespace Model
UrlLogo = urlLogo; UrlLogo = urlLogo;
} }
private AjouterCompte(Compte compte) private void AjouterCompte(Compte compte)
{ {
ListeDesComptes.Add(compte); ListeDesComptes.Add(compte);
} }
private SupprimerCompte(Compte compte) private void SupprimerCompte(Compte compte)
{ {
ListeDesComptes.Remove(compte); ListeDesComptes.Remove(compte);
} }

@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace Model namespace Model
{ {
internal enum Devises public enum Devises
{ {
Livre_sterling, Livre_sterling,
Rouble, Rouble,

@ -10,10 +10,10 @@ namespace Model
{ {
public class Manager : INotifyPropertyChanged public class Manager : INotifyPropertyChanged
{ {
public IReadOnlyCollection<Inscrit> ListedesInscrits { get; private set }; public IReadOnlyCollection<Inscrit> ListedesInscrits { get; private set; }
private List<Inscrit> TouslesInscrits { get; set } = new List<Inscrit>; private List<Inscrit> TouslesInscrits { get; set; } = new List<Inscrit>();
public event PropertyChangedEventHandler PropertyChanged; public event PropertyChangedEventHandler? PropertyChanged;
void OnPropertyChanged(string propertyName) => PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); void OnPropertyChanged(string propertyName) => PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));

Loading…
Cancel
Save