internal void RefreshCustomNodesFromDirectory(CustomNodeManager customNodeManager, bool isTestMode) { LoadedCustomNodes.Clear(); foreach (var x in customNodeManager.AddUninitializedCustomNodesInPath(CustomNodeDirectory, isTestMode)) { LoadedCustomNodes.Add(x); } }
internal void RefreshCustomNodesFromDirectory(CustomNodeManager customNodeManager, bool isTestMode) { LoadedCustomNodes.Clear(); var reloadedCustomNodes = customNodeManager.AddUninitializedCustomNodesInPath( CustomNodeDirectory, isTestMode, new PackageInfo(Name, new Version(versionName))); foreach (var x in reloadedCustomNodes) { LoadedCustomNodes.Add(x); } }