Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IEditorValidator

    Provides a general object validator.

    Namespace: Umbraco.Cms.Core.Editors
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IEditorValidator : IDiscoverable

    Properties

    View Source

    ModelType

    Gets the object type validated by this validator.

    Declaration
    Type ModelType { get; }
    Property Value
    Type Description
    Type

    Methods

    View Source

    Validate(Object)

    Validates an object.

    Declaration
    IEnumerable<ValidationResult> Validate(object model)
    Parameters
    Type Name Description
    System.Object model
    Returns
    Type Description
    IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult>
    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • ModelType
    • Methods
      • Validate(Object)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX