Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentTypeSort

    Represents a POCO for setting sort order on a ContentType reference

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public class ContentTypeSort : IValueObject, IDeepCloneable

    Constructors

    View Source

    ContentTypeSort()

    Declaration
    public ContentTypeSort()
    View Source

    ContentTypeSort(Lazy<Int32>, Int32, String)

    Declaration
    public ContentTypeSort(Lazy<int> id, int sortOrder, string alias)
    Parameters
    Type Name Description
    Lazy<System.Int32> id
    System.Int32 sortOrder
    System.String alias
    View Source

    ContentTypeSort(Int32, Int32)

    Initializes a new instance of the System.Object class.

    Declaration
    public ContentTypeSort(int id, int sortOrder)
    Parameters
    Type Name Description
    System.Int32 id
    System.Int32 sortOrder

    Properties

    View Source

    Alias

    Gets or sets the Alias of the ContentType

    Declaration
    public string Alias { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    Id

    Gets or sets the Id of the ContentType

    Declaration
    public Lazy<int> Id { get; set; }
    Property Value
    Type Description
    Lazy<System.Int32>
    View Source

    SortOrder

    Gets or sets the Sort Order of the ContentType

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

    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(ContentTypeSort)

    Declaration
    protected bool Equals(ContentTypeSort other)
    Parameters
    Type Name Description
    ContentTypeSort 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
      • ContentTypeSort()
      • ContentTypeSort(Lazy<Int32>, Int32, String)
      • ContentTypeSort(Int32, Int32)
    • Properties
      • Alias
      • Id
      • SortOrder
    • Methods
      • DeepClone()
      • Equals(Object)
      • Equals(ContentTypeSort)
      • GetHashCode()
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX