public VkWallViewViewComponent(ApplicationContext context,
                                       SignInManager <Models.User> signInManager, UserManager <Models.User> userManager,
                                       ITelegramService telegramService,
                                       IJsonService jsonService,
                                       IVkService vkService,
                                       ITextService textService,
                                       IInstagramService instagramService)
        {
            _signInManager = signInManager;
            _userManager   = userManager;
            _context       = context;

            _instagramService = instagramService;
            _telegramService  = telegramService;
            _textService      = textService;
            _jsonService      = jsonService;
            _vkService        = vkService;
        }
Beispiel #2
0
        public MainPresenter(IMain view,
                             IInstagramService instagramService,
                             IMainService mainService,
                             IVkService vkService,
                             IMessageService messegeService)
        {
            _view             = view;
            _instagramService = instagramService;
            _mainService      = mainService;
            _vkService        = vkService;
            _messegeService   = messegeService;

            _view.BLoadContentEvent    += _view_BLoadContent;
            _view.BGetTockenEvent      += _view_BGetTocken;
            _view.BGenerateTockenEvent += _view_BGenerateTocken;
            _view.BPostToVKEvent       += _view_BPostToVKEvent;

            _vkService.AppendProgressMaxValue += _vkService_AppendProgressMaxValue;
            _vkService.AppendProgressMessage  += _vkService_AppendProgressMessage;
            _vkService.AppendProgressValue    += _vkService_AppendProgressValue;
        }
 public InstagramController(IInstagramService instagramService)
 {
     this.instagramService = instagramService;
 }
Beispiel #4
0
 public HomeController(IInstagramService instagramService)
 {
     _instagramService = instagramService;
 }
Beispiel #5
0
 public SocialMediaService(ICacheService cacheService, IInstagramService instagramService)
 {
     _cacheService     = cacheService;
     _instagramService = instagramService;
 }
Beispiel #6
0
 public SocialMediaAdminService(IChapterRepository chapterRepository, IInstagramService instagramService)
     : base(chapterRepository)
 {
     _instagramService = instagramService;
 }
Beispiel #7
0
 public InstagramController(IInstagramService instaService)
 {
     _instaService = instaService;
 }
Beispiel #8
0
 public ImageFeedNotifier()
 {
     _instagramService = new InstagramService();
 }
Beispiel #9
0
 public ImagesController(IInstagramService instagramService)
 {
     _instagramService = instagramService;
 }