C# 클래스 FiftyOne.Foundation.Mobile.Detection.Readers.SourceFile

Encapsulates either a file containing the uncompressed data structures used by the data set.
Not intended to be used directly by 3rd parties.
상속: SourceFileBase
파일 보기 프로젝트 열기: 51Degrees/dotNET-Device-Detection

공개 메소드들

메소드 설명
Dispose ( ) : void

Closes any file references and then checks to delete the file.

SourceFile ( string fileName, bool isTempFile ) : System

Creates the source from the file provided.

보호된 메소드들

메소드 설명
CreateStream ( ) : Stream

Creates a new stream from the data source.

메소드 상세

CreateStream() 보호된 메소드

Creates a new stream from the data source.
protected CreateStream ( ) : Stream
리턴 System.IO.Stream

Dispose() 공개 메소드

Closes any file references and then checks to delete the file.
public Dispose ( ) : void
리턴 void

SourceFile() 공개 메소드

Creates the source from the file provided.
public SourceFile ( string fileName, bool isTempFile ) : System
fileName string File source of the data
isTempFile bool True if the file should be deleted when the source is disposed
리턴 System