Class AbstractFileOptions
Provides the base options for all file-based inputs/output.
Inheritance
IDisposable
AbstractFileOptions
Inherited Members
Namespace: Mars.Interfaces.Model.Options
Assembly: Mars.Interfaces.dll
Syntax
public abstract class AbstractFileOptions : AbstractOptions
Constructors
AbstractFileOptions()
Declaration
public AbstractFileOptions()
Properties
ChunkSize
Gets or sets the chunk size for UTF8 values serialization
As values will be written into a file directly this need additional I/O
which will often be grouped into greater chunks, to write only once.
Default is = 4096
Declaration
public int ChunkSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
DistinctFiles
Gets or sets a flag indicating, that each output shall be separated by one file. That means
for each output an individual *.geojson file will be created.
Declaration
public bool DistinctFiles { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Encoding
Gets or sets the encoding, so in which text code format value shall be serialized.
Declaration
public Encoding Encoding { get; set; }
Property Value
Type | Description |
---|---|
Encoding |
FileSuffix
Gets or sets the suffix what shall be append to the output CSV file to distinguish multiple results.
Default is empty suffix so that the result file is named according to the type name.
Declaration
public string FileSuffix { get; set; }
Property Value
Type | Description |
---|---|
System.String |
OutputPath
Gets or sets the relative output path used to create simulation results.
Declaration
public string OutputPath { get; set; }
Property Value
Type | Description |
---|---|
System.String |