Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IValueRequiredValidator

    Defines a required value validator.

    Namespace: Umbraco.Cms.Core.PropertyEditors
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IValueRequiredValidator

    Methods

    View Source

    ValidateRequired(object?, string)

    Validates a value.

    Declaration
    IEnumerable<ValidationResult> ValidateRequired(object? value, string valueType)
    Parameters
    Type Name Description
    object value

    The value to validate.

    string valueType

    The value type.

    Returns
    Type Description
    IEnumerable<ValidationResult>

    Validation results.

    Remarks

    This is used to validate values when the property type specifies that a value is required.

    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX