C# Класс Bloom.RobustIO

Provides a more robust version of various IO methods. The original intent of this class is to attempt to mitigate issues where we attempt IO but the file is locked by another application. Our theory is that some anti-virus software locks files while it scans them. There is a similar class in SIL.IO, but that handles more generic calls which would not require additional dependencies.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
CreateWaveFileReader ( string wavFile ) : NAudio.Wave.WaveFileReader
DocumentFromFile ( string filePath ) : TidyManaged.Document
MetadataFromFile ( string path ) : SIL.Windows.Forms.ClearShare.Metadata
SavePalasoImage ( SIL.Windows.Forms.ImageToolbox.PalasoImage image, string path ) : void

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

CreateWaveFileReader() публичный статический Метод

public static CreateWaveFileReader ( string wavFile ) : NAudio.Wave.WaveFileReader
wavFile string
Результат NAudio.Wave.WaveFileReader

DocumentFromFile() публичный статический Метод

public static DocumentFromFile ( string filePath ) : TidyManaged.Document
filePath string
Результат TidyManaged.Document

MetadataFromFile() публичный статический Метод

public static MetadataFromFile ( string path ) : SIL.Windows.Forms.ClearShare.Metadata
path string
Результат SIL.Windows.Forms.ClearShare.Metadata

SavePalasoImage() публичный статический Метод

public static SavePalasoImage ( SIL.Windows.Forms.ImageToolbox.PalasoImage image, string path ) : void
image SIL.Windows.Forms.ImageToolbox.PalasoImage
path string
Результат void