November Happy Hour will be moved to Thursday December 5th.

Class ContentTypeActivity

An activity related to content type changes made in the system.

Inheritance
System.Object
ContentTypeActivity
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.Activities
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public class ContentTypeActivity : Activity

Constructors

ContentTypeActivity(ContentTypeActionType, Int32, Guid, String, String, Nullable<DateTime>)

Initializes a new instance of the ContentTypeActivity class.

Declaration
public ContentTypeActivity(ContentTypeActionType contentTypeAction, int contentTypeId, Guid contentTypeGuid, string name, string savedBy, DateTime? saved)
Parameters
Type Name Description
ContentTypeActionType contentTypeAction

The content type action that has taken place.

System.Int32 contentTypeId

The content type id.

System.Guid contentTypeGuid

The content type guid.

System.String name

The content type name.

System.String savedBy

The user that change the content type.

System.Nullable<System.DateTime> saved

The time the content type was saved.

Properties

ContentTypeGuid

Gets and sets the guid of the related content type.

Declaration
public Guid ContentTypeGuid { get; set; }
Property Value
Type Description
System.Guid

ContentTypeId

Gets and sets the id of the related content type.

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

Name

Gets and sets the name of the related content type.

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

This is the name when the activity was recorded and may be different from the current name of the content type.

Saved

Gets and sets the saved time of the related content type.

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

Extension Methods