Search Results for

    Show / Hide Table of Contents
    View Source

    Class SimpleContentType

    Implements ISimpleContentType.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public class SimpleContentType : ISimpleContentType

    Constructors

    View Source

    SimpleContentType(IContentType)

    Initializes a new instance of the SimpleContentType class.

    Declaration
    public SimpleContentType(IContentType contentType)
    Parameters
    Type Name Description
    IContentType contentType
    View Source

    SimpleContentType(IMediaType)

    Initializes a new instance of the SimpleContentType class.

    Declaration
    public SimpleContentType(IMediaType mediaType)
    Parameters
    Type Name Description
    IMediaType mediaType
    View Source

    SimpleContentType(IMemberType)

    Initializes a new instance of the SimpleContentType class.

    Declaration
    public SimpleContentType(IMemberType memberType)
    Parameters
    Type Name Description
    IMemberType memberType

    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
    Type Description
    ITemplate
    View Source

    Icon

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

    Id

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

    IsContainer

    Declaration
    public bool IsContainer { get; }
    Property Value
    Type Description
    System.Boolean
    View Source

    IsElement

    Declaration
    public bool IsElement { get; }
    Property Value
    Type Description
    System.Boolean
    View Source

    Key

    Declaration
    public Guid Key { get; }
    Property Value
    Type Description
    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
    Type Description
    ContentVariation

    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
    Type Name Description
    SimpleContentType other
    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
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • SimpleContentType(IContentType)
      • SimpleContentType(IMediaType)
      • SimpleContentType(IMemberType)
    • Properties
      • Alias
      • AllowedAsRoot
      • DefaultTemplate
      • Icon
      • Id
      • IsContainer
      • IsElement
      • Key
      • Name
      • Variations
    • Methods
      • Equals(Object)
      • Equals(SimpleContentType)
      • GetHashCode()
      • SupportsPropertyVariation(String, String, Boolean)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX