Пример #1
0
        public override bool Equals(object o)
        {
            ProjectingModule other = o as ProjectingModule;

            return(other != null &&
                   Projector == other.Projector &&
                   UnderlyingModule.Equals(other.UnderlyingModule));
        }
Пример #2
0
 public override bool Equals([NotNullWhen(true)] object?o)
 {
     return(o is ProjectingModule other &&
            Projector == other.Projector &&
            UnderlyingModule.Equals(other.UnderlyingModule));
 }