Table of Contents

Class Form

Namespace
MES.MQC.UtilityLibrary.Form.Models
Assembly
MES.MQC.UtilityLibrary.dll
public abstract class Form
Inheritance
Form
Derived
Inherited Members

Constructors

Form()

protected Form()

Properties

Errors

[YamlIgnore]
public Dictionary<string, FormError> Errors { get; set; }

Property Value

Dictionary<string, FormError>

FormHash

[YamlIgnore]
public string FormHash { get; }

Property Value

string

FormSchema

[YamlIgnore]
public FormSchema FormSchema { get; set; }

Property Value

FormSchema

Type

[YamlIgnore]
[JsonProperty(Required = Required.Always, Order = -2147483648, PropertyName = "$type")]
public string Type { get; set; }

Property Value

string

Methods

AddError(string, string, string)

public void AddError(string key, string message, string description)

Parameters

key string
message string
description string

AddFieldError(string, string, string)

public void AddFieldError(string key, string fieldPath, string message)

Parameters

key string
fieldPath string
message string

RemoveError(string)

public void RemoveError(string key)

Parameters

key string