Skip to content

Commit

Permalink
Lieferung feature-a: porting to mvvm pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiarn committed Feb 2, 2018
2 parents a1debb3 + 3b40281 commit e5067ca
Show file tree
Hide file tree
Showing 30 changed files with 1,019 additions and 506 deletions.
24 changes: 12 additions & 12 deletions LegendGenerator.App/App.xaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<Application x:Class="LegendGenerator.App.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:ignore="http://www.galasoft.ch/ignore"
StartupUri="MainWindow.xaml"
mc:Ignorable="d ignore">
<Application.Resources>
<!--Global View Model Locator-->
</Application.Resources>
</Application>
<Application x:Class="LegendGenerator.App.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
xmlns:vm="clr-namespace:LegendGenerator.App.ViewModel"
StartupUri="MainWindow.xaml">
<Application.Resources>
<!--Global View Model Locator-->
</Application.Resources>
</Application>
66 changes: 50 additions & 16 deletions LegendGenerator.App/LegendGenerator.App.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,34 @@
<Reference Include="ESRI.ArcGIS.System, Version=10.3.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86, processorArchitecture=MSIL">
<EmbedInteropTypes>False</EmbedInteropTypes>
</Reference>
<Reference Include="GalaSoft.MvvmLight, Version=5.3.0.19026, Culture=neutral, PublicKeyToken=e7570ab207bcb616, processorArchitecture=MSIL">
<HintPath>..\packages\MvvmLightLibs.5.3.0.0\lib\net45\GalaSoft.MvvmLight.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="GalaSoft.MvvmLight.Extras, Version=5.3.0.19032, Culture=neutral, PublicKeyToken=669f0b5e8f868abf, processorArchitecture=MSIL">
<HintPath>..\packages\MvvmLightLibs.5.3.0.0\lib\net45\GalaSoft.MvvmLight.Extras.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="GalaSoft.MvvmLight.Platform, Version=5.3.0.19032, Culture=neutral, PublicKeyToken=5f873c45e98af8a1, processorArchitecture=MSIL">
<HintPath>..\packages\MvvmLightLibs.5.3.0.0\lib\net45\GalaSoft.MvvmLight.Platform.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Microsoft.Practices.ServiceLocation, Version=1.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\CommonServiceLocator.1.3\lib\portable-net4+sl5+netcore45+wpa81+wp8\Microsoft.Practices.ServiceLocation.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="ReachFramework" />
<Reference Include="stdole, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<EmbedInteropTypes>False</EmbedInteropTypes>
</Reference>
<Reference Include="System" />
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.Data" />
<Reference Include="System.Windows.Interactivity, Version=4.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\MvvmLightLibs.5.3.0.0\lib\net45\System.Windows.Interactivity.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System.Xaml" />
<Reference Include="System.Xml" />
<Reference Include="System.Xml.Linq" />
Expand All @@ -115,8 +135,16 @@
<Compile Include="Utils\CustomStringToColorConverter.cs" />
<Compile Include="Utils\NotifyBase.cs" />
<Compile Include="Utils\ValidationAttribute.cs" />
<Compile Include="View\Help\LegendGeneratorXpsHelpEn.xaml.cs">
<DependentUpon>LegendGeneratorXpsHelpEn.xaml</DependentUpon>
<Compile Include="ViewModel\Help\XpsHelpEnViewModel.cs" />
<Compile Include="ViewModel\Help\XpsHelpViewModel.cs" />
<Compile Include="ViewModel\Help\HelpViewModel.cs" />
<Compile Include="ViewModel\MainViewModel.cs" />
<Compile Include="ViewModel\Help\CopyrightViewModel.cs" />
<Compile Include="ViewModel\Help\OverviewViewModel.cs" />
<Compile Include="ViewModel\ViewModelLocator.cs" />
<Compile Include="ViewModel\ViewVM.cs" />
<Compile Include="View\Help\XpsHelpEn.xaml.cs">
<DependentUpon>XpsHelpEn.xaml</DependentUpon>
</Compile>
<Compile Include="Model\FormularData.cs" />
<Compile Include="Model\IDataService.cs" />
Expand All @@ -139,30 +167,34 @@
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="View\Help\LegendGeneratorCopyright.xaml">
<Page Include="View\Help\CopyrightView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="View\Help\LegendGeneratorHelp.xaml">
<Page Include="View\Help\HelpWindow.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="View\Help\LegendGeneratorOverView.xaml">
<Page Include="View\Help\OverviewView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="View\Help\LegendGeneratorXpsHelp.xaml">
<Page Include="View\Help\XpsHelp.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="View\Help\LegendGeneratorXpsHelpEn.xaml">
<Page Include="View\Help\XpsHelpEn.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="MainWindow.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Skins\ViewDataTemplates.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="View\ProgressDialog.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
Expand All @@ -185,17 +217,17 @@
<Compile Include="View\FortlaufendeNrDialog.xaml.cs">
<DependentUpon>FortlaufendeNrDialog.xaml</DependentUpon>
</Compile>
<Compile Include="View\Help\LegendGeneratorCopyright.xaml.cs">
<DependentUpon>LegendGeneratorCopyright.xaml</DependentUpon>
<Compile Include="View\Help\CopyrightView.xaml.cs">
<DependentUpon>CopyrightView.xaml</DependentUpon>
</Compile>
<Compile Include="View\Help\LegendGeneratorHelp.xaml.cs">
<DependentUpon>LegendGeneratorHelp.xaml</DependentUpon>
<Compile Include="View\Help\HelpWindow.xaml.cs">
<DependentUpon>HelpWindow.xaml</DependentUpon>
</Compile>
<Compile Include="View\Help\LegendGeneratorOverView.xaml.cs">
<DependentUpon>LegendGeneratorOverView.xaml</DependentUpon>
<Compile Include="View\Help\OverviewView.xaml.cs">
<DependentUpon>OverviewView.xaml</DependentUpon>
</Compile>
<Compile Include="View\Help\LegendGeneratorXpsHelp.xaml.cs">
<DependentUpon>LegendGeneratorXpsHelp.xaml</DependentUpon>
<Compile Include="View\Help\XpsHelp.xaml.cs">
<DependentUpon>XpsHelp.xaml</DependentUpon>
</Compile>
<Compile Include="LayoutCreator.cs" />
<Compile Include="MainWindow.xaml.cs">
Expand Down Expand Up @@ -294,7 +326,9 @@
<None Include="app.config">
<SubType>Designer</SubType>
</None>
<None Include="packages.config" />
<None Include="packages.config">
<SubType>Designer</SubType>
</None>
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
Expand Down
Loading

0 comments on commit e5067ca

Please sign in to comment.