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 SourceCheckResults
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> |
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 |
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 |
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 SourceFromJson(String)
Declaration
public static ValidationResult FromJson(string data)
Parameters
Type | Name | Description |
---|---|---|
System.String | data |
Returns
Type | Description |
---|---|
ValidationResult |
RaisePropertyChanged(String)
Declaration
protected virtual void RaisePropertyChanged(string propertyName = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName |
ToJson()
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System.String |
Events
| Improve this Doc View SourcePropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type | Description |
---|---|
System.ComponentModel.PropertyChangedEventHandler |
Implements
System.ComponentModel.INotifyPropertyChanged