• Core
  • Infrastructure
  • Web
  • Extensions
Search Results for

    Show / Hide Table of Contents
    View Source

    Class DictionaryConfigurationValidatorBase

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

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.PropertyEditors.Validators
    Assembly: Umbraco.Core.dll
    Syntax
    public abstract class DictionaryConfigurationValidatorBase

    Methods

    View Source

    TryGetConfiguredValue<TValue>(Object, String, out TValue)

    Retrieves a typed value from data type dictionary configuration for the provided key.

    Declaration
    protected static bool TryGetConfiguredValue<TValue>(object dataTypeConfiguration, string key, out TValue value)
    Parameters
    Type Name Description
    System.Object dataTypeConfiguration

    The data type configuration.

    System.String key

    The configuration key.

    TValue value

    The configuration value (if found), otherwise zero.

    Returns
    Type Description
    System.Boolean

    True if the configured value was found.

    Type Parameters
    Name Description
    TValue
    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • TryGetConfiguredValue<TValue>(Object, String, out TValue)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX