public static IEnumerable<NodeInfo> GetNodeInfoWithValues(PSObject func, object arguments = null, DataNameToInputMap map = null) { Function f = ToFunction(func); FunctionGetNodeInfo w; if (arguments == null) w = new FunctionGetNodeInfo(f, true, null, null); else if (arguments is Hashtable) w = new FunctionGetNodeInfo(f, true, arguments as Hashtable); else w = new FunctionGetNodeInfo(f, true, null, arguments as Minibatch, map); return w.GetNodeInfo(); }
public static IEnumerable<NodeInfo> GetNodeInfo(PSObject func) { Function f = ToFunction(func); var w = new FunctionGetNodeInfo(f, false); return w.GetNodeInfo(); }