protected virtual NodeHandle GetManagerHandle(ServerSystemContext context, NodeId nodeId, IDictionary<NodeId,NodeState> cache)
{
if (!IsNodeIdInNamespace(nodeId))
{
return null;
}
if (m_predefinedNodes != null)
{
NodeState node = null;
if (m_predefinedNodes.TryGetValue(nodeId, out node))
{
NodeHandle handle = new NodeHandle();
handle.NodeId = nodeId;
handle.Node = node;
handle.Validated = true;
return handle;
}
}
return null;
}