public DisposableNodeViewProvider( CachingNodeAdapter defaultView, CachingNode suspendableView, ValueNode valueNode) { _defaultView = defaultView; _suspendableView = suspendableView; _valueNode = valueNode; }
public IDisposableNodeViewProvider Create(IValue value) { var coreNode = new ValueNode(new ValueCalculationContext(NodeRepository), value); var cachingNode = new CachingNode(coreNode, new CycleGuard()); var cachingNodeAdapter = new CachingNodeAdapter(cachingNode); return(new DisposableNodeViewProvider(cachingNodeAdapter, cachingNode, coreNode)); }