/// <summary> /// accept all changes include sub-items /// </summary> /// <param name="acceptAll"></param> public void AcceptChanges(bool acceptAll) { base.AcceptChanges(); if (acceptAll) { // step Arguments?.AcceptChanges(); // executions PreActionResults?.Select(x => { x.AcceptChanges(acceptAll); return(x); }).ToList(); ActionResults?.Select(x => { x.AcceptChanges(acceptAll); return(x); }).ToList(); } }