Example #1
0
 private void getLayersInGroupLayer(Resource parentResource, object userState)
 {
     groupLayer = new GroupLayer(parentResource.Url, parentResource.ProxyUrl);
     groupLayer.GetGroupLayerDetailsFailed += (o, e) =>
     {
         OnGetChildResourcesFailed(e);
     };
     groupLayer.GetGroupLayerDetailsCompleted += (o, e) =>
     {
         OnGetChildResourcesCompleted(new GetChildResourcesCompletedEventArgs()
         {
             ChildResources = e.ChildResources, UserState = e.UserState
         });
     };
     groupLayer.GetGroupLayerDetails(userState);
 }
 private void getLayersInGroupLayer(Resource parentResource, object userState)
 {
     groupLayer = new GroupLayer(parentResource.Url, parentResource.ProxyUrl);
     groupLayer.GetGroupLayerDetailsFailed += (o, e) =>
     {
         OnGetChildResourcesFailed(e);
     };
     groupLayer.GetGroupLayerDetailsCompleted += (o, e) =>
     {
         OnGetChildResourcesCompleted(new GetChildResourcesCompletedEventArgs() { ChildResources = e.ChildResources, UserState = e.UserState });
     };
     groupLayer.GetGroupLayerDetails(userState);
 }