ProjectInfo.Create Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
Create(ProjectId, VersionStamp, String, String, String, String, String, CompilationOptions, ParseOptions, IEnumerable<DocumentInfo>, IEnumerable<ProjectReference>, IEnumerable<MetadataReference>, IEnumerable<AnalyzerReference>, IEnumerable<DocumentInfo>, Boolean, Type)
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
Erstellen einer neuen Instanz einer 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
Parameter
- 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
Gibt zurück
Gilt für:
Create(ProjectId, VersionStamp, String, String, String, String, String, CompilationOptions, ParseOptions, IEnumerable<DocumentInfo>, IEnumerable<ProjectReference>, IEnumerable<MetadataReference>, IEnumerable<AnalyzerReference>, IEnumerable<DocumentInfo>, Boolean, Type, String)
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
- Quelle:
- ProjectInfo.cs
Erstellen einer neuen Instanz einer 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
Parameter
- 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
Gibt zurück
Gilt für:
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.