Click or drag to resize

GSF.IO Namespace

Contains classes and extension functions used to simplify and standardize operations related to files and streams.
Classes
  Class Description
Public class BlockAllocatedMemoryStream Defines a stream whose backing store is memory. Externally this class operates similar to a MemoryStream, internally it uses dynamically allocated buffer blocks instead of one large contiguous array of data.
Public class CachedFileStream Represents a file stream that caches recently used blocks in memory.
Public class ExportDestination Represents a destination location when exporting data using MultipleDestinationExporter.
Public class FilePath Contains File and Path manipulation methods.
Public class FileProcessor Tracks files processed in a list of directories, and notifies when new files become available to be processed.
Public class FileProcessorEventArgs Arguments to events triggered by the FileProcessor.
Public class InterprocessCache Represents a serialized data cache that can be saved or read from multiple applications using inter-process synchronization.
Public class Code example IsamDataFileBaseT An abstract class that defines the read/write capabilities for ISAM (Indexed Sequential Access Method) file.
Public class Code example LogFile Represents a file that can be used for logging messages in real-time.
Public class Code example MultipleDestinationExporter Handles the exporting of a file to multiple destinations that are defined in the config file.
Public class Outage Represents an outage as a start time and an end time.
Public class OutageLog Represents a persisted log of outages as a list of start and stop times.
Public class OutageLogProcessor Represents a thread-safe OutageLog processor that will operate on each Outage with a consumer provided function on independent threads.
Public class RunTimeLog Represents a persisted run-time log that tracks last start, stop and running times.
Public class SafeFileWatcher Represents a wrapper around the native .NET FileSystemWatcher that avoids problems with dangling references when using a file watcher instance as a class member that never gets disposed.
Public class StreamExtensions Defines extension functions related to Stream manipulation.
Enumerations
  Enumeration Description
Public enumeration FileEnumerationStrategy Defines strategies for enumerating files in the watch directories.
Public enumeration LogFileFullOperation Specifies the operation to be performed on the LogFile when it is full.