public virtual void VisitAlphaMemoryNode <T>(TContext context, IAlphaMemoryNode <T> node) where T : class { foreach (IFactSink <T> sink in node.GetSinks()) { sink.Accept(this, context); } }
public override void VisitAlphaMemoryNode <T>(GraphContext context, IAlphaMemoryNode <T> node) { var nodeInfo = new Node(Interlocked.Increment(ref _id), node, typeof(T), "a-memory"); context.Add(nodeInfo); foreach (var sink in node.GetSinks()) { context.Link(nodeInfo, new Node(-1, sink as INode, typeof(T), "")); } base.VisitAlphaMemoryNode(context, node); }