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

Base class for file sources.
Not intended to be used directly by 3rd parties.
상속: SourceBase
파일 보기 프로젝트 열기: 51Degrees/dotNET-Device-Detection

보호된 프로퍼티들

프로퍼티 타입 설명
_fileInfo System.IO.FileInfo
_isTempFile bool

보호된 메소드들

메소드 설명
DeleteFile ( ) : void

Delete the file if it's a temporary file and it still exists.

SourceFileBase ( string fileName, bool isTempFile ) : System

Base for all file data sources.

메소드 상세

DeleteFile() 보호된 메소드

Delete the file if it's a temporary file and it still exists.
protected DeleteFile ( ) : void
리턴 void

SourceFileBase() 보호된 메소드

Base for all file data sources.
protected SourceFileBase ( 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

프로퍼티 상세

_fileInfo 보호되어 있는 프로퍼티

The file containing the source data.
protected FileInfo,System.IO _fileInfo
리턴 System.IO.FileInfo

_isTempFile 보호되어 있는 프로퍼티

True if the file is temporary and should be deleted when the source is disposed of.
protected bool _isTempFile
리턴 bool