Opc.Ua.Com.Client.ComAeClientNodeManager.New C# (CSharp) Method

New() public method

Creates the NodeId for the specified node.
This method is called by the NodeState.Create() method which initializes a Node from the type model. During initialization a number of child nodes are created and need to have NodeIds assigned to them. This implementation constructs NodeIds by constructing strings. Other implementations could assign unique integers or Guids and save the new Node in a dictionary for later lookup.
public New ( ISystemContext context, NodeState node ) : Opc.Ua.NodeId
context ISystemContext The context.
node NodeState The node.
return Opc.Ua.NodeId
        public override NodeId New(ISystemContext context, NodeState node)
        {
            if (node is ServerStatusState)
            {
                return node.NodeId;
            }

            return ParsedNodeId.ConstructIdForComponent(node, NamespaceIndex);
        }
        #endregion