Пример #1
0
 public bool Equals(SegmentAngleConfig c)
 {
     return(base.Equals((InputConfig)c) &&
            c.Angle == Angle &&
            c.BoneMarker == BoneMarker &&
            c.Range == Range);
 }
Пример #2
0
        public override bool Equals(object obj)
        {
            SegmentAngleConfig c = obj as SegmentAngleConfig;

            if ((object)c == null)
            {
                return(false);
            }
            return //base.Equals(obj) &&
                   (c.Angle == Angle &&
                    c.BoneMarker == BoneMarker &&
                    c.Range == Range);
        }