Exemplo n.º 1
0
        public override bool Equals(object o)
        {
            var other = o as ProjectingEventInfo;

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