Method LoadFile
LoadFile(string, IStringImport)
When implemented by a class, loads content from the given file with specified importer.
bool LoadFile(string fileName, IStringImport importer)
Parameters
fileName
stringName of file to load content.
importer
IStringImportSpecifies importer to load content.
Returns
- bool
True is succeed; otherwise false.
LoadFile(string, IStringImport, Encoding)
When implemented by a class, loads content from the given file with specified importer and specific encoding.
bool LoadFile(string fileName, IStringImport importer, Encoding encoding)
Parameters
fileName
stringName of file to load content.
importer
IStringImportSpecifies importer to load content.
encoding
EncodingSpecifies the character encoding to use.
Returns
- bool
True is succeed; otherwise false.