Table of Contents

Class PanelService

Namespace
JJMasterData.Core.DataDictionary.Services
Assembly
JJMasterData.Core.dll
public class PanelService : DataDictionaryServiceBase
Inheritance
PanelService
Inherited Members

Constructors

PanelService(IValidationDictionary, IEnumerable<IExpressionProvider>, IDataDictionaryRepository, IStringLocalizer<MasterDataResources>)

public PanelService(IValidationDictionary validationDictionary, IEnumerable<IExpressionProvider> expressionProviders, IDataDictionaryRepository dataDictionaryRepository, IStringLocalizer<MasterDataResources> stringLocalizer)

Parameters

validationDictionary IValidationDictionary
expressionProviders IEnumerable<IExpressionProvider>
dataDictionaryRepository IDataDictionaryRepository
stringLocalizer IStringLocalizer<MasterDataResources>

Methods

CopyPanel(string, FormElementPanel)

public Task<FormElementPanel> CopyPanel(string elementName, FormElementPanel panel)

Parameters

elementName string
panel FormElementPanel

Returns

Task<FormElementPanel>

DeleteFieldAsync(string, int)

public Task<bool> DeleteFieldAsync(string elementName, int panelId)

Parameters

elementName string
panelId int

Returns

Task<bool>

SavePanelAsync(string, FormElementPanel, string[]?)

public Task SavePanelAsync(string elementName, FormElementPanel panel, string[]? selectedFields)

Parameters

elementName string
panel FormElementPanel
selectedFields string[]

Returns

Task

SortPanelsAsync(string, string[])

public Task<bool> SortPanelsAsync(string elementName, string[] orderFields)

Parameters

elementName string
orderFields string[]

Returns

Task<bool>

ValidatePanel(FormElementPanel)

public bool ValidatePanel(FormElementPanel panel)

Parameters

panel FormElementPanel

Returns

bool