ReadProject.

GetProjects(IExecutionContext, IFile) Method

Summary

Gets the projects in the workspace (solution or project).
Assembly
Wyam.CodeAnalysis.dll
Namespace
Wyam.CodeAnalysis
Containing Type
ReadProject

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<Project> A sequence of Roslyn Microsoft.CodeAnalysis.Project instances in the workspace.
GitHub