/// <summary> /// Indicates whether the current Object is equal to another Object of the same type. /// </summary> /// <param name="other">An Object to compare with this Object.</param> /// <returns> /// true if the current Object is equal to the <paramref name="other" /> parameter; otherwise, false. /// </returns> public Boolean Equals(SelectorDescriptor other) { return(EqualityHelper.IsNullOrReferenceEqual(other, this) ?? String.Equals(Value, other.Value) && Enumerable.SequenceEqual(SelectorAttributes, other.SelectorAttributes) && Enumerable.SequenceEqual(PseudoSelectorDescriptors, other.PseudoSelectorDescriptors)); }
/// <summary> /// Indicates whether the current object is equal to another object of the same type. /// </summary> /// <returns> /// true if the current object is equal to the <paramref name="other"/> parameter; otherwise, false. /// </returns> /// <param name="other">An object to compare with this object.</param> public Boolean Equals(Command other) { return(EqualityHelper.IsNullOrReferenceEqual(other, this) ?? Runnable.Equals(other.Runnable) && CommandDescriptor.Equals(other.CommandDescriptor) && ActualArguments.SequenceEqual(other.ActualArguments)); }
/// <summary> /// Indicates whether the current object is equal to another object of the same type. /// </summary> /// <returns> /// true if the current object is equal to the <paramref name="other"/> parameter; otherwise, false. /// </returns> /// <param name="other">An object to compare with this object.</param> public Boolean Equals(ActualParameterElement other) { return(EqualityHelper.IsNullOrReferenceEqual(other, this) ?? ParameterName.Equals(other.ParameterName) && Position.Equals(other.Position) && Equals(Value, other.Value)); }
/// <summary> /// Indicates whether the current object is equal to another object of the same type. /// </summary> /// <returns> /// true if the current object is equal to the <paramref name="other"/> parameter; otherwise, false. /// </returns> /// <param name="other">An object to compare with this object.</param> public Boolean Equals(CommandDescriptor other) { return(EqualityHelper.IsNullOrReferenceEqual(other, this) ?? String.Equals(Name, other.Name) && String.Equals(Description, other.Description) && Enumerable.SequenceEqual(Arguments, other.Arguments) && Enumerable.SequenceEqual(CommandNames, other.CommandNames)); }
/// <summary> /// Indicates whether the current object is equal to another object of the same type. /// </summary> /// <returns> /// true if the current object is equal to the <paramref name="other"/> parameter; otherwise, false. /// </returns> /// <param name="other">An object to compare with this object.</param> public Boolean Equals(ArgumentDescriptor other) { return(EqualityHelper.IsNullOrReferenceEqual(other, this) ?? String.Equals(ArgumentName, other.ArgumentName) && Equals(DefaultValue, other.DefaultValue) && IsOptional == other.IsOptional && ArgumentType == other.ArgumentType && Position == other.Position); }
/// <summary> /// Indicates whether the current object is equal to another object of the same type. /// </summary> /// <param name="other">An object to compare with this object.</param> /// <returns> /// true if the current object is equal to the <paramref name="other" /> parameter; otherwise, false. /// </returns> public Boolean Equals(CommandCallElement other) { return(EqualityHelper.IsNullOrReferenceEqual(other, this) ?? String.Equals(MethodName, other.MethodName) && Equals(ActualParameters, other.ActualParameters)); }
/// <summary> /// Indicates whether the current object is equal to another object of the same type. /// </summary> /// <returns> /// true if the current object is equal to the <paramref name="other"/> parameter; otherwise, false. /// </returns> /// <param name="other">An object to compare with this object.</param> public Boolean Equals(ConstantElement other) { return(EqualityHelper.IsNullOrReferenceEqual(other, this) ?? Equals(Value, other.Value) && Type == other.Type); }
/// <summary> /// Indicates whether the current object is equal to another object of the same type. /// </summary> /// <returns> /// true if the current object is equal to the <paramref name="other"/> parameter; otherwise, false. /// </returns> /// <param name="other">An object to compare with this object.</param> public Boolean Equals(ErrorMessage other) { return(EqualityHelper.IsNullOrReferenceEqual(other, this, true) ?? Exception == other.Exception); }
/// <summary> /// Indicates whether the current Object is equal to another Object of the same type. /// </summary> /// <returns> /// true if the current Object is equal to the <paramref name="other"/> parameter; otherwise, false. /// </returns> /// <param name="other">An Object to compare with this Object.</param> public Boolean Equals(ModifierSelectorDescriptor other) { return(EqualityHelper.IsNullOrReferenceEqual(other, this) ?? String.Equals(Name, other.Name) && Value.Equals(other.Value)); }
/// <summary> /// Indicates whether the current Object is equal to another Object of the same type. /// </summary> /// <returns> /// true if the current Object is equal to the <paramref name="other"/> parameter; otherwise, false. /// </returns> /// <param name="other">An Object to compare with this Object.</param> public Boolean Equals(SelectorAttributeDescriptor other) { return(EqualityHelper.IsNullOrReferenceEqual(other, this) ?? String.Equals(Name, other.Name) && String.Equals(Value, other.Value)); }
/// <summary> /// Indicates whether the current Object is equal to another Object of the same type. /// </summary> /// <param name="other">An Object to compare with this Object.</param> /// <returns> /// true if the current Object is equal to the <paramref name="other" /> parameter; otherwise, false. /// </returns> public Boolean Equals(CommandCallDescriptor other) { return(EqualityHelper.IsNullOrReferenceEqual(other, this) ?? String.Equals(Name, other.Name) && Enumerable.SequenceEqual(ActualParameters, other.ActualParameters)); }