コード例 #1
0
 public AddParticipantsViewModel(ParticipantService participantService)
     : this()
 {
     AvaibleParticipants = new ObservableCollection<AlphaKeyGroup<IParticipant>>();
     ChosenParticipants = new ObservableCollection<IParticipant>();
     ParticipantService = participantService;
     ChosenParticipants.CollectionChanged += ChosenParticipantsOnCollectionChanged;
 }
コード例 #2
0
ファイル: App.xaml.cs プロジェクト: ravado/Foodler
 private void LoadContactsToDatabase()
 {
     var service = new ParticipantService();
     service.LoadContactsToDbAsync();
 }