Represents the impact of a culture set.
InheritanceSystem.Object
Namespace: Umbraco.Cms.Core.Models Assembly: Umbraco.Core.dll Syntaxpublic sealed class CultureImpact
Properties View Source All
Gets the impact of 'all' cultures (including the invariant culture).
Declarationpublic 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.
Declarationpublic 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.
Declarationpublic 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).
Declarationpublic bool ImpactsAlsoInvariantProperties { get; }
Property Value Type Description System.Boolean View Source ImpactsExplicitCulture
Gets a value indicating whether this impact impacts an implicit culture.
Declarationpublic 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.
Declarationpublic 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.
Declarationpublic 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.
Declarationpublic bool ImpactsOnlyInvariantCulture { get; }
Property Value Type Description System.Boolean View Source Invariant
Gets the impact of the invariant culture.
Declarationpublic static CultureImpact Invariant { get; }
Property Value Methods View Source Explicit(String, Boolean)
Creates an impact instance representing the impact of a specific culture.
Declarationpublic static CultureImpact Explicit(string culture, bool isDefault)
Parameters Type Name Description System.String culture
The culture code.
System.Boolean isDefaultA 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
Declarationpublic 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