Exemple #1
0
        public override bool IsDuplicate(Node other)
        {
            var other_as_parameter_node = other as ParameterNode;

            return other_as_parameter_node != null &&
                   other_as_parameter_node != this &&
                   other_as_parameter_node.Name == Name;
        }
Exemple #2
0
        public override bool IsDuplicate(Node other)
        {
            var other_as_property_node = other as PropertyNode;

            return other_as_property_node != null &&
                   other_as_property_node != this &&
                   other_as_property_node.Property == Property;
        }
Exemple #3
0
        public override bool IsDuplicate(Node other)
        {
            var other_as_constant_node = other as ConstantNode;

            return other_as_constant_node != null &&
                   other_as_constant_node != this &&
                   other_as_constant_node.Value == Value;
        }
Exemple #4
0
 public abstract bool IsDuplicate(Node other);