Class FieldFormattingService
- Namespace
- JJMasterData.Core.DataManager.Services
- Assembly
- JJMasterData.Core.dll
public class FieldFormattingService
- Inheritance
-
FieldFormattingService
- Inherited Members
Constructors
FieldFormattingService(DataItemService, LookupService, IStringLocalizer<MasterDataResources>)
public FieldFormattingService(DataItemService dataItemService, LookupService lookupService, IStringLocalizer<MasterDataResources> stringLocalizer)
Parameters
dataItemService
DataItemServicelookupService
LookupServicestringLocalizer
IStringLocalizer<MasterDataResources>
Methods
FormatGridValueAsync(FormElementFieldSelector, FormStateData)
public ValueTask<string> FormatGridValueAsync(FormElementFieldSelector fieldSelector, FormStateData formStateData)
Parameters
fieldSelector
FormElementFieldSelectorformStateData
FormStateData
Returns
FormatValue(FormElementField, object)
public static string FormatValue(FormElementField field, object value)
Parameters
field
FormElementFieldvalue
object