/// <summary> /// Provides example code for the LoadAsync(Uri, Object) method /// </summary> public static void LoadAsyncExample() { AtomEntry entry = new AtomEntry(); entry.Loaded += new EventHandler <SyndicationResourceLoadedEventArgs>(EntryLoadedCallback); entry.LoadAsync(new Uri("http://www.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=Argotic&DownloadId=28707"), null); }
//============================================================ // ASYNC METHODS //============================================================ /// <summary> /// Provides example code for the LoadAsync(Uri, Object) method /// </summary> public static void LoadAsyncExample() { #region LoadAsync(Uri source, Object userToken) //------------------------------------------------------------ // Load entry asynchronously using event-based notification //------------------------------------------------------------ AtomEntry entry = new AtomEntry(); entry.Loaded += new EventHandler <SyndicationResourceLoadedEventArgs>(EntryLoadedCallback); entry.LoadAsync(new Uri("http://www.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=Argotic&DownloadId=28707"), null); #endregion }