Example #1
0
        public ImgurWriter(DiskWriter DiskWriter,
                           ISystemTray SystemTray,
                           IMessageProvider MessageProvider,
                           Settings Settings,
                           LanguageManager LanguageManager)
        {
            _diskWriter      = DiskWriter;
            _systemTray      = SystemTray;
            _messageProvider = MessageProvider;
            _settings        = Settings;
            _loc             = LanguageManager;

            LanguageManager.LanguageChanged += L => RaisePropertyChanged(nameof(Display));
        }
Example #2
0
        public ImgurWriter(DiskWriter DiskWriter,
                           ISystemTray SystemTray,
                           IMessageProvider MessageProvider,
                           Settings Settings,
                           LanguageManager LanguageManager,
                           IRecentList RecentList,
                           IIconSet Icons)
        {
            _diskWriter      = DiskWriter;
            _systemTray      = SystemTray;
            _messageProvider = MessageProvider;
            _settings        = Settings;
            _loc             = LanguageManager;
            _recentList      = RecentList;
            _icons           = Icons;

            LanguageManager.LanguageChanged += L => RaisePropertyChanged(nameof(Display));
        }
Example #3
0
        public ImageUploadWriter(DiskWriter DiskWriter,
                                 ISystemTray SystemTray,
                                 IMessageProvider MessageProvider,
                                 Settings Settings,
                                 ILocalizationProvider Loc,
                                 IRecentList RecentList,
                                 IImageUploader ImgUploader)
        {
            _imgUploader = ImgUploader;

            _diskWriter      = DiskWriter;
            _systemTray      = SystemTray;
            _messageProvider = MessageProvider;
            _settings        = Settings;
            _loc             = Loc;
            _recentList      = RecentList;

            Loc.LanguageChanged += L => RaisePropertyChanged(nameof(Display));
        }