• Core
  • Infrastructure
  • Web
  • Extensions
Search Results for

    Show / Hide Table of Contents
    View Source

    Class SimplePropertyConfigurationValidatorBase<TValue>

    Provides common functionality to validators that rely on data type configuration.

    Inheritance
    System.Object
    DictionaryConfigurationValidatorBase
    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 Source

    TryParsePropertyValue(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.

    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • TryParsePropertyValue(Object, out TValue)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX