From b6e4a07560a39fcb3eeabb3bfac510674ee82f63 Mon Sep 17 00:00:00 2001 From: Kenny McClive Date: Sat, 18 Apr 2020 14:28:38 -0600 Subject: [PATCH] Updated Windows app to use Tricycle.Globalization. --- Tricycle.UI.Windows/MainWindow.xaml.cs | 2 ++ Tricycle.UI.Windows/Tricycle.UI.Windows.csproj | 4 ++++ Tricycle.Windows.sln | 12 ++++++++++++ 3 files changed, 18 insertions(+) diff --git a/Tricycle.UI.Windows/MainWindow.xaml.cs b/Tricycle.UI.Windows/MainWindow.xaml.cs index d2f0800..fa878d9 100644 --- a/Tricycle.UI.Windows/MainWindow.xaml.cs +++ b/Tricycle.UI.Windows/MainWindow.xaml.cs @@ -12,6 +12,7 @@ using System.Windows.Threading; using Tricycle.Diagnostics; using Tricycle.Diagnostics.Utilities; +using Tricycle.Globalization; using Tricycle.IO; using Tricycle.IO.Windows; using Tricycle.Media; @@ -287,6 +288,7 @@ void InitializeAppState() ffmpegConfigManager, ffmpegArgumentGenerator, fileSystem)); + _.For().Use(); }); AppState.DefaultDestinationDirectory = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), "Videos"); diff --git a/Tricycle.UI.Windows/Tricycle.UI.Windows.csproj b/Tricycle.UI.Windows/Tricycle.UI.Windows.csproj index 53f1f35..ea37ade 100644 --- a/Tricycle.UI.Windows/Tricycle.UI.Windows.csproj +++ b/Tricycle.UI.Windows/Tricycle.UI.Windows.csproj @@ -202,6 +202,10 @@ {b08428f2-a465-42d6-97ea-0215b8dc374c} Tricycle.Diagnostics + + {a84a5b36-ae20-4b84-ac24-0f5dac89d832} + Tricycle.Globalization + {b60d6b8b-e1e5-4344-ae78-050d7631787f} Tricycle.IO.Windows diff --git a/Tricycle.Windows.sln b/Tricycle.Windows.sln index 434b4d3..bd687e2 100644 --- a/Tricycle.Windows.sln +++ b/Tricycle.Windows.sln @@ -33,6 +33,10 @@ Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "Tricycle.Windows.Setup", "T EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tricycle.IO.Tests", "Tricycle.IO.Tests\Tricycle.IO.Tests.csproj", "{18CCE755-25DF-405C-9E3C-FD694AD70C42}" EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tricycle.Globalization", "Tricycle.Globalization\Tricycle.Globalization.csproj", "{A84A5B36-AE20-4B84-AC24-0F5DAC89D832}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tricycle.Globalization.Tests", "Tricycle.Globalization.Tests\Tricycle.Globalization.Tests.csproj", "{B74ACEEE-1390-42EF-AB4E-ED93C89AC8B4}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -97,6 +101,14 @@ Global {18CCE755-25DF-405C-9E3C-FD694AD70C42}.Debug|Any CPU.Build.0 = Debug|Any CPU {18CCE755-25DF-405C-9E3C-FD694AD70C42}.Release|Any CPU.ActiveCfg = Release|Any CPU {18CCE755-25DF-405C-9E3C-FD694AD70C42}.Release|Any CPU.Build.0 = Release|Any CPU + {A84A5B36-AE20-4B84-AC24-0F5DAC89D832}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A84A5B36-AE20-4B84-AC24-0F5DAC89D832}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A84A5B36-AE20-4B84-AC24-0F5DAC89D832}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A84A5B36-AE20-4B84-AC24-0F5DAC89D832}.Release|Any CPU.Build.0 = Release|Any CPU + {B74ACEEE-1390-42EF-AB4E-ED93C89AC8B4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B74ACEEE-1390-42EF-AB4E-ED93C89AC8B4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B74ACEEE-1390-42EF-AB4E-ED93C89AC8B4}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B74ACEEE-1390-42EF-AB4E-ED93C89AC8B4}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE