예제 #1
0
 public bool Equals(UdfData other)
 {
     return((other != null) &&
            TypeData.Equals(other.TypeData) &&
            (MethodName == other.MethodName) &&
            TargetData.Equals(other.TargetData));
 }
예제 #2
0
 public bool Equals(FieldData other)
 {
     return((other != null) &&
            TypeData.Equals(other.TypeData) &&
            (Name == other.Name) &&
            (((Value == null) && (other.Value == null)) ||
             ((Value != null) && Value.Equals(other.Value))));
 }
예제 #3
0
            public bool Equals(TargetData other)
            {
                if ((other == null) ||
                    !TypeData.Equals(other.TypeData) ||
                    (Fields?.Length != other.Fields?.Length))
                {
                    return(false);
                }

                if ((Fields == null) && (other.Fields == null))
                {
                    return(true);
                }

                return(Fields.SequenceEqual(other.Fields));
            }
예제 #4
0
 public bool Equals(ValueData other)
 {
     return((other != null) &&
            TypeData.Equals(other.TypeData) &&
            Value.Equals(other.Value));
 }