View Source
Class ContentSchedule
Represents a scheduled action for a document.
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
[DataContract(IsReference = true)]
public class ContentSchedule : IDeepCloneable
Constructors
View Source
ContentSchedule(Guid, String, DateTime, ContentScheduleAction)
Declaration
public ContentSchedule(Guid id, string culture, DateTime date, ContentScheduleAction action)
Parameters
View Source
ContentSchedule(String, DateTime, ContentScheduleAction)
Declaration
public ContentSchedule(string culture, DateTime date, ContentScheduleAction action)
Parameters
Properties
View Source
Action
Declaration
[DataMember]
public ContentScheduleAction Action { get; }
Property Value
View Source
Culture
Gets the culture of the scheduled action.
Declaration
[DataMember]
public string Culture { get; }
Property Value
Type |
Description |
System.String |
|
View Source
Date
Gets the date of the scheduled action.
Declaration
[DataMember]
public DateTime Date { get; }
Property Value
Type |
Description |
DateTime |
|
View Source
Id
Gets the unique identifier of the document targeted by the scheduled action.
Declaration
[DataMember]
public Guid Id { get; set; }
Property Value
Methods
View Source
DeepClone()
Declaration
public object DeepClone()
Returns
Type |
Description |
System.Object |
|
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
View Source
Equals(ContentSchedule)
Declaration
public bool Equals(ContentSchedule other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|