Ejemplo n.º 1
0
        public CategoriaViewModel(IHubApiService hubApiService, Tag tag)
        {
            _hubApiService = hubApiService;
            _tag           = tag;

            Contents           = new ObservableCollection <Content>();
            ShowContentCommand = new Command <Content>(ExecuteShowContentCommand);
        }
Ejemplo n.º 2
0
 public ChatController(IIDMService IIDMService,
                       IHubApiService HubApiService,
                       IMailService MailService,
                       ISMSService SMSService)
 {
     this.IDMService    = IIDMService;
     this.HubApiService = HubApiService;
     this.MailService   = MailService;
     this.SMSService    = SMSService;
 }
Ejemplo n.º 3
0
        public MainViewModel(IHubApiService hubApiService)
        {
            _hubApiService = hubApiService;

            SearchCommand = new Command(ExecuteSearchCommand, CanExecuteSearchCommand);

            Resultados = new ObservableCollection <Tag>();

            AboutCommand = new Command(ExecuteAboutCommand);

            ShowCategoriaCommand = new Command <Tag>(ExecuteShowCategoriaCommand);
        }