/// <summary> /// Completes the target. /// </summary> /// <param name="targetCompletionTracker">The target completion tracker.</param> /// <returns> /// A <see cref="Task" />. /// </returns> public Task CompleteTargetAsync(ITargetCompletionTracker targetCompletionTracker) { if (this.workspace != null && this.project != null && !ReferenceEquals(this.originalProject, this.project)) { targetCompletionTracker.Report(this.workspace.TryApplyChanges(this.project.Solution) ? $"Saved project: {this.project.Name}" : $"Error saving project: {this.project.Name}"); } this.workspace?.CloseSolution(); return(Task.CompletedTask); }
public Task CompleteTargetAsync(ITargetCompletionTracker targetCompletionTracker) { throw new System.NotImplementedException(); }
/// <summary> /// Completes the target. /// </summary> /// <param name="targetCompletionTracker">The target completion tracker.</param> /// <returns> /// A <see cref="T:System.Threading.Tasks.Task" />. /// </returns> public Task CompleteTargetAsync(ITargetCompletionTracker targetCompletionTracker) { return(Task.CompletedTask); }
public Task CompleteTargetAsync(ITargetCompletionTracker targetCompletionTracker) { return(this.writer.CompleteTargetAsync(targetCompletionTracker)); }