WorkspaceChangeEventArgs 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public WorkspaceChangeEventArgs (Microsoft.CodeAnalysis.WorkspaceChangeKind kind, Microsoft.CodeAnalysis.Solution oldSolution, Microsoft.CodeAnalysis.Solution newSolution, Microsoft.CodeAnalysis.ProjectId projectId = default, Microsoft.CodeAnalysis.DocumentId documentId = default);
public WorkspaceChangeEventArgs (Microsoft.CodeAnalysis.WorkspaceChangeKind kind, Microsoft.CodeAnalysis.Solution oldSolution, Microsoft.CodeAnalysis.Solution newSolution, Microsoft.CodeAnalysis.ProjectId? projectId = default, Microsoft.CodeAnalysis.DocumentId? documentId = default);
new Microsoft.CodeAnalysis.WorkspaceChangeEventArgs : Microsoft.CodeAnalysis.WorkspaceChangeKind * Microsoft.CodeAnalysis.Solution * Microsoft.CodeAnalysis.Solution * Microsoft.CodeAnalysis.ProjectId * Microsoft.CodeAnalysis.DocumentId -> Microsoft.CodeAnalysis.WorkspaceChangeEventArgs
Public Sub New (kind As WorkspaceChangeKind, oldSolution As Solution, newSolution As Solution, Optional projectId As ProjectId = Nothing, Optional documentId As DocumentId = Nothing)
参数
- kind
- WorkspaceChangeKind
- oldSolution
- Solution
- newSolution
- Solution
- projectId
- ProjectId
- documentId
- DocumentId