Represents construction options of the writer.
Namespace: DotNext.IO Assembly: DotNext.IO.dll Syntaxpublic readonly struct FileBufferingWriter.Options
Properties | Edit this page View Source AsyncIO
To enable asynchronous I/O operations.
Declarationpublic bool AsyncIO { get; init; }
Property Value | Edit this page View Source FileBufferSize
Gets or sets memory buffer for file I/O operations.
Declarationpublic int FileBufferSize { get; init; }
Property Value | Edit this page View Source FileName
Defines the path to the file to be used as backing store for the written content when in-memory buffer overlfows.
Declarationpublic string FileName { init; }
Property Value | Edit this page View Source InitialCapacity
Initial capacity of internal buffer. Should not be greater than MemoryThreshold.
Declarationpublic int InitialCapacity { get; init; }
Property Value | Edit this page View Source MeasurementTags
Sets a list of tags to be associated with each measurement.
Declaration[CLSCompliant(false)]
public TagList MeasurementTags { get; init; }
Property Value | Edit this page View Source MemoryAllocator
Gets or sets the allocator of internal buffer.
Declarationpublic MemoryAllocator<byte>? MemoryAllocator { get; init; }
Property Value | Edit this page View Source MemoryThreshold
The maximum amount of memory in bytes to allocate before switching to a file on disk.
Declarationpublic int MemoryThreshold { get; init; }
Property Value | Edit this page View Source TempDir
Defines the path to the existing directory for placing temporary file to be used as backing store for the written content when in-memory buffer overflows.
Declarationpublic string? TempDir { init; }
Property Value | Edit this page View Source UseTemporaryFile
Gets a value indicating that the backing store for the writer should be represented by temporary file which will be deleted automatically.
Declarationpublic bool UseTemporaryFile { get; }
Property Value | Edit this page View Source WriteThrough
Indicates that the system should write through any intermediate cache and go directly to disk.
Declarationpublic bool WriteThrough { get; init; }
Property Value Extension Methods
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4