Exemplo n.º 1
0
 /**
  * @param ContactsStore store
  * @param ActionProviderStore actionProviderStore
  * @param IAppManager appManager
  */
 public Manager(ContactsStore store, ActionProviderStore actionProviderStore, IAppManager appManager, IConfig config)
 {
     this.store = store;
     this.actionProviderStore = actionProviderStore;
     this.appManager          = appManager;
     this.config = config;
 }
Exemplo n.º 2
0
        public ContactsViewModel(IContactsStore contactsStore, IMessageReader messageReaderService)
        {
            _contactsStore        = contactsStore;
            _messageReaderService = messageReaderService;

            Title    = "Contacts";
            Contacts = new ObservableCollection <Contact>();

            LoadContactsCommand = new Command(async() => await ExecuteLoadContactsCommand());
            ReadMessagesCommand = new Command(async() => await ExecuteReadMessagesCommand());
        }
Exemplo n.º 3
0
 public MyController(IContactsStore contactsStore)
 {
     this.contactsStore = contactsStore;
 }
Exemplo n.º 4
0
 public ContactsController(IContactsStore store)
 {
     _contactsStore = store;
 }
Exemplo n.º 5
0
 public ContactController(IContactsStore store)
 {
     this.store = store;
 }
Exemplo n.º 6
0
 public ContactsController(IContactsStore store)
 {
     _store = store ?? throw new ArgumentNullException(nameof(store));
 }