GetProjects(IExecutionContext, IFile) Method
Gets the projects in the workspace (solution or project).

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 Project instances in the workspace.