public bool Equals(ITransformation <T> other) => other is IfElseTransformation <T> otherTransformation && myRule.Equals(otherTransformation.myRule) && myTransformation.Equals(otherTransformation.myTransformation) && (myElseTransformation == null && otherTransformation.myElseTransformation == null || myElseTransformation != null && otherTransformation.myElseTransformation != null && myElseTransformation.Equals(otherTransformation.myElseTransformation));
public bool Equals(ITransformation <T> other) => other is ContinueWithTransformation <T> otheTransformation && myTransformation1.Equals(otheTransformation.myTransformation1) && myTransformation2.Equals(otheTransformation.myTransformation2);