File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11using System . IO ;
22using NUnit . Framework ;
3- using Solutionizer . ViewModels ;
3+ using Solutionizer . Models ;
44
55namespace Solutionizer . Tests {
66 [ TestFixture ]
Original file line number Diff line number Diff line change 33using System . Linq ;
44using NUnit . Framework ;
55using Solutionizer . Commands ;
6- using Solutionizer . ViewModels ;
6+ using Solutionizer . Models ;
77using Solutionizer . VisualStudio ;
88
99namespace Solutionizer . Tests {
Original file line number Diff line number Diff line change 22using System . IO ;
33using Solutionizer . Extensions ;
44using Solutionizer . Helper ;
5- using Solutionizer . ViewModels ;
5+ using Solutionizer . Models ;
66using Solutionizer . VisualStudio ;
77
88namespace Solutionizer . Commands {
Original file line number Diff line number Diff line change 88using Solutionizer . Commands ;
99using Solutionizer . Infrastructure ;
1010
11- namespace Solutionizer . ViewModels {
11+ namespace Solutionizer . Models {
1212 public class MainViewModel : ViewModelBase {
1313 private SolutionViewModel _solution = new SolutionViewModel ( ) ;
1414 private readonly ICommand _onLoadedCommand ;
Original file line number Diff line number Diff line change 33using System . IO ;
44using System . Xml ;
55
6- namespace Solutionizer . ViewModels {
6+ namespace Solutionizer . Models {
77 public class Project {
88 private string _filepath ;
99 private string _name ;
Original file line number Diff line number Diff line change 1010using Solutionizer . Scanner ;
1111using Solutionizer . VisualStudio ;
1212
13- namespace Solutionizer . ViewModels {
13+ namespace Solutionizer . Models {
1414 public class SolutionViewModel : ViewModelBase {
1515 private SolutionFolder _solutionRoot = new SolutionFolder ( ) ;
1616 private readonly ICommand _dropCommand ;
Original file line number Diff line number Diff line change 9595 <Compile Include =" Infrastructure\FixedRelayCommand.cs" />
9696 <Compile Include =" Infrastructure\FixedRelayCommandGeneric.cs" />
9797 <Compile Include =" Infrastructure\ModelAttacher.cs" />
98- <Compile Include =" ViewModels \Project.cs" />
99- <Compile Include =" ViewModels \SolutionViewModel.cs" />
98+ <Compile Include =" Models \Project.cs" />
99+ <Compile Include =" Models \SolutionViewModel.cs" />
100100 <Compile Include =" Scanner\ProjectScanner.cs" />
101- <Compile Include =" ViewModels \MainViewModel.cs" />
101+ <Compile Include =" Models \MainViewModel.cs" />
102102 <Compile Include =" Infrastructure\SortedObservableCollection.cs" />
103103 <Compile Include =" Views\MainView.xaml.cs" >
104104 <DependentUpon >MainView.xaml</DependentUpon >
Original file line number Diff line number Diff line change 44 xmlns : mc =" http://schemas.openxmlformats.org/markup-compatibility/2006"
55 xmlns : d =" http://schemas.microsoft.com/expression/blend/2008"
66 xmlns : extToolkit =" clr-namespace:Microsoft.Windows.Controls;assembly=WPFToolkit.Extended"
7- xmlns : ViewModels =" clr-namespace:Solutionizer.ViewModels"
8- xmlns : i =" http://schemas.microsoft.com/expression/2010/interactivity"
7+ xmlns : i =" http://schemas.microsoft.com/expression/2010/interactivity"
98 xmlns : cmd =" clr-namespace:GalaSoft.MvvmLight.Command;assembly=GalaSoft.MvvmLight.Extras.WPF4"
109 xmlns : Converters =" clr-namespace:Solutionizer.Converters"
1110 xmlns : Views =" clr-namespace:Solutionizer.Views"
1211 xmlns : Infrastructure =" clr-namespace:Solutionizer.Infrastructure"
1312 xmlns : Commands =" clr-namespace:Solutionizer.Commands" xmlns : Controls =" clr-namespace:Solutionizer.Controls"
14- Infrastructure:ModelAttacher.AttachModel=" {x:Type ViewModels:MainViewModel}"
13+ xmlns : Models =" clr-namespace:Solutionizer.Models"
14+ Infrastructure:ModelAttacher.AttachModel=" {x:Type Models:MainViewModel}"
1515 mc : Ignorable =" d"
16- d : DataContext =" {d:DesignInstance ViewModels :MainViewModel}"
16+ d : DataContext =" {d:DesignInstance Models :MainViewModel}"
1717 d : DesignHeight =" 300" d : DesignWidth =" 300"
1818 TextOptions.TextFormattingMode=" Display"
1919 TextOptions.TextHintingMode=" Fixed"
Original file line number Diff line number Diff line change 44 xmlns : mc =" http://schemas.openxmlformats.org/markup-compatibility/2006"
55 xmlns : d =" http://schemas.microsoft.com/expression/blend/2008"
66 mc : Ignorable =" d"
7- xmlns : Helper =" clr-namespace:Solutionizer.Helper"
8- xmlns : ViewModels =" clr-namespace:Solutionizer.ViewModels"
9- xmlns : Converters =" clr-namespace:Solutionizer.Converters"
7+ xmlns : Helper =" clr-namespace:Solutionizer.Helper" xmlns : Converters =" clr-namespace:Solutionizer.Converters"
108 xmlns : VisualStudio =" clr-namespace:Solutionizer.VisualStudio"
11- d : DataContext =" {d:DesignInstance ViewModels:SolutionViewModel}"
9+ xmlns : Models =" clr-namespace:Solutionizer.Models"
10+ d : DataContext =" {d:DesignInstance Models:SolutionViewModel}"
1211 d : DesignHeight =" 300" d : DesignWidth =" 300" >
1312 <Grid >
1413 <Grid .Resources>
1514 <Converters : FilePathToImageSourceConverter x : Key =" FilePathToImageSource" />
16- <DataTemplate x : Key =" NameWithImage" DataType =" {x:Type ViewModels :Project}" >
15+ <DataTemplate x : Key =" NameWithImage" DataType =" {x:Type Models :Project}" >
1716 <StackPanel Orientation =" Horizontal" >
1817 <Image Height =" 16" Width =" 16" Source =" {Binding Path=Filepath, Converter={StaticResource FilePathToImageSource}}" Margin =" 0 0 4 0" />
1918 <TextBlock Text =" {Binding Name}" />
Original file line number Diff line number Diff line change 22using System . Collections . ObjectModel ;
33using System . Linq ;
44using Solutionizer . Infrastructure ;
5- using Solutionizer . ViewModels ;
5+ using Solutionizer . Models ;
66
77namespace Solutionizer . VisualStudio {
88 public class SolutionFolder : SolutionItem {
You can’t perform that action at this time.
0 commit comments