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.
파일 보기 프로젝트 열기: BloomBooks/BloomDesktop 1 사용 예제들

공개 메소드들

메소드 설명
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