예제 #1
0
        public override bool Equals(object o)
        {
            var other = o as ProjectingEventInfo;

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