Optimize using

This commit is contained in:
bao-qian
2016-01-06 06:45:08 +00:00
parent 1a8efdbf2c
commit f589bdc78d
20 changed files with 19 additions and 35 deletions

View File

@@ -1,8 +1,8 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;
using System.Reflection; using System.Reflection;
using JsonProperty = Newtonsoft.Json.JsonPropertyAttribute;
using Wox.Infrastructure.Storage; using Wox.Infrastructure.Storage;
using JsonProperty = Newtonsoft.Json.JsonPropertyAttribute;
namespace Wox.Plugin.Everything namespace Wox.Plugin.Everything
{ {

View File

@@ -1,6 +1,5 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Diagnostics;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
using System.Net; using System.Net;

View File

@@ -1,8 +1,8 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Diagnostics;
using System.IO; using System.IO;
using System.Threading; using System.Threading;
using Wox.Infrastructure.Logger; using Wox.Infrastructure.Logger;
namespace Wox.Plugin.Program namespace Wox.Plugin.Program
{ {
internal class FileChangeWatcher internal class FileChangeWatcher

View File

@@ -6,8 +6,8 @@ using System.Linq;
using System.Reflection; using System.Reflection;
using System.Windows; using System.Windows;
using Wox.Infrastructure; using Wox.Infrastructure;
using Wox.Plugin.Program.ProgramSources;
using Wox.Infrastructure.Logger; using Wox.Infrastructure.Logger;
using Wox.Plugin.Program.ProgramSources;
using Stopwatch = Wox.Infrastructure.Stopwatch; using Stopwatch = Wox.Infrastructure.Stopwatch;
namespace Wox.Plugin.Program namespace Wox.Plugin.Program

View File

@@ -5,11 +5,13 @@ using System.IO;
using System.Reflection; using System.Reflection;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using System.Windows; using System.Windows;
using System.Windows.Forms;
using System.Windows.Interop; using System.Windows.Interop;
using Wox.Infrastructure; using Wox.Infrastructure;
using FormsApplication = System.Windows.Forms.Application; using Application = System.Windows.Application;
using PowerState = System.Windows.Forms.PowerState;
using Control = System.Windows.Controls.Control; using Control = System.Windows.Controls.Control;
using FormsApplication = System.Windows.Forms.Application;
using MessageBox = System.Windows.MessageBox;
namespace Wox.Plugin.Sys namespace Wox.Plugin.Sys
{ {

View File

@@ -1,6 +1,5 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics; using System.Diagnostics;
using System.IO; using System.IO;
using System.Linq; using System.Linq;

View File

@@ -1,5 +1,4 @@
using System.Reflection; using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
#if DEBUG #if DEBUG

View File

@@ -1,10 +1,9 @@
using System; using System;
using System.Diagnostics;
using System.IO; using System.IO;
using System.Windows;
using ICSharpCode.SharpZipLib.Zip; using ICSharpCode.SharpZipLib.Zip;
using Newtonsoft.Json; using Newtonsoft.Json;
using Wox.Plugin; using Wox.Plugin;
using System.Windows;
namespace Wox.Core.Plugin namespace Wox.Core.Plugin
{ {

View File

@@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace Wox.Core.i18n namespace Wox.Core.i18n
{ {

View File

@@ -1,6 +1,4 @@
using Wox.Plugin; namespace Wox.Infrastructure.Exception
namespace Wox.Infrastructure.Exception
{ {
public class WoxPluginException : WoxException public class WoxPluginException : WoxException
{ {

View File

@@ -1,6 +1,4 @@
using System.Diagnostics; using NLog;
using NLog;
using Wox.Infrastructure.Exception;
namespace Wox.Infrastructure.Logger namespace Wox.Infrastructure.Logger
{ {

View File

@@ -1,5 +1,4 @@
using System; using System;
using System.Diagnostics;
using Wox.Infrastructure.Logger; using Wox.Infrastructure.Logger;
namespace Wox.Infrastructure namespace Wox.Infrastructure

View File

@@ -1,5 +1,4 @@
using System; using System.IO;
using System.IO;
using System.Threading; using System.Threading;
using Newtonsoft.Json; using Newtonsoft.Json;

View File

@@ -1,5 +1,5 @@
using System.Collections.Generic; using System;
using System; using System.Collections.Generic;
namespace Wox.Plugin namespace Wox.Plugin
{ {

View File

@@ -1,4 +1,5 @@
using System; using System;
namespace Wox.Plugin.Features namespace Wox.Plugin.Features
{ {
[Obsolete("Delete Wox.Plugin.Features using directive, " + [Obsolete("Delete Wox.Plugin.Features using directive, " +

View File

@@ -1,6 +1,6 @@
using System; using System;
using System.IO;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO;
namespace Wox.Plugin namespace Wox.Plugin
{ {

View File

@@ -1,7 +1,4 @@
using System; using System.Windows;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using Wox.Core.i18n; using Wox.Core.i18n;
using Wox.Core.Plugin; using Wox.Core.Plugin;
using Wox.Core.UserSettings; using Wox.Core.UserSettings;

View File

@@ -1,6 +1,5 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing; using System.Drawing;
using System.IO; using System.IO;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
@@ -8,7 +7,6 @@ using System.Windows;
using System.Windows.Media; using System.Windows.Media;
using System.Windows.Media.Imaging; using System.Windows.Media.Imaging;
using Wox.Infrastructure; using Wox.Infrastructure;
using Stopwatch = Wox.Infrastructure.Stopwatch;
namespace Wox.ImageLoader namespace Wox.ImageLoader
{ {

View File

@@ -1,6 +1,5 @@
using System; using System;
using System.IO; using System.IO;
using System.Threading.Tasks;
using System.Windows; using System.Windows;
using System.Windows.Forms; using System.Windows.Forms;
using System.Windows.Input; using System.Windows.Input;

View File

@@ -1,14 +1,11 @@
using System; using System;
using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Linq;
using System.Diagnostics; using System.Runtime.Remoting.Contexts;
using System.Windows; using System.Windows;
using System.Windows.Controls; using System.Windows.Controls;
using System.Windows.Input; using System.Windows.Input;
using System.Windows.Media; using System.Windows.Media;
using System.Linq;
using System.Runtime.Remoting.Contexts;
using Wox.Core.UserSettings; using Wox.Core.UserSettings;
using Wox.Helper; using Wox.Helper;
using Wox.Plugin; using Wox.Plugin;