Search Results for

    Show / Hide Table of Contents

    Class ValidationResult

    This class represents the result of a validation operation

    Inheritance
    System.Object
    ValidationResult
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Dangl.AVACloud.Client
    Assembly: Dangl.AVACloud.Client.dll
    Syntax
    public class ValidationResult : INotifyPropertyChanged

    Properties

    | Improve this Doc View Source

    CheckResults

    List of validation check results, which are usually errors

    Declaration
    [JsonProperty("checkResults", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public ObservableCollection<ValidationCheckResult> CheckResults { get; set; }
    Property Value
    Type Description
    System.Collections.ObjectModel.ObservableCollection<ValidationCheckResult>
    | Improve this Doc View Source

    FileName

    Name of the validated file

    Declaration
    [JsonProperty("fileName", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public string FileName { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    IsSchemaCompliant

    Indicates if the validation produced no errors

    Declaration
    [JsonProperty("isSchemaCompliant", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
    public bool IsSchemaCompliant { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    ValidationType

    The type of the validation that was performed

    Declaration
    [JsonProperty("validationType", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
    [Required(AllowEmptyStrings = true)]
    [JsonConverter(typeof(StringEnumConverter))]
    public ValidationType ValidationType { get; set; }
    Property Value
    Type Description
    ValidationType

    Methods

    | Improve this Doc View Source

    FromJson(String)

    Declaration
    public static ValidationResult FromJson(string data)
    Parameters
    Type Name Description
    System.String data
    Returns
    Type Description
    ValidationResult
    | Improve this Doc View Source

    RaisePropertyChanged(String)

    Declaration
    protected virtual void RaisePropertyChanged(string propertyName = null)
    Parameters
    Type Name Description
    System.String propertyName
    | Improve this Doc View Source

    ToJson()

    Declaration
    public string ToJson()
    Returns
    Type Description
    System.String

    Events

    | Improve this Doc View Source

    PropertyChanged

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type Description
    System.ComponentModel.PropertyChangedEventHandler

    Implements

    System.ComponentModel.INotifyPropertyChanged
    • Improve this Doc
    • View Source
    In This Article
    Back to top © Dangl IT GmbH