Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentCultureInfos

    The name of a content variant for a given culture

    Inheritance
    object
    BeingDirtyBase
    Namespace: Umbraco.Cms.Core.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public class ContentCultureInfos : BeingDirtyBase, IRememberBeingDirty, ICanBeDirty, IDeepCloneable

    Constructors

    View Source

    ContentCultureInfos(string)

    Initializes a new instance of the ContentCultureInfos class.

    Declaration
    public ContentCultureInfos(string culture)
    Parameters
    Type Name Description
    string culture

    Properties

    View Source

    Culture

    Gets the culture.

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

    Date

    Gets the date.

    Declaration
    public DateTime Date { get; set; }
    Property Value
    Type Description
    DateTime
    View Source

    Name

    Gets the name.

    Declaration
    public string? Name { get; set; }
    Property Value
    Type Description
    string

    Methods

    View Source

    Deconstruct(out string, out string?)

    Deconstructs into culture and name.

    Declaration
    public void Deconstruct(out string culture, out string? name)
    Parameters
    Type Name Description
    string culture
    string name
    View Source

    Deconstruct(out string, out string?, out DateTime)

    Deconstructs into culture, name and date.

    Declaration
    public void Deconstruct(out string culture, out string? name, out DateTime date)
    Parameters
    Type Name Description
    string culture
    string name
    DateTime date
    View Source

    DeepClone()

    Declaration
    public object DeepClone()
    Returns
    Type Description
    object
    View Source

    Equals(object?)

    Determines whether the specified object is equal to the current object.

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj

    The object to compare with the current object.

    Returns
    Type Description
    bool

    true if the specified object is equal to the current object; otherwise, false.

    View Source

    Equals(ContentCultureInfos?)

    Indicates whether the current object is equal to another object of the same type.

    Declaration
    public bool Equals(ContentCultureInfos? other)
    Parameters
    Type Name Description
    ContentCultureInfos other

    An object to compare with this object.

    Returns
    Type Description
    bool

    true if the current object is equal to the other parameter; otherwise, false.

    View Source

    GetHashCode()

    Serves as the default hash function.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code for the current object.

    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX