View Source
Class ContentTypeBasic
A basic version of a content type
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
[DataContract(Name = "contentType", Namespace = "")]
public class ContentTypeBasic : EntityBasic
Constructors
View Source
ContentTypeBasic()
Declaration
public ContentTypeBasic()
Properties
View Source
Alias
Overridden to apply our own validation attributes since this is not always required for other classes
Declaration
[Required]
[RegularExpression("^([a-zA-Z]\\w.*)$", ErrorMessage = "Invalid alias")]
[DataMember(Name = "alias")]
public override string Alias { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
Blueprints
Declaration
[DataMember(Name = "blueprints")]
public IDictionary<int, string> Blueprints { get; set; }
Property Value
Type |
Description |
IDictionary<System.Int32, System.String> |
|
View Source
CreateDate
Declaration
[DataMember(Name = "createDate")]
public DateTime CreateDate { get; set; }
Property Value
Type |
Description |
DateTime |
|
View Source
Description
Declaration
[DataMember(Name = "description")]
public string Description { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
IconFilePath
Returns the icon file path if the icon is not a class, otherwise returns an empty string
Declaration
[DataMember(Name = "iconFilePath")]
public string IconFilePath { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
IconIsClass
Returns true if the icon represents a CSS class instead of a file path
Declaration
[DataMember(Name = "iconIsClass")]
public bool IconIsClass { get; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
IsContainer
Declaration
[DataMember(Name = "isContainer")]
public bool IsContainer { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
IsElement
Declaration
[DataMember(Name = "isElement")]
public bool IsElement { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
Thumbnail
Declaration
[DataMember(Name = "thumbnail")]
public string Thumbnail { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
ThumbnailFilePath
Returns the icon file path if the icon is not a class, otherwise returns an empty string
Declaration
[DataMember(Name = "thumbnailFilePath")]
public string ThumbnailFilePath { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
ThumbnailIsClass
Returns true if the icon represents a CSS class instead of a file path
Declaration
[DataMember(Name = "thumbnailIsClass")]
public bool ThumbnailIsClass { get; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
UpdateDate
Declaration
[DataMember(Name = "updateDate")]
public DateTime UpdateDate { get; set; }
Property Value
Type |
Description |
DateTime |
|
View Source
Variations
Declaration
[DataMember(Name = "variations")]
public ContentVariation Variations { get; set; }
Property Value