Solution.WithAnalyzerConfigDocumentTextLoader Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Crée une instance de solution avec le document de configuration de l’analyseur spécifié pour que le texte soit fourni par le chargeur de texte.
public Microsoft.CodeAnalysis.Solution WithAnalyzerConfigDocumentTextLoader(Microsoft.CodeAnalysis.DocumentId documentId, Microsoft.CodeAnalysis.TextLoader loader, Microsoft.CodeAnalysis.PreservationMode mode);
member this.WithAnalyzerConfigDocumentTextLoader : Microsoft.CodeAnalysis.DocumentId * Microsoft.CodeAnalysis.TextLoader * Microsoft.CodeAnalysis.PreservationMode -> Microsoft.CodeAnalysis.Solution
Public Function WithAnalyzerConfigDocumentTextLoader (documentId As DocumentId, loader As TextLoader, mode As PreservationMode) As Solution
Paramètres
- documentId
- DocumentId
- loader
- TextLoader
- mode
- PreservationMode