Gets the projects in the workspace (solution or project).
- Namespace
- Statiq
.CodeAnalysis - Containing Type
- ReadSolution
- Overridden
- GetProjects
(IExecutionContext, IFile)
Syntax
protected override 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 Project instances in the workspace. |