예제 #1
0
        public override bool FrameEquals(FrameData framedata)
        {
            ColorFrameData colorFrameData = framedata as ColorFrameData;
            bool           flag           = colorFrameData != null;

            return(flag && base.FrameEquals(framedata) && this.Alpha == colorFrameData.Alpha && this.Color.Equals(colorFrameData.Color));
        }
예제 #2
0
        public override bool FrameEquals(FrameData framedata)
        {
            ColorFrameData colorFrameData = framedata as ColorFrameData;

            return(colorFrameData != null && base.FrameEquals(framedata) && this.Alpha == colorFrameData.Alpha && this.Color.Equals((object)colorFrameData.Color));
        }