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 ProjectResolver.
Declaration
public ProjectResolver(IQueryParameterResolver queryParameterResolver, IContextModeResolver contextModeResolver)
Parameters
Type | Name | Description |
---|---|---|
IQueryParameterResolver | queryParameterResolver | The query parameter resolver used. |
IContextModeResolver | 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.Collections.Generic.IEnumerable<System.Int32> |