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); } } }
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); } } }