Class ProjectResolver
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Resolves which projects that are active accoring to request.
Inheritance
Implements
Inherited Members
Namespace: EPiServer.DataAbstraction.Internal
Assembly: EPiServer.dll
Version: 10.10.4Syntax
[ServiceConfiguration]
[ServiceConfiguration(typeof(IProjectResolver))]
public class ProjectResolver : IProjectResolver
Constructors
ProjectResolver(QueryParameterResolver, ServiceAccessor<RequestContext>)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Creates a new instance of ProjectResolver.
Declaration
public ProjectResolver(QueryParameterResolver queryParameterResolver, ServiceAccessor<RequestContext> requestContext)
Parameters
Type | Name | Description |
---|---|---|
QueryParameterResolver | queryParameterResolver | The query parameter resolver used. |
ServiceAccessor<System.Web.Routing.RequestContext> | requestContext | Accessor to the current request context. |
ProjectResolver(QueryParameterResolver, ContextModeResolver)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Creates a new instance of ProjectResolver.
Declaration
public ProjectResolver(QueryParameterResolver queryParameterResolver, ContextModeResolver contextModeResolver)
Parameters
Type | Name | Description |
---|---|---|
QueryParameterResolver | queryParameterResolver | The query parameter resolver used. |
ContextModeResolver | contextModeResolver | The context mode resolver. |
Methods
GetCurrentProjects()
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Resolves which projects that are active according to request.
Declaration
public virtual IEnumerable<int> GetCurrentProjects()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Int32> |