Try our conversational search powered by Generative AI!

Class CurrentProject

Inheritance
System.Object
CurrentProject
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.Cms.Shell.UI.Rest.Projects
Assembly: EPiServer.Cms.Shell.UI.dll
Version: 11.20.7
Syntax
[ServiceConfiguration(typeof(CurrentProject), Lifecycle = ServiceInstanceScope.Singleton)]
public class CurrentProject

Constructors

CurrentProject(ServiceAccessor<HttpContextBase>, ServiceAccessor<ProjectRepository>)

Declaration
public CurrentProject(ServiceAccessor<HttpContextBase> httpContextAccessor, ServiceAccessor<ProjectRepository> projectRepositoryAccessor)
Parameters
Type Name Description
ServiceAccessor<System.Web.HttpContextBase> httpContextAccessor
ServiceAccessor<ProjectRepository> projectRepositoryAccessor

Properties

ProjectId

Declaration
public virtual int? ProjectId { get; }
Property Value
Type Description
System.Nullable<System.Int32>

Extension Methods