Esempio n. 1
0
 public void SetFeed(string User, GitHub.Feed value)
 {
     Debug.WriteLine($"AlphaDomain::SetFeed({User},...); ");
     lock (FeedCache)
     {
         FeedCache[User] = value;
     }
 }
Esempio n. 2
0
 public AlphaFeedPage(string User)
 {
     Title = L["Activity"];
     Domain.GetFeed(User).ContinueWith
     (
         t => Device.BeginInvokeOnMainThread
         (
             () =>
     {
         if (null == t.Exception)
         {
             Feed = t.Result;
             Build();
         }
         else
         {
             Debug.WriteLine(t.Exception);
             AlphaFactory.MakeSureApp().Navigation.PopAsync();
         }
     }
         )
     );
 }