ExportCodeRefactoringProviderAttribute.DocumentExtensions Property

Definition

The document extensions for which this provider can provide refactorings. Each extension string must include the leading period, for example, ".txt", ".xaml", ".editorconfig", etc. By default, this value is null and the document extension is not considered to determine applicability of refactorings.

C#
public string[]? DocumentExtensions { get; set; }

Property Value

String[]

Applies to

Продукт Версії
Roslyn 4.5.0, 4.6.0, 4.7.0, 4.8.0, 4.9.2, 4.12.2, 4.13.0