public SyntheticGIFPageViewModel(IAppService appService, IGifService gifService) : base(appService)
        {
            //Gifs = new ObservableCollection<GifSM>()
            //{
            //    new GifSM()
            //    {
            //        Url = "http://res.cloudinary.com/bongvl/image/upload/v1471705758/ccrrzjhmrgnlfxez65wy.mp4",
            //        Thumbnail = "http://res.cloudinary.com/bongvl/image/upload/v1471705758/ccrrzjhmrgnlfxez65wy.png",
            //        Width = 639,
            //        Height = 387
            //    },
            //    new GifSM()
            //    {
            //        Url = "http://res.cloudinary.com/bongvl/image/upload/v1469802320/joo4zhusnhe9ygthpqsn.mp4",
            //        Thumbnail = "http://res.cloudinary.com/bongvl/image/upload/v1469802320/joo4zhusnhe9ygthpqsn.png",
            //        Width = 639,
            //        Height = 431
            //    },
            //    new GifSM()
            //    {
            //        Url = "http://res.cloudinary.com/bongvl/image/upload/v1467095733/mfnyjj3mh2u3hapalyeh.mp4",
            //        Thumbnail = "http://res.cloudinary.com/bongvl/image/upload/v1467095733/mfnyjj3mh2u3hapalyeh.png",
            //        Width = 639,
            //        Height = 357
            //    },
            //    new GifSM()
            //    {
            //        Url = "https://media.giphy.com/media/PjYfyarIEsNGM/giphy.mp4",
            //        Thumbnail = "https://media.giphy.com/media/PjYfyarIEsNGM/giphy.gif",
            //        Width = 480,
            //        Height = 364
            //    },
            //};

            _gifService = gifService;

            // Register commands
            RefreshCommand  = DelegateCommand.FromAsyncHandler(ExecuteRefreshCommand, CanExecuteRefreshCommand);
            LoadMoreCommand = DelegateCommand <GifPost> .FromAsyncHandler(ExecuteLoadMoreCommand, CanExecuteLoadMoreCommand);
        }
Ejemplo n.º 2
0
 public GifController(IGifService gifService, IFileService fileService)
 {
     _gifService  = gifService;
     _fileService = fileService;
 }
Ejemplo n.º 3
0
 public ApiMoudle(IJokeClient jokeClient, IGifService gifService)
 {
     _jokeClient = jokeClient;
     _gifService = gifService;
 }
Ejemplo n.º 4
0
 public AdultsGIFPageViewModel(IAppService appService, IGifService gifService) : base(appService)
 {
     _gifService = gifService;
     Message     = "This is Adults Gif page.";
 }
 public GifController(ILogger <GifController> logger, IGifService gifService)
 {
     _logger     = logger;
     _gifService = gifService;
 }
Ejemplo n.º 6
0
 public GifModule(IGifService service)
 {
     this.service = service;
 }