From 0311fec82ce8e1aa5a61ea757155be275424c28a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ian=20Ramirez-Espa=C3=B1a?= Date: Tue, 22 Sep 2020 00:54:35 -0500 Subject: [PATCH] Removed unnecessary "using"s --- ShawzinBot/ActionManager.cs | 6 ------ ShawzinBot/App.xaml.cs | 8 +------- ShawzinBot/Bootstrapper.cs | 10 +--------- ShawzinBot/Models/MidiInputModel.cs | 9 +-------- ShawzinBot/Models/MidiTrackModel.cs | 6 ------ ShawzinBot/Properties/AssemblyInfo.cs | 2 -- ShawzinBot/ViewModels/MainViewModel.cs | 8 -------- ShawzinBot/Views/MainView.xaml.cs | 12 +----------- 8 files changed, 4 insertions(+), 57 deletions(-) diff --git a/ShawzinBot/ActionManager.cs b/ShawzinBot/ActionManager.cs index 43df6c2..dc366fa 100644 --- a/ShawzinBot/ActionManager.cs +++ b/ShawzinBot/ActionManager.cs @@ -1,18 +1,12 @@ using System; using System.Collections.Generic; -using System.Diagnostics; using System.Linq; using System.Runtime.InteropServices; -using System.Text; using System.Threading; -using System.Threading.Tasks; using System.Windows; using System.Windows.Forms; -using System.Windows.Input; using System.Windows.Shapes; -using Melanchall.DryWetMidi.Devices; using Melanchall.DryWetMidi.Smf; -using Melanchall.DryWetMidi.Smf.Interaction; using Keyboard = InputManager.Keyboard; using Timer = System.Threading.Timer; diff --git a/ShawzinBot/App.xaml.cs b/ShawzinBot/App.xaml.cs index fbe7ad6..70ea4a2 100644 --- a/ShawzinBot/App.xaml.cs +++ b/ShawzinBot/App.xaml.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Configuration; -using System.Data; -using System.Linq; -using System.Threading.Tasks; -using System.Windows; +using System.Windows; namespace ShawzinBot { diff --git a/ShawzinBot/Bootstrapper.cs b/ShawzinBot/Bootstrapper.cs index 48197ac..7d48915 100644 --- a/ShawzinBot/Bootstrapper.cs +++ b/ShawzinBot/Bootstrapper.cs @@ -1,12 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using MaterialDesignColors; -using MaterialDesignThemes.Wpf; -using System.Windows; -using System.Windows.Media; +using System.Windows; using Caliburn.Micro; using ShawzinBot.ViewModels; diff --git a/ShawzinBot/Models/MidiInputModel.cs b/ShawzinBot/Models/MidiInputModel.cs index b164dbd..e0b4d35 100644 --- a/ShawzinBot/Models/MidiInputModel.cs +++ b/ShawzinBot/Models/MidiInputModel.cs @@ -1,11 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; - -namespace ShawzinBot.Models +namespace ShawzinBot.Models { public class MidiInputModel { diff --git a/ShawzinBot/Models/MidiTrackModel.cs b/ShawzinBot/Models/MidiTrackModel.cs index 6bd69fb..6f75ed6 100644 --- a/ShawzinBot/Models/MidiTrackModel.cs +++ b/ShawzinBot/Models/MidiTrackModel.cs @@ -1,11 +1,5 @@ using Melanchall.DryWetMidi.Smf; -using System; -using System.Collections.Generic; using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Navigation; namespace ShawzinBot.Models { diff --git a/ShawzinBot/Properties/AssemblyInfo.cs b/ShawzinBot/Properties/AssemblyInfo.cs index 51f9ee3..7e5602d 100644 --- a/ShawzinBot/Properties/AssemblyInfo.cs +++ b/ShawzinBot/Properties/AssemblyInfo.cs @@ -1,6 +1,4 @@ using System.Reflection; -using System.Resources; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; diff --git a/ShawzinBot/ViewModels/MainViewModel.cs b/ShawzinBot/ViewModels/MainViewModel.cs index 4eee531..48a370e 100644 --- a/ShawzinBot/ViewModels/MainViewModel.cs +++ b/ShawzinBot/ViewModels/MainViewModel.cs @@ -1,15 +1,7 @@ using System; -using System.Collections.Generic; -using System.Diagnostics; using System.IO; using System.Linq; -using System.Net.NetworkInformation; -using System.Runtime.InteropServices; -using System.Text; -using System.Threading.Tasks; -using System.Windows.Input; using Caliburn.Micro; -using Melanchall.DryWetMidi.Common; using Melanchall.DryWetMidi.Devices; using Melanchall.DryWetMidi.Smf; using Melanchall.DryWetMidi.Smf.Interaction; diff --git a/ShawzinBot/Views/MainView.xaml.cs b/ShawzinBot/Views/MainView.xaml.cs index af83439..3ba2ce4 100644 --- a/ShawzinBot/Views/MainView.xaml.cs +++ b/ShawzinBot/Views/MainView.xaml.cs @@ -1,16 +1,6 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; +using System.Windows; using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Shapes; using Melanchall.DryWetMidi.Devices; namespace ShawzinBot.Views