Beispiel #1
0
 public void LoadDataSources(Action<ActionBase> completedEventHandler)
 {
     if (XenObject == null)
         return;
     GetDataSourcesAction action = new GetDataSourcesAction(XenObject.Connection, XenObject);
     action.Completed += completedEventHandler;
     action.RunAsync();
 }
Beispiel #2
0
 public void LoadDataSources(EventHandler<EventArgs> completedEventHandler)
 {
     if (XenObject == null)
         return;
     GetDataSourcesAction action = new GetDataSourcesAction(XenObject.Connection, XenObject);
     action.Completed += new EventHandler<EventArgs>(completedEventHandler);
     action.RunAsync();
 }