Example #1
0
 public bool Equals(UdfData other)
 {
     return((other != null) &&
            TypeData.Equals(other.TypeData) &&
            (MethodName == other.MethodName) &&
            TargetData.Equals(other.TargetData));
 }
Example #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))));
 }
Example #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));
            }
Example #4
0
 public bool Equals(ValueData other)
 {
     return((other != null) &&
            TypeData.Equals(other.TypeData) &&
            Value.Equals(other.Value));
 }