public bool Equals(JarStep obj) { if (object.ReferenceEquals(obj, null)) { return(false); } return(JarStep.Equals(this, obj)); }
public static bool Equals(JarStep obj1, JarStep obj2) { if (object.ReferenceEquals(obj1, null) && object.ReferenceEquals(obj2, null)) { return(true); } if (object.ReferenceEquals(obj1, null) || object.ReferenceEquals(obj2, null)) { return(false); } return(obj1.Name == obj2.Name && obj1.ActionOnFailure == obj2.ActionOnFailure && obj1.JarPath == obj2.JarPath && obj1.MainClass == obj2.MainClass && EmrWorkflowItemBase.ListsAreEqual(obj1.Args, obj2.Args)); }
public static bool operator !=(JarStep obj1, JarStep obj2) { return(!JarStep.Equals(obj1, obj2)); }