public static void BaseComplete(this WorkEffort @this, WorkEffortComplete method) { if (!method.Result.HasValue) { @this.WorkEffortState = new WorkEffortStates(@this.Strategy.Session).Completed; method.Result = true; } }
public static void AppsComplete(this WorkEffort @this, WorkEffortComplete method) { @this.WorkEffortState = new WorkEffortStates(@this.Strategy.Session).Completed; }