Class FormSchema
- Namespace
- MES.MQC.UtilityLibrary.Form.Models.Schema
- Assembly
- MES.MQC.UtilityLibrary.dll
- Inheritance
-
FormSchema
- Inherited Members
-
Properties
public Dictionary<string, object> Cached { get; }
Property Value
- Dictionary<string, dynamic>
public Dictionary<string, FormError> CachedErrors { get; }
Property Value
- Dictionary<string, FormError>
public Dictionary<string, FieldAttributeBase> CachedFieldConfigs { get; }
Property Value
- Dictionary<string, FieldAttributeBase>
public Dictionary<string, bool> CachedFieldValids { get; }
Property Value
- Dictionary<string, bool>
public FormAttribute Config { get; set; }
Property Value
- FormAttribute
public string Description { get; set; }
Property Value
- string
public List<FieldSchema> Fields { get; set; }
Property Value
- List<FieldSchema>
public string FormType { get; set; }
Property Value
- string
public bool IsGeneric { get; set; }
Property Value
- bool
public FieldSchema this[string fieldPath] { get; }
Parameters
fieldPath string
Property Value
- FieldSchema
public string Name { get; set; }
Property Value
- string
Methods
public FieldSchema GetField(string fieldName)
Parameters
fieldName string
Returns
- FieldSchema
public FieldAttributeBase GetFieldConfig(string fieldName)
Parameters
fieldName string
Returns
- FieldAttributeBase
public T GetFieldConfig<T>(string fieldName) where T : FieldAttributeBase
Parameters
fieldName string
Returns
- T
Type Parameters
T
public FormSchema GetFieldSchema(string fieldName, int? index = null)
Parameters
fieldName string
index int?
Returns
- FormSchema