ProjectInfo.Create 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.
Surcharges
Create(ProjectId, VersionStamp, String, String, String, String, String, CompilationOptions, ParseOptions, IEnumerable<DocumentInfo>, IEnumerable<ProjectReference>, IEnumerable<MetadataReference>, IEnumerable<AnalyzerReference>, IEnumerable<DocumentInfo>, Boolean, Type)
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
Créez une instance d’un ProjectInfo.
public:
static Microsoft::CodeAnalysis::ProjectInfo ^ Create(Microsoft::CodeAnalysis::ProjectId ^ id, Microsoft::CodeAnalysis::VersionStamp version, System::String ^ name, System::String ^ assemblyName, System::String ^ language, System::String ^ filePath, System::String ^ outputFilePath, Microsoft::CodeAnalysis::CompilationOptions ^ compilationOptions, Microsoft::CodeAnalysis::ParseOptions ^ parseOptions, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::DocumentInfo ^> ^ documents, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::ProjectReference ^> ^ projectReferences, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::MetadataReference ^> ^ metadataReferences, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::Diagnostics::AnalyzerReference ^> ^ analyzerReferences, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::DocumentInfo ^> ^ additionalDocuments, bool isSubmission, Type ^ hostObjectType);
public static Microsoft.CodeAnalysis.ProjectInfo Create (Microsoft.CodeAnalysis.ProjectId id, Microsoft.CodeAnalysis.VersionStamp version, string name, string assemblyName, string language, string filePath, string outputFilePath, Microsoft.CodeAnalysis.CompilationOptions compilationOptions, Microsoft.CodeAnalysis.ParseOptions parseOptions, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.DocumentInfo> documents, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.ProjectReference> projectReferences, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.MetadataReference> metadataReferences, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference> analyzerReferences, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.DocumentInfo> additionalDocuments, bool isSubmission, Type hostObjectType);
public static Microsoft.CodeAnalysis.ProjectInfo Create (Microsoft.CodeAnalysis.ProjectId id, Microsoft.CodeAnalysis.VersionStamp version, string name, string assemblyName, string language, string? filePath, string? outputFilePath, Microsoft.CodeAnalysis.CompilationOptions? compilationOptions, Microsoft.CodeAnalysis.ParseOptions? parseOptions, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.DocumentInfo>? documents, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.ProjectReference>? projectReferences, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.MetadataReference>? metadataReferences, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference>? analyzerReferences, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.DocumentInfo>? additionalDocuments, bool isSubmission, Type? hostObjectType);
static member Create : Microsoft.CodeAnalysis.ProjectId * Microsoft.CodeAnalysis.VersionStamp * string * string * string * string * string * Microsoft.CodeAnalysis.CompilationOptions * Microsoft.CodeAnalysis.ParseOptions * seq<Microsoft.CodeAnalysis.DocumentInfo> * seq<Microsoft.CodeAnalysis.ProjectReference> * seq<Microsoft.CodeAnalysis.MetadataReference> * seq<Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference> * seq<Microsoft.CodeAnalysis.DocumentInfo> * bool * Type -> Microsoft.CodeAnalysis.ProjectInfo
Public Shared Function Create (id As ProjectId, version As VersionStamp, name As String, assemblyName As String, language As String, filePath As String, outputFilePath As String, compilationOptions As CompilationOptions, parseOptions As ParseOptions, documents As IEnumerable(Of DocumentInfo), projectReferences As IEnumerable(Of ProjectReference), metadataReferences As IEnumerable(Of MetadataReference), analyzerReferences As IEnumerable(Of AnalyzerReference), additionalDocuments As IEnumerable(Of DocumentInfo), isSubmission As Boolean, hostObjectType As Type) As ProjectInfo
Paramètres
- id
- ProjectId
- version
- VersionStamp
- name
- String
- assemblyName
- String
- language
- String
- filePath
- String
- outputFilePath
- String
- compilationOptions
- CompilationOptions
- parseOptions
- ParseOptions
- documents
- IEnumerable<DocumentInfo>
- projectReferences
- IEnumerable<ProjectReference>
- metadataReferences
- IEnumerable<MetadataReference>
- analyzerReferences
- IEnumerable<AnalyzerReference>
- additionalDocuments
- IEnumerable<DocumentInfo>
- isSubmission
- Boolean
- hostObjectType
- Type
Retours
S’applique à
Create(ProjectId, VersionStamp, String, String, String, String, String, CompilationOptions, ParseOptions, IEnumerable<DocumentInfo>, IEnumerable<ProjectReference>, IEnumerable<MetadataReference>, IEnumerable<AnalyzerReference>, IEnumerable<DocumentInfo>, Boolean, Type, String)
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
- Source:
- ProjectInfo.cs
Créez une instance d’un ProjectInfo.
public static Microsoft.CodeAnalysis.ProjectInfo Create (Microsoft.CodeAnalysis.ProjectId id, Microsoft.CodeAnalysis.VersionStamp version, string name, string assemblyName, string language, string filePath = default, string outputFilePath = default, Microsoft.CodeAnalysis.CompilationOptions compilationOptions = default, Microsoft.CodeAnalysis.ParseOptions parseOptions = default, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.DocumentInfo> documents = default, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.ProjectReference> projectReferences = default, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.MetadataReference> metadataReferences = default, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference> analyzerReferences = default, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.DocumentInfo> additionalDocuments = default, bool isSubmission = false, Type hostObjectType = default, string outputRefFilePath = default);
public static Microsoft.CodeAnalysis.ProjectInfo Create (Microsoft.CodeAnalysis.ProjectId id, Microsoft.CodeAnalysis.VersionStamp version, string name, string assemblyName, string language, string? filePath = default, string? outputFilePath = default, Microsoft.CodeAnalysis.CompilationOptions? compilationOptions = default, Microsoft.CodeAnalysis.ParseOptions? parseOptions = default, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.DocumentInfo>? documents = default, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.ProjectReference>? projectReferences = default, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.MetadataReference>? metadataReferences = default, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference>? analyzerReferences = default, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.DocumentInfo>? additionalDocuments = default, bool isSubmission = false, Type? hostObjectType = default, string? outputRefFilePath = default);
static member Create : Microsoft.CodeAnalysis.ProjectId * Microsoft.CodeAnalysis.VersionStamp * string * string * string * string * string * Microsoft.CodeAnalysis.CompilationOptions * Microsoft.CodeAnalysis.ParseOptions * seq<Microsoft.CodeAnalysis.DocumentInfo> * seq<Microsoft.CodeAnalysis.ProjectReference> * seq<Microsoft.CodeAnalysis.MetadataReference> * seq<Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference> * seq<Microsoft.CodeAnalysis.DocumentInfo> * bool * Type * string -> Microsoft.CodeAnalysis.ProjectInfo
Public Shared Function Create (id As ProjectId, version As VersionStamp, name As String, assemblyName As String, language As String, Optional filePath As String = Nothing, Optional outputFilePath As String = Nothing, Optional compilationOptions As CompilationOptions = Nothing, Optional parseOptions As ParseOptions = Nothing, Optional documents As IEnumerable(Of DocumentInfo) = Nothing, Optional projectReferences As IEnumerable(Of ProjectReference) = Nothing, Optional metadataReferences As IEnumerable(Of MetadataReference) = Nothing, Optional analyzerReferences As IEnumerable(Of AnalyzerReference) = Nothing, Optional additionalDocuments As IEnumerable(Of DocumentInfo) = Nothing, Optional isSubmission As Boolean = false, Optional hostObjectType As Type = Nothing, Optional outputRefFilePath As String = Nothing) As ProjectInfo
Paramètres
- id
- ProjectId
- version
- VersionStamp
- name
- String
- assemblyName
- String
- language
- String
- filePath
- String
- outputFilePath
- String
- compilationOptions
- CompilationOptions
- parseOptions
- ParseOptions
- documents
- IEnumerable<DocumentInfo>
- projectReferences
- IEnumerable<ProjectReference>
- metadataReferences
- IEnumerable<MetadataReference>
- analyzerReferences
- IEnumerable<AnalyzerReference>
- additionalDocuments
- IEnumerable<DocumentInfo>
- isSubmission
- Boolean
- hostObjectType
- Type
- outputRefFilePath
- String
Retours
S’applique à
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.