View Source
Class ContentTypeSort
Represents a POCO for setting sort order on a ContentType reference
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public class ContentTypeSort : IValueObject, IDeepCloneable
Constructors
View Source
ContentTypeSort()
Declaration
View Source
ContentTypeSort(Guid, Int32, String)
Initializes a new instance of the System.Object class.
Declaration
public ContentTypeSort(Guid key, int sortOrder, string alias)
Parameters
Type |
Name |
Description |
Guid |
key |
|
System.Int32 |
sortOrder |
|
System.String |
alias |
|
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
Key
Gets or sets the unique Key of the ContentType
Declaration
public Guid Key { get; set; }
Property Value
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
Returns
Type |
Description |
System.Boolean |
|
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|