コード例 #1
0
        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;
        }
コード例 #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;
        }
コード例 #3
0
 public InstagramController(IInstagramService instagramService)
 {
     this.instagramService = instagramService;
 }
コード例 #4
0
 public HomeController(IInstagramService instagramService)
 {
     _instagramService = instagramService;
 }
コード例 #5
0
 public SocialMediaService(ICacheService cacheService, IInstagramService instagramService)
 {
     _cacheService     = cacheService;
     _instagramService = instagramService;
 }
コード例 #6
0
 public SocialMediaAdminService(IChapterRepository chapterRepository, IInstagramService instagramService)
     : base(chapterRepository)
 {
     _instagramService = instagramService;
 }
コード例 #7
0
 public InstagramController(IInstagramService instaService)
 {
     _instaService = instaService;
 }
コード例 #8
0
ファイル: INotifier.cs プロジェクト: magnushg/Awesome-SPA
 public ImageFeedNotifier()
 {
     _instagramService = new InstagramService();
 }
コード例 #9
0
 public ImagesController(IInstagramService instagramService)
 {
     _instagramService = instagramService;
 }