diff --git a/ShowScripts/AddScriptsToList.cs b/ShowScripts/AddScriptsToList.cs index fa22c11..06fc1db 100644 --- a/ShowScripts/AddScriptsToList.cs +++ b/ShowScripts/AddScriptsToList.cs @@ -273,9 +273,6 @@ public static void ImportScripts(IEnumerable screens, string fileDire /// e.g. Dynamization.Trigger.Type=4, Dynamization.Trigger.Tags='Refresh_tag' public static void ExportScripts(IEnumerable screens, string fileDirectory, string screenName, string whereCondition = "", string sets = "", bool deepSearch = false) { - var dynamizationList = new List(); - var eveList = new List(); - var screenDynEventList = new List(); var csvStringP = new List(); string _screenName = ""; @@ -356,6 +353,9 @@ public static void ExportScripts(IEnumerable screens, string fileDire foreach (var screen in screens.Where(s => Regex.Matches(s.Name, _screenName, RegexOptions.IgnoreCase).Count > 0)) { + var dynamizationList = new List(); + var eveList = new List(); + var screenDynEventList = new List(); // inits Console.WriteLine(screen.Name); tagNames = new List();