예제 #1
0
        private void OnGetMapsNodesCompleted(object sender, GetMapsNodesCompletedEventArgs e)
        {
            if (e.Error == null)
            {
                List <INodeProxy> nodes = BuildNodeList(e.Result);

                ReturnedNodesEventArgs eventArgs = new ReturnedNodesEventArgs(e.Result.SearchedNode, nodes.ToArray());

                if (GetMapsNodesCompleted != null)
                {
                    GetMapsNodesCompleted.Invoke(this, eventArgs);
                }
            }
        }
예제 #2
0
        private void OnGetMapsNodesCompleted(object sender, GetMapsNodesCompletedEventArgs e)
        {
            if (e.Error == null)
            {
                List<INodeProxy> nodes = BuildNodeList(e.Result);

                ReturnedNodesEventArgs eventArgs = new ReturnedNodesEventArgs(e.Result.SearchedNode, nodes.ToArray());

                if (GetMapsNodesCompleted != null)
                {
                    GetMapsNodesCompleted.Invoke(this, eventArgs);
                }
            }
        }