ImportAdder Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public ref class ImportAdder abstract sealed
public static class ImportAdder
type ImportAdder = class
Public Class ImportAdder
- Inheritance
-
ImportAdder
Methods
AddImportsAsync(Document, IEnumerable<TextSpan>, OptionSet, CancellationToken) |
Adds namespace imports / using directives for namespace references found in the document within the spans specified. |
AddImportsAsync(Document, OptionSet, CancellationToken) |
Adds namespace imports / using directives for namespace references found in the document. |
AddImportsAsync(Document, SyntaxAnnotation, OptionSet, CancellationToken) |
Adds namespace imports / using directives for namespace references found in the document within the sub-trees annotated with the SyntaxAnnotation. |
AddImportsAsync(Document, TextSpan, OptionSet, CancellationToken) |
Adds namespace imports / using directives for namespace references found in the document within the span specified. |