Class ServerDataExportOptions
- Namespace
- GroupeIsa.Neos.Designer.UIAbstractions
- Assembly
- GroupeIsa.Neos.Designer.UIAbstractions.dll
Represents the server data export options.
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
entityViewName
stringThe entity view name.
fileName
stringThe file name.
format
ExportFormatThe format.
Properties
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
OrderBy
Gets the sort.
public string? OrderBy { get; }
Property Value
Properties
Gets the properties.
public IEnumerable<string>? Properties { get; }
Property Value
Methods
WithCulture(string?)
Sets the culture.
public ServerDataExportOptions WithCulture(string? culture)
Parameters
culture
stringThe culture.
Returns
- ServerDataExportOptions
The server data export options instance.
WithEntityViewParameters(Dictionary<string, object?>?)
Sets the entity view parameters.
public ServerDataExportOptions WithEntityViewParameters(Dictionary<string, object?>? entityViewParameters)
Parameters
entityViewParameters
Dictionary<string, object>The entity view parameteers.
Returns
- ServerDataExportOptions
The server data export options.
WithFilter(Filter?)
Sets the filter.
public ServerDataExportOptions WithFilter(Filter? filter)
Parameters
filter
FilterThe filter.
Returns
- ServerDataExportOptions
The server data export options.
WithFilter(string?)
Sets the $filter ODATA clause.
public ServerDataExportOptions WithFilter(string? filter)
Parameters
filter
stringThe $filter ODATA clause.
Returns
- ServerDataExportOptions
The server data export options.
WithOrderBy(string?)
Sets the $orderby ODATA clause.
public ServerDataExportOptions WithOrderBy(string? orderBy)
Parameters
orderBy
stringThe $orderby ODATA clause.
Returns
- ServerDataExportOptions
The server data export options.
WithProperties(IEnumerable<string>)
Sets the properties to export.
public ServerDataExportOptions WithProperties(IEnumerable<string> properties)
Parameters
properties
IEnumerable<string>The properties to export.
Returns
- ServerDataExportOptions
The server data export options.
WithSorts(Sort[])
Sets the sorts.
public ServerDataExportOptions WithSorts(Sort[] sorts)
Parameters
sorts
Sort[]The sorts.
Returns
- ServerDataExportOptions
The server data export options.