View Source
Class ContentTypeSave<TPropertyType>
Abstract model used to save content types
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
[DataContract(Name = "contentType", Namespace = "")]
public abstract class ContentTypeSave<TPropertyType> : ContentTypeSave, IValidatableObject where TPropertyType : PropertyTypeBasic
Type Parameters
Name |
Description |
TPropertyType |
|
Constructors
View Source
ContentTypeSave()
Declaration
protected ContentTypeSave()
Properties
View Source
AllowCultureVariant
A rule for defining how a content type can be varied
Declaration
[DataMember(Name = "allowCultureVariant")]
public bool AllowCultureVariant { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
AllowSegmentVariant
Declaration
[DataMember(Name = "allowSegmentVariant")]
public bool AllowSegmentVariant { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
Groups
Declaration
[DataMember(Name = "groups")]
public IEnumerable<PropertyGroupBasic<TPropertyType>> Groups { get; set; }
Property Value
Methods
View Source
Validate(ValidationContext)
Declaration
public override IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
Parameters
Type |
Name |
Description |
System.ComponentModel.DataAnnotations.ValidationContext |
validationContext |
|
Returns
Type |
Description |
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> |
|