[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:
Davide Giacometti
2020-10-22 18:26:46 +02:00
committed by GitHub
parent e2c94b592f
commit aa0947061a
19 changed files with 207 additions and 365 deletions

View File

@@ -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)