C# Класс GSF.IO.FileStructure.SimplifiedFileWriter

Assists in the writing of a simplified file. This file can only be appended to and it must be sequentially written.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
m_stream System.IO.FileStream

Открытые методы

Метод Описание
Commit ( ) : void

Commits the changes to the disk.

CreateFile ( SubFileName fileName ) : ISupportsBinaryStream

Creates and Opens a new file on the current file system.

Dispose ( ) : void

Releases all the resources used by the SimplifiedFileWriter object.

SimplifiedFileWriter ( string pendingFileName, string completeFileName, int blockSize ) : System

Creates a simplified file writer.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Releases the unmanaged resources used by the SimplifiedFileWriter object and optionally releases the managed resources.

Приватные методы

Метод Описание
CloseCurrentFile ( ) : void

Описание методов

Commit() публичный Метод

Commits the changes to the disk.
public Commit ( ) : void
Результат void

CreateFile() публичный Метод

Creates and Opens a new file on the current file system.
public CreateFile ( SubFileName fileName ) : ISupportsBinaryStream
fileName SubFileName
Результат ISupportsBinaryStream

Dispose() публичный Метод

Releases all the resources used by the SimplifiedFileWriter object.
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

Releases the unmanaged resources used by the SimplifiedFileWriter object and optionally releases the managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
Результат void

SimplifiedFileWriter() публичный Метод

Creates a simplified file writer.
public SimplifiedFileWriter ( string pendingFileName, string completeFileName, int blockSize ) : System
pendingFileName string
completeFileName string
blockSize int
Результат System

Описание свойств

m_stream публичное свойство

public FileStream,System.IO m_stream
Результат System.IO.FileStream