C# Class FiftyOne.Foundation.Mobile.Detection.Readers.SourceFileBase

Base class for file sources.
Not intended to be used directly by 3rd parties.
Inheritance: SourceBase
Afficher le fichier Open project: 51Degrees/dotNET-Device-Detection

Protected Properties

Свойство Type Description
_fileInfo System.IO.FileInfo
_isTempFile bool

Méthodes protégées

Méthode Description
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.

Method Details

DeleteFile() protected méthode

Delete the file if it's a temporary file and it still exists.
protected DeleteFile ( ) : void
Résultat void

SourceFileBase() protected méthode

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
Résultat System

Property Details

_fileInfo protected_oe property

The file containing the source data.
protected FileInfo,System.IO _fileInfo
Résultat System.IO.FileInfo

_isTempFile protected_oe property

True if the file is temporary and should be deleted when the source is disposed of.
protected bool _isTempFile
Résultat bool