Class ServerDataExportOptions
- Namespace
- GroupeIsa.Neos.Designer.UIAbstractions
- Assembly
- GroupeIsa.Neos.Designer.UIAbstractions.dll
Represents the server data export options.
[ExcludeFromCodeCoverage]
[SuppressMessage("Minor Code Smell", "S2325:Methods and properties that don't access instance data should be static", Justification = "Transpilation")]
public class ServerDataExportOptions
- Inheritance
-
ServerDataExportOptions
- Inherited Members
Constructors
ServerDataExportOptions(string, string, ExportFormat)
Initializes a new instance of the ServerDataExportOptions class.
public ServerDataExportOptions(string entityViewName, string fileName, ExportFormat format)
Parameters
entityViewNamestringThe entity view name.
fileNamestringThe file name.
formatExportFormatThe format.
Properties
CsvOptions
Gets the CSV-specific options.
public CsvOptions? CsvOptions { get; }
Property Value
Culture
Gets the culture.
public string? Culture { get; }
Property Value
EntityViewName
Gets the entity view name.
public string EntityViewName { get; }
Property Value
EntityViewParameters
Gets the entity view parameters.
public Dictionary<string, object?>? EntityViewParameters { get; }
Property Value
FileName
Gets the file name.
public string FileName { get; }
Property Value
Filter
Gets the filter.
public string? Filter { get; }
Property Value
Format
Gets the format.
public ExportFormat Format { get; }
Property Value
Header
Gets a value indicating whether to generate the header row.
public bool Header { get; }
Property Value
OrderBy
Gets the sort.
public string? OrderBy { get; }
Property Value
Properties
Gets the properties.
public IEnumerable<string>? Properties { get; }
Property Value
TimeZone
Gets the (optional) destination time-zone as a valid Windows or IANA time zone identifier and used for localizing DateTime properties.
public string? TimeZone { get; }
Property Value
UIViewName
Gets the UI view name.
public string? UIViewName { get; }
Property Value
Methods
WithCsvOptions(CsvOptions?)
Sets the CSV-specific options.
public ServerDataExportOptions WithCsvOptions(CsvOptions? csvOptions)
Parameters
csvOptionsCsvOptionsThe CSV-specific options.
Returns
- ServerDataExportOptions
The updated server data export options instance (not a new one).
WithCulture(string?)
Sets the culture.
public ServerDataExportOptions WithCulture(string? culture)
Parameters
culturestringThe culture.
Returns
- ServerDataExportOptions
The updated server data export options instance (not a new one).
WithEntityViewParameters(Dictionary<string, object?>?)
Sets the entity view parameters.
public ServerDataExportOptions WithEntityViewParameters(Dictionary<string, object?>? entityViewParameters)
Parameters
entityViewParametersDictionary<string, object>The entity view parameters.
Returns
- ServerDataExportOptions
The updated server data export options instance (not a new one).
WithFilter(Filter?)
Sets the filter.
public ServerDataExportOptions WithFilter(Filter? filter)
Parameters
filterFilterThe filter.
Returns
- ServerDataExportOptions
The updated server data export options instance (not a new one).
WithFilter(string?)
Sets the $filter ODATA clause.
public ServerDataExportOptions WithFilter(string? filter)
Parameters
filterstringThe $filter ODATA clause.
Returns
- ServerDataExportOptions
The updated server data export options instance (not a new one).
WithHeader(bool)
Sets the value indicating whether to generate the header row.
public ServerDataExportOptions WithHeader(bool header)
Parameters
headerboolThe value indicating whether to generate the header row.
Returns
- ServerDataExportOptions
The updated server data export options instance (not a new one).
WithOrderBy(string?)
Sets the $orderby ODATA clause.
public ServerDataExportOptions WithOrderBy(string? orderBy)
Parameters
orderBystringThe $orderby ODATA clause.
Returns
- ServerDataExportOptions
The updated server data export options instance (not a new one).
WithProperties(IEnumerable<string>)
Sets the properties to export.
public ServerDataExportOptions WithProperties(IEnumerable<string> properties)
Parameters
propertiesIEnumerable<string>The properties to export.
Returns
- ServerDataExportOptions
The updated server data export options instance (not a new one).
WithSorts(Sort[])
Sets the sorts.
public ServerDataExportOptions WithSorts(Sort[] sorts)
Parameters
sortsSort[]The sorts.
Returns
- ServerDataExportOptions
The updated server data export options instance (not a new one).
WithTimeZone(string?)
Sets the time-zone.
public ServerDataExportOptions WithTimeZone(string? timeZone)
Parameters
timeZonestringThe time-zone.
Returns
- ServerDataExportOptions
The updated server data export options instance (not a new one).
WithUIViewName(string?)
Sets the UI view name.
public ServerDataExportOptions WithUIViewName(string? uiViewName)
Parameters
uiViewNamestringThe UI view name.
Returns
- ServerDataExportOptions
The updated server data export options instance (not a new one).