コード例 #1
0
ファイル: BatchFixAllProvider.cs プロジェクト: taori/roslyn
 public override Task <CodeAction?> GetFixAsync(FixAllContext fixAllContext)
 => DefaultFixAllProviderHelpers.GetFixAsync(
     FixAllContextHelper.GetDefaultFixAllTitle(fixAllContext), fixAllContext, FixAllContextsAsync);
コード例 #2
0
 protected override string GetFixAllTitle(FixAllContext fixAllContext)
 => FixAllContextHelper.GetDefaultFixAllTitle(fixAllContext);
コード例 #3
0
 /// <summary>
 /// Produce a suitable title for the fix-all <see cref="CodeAction"/> this type creates in <see
 /// cref="GetFixAsync(FixAllContext)"/>.  Override this if customizing that title is desired.
 /// </summary>
 protected virtual string GetFixAllTitle(FixAllContext fixAllContext) =>
 FixAllContextHelper.GetDefaultFixAllTitle(fixAllContext);