Exemplo n.º 1
0
 protected bool Equals(Magazine other)
 {
     return(string.Equals(_magazineName, other._magazineName) && _timing == other._timing &&
            _magazineDate.Equals(other._magazineDate) && _magazineCirculation == other._magazineCirculation &&
            _articleList.SequenceEqual(other._articleList) && _personsList.SequenceEqual(other._personsList));
 }
Exemplo n.º 2
0
 public static bool Save(string filename, Magazine obj)
 {
     return(obj.Save(filename));
 }
Exemplo n.º 3
0
 public static bool Load(string filename, Magazine obj)
 {
     return(obj.Load(filename));
 }
Exemplo n.º 4
0
 protected bool Equals(Magazine other)
 {
     return(string.Equals(_nameTitle, other._nameTitle) && _Period == other._Period &&
            _DateEdition.Equals(other._DateEdition) && _Edit == other._Edit &&
            _articleList.SequenceEqual(other._articleList) && _personsList.SequenceEqual(other._personsList));
 }