Compartilhar via


ImportAdder Class

Definition

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.

Applies to