Skip to content
This repository was archived by the owner on Jan 8, 2022. It is now read-only.

Commit 913a7cb

Browse files
committed
Neat change
1 parent 4277f47 commit 913a7cb

33 files changed

+37
-75
lines changed

Source/Deployer.Gui.Core/CommandWrapper.cs renamed to Source/Deployer.Gui.Common/CommandWrapper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using ReactiveUI;
44
using Serilog;
55

6-
namespace Deployer.Gui.Core
6+
namespace Deployer.Gui.Common
77
{
88
public class CommandWrapper<T1, T2> : ReactiveObject
99
{
@@ -23,7 +23,7 @@ public CommandWrapper(object parent, ReactiveCommand<T1, T2> command, IDialogSer
2323

2424
private async Task HandleException(Exception e)
2525
{
26-
Log.Error(e, "An error has ocurred");
26+
Log.Error(e, "An error has occurred");
2727
Log.Information($"Error: {e.Message}");
2828
await dialogService.ShowAlert(parent, Resources.ErrorTitle, $"{e.Message}");
2929
}

Source/Deployer.Gui.Common/Deployer.Gui.Common.csproj

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,24 @@
4848
</ItemGroup>
4949
<ItemGroup>
5050
<Compile Include="BusyButton.cs" />
51+
<Compile Include="CommandWrapper.cs" />
52+
<Compile Include="FilePickerMixin.cs" />
53+
<Compile Include="FileTypeFilter.cs" />
54+
<Compile Include="IBusyObject.cs" />
5155
<Compile Include="IconButton.cs" />
56+
<Compile Include="IDialogService.cs" />
57+
<Compile Include="IFilePicker.cs" />
5258
<Compile Include="ISettingsService.cs" />
59+
<Compile Include="IViewService.cs" />
60+
<Compile Include="Resources.Designer.cs">
61+
<DependentUpon>Resources.resx</DependentUpon>
62+
<AutoGen>True</AutoGen>
63+
<DesignTime>True</DesignTime>
64+
</Compile>
5365
<Compile Include="Services\DialogService.cs" />
5466
<Compile Include="Services\FilePicker.cs" />
5567
<Compile Include="Services\ViewService.cs" />
68+
<Compile Include="UIServices.cs" />
5669
<Compile Include="WimMetadataViewModel.cs" />
5770
<Page Include="Themes\Generic.xaml">
5871
<Generator>MSBuild:Compile</Generator>
@@ -77,6 +90,10 @@
7790
<Generator>ResXFileCodeGenerator</Generator>
7891
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
7992
</EmbeddedResource>
93+
<EmbeddedResource Include="Resources.resx">
94+
<Generator>ResXFileCodeGenerator</Generator>
95+
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
96+
</EmbeddedResource>
8097
<None Include="Properties\Settings.settings">
8198
<Generator>SettingsSingleFileGenerator</Generator>
8299
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
@@ -98,10 +115,6 @@
98115
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
99116
</ItemGroup>
100117
<ItemGroup>
101-
<ProjectReference Include="..\Deployer.Gui.Core\Deployer.Gui.Core.csproj">
102-
<Project>{4DDBED8A-6445-4E59-9E64-6FA3B7419052}</Project>
103-
<Name>Deployer.Gui.Core</Name>
104-
</ProjectReference>
105118
<ProjectReference Include="..\Deployer\Deployer.csproj">
106119
<Project>{b0709401-1148-43b4-a06c-79173393dd98}</Project>
107120
<Name>Deployer</Name>

Source/Deployer.Gui.Core/FilePickerMixin.cs renamed to Source/Deployer.Gui.Common/FilePickerMixin.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using System.Linq;
55
using Serilog;
66

7-
namespace Deployer.Gui.Core
7+
namespace Deployer.Gui.Common
88
{
99
public static class FilePickerMixin
1010
{

Source/Deployer.Gui.Core/FileTypeFilter.cs renamed to Source/Deployer.Gui.Common/FileTypeFilter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
 namespace Deployer.Gui.Core
1+
 namespace Deployer.Gui.Common
22
{
33
public class FileTypeFilter
44
{
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System;
22

3-
namespace Deployer.Gui.Core
3+
namespace Deployer.Gui.Common
44
{
55
public interface IBusy
66
{

Source/Deployer.Gui.Core/IDialogService.cs renamed to Source/Deployer.Gui.Common/IDialogService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Threading.Tasks;
22

3-
namespace Deployer.Gui.Core
3+
namespace Deployer.Gui.Common
44
{
55
public interface IDialogService
66
{
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Collections.Generic;
22

3-
namespace Deployer.Gui.Core
3+
namespace Deployer.Gui.Common
44
{
55
public interface IFilePicker
66
{

Source/Deployer.Gui.Core/IViewService.cs renamed to Source/Deployer.Gui.Common/IViewService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System;
22

3-
namespace Deployer.Gui.Core
3+
namespace Deployer.Gui.Common
44
{
55
public interface IViewService
66
{

Source/Deployer.Gui.Core/Resources.Designer.cs renamed to Source/Deployer.Gui.Common/Resources.Designer.cs

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)