Opc.Ua.Com.Server.ComAe2Browser.ComAe2Browser C# (CSharp) Method

ComAe2Browser() public method

Initializes a new instance of the ComHdaBrowser class.
public ComAe2Browser ( ComAe2Proxy server, ComAe2ProxyConfiguration configuration, ComAeNamespaceMapper mapper ) : System
server ComAe2Proxy
configuration ComAe2ProxyConfiguration
mapper ComAeNamespaceMapper
return System
        public ComAe2Browser(ComAe2Proxy server, ComAe2ProxyConfiguration configuration, ComAeNamespaceMapper mapper)
        {
            m_server = server;
            m_configuration = configuration;
            m_mapper = mapper;

            m_cache = new Dictionary<string, AeBrowseElement>();

            AeBrowseElement root = new AeBrowseElement();
            root.NodeId = Opc.Ua.ObjectIds.Server;
            root.ItemId = String.Empty;
            root.BrowseText = String.Empty;
            root.IsArea = true;
            root.Duplicated = false;

            m_cache[String.Empty] = root;
            m_position = root;
        }
        #endregion