public Node(string name, INodeStrategy strategy) { Name = name; Strategy = strategy; Inputs = new List <Node>(); Outputs = new List <Node>(); }
public NodeStrategy(INodeStrategy <EndpointDetails> endpointNodeStrategy, INodeStrategy <ProcessedMessage> messageNodeStrategy) { _endpointNodeStrategy = endpointNodeStrategy; _messageNodeStrategy = messageNodeStrategy; }
public void Add(string intent, INodeStrategy <ProcessedMessage> strategy) { _strategyMap.Add(intent, strategy); }
public IntentBasedMessageNodeStrategy(INodeStrategy <ProcessedMessage> defaultStrategy) { _defaultStrategy = defaultStrategy; }