Class SimplePropertyConfigurationValidatorBase<TValue>
Provides common functionality to validators that rely on data type configuration.
Namespace: Umbraco.Cms.Core.PropertyEditors.Validators
Assembly: Umbraco.Core.dll
Syntax
public abstract class SimplePropertyConfigurationValidatorBase<TValue> : DictionaryConfigurationValidatorBase
Type Parameters
| Name | Description |
|---|---|
| TValue | The type to parse to. |
Methods
View SourceTryParsePropertyValue(Object, out TValue)
Parses the raw property value into it's typed equivalent.
Declaration
protected abstract bool TryParsePropertyValue(object value, out TValue parsedValue)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | value | The property value as a nullable object. |
| TValue | parsedValue | The parsed value. |
Returns
| Type | Description |
|---|---|
| System.Boolean | True if the parse succeeded, otherwise false. |