public override bool Equals(object o) { if (!(o is Properties)) { return(false); } Properties v = o as Properties; if (!Deletable.Equals(v.Deletable)) { return(false); } if (!IsShared.Equals(v.IsShared)) { return(false); } if (!Renamable.Equals(v.Renamable)) { return(false); } return(true); }
public override bool Equals(object o) { if (!(o is Properties)) { return(false); } var v = o as Properties; if (!Deletable.Equals(v.Deletable)) { return(false); } if (!Editable.Equals(v.Editable)) { return(false); } if (!Renamable.Equals(v.Renamable)) { return(false); } return(true); }
/// <summary> /// Returns true if DesignerBlockBean instances are equal /// </summary> /// <param name="input">Instance of DesignerBlockBean to be compared</param> /// <returns>Boolean</returns> public bool Equals(DesignerBlockBean input) { if (input == null) { return(false); } return (( Type == input.Type || (Type != null && Type.Equals(input.Type)) ) && ( Inline == input.Inline || (Inline != null && Inline.Equals(input.Inline)) ) && ( Moveable == input.Moveable || (Moveable != null && Moveable.Equals(input.Moveable)) ) && ( Disabled == input.Disabled || (Disabled != null && Disabled.Equals(input.Disabled)) ) && ( Deletable == input.Deletable || (Deletable != null && Deletable.Equals(input.Deletable)) ) && ( Editable == input.Editable || (Editable != null && Editable.Equals(input.Editable)) ) && ( Comment == input.Comment || (Comment != null && Comment.Equals(input.Comment)) ) && ( Mutation == input.Mutation || Mutation != null && Mutation.SequenceEqual(input.Mutation) ) && ( Children == input.Children || Children != null && Children.SequenceEqual(input.Children) ) && ( Fields == input.Fields || Fields != null && Fields.SequenceEqual(input.Fields) ) && ( Next == input.Next || (Next != null && Next.Equals(input.Next)) )); }