mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 19:57:07 +02:00
[Image Resizer] Upgraded to .NET Core 3.1 (#7317)
* project converted to sdk style * image resizer core31 * image resizer test core31 * project and setup fixes
This commit is contained in:
committed by
GitHub
parent
e2c94b592f
commit
aa0947061a
@@ -4,15 +4,14 @@
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Windows.Input;
|
||||
using GalaSoft.MvvmLight;
|
||||
using GalaSoft.MvvmLight.Command;
|
||||
using ImageResizer.Helpers;
|
||||
using ImageResizer.Models;
|
||||
using ImageResizer.Properties;
|
||||
using ImageResizer.Views;
|
||||
|
||||
namespace ImageResizer.ViewModels
|
||||
{
|
||||
public class MainViewModel : ViewModelBase
|
||||
public class MainViewModel : Observable
|
||||
{
|
||||
private readonly Settings _settings;
|
||||
private readonly ResizeBatch _batch;
|
||||
@@ -32,13 +31,13 @@ namespace ImageResizer.ViewModels
|
||||
public object CurrentPage
|
||||
{
|
||||
get => _currentPage;
|
||||
set => Set(nameof(CurrentPage), ref _currentPage, value);
|
||||
set => Set(ref _currentPage, value);
|
||||
}
|
||||
|
||||
public double Progress
|
||||
{
|
||||
get => _progress;
|
||||
set => Set(nameof(Progress), ref _progress, value);
|
||||
set => Set(ref _progress, value);
|
||||
}
|
||||
|
||||
public void Load(IMainView view)
|
||||
|
||||
Reference in New Issue
Block a user