private bool ProcessResult(InvocationState invocation, InvocationState.InvocationRow result) { if (result == null) { return false; } else { invocation.Update(result); return true; } }