Ejemplo n.º 1
0
 public override Task <CodeAction?> GetFixAsync(FixAllContext fixAllContext)
 => DefaultFixAllProviderHelpers.GetFixAsync(
     FixAllContextHelper.GetDefaultFixAllTitle(fixAllContext), fixAllContext, FixAllContextsAsync);
Ejemplo n.º 2
0
 protected override string GetFixAllTitle(FixAllContext fixAllContext)
 => FixAllContextHelper.GetDefaultFixAllTitle(fixAllContext);
Ejemplo n.º 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);