コード例 #1
0
 public PrismContentPage1Services(
     IMessageDataStore messageDataStore,
     IChatDataStore chatDataStore)
 {
     _messageDataStore = messageDataStore;
     _chatDataStore    = chatDataStore;
     $"PrismContentPage1Services check instance {_instance}".ConsoleText();
 }
コード例 #2
0
 public BaseViewModel(IDataStore <User> userDataStore,
                      IConversationsDataStore convDataStore, IMessageDataStore messageDataStore)
 {
     _conversationDataStore = convDataStore;
     _messageDataStore      = messageDataStore;
     _userDataStore         = userDataStore;
     _notBusyObservable     = this.WhenAnyValue(vm => vm.IsBusy, isBusy => !isBusy);
 }
コード例 #3
0
 public ConversationsViewModel(IDataStore <User> userDataStore, IConversationsDataStore convDataStore,
                               IMessageDataStore messageDataStore, INavigationService navigationService)
     : base(userDataStore, convDataStore, messageDataStore)
 {
     _navigationService          = navigationService;
     ConversationSelectedCommand = ReactiveCommand.CreateFromTask <Conversation>(ConversationSelected);
     FilterOptionChangedCommand  = ReactiveCommand.CreateFromTask <bool>(FilterOptionChanged, _notBusyObservable);
 }
コード例 #4
0
 public MessageDataStoreShould(TestFixture fixture)
 {
     _messageDataStore = fixture.DataStore;
 }
コード例 #5
0
 public MessageController(IMessageDataStore messageDataStore)
 {
     _current = messageDataStore;
 }
コード例 #6
0
ファイル: SettingsViewModel.cs プロジェクト: wjax/freechat
 public SettingsViewModel(IDataStore <User> userDataStore, IConversationsDataStore convDataStore,
                          IMessageDataStore messageDataStore) : base(userDataStore, convDataStore, messageDataStore)
 {
 }