Summary
Gets the projects in the workspace (solution or project).
- Assembly
- Wyam
.CodeAnalysis .dll - Namespace
- Wyam
.CodeAnalysis - Containing Type
- ReadWorkspace
Syntax
protected abstract IEnumerable<Project> GetProjects(IExecutionContext context, IFile file)
Parameters
Name | Type | Description |
---|---|---|
context | IExecutionContext | The execution context. |
file | IFile | The project file. |
Return Value
Type | Description |
---|---|
IEnumerable |
A sequence of Roslyn Microsoft.CodeAnalysis.Project instances in the workspace. |