Opc.Ua.Server.CustomNodeManager2.ValidateNode C# (CSharp) Method

ValidateNode() protected method

Verifies that the specified node exists.
protected ValidateNode ( ServerSystemContext context, NodeHandle handle, NodeState>.IDictionary cache ) : NodeState
context ServerSystemContext
handle NodeHandle
cache NodeState>.IDictionary
return NodeState
        protected virtual NodeState ValidateNode(
            ServerSystemContext context, 
            NodeHandle handle,
            IDictionary<NodeId,NodeState> cache)
        {
            // lookup in cache.
            NodeState target = FindNodeInCache(context, handle, cache);

            if (target != null)
            {
                handle.Node = target;
                handle.Validated = true;
                return handle.Node;
            }

            // return default.
            return handle.Node;
        }
CustomNodeManager2