public CategoriaViewModel(IHubApiService hubApiService, Tag tag) { _hubApiService = hubApiService; _tag = tag; Contents = new ObservableCollection <Content>(); ShowContentCommand = new Command <Content>(ExecuteShowContentCommand); }
public ChatController(IIDMService IIDMService, IHubApiService HubApiService, IMailService MailService, ISMSService SMSService) { this.IDMService = IIDMService; this.HubApiService = HubApiService; this.MailService = MailService; this.SMSService = SMSService; }
public MainViewModel(IHubApiService hubApiService) { _hubApiService = hubApiService; SearchCommand = new Command(ExecuteSearchCommand, CanExecuteSearchCommand); Resultados = new ObservableCollection <Tag>(); AboutCommand = new Command(ExecuteAboutCommand); ShowCategoriaCommand = new Command <Tag>(ExecuteShowCategoriaCommand); }