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
    System.Object value

    The value to validate.

    System.String valueType

    The value type.

    Returns
    Type Description
    IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult>

    Validation results.

    Remarks

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

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