Class FormFieldAssistantBase<TFormAdapter>
- Namespace
- MES.MQC.UtilityLibrary.Form
- Assembly
- MES.MQC.UtilityLibrary.dll
public abstract class FormFieldAssistantBase<TFormAdapter> : IFormFieldAssistant where TFormAdapter : IFormAdapter
Type Parameters
TFormAdapter
- Inheritance
-
FormFieldAssistantBase<TFormAdapter>
- Implements
-
- Derived
-
- Inherited Members
-
Properties
[JsonIgnore]
public TFormAdapter Adapter { get; }
Property Value
- TFormAdapter
[JsonIgnore]
public AssistanceAttributeBase Assistance { get; }
Property Value
- AssistanceAttributeBase
[JsonIgnore]
public string CacheKey { get; }
Property Value
- string
Context
[JsonIgnore]
public IFormContext<Form> Context { get; }
Property Value
- IFormContext<Form>
[JsonIgnore]
public FormSchemaGenerator.ExecutionEnvironment ExecutionEnvironment { get; }
Property Value
- FormSchemaGenerator.ExecutionEnvironment
[JsonIgnore]
public string FieldPath { get; }
Property Value
- string
[JsonIgnore]
public string Identifier { get; }
Property Value
- string
Methods
protected void AddError(string message, string description)
Parameters
message string
description string
protected void AddErrorFromResponse(RestResponse response, string message = "Fetching failed")
Parameters
response RestResponse
message string
protected void AddFieldError(string message)
Parameters
message string
public virtual void InitializeCacheKey(FieldAttributeBase fieldConfig)
Parameters
fieldConfig FieldAttributeBase