SolutionInfo.Create 方法

定义

重载

Create(SolutionId, VersionStamp, String, IEnumerable<ProjectInfo>)

创建 SolutionInfo 的新实例。

Create(SolutionId, VersionStamp, String, IEnumerable<ProjectInfo>, IEnumerable<AnalyzerReference>)

创建 SolutionInfo 的新实例。

Create(SolutionId, VersionStamp, String, IEnumerable<ProjectInfo>)

Source:
SolutionInfo.cs
Source:
SolutionInfo.cs
Source:
SolutionInfo.cs
Source:
SolutionInfo.cs
Source:
SolutionInfo.cs
Source:
SolutionInfo.cs
Source:
SolutionInfo.cs
Source:
SolutionInfo.cs
Source:
SolutionInfo.cs
Source:
SolutionInfo.cs
Source:
SolutionInfo.cs
Source:
SolutionInfo.cs
Source:
SolutionInfo.cs
Source:
SolutionInfo.cs
Source:
SolutionInfo.cs
Source:
SolutionInfo.cs
Source:
SolutionInfo.cs
Source:
SolutionInfo.cs
Source:
SolutionInfo.cs
Source:
SolutionInfo.cs
Source:
SolutionInfo.cs
Source:
SolutionInfo.cs
Source:
SolutionInfo.cs

创建 SolutionInfo 的新实例。

public static Microsoft.CodeAnalysis.SolutionInfo Create (Microsoft.CodeAnalysis.SolutionId id, Microsoft.CodeAnalysis.VersionStamp version, string filePath = default, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.ProjectInfo> projects = default);
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public static Microsoft.CodeAnalysis.SolutionInfo Create (Microsoft.CodeAnalysis.SolutionId id, Microsoft.CodeAnalysis.VersionStamp version, string? filePath, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.ProjectInfo>? projects);
public static Microsoft.CodeAnalysis.SolutionInfo Create (Microsoft.CodeAnalysis.SolutionId id, Microsoft.CodeAnalysis.VersionStamp version, string? filePath = default, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.ProjectInfo>? projects = default);
static member Create : Microsoft.CodeAnalysis.SolutionId * Microsoft.CodeAnalysis.VersionStamp * string * seq<Microsoft.CodeAnalysis.ProjectInfo> -> Microsoft.CodeAnalysis.SolutionInfo
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
static member Create : Microsoft.CodeAnalysis.SolutionId * Microsoft.CodeAnalysis.VersionStamp * string * seq<Microsoft.CodeAnalysis.ProjectInfo> -> Microsoft.CodeAnalysis.SolutionInfo
Public Shared Function Create (id As SolutionId, version As VersionStamp, Optional filePath As String = Nothing, Optional projects As IEnumerable(Of ProjectInfo) = Nothing) As SolutionInfo
Public Shared Function Create (id As SolutionId, version As VersionStamp, filePath As String, projects As IEnumerable(Of ProjectInfo)) As SolutionInfo

参数

version
VersionStamp
filePath
String

返回

属性

适用于

Create(SolutionId, VersionStamp, String, IEnumerable<ProjectInfo>, IEnumerable<AnalyzerReference>)

Source:
SolutionInfo.cs
Source:
SolutionInfo.cs
Source:
SolutionInfo.cs
Source:
SolutionInfo.cs
Source:
SolutionInfo.cs
Source:
SolutionInfo.cs
Source:
SolutionInfo.cs
Source:
SolutionInfo.cs
Source:
SolutionInfo.cs
Source:
SolutionInfo.cs
Source:
SolutionInfo.cs
Source:
SolutionInfo.cs
Source:
SolutionInfo.cs
Source:
SolutionInfo.cs
Source:
SolutionInfo.cs

创建 SolutionInfo 的新实例。

public static Microsoft.CodeAnalysis.SolutionInfo Create (Microsoft.CodeAnalysis.SolutionId id, Microsoft.CodeAnalysis.VersionStamp version, string? filePath = default, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.ProjectInfo>? projects = default, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference>? analyzerReferences = default);
static member Create : Microsoft.CodeAnalysis.SolutionId * Microsoft.CodeAnalysis.VersionStamp * string * seq<Microsoft.CodeAnalysis.ProjectInfo> * seq<Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference> -> Microsoft.CodeAnalysis.SolutionInfo
Public Shared Function Create (id As SolutionId, version As VersionStamp, Optional filePath As String = Nothing, Optional projects As IEnumerable(Of ProjectInfo) = Nothing, Optional analyzerReferences As IEnumerable(Of AnalyzerReference) = Nothing) As SolutionInfo

参数

version
VersionStamp
filePath
String
analyzerReferences
IEnumerable<AnalyzerReference>

返回

适用于