Search Results for

    Show / Hide Table of Contents
    View Source

    Class UmbracoDomain

    Provides a base class for entities.

    Inheritance
    System.Object
    BeingDirtyBase
    EntityBase
    Namespace: Umbraco.Cms.Core.Models
    Assembly: Umbraco.Core.dll
    Syntax
    [DataContract(IsReference = true)]
    public class UmbracoDomain : EntityBase, IDomain, IEntity, IDeepCloneable, IRememberBeingDirty, ICanBeDirty

    Constructors

    View Source

    UmbracoDomain(String)

    Initializes a new instance of the UmbracoDomain class.

    Declaration
    public UmbracoDomain(string domainName)
    Parameters
    Type Name Description
    System.String domainName

    The name of the domain.

    View Source

    UmbracoDomain(String, String)

    Initializes a new instance of the UmbracoDomain class.

    Declaration
    public UmbracoDomain(string domainName, string languageIsoCode)
    Parameters
    Type Name Description
    System.String domainName

    The name of the domain.

    System.String languageIsoCode

    The language ISO code.

    Properties

    View Source

    DomainName

    Gets or sets the name of the domain.

    Declaration
    [DataMember]
    public string DomainName { get; set; }
    Property Value
    Type Description
    System.String

    The name of the domain.

    View Source

    IsWildcard

    Gets a value indicating whether this is a wildcard domain (only specifying the language of a content node).

    Declaration
    public bool IsWildcard { get; }
    Property Value
    Type Description
    System.Boolean

    true if this is a wildcard domain; otherwise, false.

    View Source

    LanguageId

    Gets or sets the language ID assigned to the domain.

    Declaration
    [DataMember]
    public int? LanguageId { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    The language ID assigned to the domain.

    View Source

    LanguageIsoCode

    Gets the language ISO code.

    Declaration
    public string LanguageIsoCode { get; set; }
    Property Value
    Type Description
    System.String

    The language ISO code.

    View Source

    RootContentId

    Gets or sets the root content ID assigned to the domain.

    Declaration
    [DataMember]
    public int? RootContentId { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    The root content ID assigned to the domain.

    View Source

    SortOrder

    Gets or sets the sort order.

    Declaration
    [DataMember]
    public int SortOrder { get; set; }
    Property Value
    Type Description
    System.Int32

    The sort order.

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • UmbracoDomain(String)
      • UmbracoDomain(String, String)
    • Properties
      • DomainName
      • IsWildcard
      • LanguageId
      • LanguageIsoCode
      • RootContentId
      • SortOrder
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX