Esempio n. 1
0
        internal void RefreshCustomNodesFromDirectory(CustomNodeManager customNodeManager, bool isTestMode)
        {
            LoadedCustomNodes.Clear();

            foreach (var x in customNodeManager.AddUninitializedCustomNodesInPath(CustomNodeDirectory, isTestMode))
                LoadedCustomNodes.Add(x);
        }
Esempio n. 2
0
 public void LoadCustomNodesAndPackages(LoadPackageParams loadPackageParams, CustomNodeManager customNodeManager)
 {
     foreach(var path in loadPackageParams.Preferences.CustomPackageFolders){
         customNodeManager.AddUninitializedCustomNodesInPath(path, false, false);
         if (!this.packagesDirectories.Contains(path))
         {
             this.packagesDirectories.Add(path);
         }
     }
     LoadAll(loadPackageParams);
 }