[doc] Import documentation updates

This commit is contained in:
Matt Nadareski
2016-05-09 15:49:34 -07:00
parent f56bfcabed
commit 186b85a6b0

View File

@@ -37,6 +37,13 @@ namespace SabreTools
private static string _truripPattern = @"^(.*) - .* \(trurip_XML\)\.dat$"; private static string _truripPattern = @"^(.*) - .* \(trurip_XML\)\.dat$";
private static string _zandroPattern = @"^SMW-.*.xml"; private static string _zandroPattern = @"^SMW-.*.xml";
/// <summary>
/// Initialize an Import object with the given information
/// </summary>
/// <param name="datroot">Root directory where all DAT files are held</param>
/// <param name="connectionString">Connection string for SQLite</param>
/// <param name="logger">Logger object for file or console output</param>
/// <param name="ignore">False if each DAT that has no defined source asks for user input (default), true otherwise</param>
public Import(string datroot, string connectionString, Logger logger, bool ignore = false) public Import(string datroot, string connectionString, Logger logger, bool ignore = false)
{ {
_datroot = datroot; _datroot = datroot;
@@ -48,7 +55,7 @@ namespace SabreTools
/// <summary> /// <summary>
/// Perform initial or incremental import of DATs in the root folder /// Perform initial or incremental import of DATs in the root folder
/// </summary> /// </summary>
/// <param name="ignore">False if each DAT that has no defined source asks for user input (default), true otherwise</param> /// <returns>True if the data could be inserted or updated correctly, false otherwise</returns>
public bool ImportData() public bool ImportData()
{ {
_logger.Log("Beginning import/update process"); _logger.Log("Beginning import/update process");