Class FormSchema
- Namespace
- MES.MQC.UtilityLibrary.Form
- Assembly
- MES.MQC.UtilityLibrary.dll
- Inheritance
-
FormSchema
- Inherited Members
-
Properties
public FormClassAttribute Config { get; set; }
Property Value
- FormClassAttribute
public string Description { get; set; }
Property Value
- string
public List<FormFieldSchema> Fields { get; set; }
Property Value
- List<FormFieldSchema>
public string Name { get; set; }
Property Value
- string
public string Type { get; set; }
Property Value
- string
Methods
public FormFieldSchema GetField(string fieldName)
Parameters
fieldName string
Returns
- FormFieldSchema
public FieldAttribute GetFieldConfig(string fieldName)
Parameters
fieldName string
Returns
- FieldAttribute
public T GetFieldConfig<T>(string fieldName) where T : FieldAttribute
Parameters
fieldName string
Returns
- T
Type Parameters
T
public FormSchema GetFieldSchema(string fieldName, int? index = null)
Parameters
fieldName string
index int?
Returns
- FormSchema