Compartilhar via


Project.AddAnalyzerConfigDocument Método

Definição

Cria um novo documento de configuração do analisador em uma nova instância deste projeto.

public Microsoft.CodeAnalysis.TextDocument AddAnalyzerConfigDocument (string name, Microsoft.CodeAnalysis.Text.SourceText text, System.Collections.Generic.IEnumerable<string>? folders = default, string? filePath = default);
public Microsoft.CodeAnalysis.TextDocument AddAnalyzerConfigDocument (string name, Microsoft.CodeAnalysis.Text.SourceText text, System.Collections.Generic.IEnumerable<string> folders = default, string filePath = default);
member this.AddAnalyzerConfigDocument : string * Microsoft.CodeAnalysis.Text.SourceText * seq<string> * string -> Microsoft.CodeAnalysis.TextDocument
Public Function AddAnalyzerConfigDocument (name As String, text As SourceText, Optional folders As IEnumerable(Of String) = Nothing, Optional filePath As String = Nothing) As TextDocument

Parâmetros

name
String
text
SourceText
folders
IEnumerable<String>
filePath
String

Retornos

Aplica-se a