Solution.AddAnalyzerConfigDocument 메서드

정의

해당 이름과 텍스트로 정의된 새 분석기 구성 문서 인스턴스를 포함하도록 업데이트된 해당 프로젝트를 사용하여 새 솔루션 인스턴스를 만듭니다.

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

매개 변수

documentId
DocumentId
name
String
text
SourceText
folders
IEnumerable<String>
filePath
String

반환

적용 대상