Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Class Project

NOTE: This is a pre-release API that is UNSTABLE and might not satisfy the compatibility requirements as denoted by its associated normal version. A project is a collection of users that are working on a collection of content items

Inheritance
System.Object
Project
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.0
Syntax
public class Project : IReadOnly<Project>, IReadOnly

Constructors

Project()

Declaration
public Project()

Properties

Created

When the project was created

Declaration
public virtual DateTime Created { get; set; }
Property Value
Type Description
System.DateTime

CreatedBy

Who created the project

Declaration
public virtual string CreatedBy { get; set; }
Property Value
Type Description
System.String

DelayPublishUntil

Gets or sets the delay publish until.

Declaration
public virtual DateTime? DelayPublishUntil { get; set; }
Property Value
Type Description
System.Nullable<System.DateTime>

ID

The identity of the project

Declaration
public virtual int ID { get; set; }
Property Value
Type Description
System.Int32

IsReadOnly

Indicates whether the current object instance is read-only.

Declaration
public bool IsReadOnly { get; }
Property Value
Type Description
System.Boolean

Name

The name of the project

Declaration
public virtual string Name { get; set; }
Property Value
Type Description
System.String

Status

Status of the project

Declaration
public virtual ProjectStatus Status { get; set; }
Property Value
Type Description
ProjectStatus

Methods

CreateWritableClone()

Declaration
public Project CreateWritableClone()
Returns
Type Description
Project

MakeReadOnly()

Changes the object instance into a read-only object.

Declaration
public void MakeReadOnly()
Remarks

After calling this method, any attempt to change the object instance or any contained object will generate a System.NotSupportedException. I.e. the semantics is "deep read-only".

Note! After setting an object to read-only it is not possible to revert back to read-write mode. You will have to call the CreateWritableClone method to get a copy that can be modified.

Explicit Interface Implementations

IReadOnly.CreateWritableClone()

Creates a writable copy of the current object.

Declaration
object IReadOnly.CreateWritableClone()
Returns
Type Description
System.Object

A writable copy of the current object.

Remarks

The cloning is a deep-copy.

Implements

Extension Methods