Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentSchedule

    Represents a scheduled action for a document.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Models
    Assembly: Umbraco.Core.dll
    Syntax
    [DataContract(IsReference = true)]
    public class ContentSchedule : IDeepCloneable

    Constructors

    View Source

    ContentSchedule(Guid, String, DateTime, ContentScheduleAction)

    Initializes a new instance of the ContentSchedule class.

    Declaration
    public ContentSchedule(Guid id, string culture, DateTime date, ContentScheduleAction action)
    Parameters
    Type Name Description
    Guid id
    System.String culture
    DateTime date
    ContentScheduleAction action
    View Source

    ContentSchedule(String, DateTime, ContentScheduleAction)

    Initializes a new instance of the ContentSchedule class.

    Declaration
    public ContentSchedule(string culture, DateTime date, ContentScheduleAction action)
    Parameters
    Type Name Description
    System.String culture
    DateTime date
    ContentScheduleAction action

    Properties

    View Source

    Action

    Gets the action to take.

    Declaration
    [DataMember]
    public ContentScheduleAction Action { get; }
    Property Value
    Type Description
    ContentScheduleAction
    View Source

    Culture

    Gets the culture of the scheduled action.

    Declaration
    [DataMember]
    public string Culture { get; }
    Property Value
    Type Description
    System.String
    Remarks

    string.Empty represents the invariant culture.

    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
    Type Description
    Guid

    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
    Type Name Description
    ContentSchedule other
    Returns
    Type Description
    System.Boolean
    View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ContentSchedule(Guid, String, DateTime, ContentScheduleAction)
      • ContentSchedule(String, DateTime, ContentScheduleAction)
    • Properties
      • Action
      • Culture
      • Date
      • Id
    • Methods
      • DeepClone()
      • Equals(Object)
      • Equals(ContentSchedule)
      • GetHashCode()
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX