Skip to content

Commit d45747b

Browse files
committed
moved some classes to infrastructure folder
1 parent 73a972f commit d45747b

8 files changed

Lines changed: 10 additions & 6 deletions

File tree

Solutionizer/ViewModels/FixedRelayCommand.cs renamed to Solutionizer/Infrastructure/FixedRelayCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using System.Diagnostics;
33
using System.Windows.Input;
44

5-
namespace Solutionizer.ViewModels {
5+
namespace Solutionizer.Infrastructure {
66
/// <summary>
77
/// A command whose sole purpose is to relay its functionality to other
88
/// objects by invoking delegates. The default return value for the CanExecute

Solutionizer/ViewModels/FixedRelayCommandGeneric.cs renamed to Solutionizer/Infrastructure/FixedRelayCommandGeneric.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System;
22
using System.Windows.Input;
33

4-
namespace Solutionizer.ViewModels {
4+
namespace Solutionizer.Infrastructure {
55
/// <summary>
66
/// A generic command whose sole purpose is to relay its functionality to other
77
/// objects by invoking delegates. The default return value for the CanExecute

Solutionizer/ViewModels/SortedObservableCollection.cs renamed to Solutionizer/Infrastructure/SortedObservableCollection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using System.Collections.Generic;
33
using System.Collections.ObjectModel;
44

5-
namespace Solutionizer.ViewModels {
5+
namespace Solutionizer.Infrastructure {
66
public class SortedObservableCollection<T> : ObservableCollection<T> {
77
private readonly IComparer<T> _comparer;
88

Solutionizer/Solutionizer.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,14 @@
8888
<Compile Include="Helper\GridViewSort.cs" />
8989
<Compile Include="Helper\Icons.cs" />
9090
<Compile Include="Helper\InsertionAdorner.cs" />
91-
<Compile Include="ViewModels\FixedRelayCommand.cs" />
92-
<Compile Include="ViewModels\FixedRelayCommandGeneric.cs" />
91+
<Compile Include="Infrastructure\FixedRelayCommand.cs" />
92+
<Compile Include="Infrastructure\FixedRelayCommandGeneric.cs" />
9393
<Compile Include="ViewModels\Project.cs" />
9494
<Compile Include="ViewModels\ProjectShelfViewModel.cs" />
9595
<Compile Include="ViewModels\SolutionViewModel.cs" />
9696
<Compile Include="Scanner\ProjectScanner.cs" />
9797
<Compile Include="ViewModels\MainViewModel.cs" />
98-
<Compile Include="ViewModels\SortedObservableCollection.cs" />
98+
<Compile Include="Infrastructure\SortedObservableCollection.cs" />
9999
<Compile Include="Views\MainView.xaml.cs">
100100
<DependentUpon>MainView.xaml</DependentUpon>
101101
</Compile>

Solutionizer/ViewModels/MainViewModel.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
using GalaSoft.MvvmLight;
66
using Ookii.Dialogs.Wpf;
77
using Solutionizer.Commands;
8+
using Solutionizer.Infrastructure;
89

910
namespace Solutionizer.ViewModels {
1011
public class MainViewModel : ViewModelBase {

Solutionizer/ViewModels/ProjectShelfViewModel.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
using System.Windows.Input;
66
using GalaSoft.MvvmLight;
77
using Solutionizer.Extensions;
8+
using Solutionizer.Infrastructure;
89
using Solutionizer.Scanner;
910

1011
namespace Solutionizer.ViewModels {

Solutionizer/ViewModels/SolutionViewModel.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
using System.Windows.Input;
77
using GalaSoft.MvvmLight;
88
using Solutionizer.Helper;
9+
using Solutionizer.Infrastructure;
910
using Solutionizer.Scanner;
1011
using Solutionizer.VisualStudio;
1112

Solutionizer/VisualStudio/SolutionFolder.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using System;
22
using System.Collections.ObjectModel;
33
using System.Linq;
4+
using Solutionizer.Infrastructure;
45
using Solutionizer.ViewModels;
56

67
namespace Solutionizer.VisualStudio {

0 commit comments

Comments
 (0)