Table of Contents

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

Adapter

[JsonIgnore]
public TFormAdapter Adapter { get; }

Property Value

TFormAdapter

Assistance

[JsonIgnore]
public AssistanceAttributeBase Assistance { get; }

Property Value

AssistanceAttributeBase

CacheKey

[JsonIgnore]
public string CacheKey { get; }

Property Value

string

Context

[JsonIgnore]
public IFormContext<Form> Context { get; }

Property Value

IFormContext<Form>

ExecutionEnvironment

[JsonIgnore]
public FormSchemaGenerator.ExecutionEnvironment ExecutionEnvironment { get; }

Property Value

FormSchemaGenerator.ExecutionEnvironment

FieldPath

[JsonIgnore]
public string FieldPath { get; }

Property Value

string

Identifier

[JsonIgnore]
public string Identifier { get; }

Property Value

string

Methods

AddError(string, string)

protected void AddError(string message, string description)

Parameters

message string
description string

AddErrorFromResponse(RestResponse, string)

protected void AddErrorFromResponse(RestResponse response, string message = "Fetching failed")

Parameters

response RestResponse
message string

AddFieldError(string)

protected void AddFieldError(string message)

Parameters

message string

InitializeCacheKey(FieldAttributeBase)

public virtual void InitializeCacheKey(FieldAttributeBase fieldConfig)

Parameters

fieldConfig FieldAttributeBase