This commit is contained in:
@@ -156,7 +156,7 @@ namespace AyaNova.PlugIn.V8
|
||||
/// then zip it all up into a single archive file and then erase the temporary folder
|
||||
/// </summary>
|
||||
private async void DoExport()
|
||||
{
|
||||
{
|
||||
//Show progress form
|
||||
ProgressForm progress = new ProgressForm();
|
||||
progress.Show();
|
||||
@@ -261,22 +261,7 @@ namespace AyaNova.PlugIn.V8
|
||||
}
|
||||
#endregion locales
|
||||
|
||||
#region REGIONS
|
||||
private void ExportRegions(ProgressForm progress)
|
||||
{
|
||||
// List<string> objectExcludeProperties = new List<string>(standardExcludePropertiesList);
|
||||
|
||||
RegionList l = RegionList.GetList(string.Empty);
|
||||
progress.Append("Dumping " + l.Count.ToString() + " Regions");
|
||||
foreach (RegionList.RegionListInfo i in l)
|
||||
{
|
||||
|
||||
Region o = Region.GetItem(i.LT_Region_Label_Name.Value);
|
||||
//DumpObjectToFolder(tempArchiveFolder, o, "region." + o.ID.ToString(), objectExcludeProperties, new TypeAndID(RootObjectTypes.Region, o.ID));
|
||||
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Seeds
|
||||
private class GZSeeds
|
||||
@@ -434,6 +419,16 @@ namespace AyaNova.PlugIn.V8
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region REGIONS
|
||||
private void ExportRegions(ProgressForm progress)
|
||||
{
|
||||
RegionList l = RegionList.GetList(string.Empty);
|
||||
progress.Append("Compiling " + l.Count.ToString() + " Regions");
|
||||
foreach (RegionList.RegionListInfo i in l)
|
||||
TagMap.Add(i.LT_Region_Label_Name.Value, util.NormalizeTag(i.LT_Region_Label_Name.Display + "." + "region"));
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Client groups
|
||||
private void ExportClientGroups(ProgressForm progress)
|
||||
{
|
||||
@@ -651,6 +646,7 @@ namespace AyaNova.PlugIn.V8
|
||||
private void Tagit(Guid g, List<string> tags)
|
||||
{
|
||||
if (g == Guid.Empty) return;
|
||||
if (!TagMap.ContainsKey(g)) return;
|
||||
var t = TagMap[g];
|
||||
if (!string.IsNullOrWhiteSpace(t))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user