Пример #1
0
 protected bool Equals(MixinBase other)
 {
     if (_subjects.Length != other._subjects.Length)
     {
         return(false);
     }
     for (int i = 0; i < _subjects.Length; ++i)
     {
         if (!_subjects[i].Equals(other._subjects[i]))
         {
             return(false);
         }
     }
     return(true);
 }
Пример #2
0
 protected bool Equals(MixinBase other)
 {
     if (_subjects.Length!=other._subjects.Length)
         return false;
     for (int i = 0; i < _subjects.Length; ++i)
     {
         if (!_subjects[i].Equals(other._subjects[i]))
             return false;
     }
     return true;
 }