ProjectInfo.Create Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
Create(ProjectId, VersionStamp, String, String, String, String, String, CompilationOptions, ParseOptions, IEnumerable<DocumentInfo>, IEnumerable<ProjectReference>, IEnumerable<MetadataReference>, IEnumerable<AnalyzerReference>, IEnumerable<DocumentInfo>, Boolean, Type)
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
Criar uma nova instância de um 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
Parâmetros
- 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
Retornos
Aplica-se a
Create(ProjectId, VersionStamp, String, String, String, String, String, CompilationOptions, ParseOptions, IEnumerable<DocumentInfo>, IEnumerable<ProjectReference>, IEnumerable<MetadataReference>, IEnumerable<AnalyzerReference>, IEnumerable<DocumentInfo>, Boolean, Type, String)
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
- Origem:
- ProjectInfo.cs
Criar uma nova instância de um 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
Parâmetros
- 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
Retornos
Aplica-se a
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.