Catalog/imagecatalog/DataModel.cs

43 lines
929 B
C#
Raw Normal View History

2024-10-14 23:05:18 +02:00
using ImageCatalog_2.Services;
using System;
2024-10-14 22:55:52 +02:00
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ImageCatalog_2
{
public class DataModel : ViewModelBase
{
2024-10-14 23:05:18 +02:00
private readonly ITestService _service;
public DataModel(ITestService testService)
{
_service = testService;
}
2024-10-14 22:55:52 +02:00
private string _sourcePath;
public string SourcePath
{
get => _sourcePath;
set
{
_sourcePath = value;
NotifyPropertyChanged();
}
}
private string _destinationPath;
public string DestinationPath
{
get => _destinationPath;
set
{
_destinationPath = value;
NotifyPropertyChanged();
}
}
}
}