コード例 #1
0
        public override bool Equals(object obj)
        {
            DrawnPowerNode node = obj as DrawnPowerNode;

            if (node == null)
            {
                return(false);
            }
            return(Equals(node));
        }
コード例 #2
0
 public bool Equals(DrawnPowerNode other)
 {
     return(other.Power == Power);
 }