Table of Contents

Class FormSchema

Namespace
MES.MQC.UtilityLibrary.Form
Assembly
MES.MQC.UtilityLibrary.dll
public class FormSchema
Inheritance
FormSchema
Inherited Members

Properties

Config

public FormClassAttribute Config { get; set; }

Property Value

FormClassAttribute

Description

public string Description { get; set; }

Property Value

string

Fields

public List<FormFieldSchema> Fields { get; set; }

Property Value

List<FormFieldSchema>

Name

public string Name { get; set; }

Property Value

string

Type

public string Type { get; set; }

Property Value

string

Methods

GetField(string)

public FormFieldSchema GetField(string fieldName)

Parameters

fieldName string

Returns

FormFieldSchema

GetFieldConfig(string)

public FieldAttribute GetFieldConfig(string fieldName)

Parameters

fieldName string

Returns

FieldAttribute

GetFieldConfig<T>(string)

public T GetFieldConfig<T>(string fieldName) where T : FieldAttribute

Parameters

fieldName string

Returns

T

Type Parameters

T

GetFieldSchema(string, int?)

public FormSchema GetFieldSchema(string fieldName, int? index = null)

Parameters

fieldName string
index int?

Returns

FormSchema