Exemple #1
0
 public TagViewModel(string tag, ObservableCollection<Note> notes)
 {
     Tag = tag;
     this.notes = notes;
     Count = new Active<int>(CountTaggedNotes());
     notes.ObserveNoteTagged().Subscribe(OnNoteTagged);
 }