Exemplo n.º 1
0
 public sealed override Task <CodeAction?> GetFixAsync(FixAllContext fixAllContext)
 => DefaultFixAllProviderHelpers.GetFixAsync(
     fixAllContext.GetDefaultFixAllTitle(), fixAllContext, FixAllContextsHelperAsync);
Exemplo n.º 2
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)
 => fixAllContext.GetDefaultFixAllTitle();