Esempio n. 1
0
        public override bool Equals(object o)
        {
            ProjectingModule other = o as ProjectingModule;

            return(other != null &&
                   Projector == other.Projector &&
                   UnderlyingModule.Equals(other.UnderlyingModule));
        }
Esempio n. 2
0
 public override bool Equals([NotNullWhen(true)] object?o)
 {
     return(o is ProjectingModule other &&
            Projector == other.Projector &&
            UnderlyingModule.Equals(other.UnderlyingModule));
 }