Пример #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));
 }
Пример #2
0
 public static bool Save(string filename, Magazine obj)
 {
     return(obj.Save(filename));
 }
Пример #3
0
 public static bool Load(string filename, Magazine obj)
 {
     return(obj.Load(filename));
 }
Пример #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));
 }