Created monitoring object and refactored code accordingly.
This commit is contained in:
@@ -5,6 +5,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using BodyshopUploader.Utils.Growls;
|
||||
using BodyshopUploader.Models;
|
||||
|
||||
namespace BodyshopUploader.ViewModels
|
||||
{
|
||||
@@ -12,15 +13,8 @@ namespace BodyshopUploader.ViewModels
|
||||
{
|
||||
public GrowlNotification Growler;
|
||||
|
||||
private ObservableCollection<Utils.CIECAMonitor> _folderMonitors = new ObservableCollection<Utils.CIECAMonitor>() ;
|
||||
public ObservableCollection<Utils.CIECAMonitor> FolderMonitors
|
||||
{
|
||||
get { return _folderMonitors; }
|
||||
set { SetProperty(ref _folderMonitors, value); }
|
||||
}
|
||||
|
||||
private ObservableCollection<string> _monitoringPaths = Properties.Settings.Default.MonitoringPaths ;
|
||||
public ObservableCollection<string> MonitoringPaths
|
||||
private ObservableCollection<Monitor> _monitoringPaths = new ObservableCollection<Monitor>();
|
||||
public ObservableCollection<Monitor> MonitoringPaths
|
||||
{
|
||||
get { return _monitoringPaths; }
|
||||
set { SetProperty(ref _monitoringPaths, value); }
|
||||
|
||||
Reference in New Issue
Block a user