A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Interface IProjectResolver

Get currently active projects

Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public interface IProjectResolver

Methods

GetCurrentProjects()

Get a list of currently active projects

Declaration
IEnumerable<int> GetCurrentProjects()
Returns
Type Description
System.Collections.Generic.IEnumerable<System.Int32>

A list of active projects or an empty list if no projects are active

Extension Methods