Leer en inglés

Compartir a través de


ProjectInfo.Create Método

Definición

Sobrecargas

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
Source:
ProjectInfo.cs

Cree una nueva instancia de .ProjectInfo

C#
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);
C#
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);

Parámetros

version
VersionStamp
name
String
assemblyName
String
language
String
filePath
String
outputFilePath
String
compilationOptions
CompilationOptions
parseOptions
ParseOptions
projectReferences
IEnumerable<ProjectReference>
metadataReferences
IEnumerable<MetadataReference>
analyzerReferences
IEnumerable<AnalyzerReference>
additionalDocuments
IEnumerable<DocumentInfo>
isSubmission
Boolean
hostObjectType
Type

Devoluciones

Se aplica a

Roslyn 4.13.0 y otras versiones
Producto Versiones
Roslyn 4.2.0, 4.3.0, 4.4.0, 4.5.0, 4.6.0, 4.7.0, 4.8.0, 4.9.2, 3.0.0, 3.1.0, 3.2.0, 3.2.1, 3.3.1, 3.4.0, 3.5.0, 3.6.0, 3.7.0, 3.8.0, 3.9.0, 3.10.0, 3.11.0, 4.0.1, 4.1.0, 4.12.2, 4.13.0

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
Source:
ProjectInfo.cs

Cree una nueva instancia de .ProjectInfo

C#
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);
C#
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);

Parámetros

version
VersionStamp
name
String
assemblyName
String
language
String
filePath
String
outputFilePath
String
compilationOptions
CompilationOptions
parseOptions
ParseOptions
projectReferences
IEnumerable<ProjectReference>
metadataReferences
IEnumerable<MetadataReference>
analyzerReferences
IEnumerable<AnalyzerReference>
additionalDocuments
IEnumerable<DocumentInfo>
isSubmission
Boolean
hostObjectType
Type
outputRefFilePath
String

Devoluciones

Se aplica a

Roslyn 4.13.0 y otras versiones
Producto Versiones
Roslyn 4.2.0, 4.3.0, 4.4.0, 4.5.0, 4.6.0, 4.7.0, 4.8.0, 4.9.2, 3.0.0, 3.1.0, 3.2.0, 3.2.1, 3.3.1, 3.4.0, 3.5.0, 3.6.0, 3.7.0, 3.8.0, 3.9.0, 3.10.0, 3.11.0, 4.0.1, 4.1.0, 4.12.2, 4.13.0