Пример #1
0
 public void OnUserInfoFetched(IGraphUser user)
 {
     owner.user = user;
     owner.UpdateUI();
     // It's possible that we were waiting for this.user to be populated in order to post a
     // status update.
     owner.HandlePendingAction();
 }
Пример #2
0
            public void OnUserInfoFetched(IGraphUser user)
            {
                var oldUser = owner.user;

                owner.user = user;
                if (user != null)
                {
                    if (oldUser == null || oldUser.Id != user.Id)
                    {
                        // Id's are different so we log in
                        owner.AuthThroughBuddy();
                    }
                }
                else
                {
                    // Statics.Repository = null;
                }
                owner.UpdateUI();
            }
			public void OnUserInfoFetched (IGraphUser user)
			{
				owner.user = user;
				owner.UpdateUI ();
				// It's possible that we were waiting for this.user to be populated in order to post a
				// status update.
				owner.HandlePendingAction ();
			}
Пример #4
0
 public GraphController(GraphStatic __baseGraph, IGraphUser __linkedObject)
 {
     _linkedObject = __linkedObject;
     _baseGraph = __baseGraph;
     _currentNode = _baseGraph._nodes[0];
 }
Пример #5
0
 public virtual void OnActivate(IGraphUser __parameter)
 {
 }
Пример #6
0
			public void OnUserInfoFetched(IGraphUser user)
			{
				_owner._user = user;
				_owner.UpdateUI ();
			}