public DetailsPageViewModel(IMarvelService marvelService, IUserDialogs userDialogs) { _serviceMarvel = marvelService; _userDialogs = userDialogs; DataSource = new ObservableCollection <Comic>(); }
public StanLeeBot(ILogger <StanLeeBot> logger, IApplicationLifetime appLifetime, ILoggerFactory loggerFactory, IAppSettings appSettings, IMarvelService marvelService) { _logger = logger; _appLifetime = appLifetime; _loggerFactory = loggerFactory; _appSettings = appSettings; _marvelService = marvelService; }
public MainPageViewModel(INavigationService navigationService, IMarvelService marvelService) { _navigationService = navigationService; _marvelService = marvelService; DataSource = new ObservableCollection <Character>(); SearchCommand = new DelegateCommand(async() => await SearchCommandHandler()); ClearCommand = new DelegateCommand(async() => await ClearCommandHandler()); ItemTappedCommand = new DelegateCommand <Character>(ItemTappedCommandHandler); LoadDataCommand = new DelegateCommand(async() => await LoadDataCommandHandler()); LoadDataCommand?.Execute(null); }
/// <summary> /// Injeção de dependência /// </summary> /// <param name="marvelService"></param> /// <param name="configuration"></param> /// <param name="webHostEnvironment"></param> public MarvelController(IMarvelService marvelService, IConfiguration configuration, IWebHostEnvironment webHostEnvironment) { MarvelService = marvelService; Configuration = configuration; WebHostEnvironment = webHostEnvironment; }
public LoginViewModel(INavigator navigator, IMarvelService servicio, IPage page) : base(navigator, servicio, page) { LoginCommand = new Command(Login); Titulo = "Marvel"; }
public HomeController(IMarvelService marvelService, IHistorySearchService historySearchService) { _marvelService = marvelService; _historySearchService = historySearchService; }
public MarvelController(IMarvelService marvelService, IDataHandler dataHandler) { _marvelService = marvelService; _dataHandler = dataHandler; }
public BaseViewModel(INavigator navigator, IMarvelService servicio, IPage page) { _navigator = navigator; _servicio = servicio; _page = page; }
public MainViewModel(INavigationService navigationService, IPageDialogService pageDialogService, IMarvelService marvelService) : base(navigationService, pageDialogService) { Characters = new ObservableCollection <Character>(); MarvelService = marvelService; }
public MarvelController(IMarvelService s) { marvelService = s; }
public PersonajeDetailViewModel(INavigator navigator, IMarvelService servicio, IPage page) : base(navigator, servicio, page) { }