Class ProjectResolver
Resolves which projects that are active accoring to request.
Inheritance
System.Object
ProjectResolver
Implements
Namespace: EPiServer.DataAbstraction.Internal
Assembly: EPiServer.Cms.AspNetCore.dll
Version: 12.0.3Syntax
public class ProjectResolver : Object, IProjectResolver
Constructors
ProjectResolver(IQueryParameterResolver, IContextModeResolver)
Creates a new instance of Project
Declaration
public ProjectResolver(IQueryParameterResolver queryParameterResolver, IContextModeResolver contextModeResolver)
Parameters
Type | Name | Description |
---|---|---|
IQuery |
queryParameterResolver | The query parameter resolver used. |
IContext |
contextModeResolver | The context mode resolver. |
Methods
GetCurrentProjects()
Resolves which projects that are active according to request.
Declaration
public virtual IEnumerable<int> GetCurrentProjects()
Returns
Type | Description |
---|---|
System. |