Méthode | Description | |
---|---|---|
ClearCache ( ) : void |
Clears the cache.
|
|
FileReader ( string dataPhysicalPath, string defaultLanguage, ILanguageManagerProvider languageManagerProvider, bool disableCache = false ) : System |
Initializes a new instance of the FileReader class.
|
|
GetFilePath ( string fileName ) : string |
Get file path
|
|
GetFilePath ( string fileName, string language ) : string |
Get extension data file path for specific language
|
|
LoadTextDocument ( string fileName, bool memoryCache = false ) : string |
Load text from a extension data file
|
|
LoadTextDocument ( string fileName, string language, bool memoryCache = false ) : string |
Load text from a file with specific language
|
|
LoadXDocument ( string fileName, bool memoryCache = false ) : System.Xml.Linq.XDocument |
Load xml document from a file
|
|
LoadXDocument ( string fileName, string language, bool memoryCache = false ) : System.Xml.Linq.XDocument |
Load xml document from a file with specific language
|
|
Setup ( ) : void |
Setups the file reader.
|
Méthode | Description | |
---|---|---|
TryToLoadTextDocumentFromCache ( string fileName, string language, string &data ) : bool | ||
TryToLoadXDocumentFromCache ( string fileName, string language, System.Xml.Linq.XDocument &data ) : bool |
public FileReader ( string dataPhysicalPath, string defaultLanguage, ILanguageManagerProvider languageManagerProvider, bool disableCache = false ) : System | ||
dataPhysicalPath | string | The data physical path. |
defaultLanguage | string | The default language. |
languageManagerProvider | ILanguageManagerProvider | The language manager provider. |
disableCache | bool | Disable FileReader cache. |
Résultat | System |
public GetFilePath ( string fileName ) : string | ||
fileName | string | File name |
Résultat | string |
public GetFilePath ( string fileName, string language ) : string | ||
fileName | string | File name |
language | string | File language |
Résultat | string |
public LoadTextDocument ( string fileName, bool memoryCache = false ) : string | ||
fileName | string | File name |
memoryCache | bool | Load file from memory cache if possible. |
Résultat | string |
public LoadTextDocument ( string fileName, string language, bool memoryCache = false ) : string | ||
fileName | string | File name |
language | string | File language |
memoryCache | bool | Load file from memory cache if possible. |
Résultat | string |
public LoadXDocument ( string fileName, bool memoryCache = false ) : System.Xml.Linq.XDocument | ||
fileName | string | File name |
memoryCache | bool | Load file from memory cache if possible. |
Résultat | System.Xml.Linq.XDocument |
public LoadXDocument ( string fileName, string language, bool memoryCache = false ) : System.Xml.Linq.XDocument | ||
fileName | string | File name |
language | string | File language |
memoryCache | bool | Load file from memory cache if possible. |
Résultat | System.Xml.Linq.XDocument |