Class Form
- Namespace
- MES.MQC.UtilityLibrary.Form.Models
- Assembly
- MES.MQC.UtilityLibrary.dll
public abstract class Form
- Inheritance
-
Form
- Derived
-
- Inherited Members
-
Constructors
Properties
[YamlIgnore]
public Dictionary<string, FormError> Errors { get; set; }
Property Value
- Dictionary<string, FormError>
[YamlIgnore]
public string FormHash { get; }
Property Value
- string
[YamlIgnore]
public FormSchema FormSchema { get; set; }
Property Value
- FormSchema
[YamlIgnore]
[JsonProperty(Required = Required.Always, Order = -2147483648, PropertyName = "$type")]
public string Type { get; set; }
Property Value
- string
Methods
public void AddError(string key, string message, string description)
Parameters
key string
message string
description string
public void AddFieldError(string key, string fieldPath, string message)
Parameters
key string
fieldPath string
message string
public void RemoveError(string key)
Parameters
key string