A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://apidocs.umbraco.com/v15/csharp/api/Umbraco.Cms.Core.Models.CultureImpact.html below:

View Source Class CultureImpact

Represents the impact of a culture set.

Inheritance

System.Object

Namespace: Umbraco.Cms.Core.Models Assembly: Umbraco.Core.dll Syntax
public sealed class CultureImpact
Properties View Source All

Gets the impact of 'all' cultures (including the invariant culture).

Declaration
public static CultureImpact All { get; }
Property Value View Source AllowEditInvariantFromNonDefault Declaration
public bool AllowEditInvariantFromNonDefault { get; }
Property Value Type Description System.Boolean View Source Culture

Gets the culture code.

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

Gets a value indicating whether this impact impacts all cultures, including, indirectly, the invariant culture.

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

Gets a value indicating whether this also impact impacts the invariant properties, even though it does not impact the invariant culture, neither directly (ImpactsInvariantCulture) nor indirectly (ImpactsAllCultures).

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

Gets a value indicating whether this impact impacts an implicit culture.

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

Gets a value indicating whether this impact impacts the invariant properties, either directly, or because all cultures are impacted, or because the default culture is impacted.

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

Gets a value indicating whether this impact impacts the default culture, directly, not because all cultures are impacted.

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

Gets a value indicating whether this impact impacts only the invariant culture, directly, not because all cultures are impacted.

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

Gets the impact of the invariant culture.

Declaration
public static CultureImpact Invariant { get; }
Property Value Methods View Source Explicit(String, Boolean)

Creates an impact instance representing the impact of a specific culture.

Declaration
public static CultureImpact Explicit(string culture, bool isDefault)
Parameters Type Name Description System.String culture

The culture code.

System.Boolean isDefault

A value indicating whether the culture is the default culture.

Returns View Source GetCultureForInvariantErrors(IContent, String[], String)

Utility method to return the culture used for invariant property errors based on what cultures are being actively saved, the default culture and the state of the current content item

Declaration
public static string GetCultureForInvariantErrors(IContent content, string[] savingCultures, string defaultCulture)
Parameters Type Name Description IContent content System.String[] savingCultures System.String defaultCulture Returns Type Description System.String

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4