/// <summary> /// Copy constructor. Used to execute the path. /// </summary> /// <param name="object"></param> /// <param name="alterTaskChainForBranch">Action to execute when match fails</param> internal BranchCondition(BranchCondition @object, Action alterTaskChainForBranch) : this(@object.condition, @object.BranchPoint) { _alterTaskChainForBranch = alterTaskChainForBranch; }