diff --git a/DotNetSolutionTools.App/ViewModels/MainWindowViewModel.cs b/DotNetSolutionTools.App/ViewModels/MainWindowViewModel.cs index 2ae7fe7..7b2e115 100644 --- a/DotNetSolutionTools.App/ViewModels/MainWindowViewModel.cs +++ b/DotNetSolutionTools.App/ViewModels/MainWindowViewModel.cs @@ -13,13 +13,13 @@ public partial class MainWindowViewModel : ViewModelBase private readonly FileService _fileService = new(); [ObservableProperty] - private string _solutionFolderPath; + private string _solutionFolderPath = string.Empty; [ObservableProperty] - private string _solutionFilePath; + private string _solutionFilePath = string.Empty; [ObservableProperty] - private string _csprojFilePath; + private string _csprojFilePath = string.Empty; [ObservableProperty] private ObservableCollection _parityResults = new() { }; diff --git a/DotNetSolutionTools.App/ViewModels/PreviewMainWindowViewModel.cs b/DotNetSolutionTools.App/ViewModels/PreviewMainWindowViewModel.cs deleted file mode 100644 index d831b27..0000000 --- a/DotNetSolutionTools.App/ViewModels/PreviewMainWindowViewModel.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System.Collections.ObjectModel; -using CommunityToolkit.Mvvm.ComponentModel; -using CommunityToolkit.Mvvm.Input; - -namespace DotNetSolutionTools.App.ViewModels; - -public partial class PreviewMainWindowViewModel : ViewModelBase -{ - [ObservableProperty] - private string _solutionFolderPath = - "C:\\Users\\matt\\source\\repos\\DotNetSolutionTools\\DotNetSolutionTools.App"; - - [ObservableProperty] - private string _solutionFilePath = - "C:\\Users\\matt\\source\\repos\\DotNetSolutionTools\\DotNetSolutionTools.App.sln"; - - [ObservableProperty] - private string _csprojFilePath = - "C:\\Users\\matt\\source\\repos\\DotNetSolutionTools\\DotNetSolutionTools.App.csproj"; - - [ObservableProperty] - private ObservableCollection _parityResults = new() { "Error Message" }; - - [RelayCommand] - private async Task ExecuteParityChecker(CancellationToken token) - { - throw new NotImplementedException(); - } - - [RelayCommand] - private async Task FormatCsProjFile(CancellationToken token) - { - throw new NotImplementedException(); - } - - [RelayCommand] - private async Task LoadSolutionFile(CancellationToken token) - { - throw new NotImplementedException(); - } - - [RelayCommand] - private async Task LoadSolutionFolder(CancellationToken token) - { - throw new NotImplementedException(); - } - - [RelayCommand] - private async Task LoadCsprojFile(CancellationToken token) - { - throw new NotImplementedException(); - } -}