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
IValidationDictionaryexpressionProviders
IEnumerable<IExpressionProvider>dataDictionaryRepository
IDataDictionaryRepositorystringLocalizer
IStringLocalizer<MasterDataResources>
Methods
CopyPanel(string, FormElementPanel)
public Task<FormElementPanel> CopyPanel(string elementName, FormElementPanel panel)
Parameters
elementName
stringpanel
FormElementPanel
Returns
DeleteFieldAsync(string, int)
public Task<bool> DeleteFieldAsync(string elementName, int panelId)
Parameters
Returns
SavePanelAsync(string, FormElementPanel, string[]?)
public Task SavePanelAsync(string elementName, FormElementPanel panel, string[]? selectedFields)
Parameters
elementName
stringpanel
FormElementPanelselectedFields
string[]
Returns
SortPanelsAsync(string, string[])
public Task<bool> SortPanelsAsync(string elementName, string[] orderFields)
Parameters
Returns
ValidatePanel(FormElementPanel)
public bool ValidatePanel(FormElementPanel panel)
Parameters
panel
FormElementPanel