Class ProjectResolver
Resolves which projects that are active accoring to request.
Inheritance
System.Object
ProjectResolver
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 8.11.0Syntax
public class ProjectResolver
Constructors
ProjectResolver(QueryParameterResolver, ServiceAccessor<RequestContext>)
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. |
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> |