Class IsoCodeValidator
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
Inheritance
object
Namespace: Umbraco.Cms.Core.Services
Assembly: Umbraco.Core.dll
Syntax
public class IsoCodeValidator : IIsoCodeValidator
Methods
View SourceIsValid(CultureInfo)
Validates that a cultureInfo is a valid culture info in Umbraco.
Declaration
public bool IsValid(CultureInfo culture)
Parameters
| Type | Name | Description |
|---|---|---|
| CultureInfo | culture | The culture info to validate. |
Returns
| Type | Description |
|---|---|
| bool | True if the CultureInfo is valid in Umbraco. |