Search Results for

    Show / Hide Table of Contents
    View Source

    Class Domain

    Represents a published snapshot domain.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Routing
    Assembly: Umbraco.Core.dll
    Syntax
    public class Domain

    Constructors

    View Source

    Domain(Int32, String, Int32, String, Boolean)

    Initializes a new instance of the Domain class.

    Declaration
    public Domain(int id, string name, int contentId, string culture, bool isWildcard)
    Parameters
    Type Name Description
    System.Int32 id

    The unique identifier of the domain.

    System.String name

    The name of the domain.

    System.Int32 contentId

    The identifier of the content which supports the domain.

    System.String culture

    The culture of the domain.

    System.Boolean isWildcard

    A value indicating whether the domain is a wildcard domain.

    View Source

    Domain(Domain)

    Initializes a new instance of the Domain class.

    Declaration
    protected Domain(Domain domain)
    Parameters
    Type Name Description
    Domain domain

    An origin domain.

    Properties

    View Source

    ContentId

    Gets the identifier of the content which supports the domain.

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

    Culture

    Gets the culture of the domain.

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

    Id

    Gets the unique identifier of the domain.

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

    IsWildcard

    Gets a value indicating whether the domain is a wildcard domain.

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

    Name

    Gets the name of the domain.

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    System.String
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • Domain(Int32, String, Int32, String, Boolean)
      • Domain(Domain)
    • Properties
      • ContentId
      • Culture
      • Id
      • IsWildcard
      • Name
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX