Facebook
Twitter
Pinterest
Tumblr
GitHub
RSS
  • DEV Home
  • Documentation
  • Reference
  • Download
Search Results for

    Show / Hide Table of Contents

    Class ValidationError

    Class representing a validation error for descendants of EditableObjectBase or EditableOptionsBase.

    Inheritance
    System.Object
    ValidationError
    Namespace: Emby.Web.GenericEdit.Validation
    Assembly: Emby.Web.GenericEdit.dll
    Syntax
    public class ValidationError

    Constructors

    ValidationError()

    Initializes a new instance of the ValidationError class.

    Declaration
    public ValidationError()

    ValidationError(String, Nullable<EditorTypes>, String, String, String, String)

    Initializes a new instance of the ValidationError class.

    Declaration
    public ValidationError(string editorId, EditorTypes? editorType, string propertyName, string propertyDisplayName, string stringValue, string errorMessage)
    Parameters
    Type Name Description
    System.String editorId

    The editor identifier.

    System.Nullable<EditorTypes> editorType

    Type of the editor.

    System.String propertyName

    Name of the property.

    System.String propertyDisplayName

    Display name of the property.

    System.String stringValue

    The string value.

    System.String errorMessage

    The error message.

    Properties

    EditorId

    Gets or sets the editor identifier.

    Declaration
    public string EditorId { get; set; }
    Property Value
    Type Description
    System.String

    The editor identifier.

    EditorType

    Gets or sets the type of the editor.

    Declaration
    public EditorTypes? EditorType { get; set; }
    Property Value
    Type Description
    System.Nullable<EditorTypes>

    The type of the editor.

    ErrorMessage

    Gets or sets the error message.

    Declaration
    public string ErrorMessage { get; set; }
    Property Value
    Type Description
    System.String

    The error message.

    PropertyDisplayName

    Gets or sets the display name of the property.

    Declaration
    public string PropertyDisplayName { get; set; }
    Property Value
    Type Description
    System.String

    The display name of the property.

    PropertyName

    Gets or sets the name of the property.

    Declaration
    public string PropertyName { get; set; }
    Property Value
    Type Description
    System.String

    The name of the property.

    StringValue

    Gets or sets the string value.

    Declaration
    public string StringValue { get; set; }
    Property Value
    Type Description
    System.String

    The string value.

    Methods

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    A string that represents the current object.

    Overrides
    System.Object.ToString()

    Extension Methods

    Extensions.JsonClone<T>(T, IJsonSerializer)
    SDK
    On this Page
    Back to Top Copyright 2022 © EMBY LLC. Please see our terms of use and privacy policy.