Class ChangeLogContent
An EPiServer CMS content change log
Inheritance
Inherited Members
Namespace: EPiServer.ChangeLog
Assembly: EPiServer.dll
Version: 11.20.7Syntax
[Obsolete("The ChangeLog has been replaced by the Activity API.")]
public class ChangeLogContent : ChangeLogItemBase, IChangeLogItem, IChangeLogUpdatableItem
Constructors
ChangeLogContent()
Parameterless constructor. Should be used in conjuction with the InitializeFromStorage(Int64, String, DateTime, Int32, Int32, String) method when a change log data has been read from the change log
Declaration
public ChangeLogContent()
ChangeLogContent(ContentReference, Guid, Int32, String, ChangeLogContent.ActionType, String)
Initializes a new instance of the ChangeLogContent class.
Declaration
public ChangeLogContent(ContentReference contentLink, Guid contentGuid, int contentTypeId, string name, ChangeLogContent.ActionType action, string changedBy)
Parameters
Type | Name | Description |
---|---|---|
ContentReference | contentLink | The content link. |
System.Guid | contentGuid | The content GUID. |
System.Int32 | contentTypeId | The content type id. |
System.String | name | The name. |
ChangeLogContent.ActionType | action | The action. |
System.String | changedBy | The changed by. |
ChangeLogContent(ContentReference, Guid, Int32, String, ChangeLogContent.ActionType, String, Int32)
Constructs a new content change log
Declaration
[Obsolete("Use constructor without categoryId")]
public ChangeLogContent(ContentReference contentLink, Guid contentGuid, int contentTypeId, string name, ChangeLogContent.ActionType action, string changedBy, int categoryId)
Parameters
Type | Name | Description |
---|---|---|
ContentReference | contentLink | The content link. |
System.Guid | contentGuid | The content GUID. |
System.Int32 | contentTypeId | The content type id. |
System.String | name | The name. |
ChangeLogContent.ActionType | action | The action taken on the content |
System.String | changedBy | The user who performed the action |
System.Int32 | categoryId | The category id. |
Properties
ContentGuid
The Guid of the affected content
Declaration
public Guid ContentGuid { get; }
Property Value
Type | Description |
---|---|
System.Guid |
ContentLink
The ContentReference of the affected content
Declaration
public ContentReference ContentLink { get; }
Property Value
Type | Description |
---|---|
ContentReference |
ContentTypeId
Gets the content type id.
Declaration
public int ContentTypeId { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
ExtensionProperties
Get or sets properties that should be serialized
Declaration
protected override IDictionary<string, string> ExtensionProperties { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.String> | Property values |
Overrides
Language
The language for the content.
Declaration
public string Language { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
The name of the affected content. Note, this is the name when the log was created and may be different from the contents' current name
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Title
Returns a description of the Change Log item
Declaration
protected override string Title { get; }
Property Value
Type | Description |
---|---|
System.String | Title of the item |