示例#1
0
 private bool ActiverValider()
 {
     return(Photo != null &&
            Titre != null && !Titre.Equals("") &&
            Description != null && !Description.Equals("") &&
            ((Tag != null && !Tag.Equals("")) || (ListeTags != null && ListeTags.Count > 0)));
 }
示例#2
0
 public bool Equals(Jeu other)
 {
     return(Titre.Equals(other.Titre, StringComparison.InvariantCultureIgnoreCase));
 }
示例#3
0
 public override bool Equals(object obj)
 {
     return(obj is Echeance echeance &&
            Titre.Equals(echeance.Titre, StringComparison.OrdinalIgnoreCase));
 }
 public bool Equals(Livre other)
 {
     return(Titre.Equals(other.Titre) && Auteurs.Equals(other.Auteurs) && Editeur.Equals(other.Editeur) && Genres.Equals(other.Genres) && DateAjout.Equals(other.DateAjout));
 }
示例#5
0
 public override bool Equals(object obj)
 {
     return(obj is Evenement evenement &&
            Titre.Equals(evenement.Titre, StringComparison.OrdinalIgnoreCase));
 }