Class IsoCodeValidator
A validator for validating if an ISO code string can be is valid.
Inheritance
System.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 |
---|---|---|
System.Globalization.CultureInfo | culture | The culture info to validate. |
Returns
Type | Description |
---|---|
System.Boolean | True if the CultureInfo is valid in Umbraco. |