Class PublishedCultureInfo
Contains culture specific values for IPublishedContent.
Inheritance
System.Object
Namespace: Umbraco.Core.Models.PublishedContent
Assembly: Umbraco.Core.dll
Syntax
public class PublishedCultureInfo
Constructors
View SourcePublishedCultureInfo(String, String, String, DateTime)
Initializes a new instance of the PublishedCultureInfo class.
Declaration
public PublishedCultureInfo(string culture, string name, string urlSegment, DateTime date)
Parameters
Type | Name | Description |
---|---|---|
System.String | culture | |
System.String | name | |
System.String | urlSegment | |
System.DateTime | date |
Properties
View SourceCulture
Gets the culture.
Declaration
public string Culture { get; }
Property Value
Type | Description |
---|---|
System.String |
Date
Gets the date associated with the culture.
Declaration
public DateTime Date { get; }
Property Value
Type | Description |
---|---|
System.DateTime |
Remarks
For published culture, this is the date the culture was published. For draft cultures, this is the date the culture was made available, ie the last time its name changed.