diff --git a/src/modules/ShortcutGuideV2/ShortcutGuide.Ui/YmlInterpreter.cs b/src/modules/ShortcutGuideV2/ShortcutGuide.Ui/ManifestInterpreter.cs similarity index 96% rename from src/modules/ShortcutGuideV2/ShortcutGuide.Ui/YmlInterpreter.cs rename to src/modules/ShortcutGuideV2/ShortcutGuide.Ui/ManifestInterpreter.cs index 4281b28043..c1230ba953 100644 --- a/src/modules/ShortcutGuideV2/ShortcutGuide.Ui/YmlInterpreter.cs +++ b/src/modules/ShortcutGuideV2/ShortcutGuide.Ui/ManifestInterpreter.cs @@ -8,17 +8,13 @@ using System.ComponentModel; using System.Diagnostics; using System.IO; using System.Linq; -using System.Runtime.InteropServices; -using System.Text; using System.Text.RegularExpressions; using ShortcutGuide.Models; -using Windows.Devices.SmartCards; -using WinUIEx; using YamlDotNet.Serialization; namespace ShortcutGuide { - public class YmlInterpreter + public class ManifestInterpreter { public static ShortcutList GetShortcutsOfApplication(string applicationName) { diff --git a/src/modules/ShortcutGuideV2/ShortcutGuide.Ui/PowerToysShortcutsPopulator.cs b/src/modules/ShortcutGuideV2/ShortcutGuide.Ui/PowerToysShortcutsPopulator.cs index cc649eb7de..a2197039ea 100644 --- a/src/modules/ShortcutGuideV2/ShortcutGuide.Ui/PowerToysShortcutsPopulator.cs +++ b/src/modules/ShortcutGuideV2/ShortcutGuide.Ui/PowerToysShortcutsPopulator.cs @@ -14,7 +14,7 @@ namespace ShortcutGuide { public static void Populate() { - string path = Path.Combine(YmlInterpreter.GetPathOfIntepretations(), "Microsoft.PowerToys.yml"); + string path = Path.Combine(ManifestInterpreter.GetPathOfIntepretations(), "Microsoft.PowerToys.yml"); string content = File.ReadAllText(path); diff --git a/src/modules/ShortcutGuideV2/ShortcutGuide.Ui/ShortcutGuideXAML/MainWindow.xaml.cs b/src/modules/ShortcutGuideV2/ShortcutGuide.Ui/ShortcutGuideXAML/MainWindow.xaml.cs index 446579d86f..6cd65cbe2a 100644 --- a/src/modules/ShortcutGuideV2/ShortcutGuide.Ui/ShortcutGuideXAML/MainWindow.xaml.cs +++ b/src/modules/ShortcutGuideV2/ShortcutGuide.Ui/ShortcutGuideXAML/MainWindow.xaml.cs @@ -32,7 +32,7 @@ namespace ShortcutGuide public MainWindow() { - _currentApplicationIds = YmlInterpreter.GetAllCurrentApplicationIds(); + _currentApplicationIds = ManifestInterpreter.GetAllCurrentApplicationIds(); InitializeComponent(); @@ -95,7 +95,7 @@ namespace ShortcutGuide { foreach (var item in _currentApplicationIds) { - if (item == YmlInterpreter.GetIndexYamlFile().DefaultShellName) + if (item == ManifestInterpreter.GetIndexYamlFile().DefaultShellName) { WindowSelector.Items.Insert(0, new SelectorBarItem { Name = item, Text = "Windows", Icon = new FontIcon() { Glyph = "\xE770" } }); } @@ -103,7 +103,7 @@ namespace ShortcutGuide { try { - WindowSelector.Items.Add(new SelectorBarItem { Name = item, Text = YmlInterpreter.GetShortcutsOfApplication(item).Name }); + WindowSelector.Items.Add(new SelectorBarItem { Name = item, Text = ManifestInterpreter.GetShortcutsOfApplication(item).Name }); } catch (IOException) { diff --git a/src/modules/ShortcutGuideV2/ShortcutGuide.Ui/ShortcutGuideXAML/ShortcutView.xaml.cs b/src/modules/ShortcutGuideV2/ShortcutGuide.Ui/ShortcutGuideXAML/ShortcutView.xaml.cs index 3ab1d38c2a..f1b8d1e6ce 100644 --- a/src/modules/ShortcutGuideV2/ShortcutGuide.Ui/ShortcutGuideXAML/ShortcutView.xaml.cs +++ b/src/modules/ShortcutGuideV2/ShortcutGuide.Ui/ShortcutGuideXAML/ShortcutView.xaml.cs @@ -17,7 +17,7 @@ namespace ShortcutGuide { public sealed partial class ShortcutView : Page, INotifyPropertyChanged { - private ShortcutList shortcutList = YmlInterpreter.GetShortcutsOfApplication(ShortcutPageParameters.CurrentPageName); + private ShortcutList shortcutList = ManifestInterpreter.GetShortcutsOfApplication(ShortcutPageParameters.CurrentPageName); public ShortcutView() {