다음을 통해 공유


Solution.WithAnalyzerConfigDocumentText 메서드

정의

오버로드

WithAnalyzerConfigDocumentText(DocumentId, SourceText, PreservationMode)

텍스트 로더에서 제공하는 텍스트를 갖도록 업데이트된 분석기 구성 문서를 사용하여 새 솔루션 인스턴스를 만듭니다.

WithAnalyzerConfigDocumentText(DocumentId, TextAndVersion, PreservationMode)

텍스트 및 버전을 지정하도록 업데이트된 분석기 구성 문서를 사용하여 새 솔루션 인스턴스를 만듭니다.

WithAnalyzerConfigDocumentText(DocumentId, SourceText, PreservationMode)

Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs

텍스트 로더에서 제공하는 텍스트를 갖도록 업데이트된 분석기 구성 문서를 사용하여 새 솔루션 인스턴스를 만듭니다.

public Microsoft.CodeAnalysis.Solution WithAnalyzerConfigDocumentText (Microsoft.CodeAnalysis.DocumentId documentId, Microsoft.CodeAnalysis.Text.SourceText text, Microsoft.CodeAnalysis.PreservationMode mode = Microsoft.CodeAnalysis.PreservationMode.PreserveValue);
member this.WithAnalyzerConfigDocumentText : Microsoft.CodeAnalysis.DocumentId * Microsoft.CodeAnalysis.Text.SourceText * Microsoft.CodeAnalysis.PreservationMode -> Microsoft.CodeAnalysis.Solution
Public Function WithAnalyzerConfigDocumentText (documentId As DocumentId, text As SourceText, Optional mode As PreservationMode = Microsoft.CodeAnalysis.PreservationMode.PreserveValue) As Solution

매개 변수

documentId
DocumentId
text
SourceText

반환

적용 대상

WithAnalyzerConfigDocumentText(DocumentId, TextAndVersion, PreservationMode)

Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs

텍스트 및 버전을 지정하도록 업데이트된 분석기 구성 문서를 사용하여 새 솔루션 인스턴스를 만듭니다.

public Microsoft.CodeAnalysis.Solution WithAnalyzerConfigDocumentText (Microsoft.CodeAnalysis.DocumentId documentId, Microsoft.CodeAnalysis.TextAndVersion textAndVersion, Microsoft.CodeAnalysis.PreservationMode mode = Microsoft.CodeAnalysis.PreservationMode.PreserveValue);
member this.WithAnalyzerConfigDocumentText : Microsoft.CodeAnalysis.DocumentId * Microsoft.CodeAnalysis.TextAndVersion * Microsoft.CodeAnalysis.PreservationMode -> Microsoft.CodeAnalysis.Solution
Public Function WithAnalyzerConfigDocumentText (documentId As DocumentId, textAndVersion As TextAndVersion, Optional mode As PreservationMode = Microsoft.CodeAnalysis.PreservationMode.PreserveValue) As Solution

매개 변수

documentId
DocumentId
textAndVersion
TextAndVersion

반환

적용 대상