Exemple #1
0
 public void TaskActivated()
 {
     activeSession = new TaskSession ();
     documentStore.RestoreMemento ();
 }
Exemple #2
0
        public void TaskDeactivated()
        {
            documentStore.CaptureMemento ();
            activeSession.EndTime = DateTime.Now;
            Sessions.Add (activeSession);

            // move the item to a new session
            activeSession = new TaskSession ();

            // Store the task information by triggering an update
            TaskForceMain.Instance.StartTFStoreUpdate ();
        }