You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
327 B
10 lines
327 B
using System.Linq;
|
|
using TNodeCore.Runtime.Models;
|
|
|
|
namespace TNodeCore.Runtime.Extensions{
|
|
public static class NodeDataExtensions{
|
|
public static string[] GetDependentNodesId(this RuntimeNode runtimeNode){
|
|
return runtimeNode.InputLinks.Select(x => x.outPort.nodeDataId).ToArray();
|
|
}
|
|
}
|
|
} |