protected virtual void OnExportStarting(TableInfo tableInfo) { timer.Restart(); args = new DataExportArgs(); args.ImportStart = DateTime.Now; args.Table = tableInfo; ExportStarting?.Invoke(this, args); }
private void StartExport() { data = new ExportData(); LogUtility.LogInfo("Exporting Mod: " + ExportSettings.name); ExportStarting?.Invoke(); currentStep = 0; Continue(); }
/// <summary> /// Start exporting a Mod. /// </summary> /// <param name="settings">The settings to use for exporting the Mod.</param> public void ExportMod(ExportSettings settings) { if (isExporting) { LogUtility.LogError("Already exporting"); return; } this.settings = settings; data = new ExportData(); LogUtility.LogInfo("Exporting Mod: " + settings.name); ExportStarting?.Invoke(); currentStep = 0; Continue(); }