View Source
Class SimpleContentType
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public class SimpleContentType : ISimpleContentType
Constructors
View Source
SimpleContentType(IContentType)
Declaration
public SimpleContentType(IContentType contentType)
Parameters
View Source
SimpleContentType(IMediaType)
Declaration
public SimpleContentType(IMediaType mediaType)
Parameters
View Source
SimpleContentType(IMemberType)
Declaration
public SimpleContentType(IMemberType memberType)
Parameters
Properties
View Source
Alias
Declaration
public string Alias { get; }
Property Value
Type |
Description |
System.String |
|
View Source
AllowedAsRoot
Declaration
public bool AllowedAsRoot { get; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
DefaultTemplate
Gets the default template of the content type.
Declaration
public ITemplate DefaultTemplate { get; }
Property Value
View Source
Icon
Declaration
public string Icon { get; }
Property Value
Type |
Description |
System.String |
|
View Source
Id
Declaration
Property Value
Type |
Description |
System.Int32 |
|
View Source
IsElement
Declaration
public bool IsElement { get; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
Key
Declaration
Property Value
View Source
ListView
Declaration
public Guid? ListView { get; }
Property Value
Type |
Description |
System.Nullable<Guid> |
|
View Source
Name
Declaration
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
View Source
Variations
Declaration
public ContentVariation Variations { get; }
Property Value
Methods
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(SimpleContentType)
Declaration
protected bool Equals(SimpleContentType other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
View Source
SupportsPropertyVariation(String, String, Boolean)
Declaration
public bool SupportsPropertyVariation(string culture, string segment, bool wildcards = false)
Parameters
Type |
Name |
Description |
System.String |
culture |
|
System.String |
segment |
|
System.Boolean |
wildcards |
|
Returns
Type |
Description |
System.Boolean |
|