Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GoalViewModel"/> class
 /// </summary>
 public GoalViewModel()
     : base()
 {
     this.SortItems     = new RelayCommand(this.HandleSortItems);
     this.AddNewSubtask = new RelayCommand(this.HandleAddNewSubtask);
     this.DeleteSubtask = new RelayCommand(this.HandleDeleteSubtask);
     this.itemPool      = DataTranslator <Goal> .Deserialize();
 }
Esempio n. 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="NoteViewModel"/> class
        /// </summary>
        public NoteViewModel()
            : base()
        {
            this.SortItems = new RelayCommand(this.HandleSortItems);
            this.itemPool  = DataTranslator <Note> .Deserialize();

            try
            {
                client = new FireSharp.FirebaseClient(fcon);
            }
            catch
            {
            }
        }
Esempio n. 3
0
        public GoalViewModel()
            : base()
        {
            this.SortItems     = new RelayCommand(this.HandleSortItems);
            this.AddNewSubtask = new RelayCommand(this.HandleAddNewSubtask);
            this.DeleteSubtask = new RelayCommand(this.HandleDeleteSubtask);
            this.itemPool      = DataTranslator <Goal> .Deserialize();

            try
            {
                client = new FireSharp.FirebaseClient(fcon);
            }
            catch
            {
            }
        }
Esempio n. 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MeetingViewModel"/> class
 /// </summary>
 public MeetingViewModel()
     : base()
 {
     this.SortItems = new RelayCommand(this.Sort);
     this.itemPool  = DataTranslator <Meeting> .Deserialize();
 }
Esempio n. 5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NoteViewModel"/> class
 /// </summary>
 public NoteViewModel()
     : base()
 {
     this.SortItems = new RelayCommand(this.HandleSortItems);
     this.itemPool  = DataTranslator <Note> .Deserialize();
 }