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.
29 lines
893 B
29 lines
893 B
using System;
|
|
using System.Collections.Generic;
|
|
using TNodeCore.Runtime.Models;
|
|
|
|
namespace TNodeCore.Runtime.RuntimeModels{
|
|
public interface IRuntimeNodeGraph{
|
|
public RuntimeNode GetRuntimeNode(NodeData nodeData);
|
|
public RuntimeNode GetRuntimeNode(string id);
|
|
|
|
public List<RuntimeNode> GetRuntimeNodes();
|
|
public Dictionary<string,RuntimeNode> GetRuntimeNodesDictionary();
|
|
|
|
public NodeData GetNode(string id);
|
|
List<RuntimeNode> GetRuntimeNodesOfType(Type type);
|
|
List<RuntimeNode> GetRuntimeNodesOfType<T>();
|
|
|
|
/// <summary>
|
|
/// Return a node if there is a node is concerned
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public void ResetState();
|
|
public NodeData CurrentNode();
|
|
|
|
public RuntimeNode MoveNext();
|
|
public RuntimeNode CurrentRuntimeNode();
|
|
|
|
|
|
}
|
|
} |