Ejemplo n.º 1
0
 private EventService()
 {
     EventList        = new SortableObservableCollection <Event>();
     localDb          = new LocalDatabaseAccess();
     fbClient         = new FacebookClient();
     CurrentSyncState = new SyncState();
     SessionInformationProvider.INSTANCE.SessionStateChanged += (sender, e) =>
     {
         if (e is SessionState)
         {
             SessionState state = e as SessionState;
             if (state.IsAuthenticated == false)
             {
                 EventList.Clear();
             }
         }
     };
 }
Ejemplo n.º 2
0
 private void Initialize()
 {
     Images       = new SortableObservableCollection <EventImage>();
     Contributors = new SortableObservableCollection <EventMember>();
     Cover        = new CoverImage();
 }