예제 #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));
        }
예제 #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));
        }
예제 #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));
        }