From 04a4427cffe0c918977f25245f7ad9499532be91 Mon Sep 17 00:00:00 2001 From: clowwindy Date: Sat, 8 Nov 2014 01:02:50 +0800 Subject: [PATCH] update namespace --- shadowsocks-csharp/Controller/FileManager.cs | 2 +- shadowsocks-csharp/Controller/Local.cs | 6 +++--- shadowsocks-csharp/Controller/PACServer.cs | 4 ++-- shadowsocks-csharp/Controller/PolipoRunner.cs | 6 +++--- shadowsocks-csharp/Controller/ShadowsocksController.cs | 4 ++-- shadowsocks-csharp/Controller/SystemProxy.cs | 2 +- shadowsocks-csharp/Encrypt/EncryptorBase.cs | 2 +- shadowsocks-csharp/Encrypt/EncryptorFactory.cs | 2 +- shadowsocks-csharp/Encrypt/IEncryptor.cs | 2 +- shadowsocks-csharp/Encrypt/PolarSSL.cs | 2 +- shadowsocks-csharp/Encrypt/PolarSSLEncryptor.cs | 2 +- shadowsocks-csharp/Encrypt/TableEncryptor.cs | 2 +- shadowsocks-csharp/Model/Configuration.cs | 2 +- shadowsocks-csharp/Model/Server.cs | 2 +- shadowsocks-csharp/Program.cs | 8 ++++---- shadowsocks-csharp/Properties/Resources.Designer.cs | 4 ++-- shadowsocks-csharp/Properties/Settings.Designer.cs | 2 +- shadowsocks-csharp/View/ConfigForm.Designer.cs | 2 +- shadowsocks-csharp/View/ConfigForm.cs | 6 +++--- 19 files changed, 31 insertions(+), 31 deletions(-) diff --git a/shadowsocks-csharp/Controller/FileManager.cs b/shadowsocks-csharp/Controller/FileManager.cs index 5b210ba8..cc8f3bf9 100755 --- a/shadowsocks-csharp/Controller/FileManager.cs +++ b/shadowsocks-csharp/Controller/FileManager.cs @@ -4,7 +4,7 @@ using System.IO; using System.IO.Compression; using System.Text; -namespace shadowsocks.Controller +namespace Shadowsocks.Controller { public class FileManager { diff --git a/shadowsocks-csharp/Controller/Local.cs b/shadowsocks-csharp/Controller/Local.cs index a101a8fa..db6c71b8 100755 --- a/shadowsocks-csharp/Controller/Local.cs +++ b/shadowsocks-csharp/Controller/Local.cs @@ -3,10 +3,10 @@ using System.Collections.Generic; using System.Text; using System.Net.Sockets; using System.Net; -using shadowsocks.Encrypt; -using shadowsocks.Model; +using Shadowsocks.Encrypt; +using Shadowsocks.Model; -namespace shadowsocks.Controller +namespace Shadowsocks.Controller { class Local diff --git a/shadowsocks-csharp/Controller/PACServer.cs b/shadowsocks-csharp/Controller/PACServer.cs index b103c370..08b5c1a6 100755 --- a/shadowsocks-csharp/Controller/PACServer.cs +++ b/shadowsocks-csharp/Controller/PACServer.cs @@ -1,4 +1,4 @@ -using shadowsocks.Properties; +using Shadowsocks.Properties; using System; using System.Collections.Generic; using System.Diagnostics; @@ -8,7 +8,7 @@ using System.Net; using System.Net.Sockets; using System.Text; -namespace shadowsocks.Controller +namespace Shadowsocks.Controller { class PACServer { diff --git a/shadowsocks-csharp/Controller/PolipoRunner.cs b/shadowsocks-csharp/Controller/PolipoRunner.cs index 8d74c448..96c04db8 100755 --- a/shadowsocks-csharp/Controller/PolipoRunner.cs +++ b/shadowsocks-csharp/Controller/PolipoRunner.cs @@ -1,5 +1,5 @@ -using shadowsocks.Model; -using shadowsocks.Properties; +using Shadowsocks.Model; +using Shadowsocks.Properties; using System; using System.Collections.Generic; using System.Diagnostics; @@ -7,7 +7,7 @@ using System.IO; using System.IO.Compression; using System.Text; -namespace shadowsocks.Controller +namespace Shadowsocks.Controller { class PolipoRunner { diff --git a/shadowsocks-csharp/Controller/ShadowsocksController.cs b/shadowsocks-csharp/Controller/ShadowsocksController.cs index 11c92724..a3c7a4a8 100755 --- a/shadowsocks-csharp/Controller/ShadowsocksController.cs +++ b/shadowsocks-csharp/Controller/ShadowsocksController.cs @@ -1,9 +1,9 @@ -using shadowsocks.Model; +using Shadowsocks.Model; using System; using System.Collections.Generic; using System.Text; -namespace shadowsocks.Controller +namespace Shadowsocks.Controller { public class ShadowsocksController { diff --git a/shadowsocks-csharp/Controller/SystemProxy.cs b/shadowsocks-csharp/Controller/SystemProxy.cs index f47f326e..803a326a 100755 --- a/shadowsocks-csharp/Controller/SystemProxy.cs +++ b/shadowsocks-csharp/Controller/SystemProxy.cs @@ -4,7 +4,7 @@ using System.Collections.Generic; using System.Runtime.InteropServices; using System.Text; -namespace shadowsocks.Controller +namespace Shadowsocks.Controller { public class SystemProxy { diff --git a/shadowsocks-csharp/Encrypt/EncryptorBase.cs b/shadowsocks-csharp/Encrypt/EncryptorBase.cs index 96da6269..eb8c1f37 100644 --- a/shadowsocks-csharp/Encrypt/EncryptorBase.cs +++ b/shadowsocks-csharp/Encrypt/EncryptorBase.cs @@ -1,7 +1,7 @@ using System.Security.Cryptography; using System.Text; -namespace shadowsocks.Encrypt +namespace Shadowsocks.Encrypt { public abstract class EncryptorBase : IEncryptor diff --git a/shadowsocks-csharp/Encrypt/EncryptorFactory.cs b/shadowsocks-csharp/Encrypt/EncryptorFactory.cs index 38bbade4..422e0c2e 100644 --- a/shadowsocks-csharp/Encrypt/EncryptorFactory.cs +++ b/shadowsocks-csharp/Encrypt/EncryptorFactory.cs @@ -1,5 +1,5 @@  -namespace shadowsocks.Encrypt +namespace Shadowsocks.Encrypt { public static class EncryptorFactory { diff --git a/shadowsocks-csharp/Encrypt/IEncryptor.cs b/shadowsocks-csharp/Encrypt/IEncryptor.cs index 99dff850..3ca197d1 100644 --- a/shadowsocks-csharp/Encrypt/IEncryptor.cs +++ b/shadowsocks-csharp/Encrypt/IEncryptor.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; using System.Text; -namespace shadowsocks.Encrypt +namespace Shadowsocks.Encrypt { public interface IEncryptor : IDisposable { diff --git a/shadowsocks-csharp/Encrypt/PolarSSL.cs b/shadowsocks-csharp/Encrypt/PolarSSL.cs index d2b02784..0eab93c7 100755 --- a/shadowsocks-csharp/Encrypt/PolarSSL.cs +++ b/shadowsocks-csharp/Encrypt/PolarSSL.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Runtime.InteropServices; using System.Text; -namespace shadowsocks.Encrypt +namespace Shadowsocks.Encrypt { public class PolarSSL { diff --git a/shadowsocks-csharp/Encrypt/PolarSSLEncryptor.cs b/shadowsocks-csharp/Encrypt/PolarSSLEncryptor.cs index 9f176c3b..d2270196 100755 --- a/shadowsocks-csharp/Encrypt/PolarSSLEncryptor.cs +++ b/shadowsocks-csharp/Encrypt/PolarSSLEncryptor.cs @@ -4,7 +4,7 @@ using System.Runtime.InteropServices; using System.Security.Cryptography; using System.Text; -namespace shadowsocks.Encrypt +namespace Shadowsocks.Encrypt { public class PolarSSLEncryptor : EncryptorBase, IDisposable diff --git a/shadowsocks-csharp/Encrypt/TableEncryptor.cs b/shadowsocks-csharp/Encrypt/TableEncryptor.cs index ae02fd8b..a600a3a0 100644 --- a/shadowsocks-csharp/Encrypt/TableEncryptor.cs +++ b/shadowsocks-csharp/Encrypt/TableEncryptor.cs @@ -1,6 +1,6 @@ using System; -namespace shadowsocks.Encrypt +namespace Shadowsocks.Encrypt { public class TableEncryptor : EncryptorBase diff --git a/shadowsocks-csharp/Model/Configuration.cs b/shadowsocks-csharp/Model/Configuration.cs index 624ac510..0e47f82f 100755 --- a/shadowsocks-csharp/Model/Configuration.cs +++ b/shadowsocks-csharp/Model/Configuration.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.IO; using System.Text; -namespace shadowsocks.Model +namespace Shadowsocks.Model { [Serializable] public class Configuration diff --git a/shadowsocks-csharp/Model/Server.cs b/shadowsocks-csharp/Model/Server.cs index b5767738..af83f2d3 100755 --- a/shadowsocks-csharp/Model/Server.cs +++ b/shadowsocks-csharp/Model/Server.cs @@ -5,7 +5,7 @@ using System.IO; using System.Diagnostics; using SimpleJson; -namespace shadowsocks.Model +namespace Shadowsocks.Model { [Serializable] public class Server diff --git a/shadowsocks-csharp/Program.cs b/shadowsocks-csharp/Program.cs index 342bae8f..f8590df3 100755 --- a/shadowsocks-csharp/Program.cs +++ b/shadowsocks-csharp/Program.cs @@ -1,13 +1,13 @@ -using shadowsocks.Controller; -using shadowsocks.Properties; -using shadowsocks.View; +using Shadowsocks.Controller; +using Shadowsocks.Properties; +using Shadowsocks.View; using System; using System.Collections.Generic; using System.IO; using System.Runtime.InteropServices; using System.Windows.Forms; -namespace shadowsocks +namespace Shadowsocks { static class Program { diff --git a/shadowsocks-csharp/Properties/Resources.Designer.cs b/shadowsocks-csharp/Properties/Resources.Designer.cs index 0f52657c..8c4f781e 100755 --- a/shadowsocks-csharp/Properties/Resources.Designer.cs +++ b/shadowsocks-csharp/Properties/Resources.Designer.cs @@ -8,7 +8,7 @@ // //------------------------------------------------------------------------------ -namespace shadowsocks.Properties { +namespace Shadowsocks.Properties { using System; @@ -39,7 +39,7 @@ namespace shadowsocks.Properties { internal static global::System.Resources.ResourceManager ResourceManager { get { if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("shadowsocks.Properties.Resources", typeof(Resources).Assembly); + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Shadowsocks.Properties.Resources", typeof(Resources).Assembly); resourceMan = temp; } return resourceMan; diff --git a/shadowsocks-csharp/Properties/Settings.Designer.cs b/shadowsocks-csharp/Properties/Settings.Designer.cs index b6aaa111..685146c2 100755 --- a/shadowsocks-csharp/Properties/Settings.Designer.cs +++ b/shadowsocks-csharp/Properties/Settings.Designer.cs @@ -8,7 +8,7 @@ // //------------------------------------------------------------------------------ -namespace shadowsocks.Properties { +namespace Shadowsocks.Properties { [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] diff --git a/shadowsocks-csharp/View/ConfigForm.Designer.cs b/shadowsocks-csharp/View/ConfigForm.Designer.cs index 7058d702..d11dcb2a 100755 --- a/shadowsocks-csharp/View/ConfigForm.Designer.cs +++ b/shadowsocks-csharp/View/ConfigForm.Designer.cs @@ -1,4 +1,4 @@ -namespace shadowsocks.View +namespace Shadowsocks.View { partial class ConfigForm { diff --git a/shadowsocks-csharp/View/ConfigForm.cs b/shadowsocks-csharp/View/ConfigForm.cs index d6697473..014b128c 100755 --- a/shadowsocks-csharp/View/ConfigForm.cs +++ b/shadowsocks-csharp/View/ConfigForm.cs @@ -5,10 +5,10 @@ using System.Drawing; using System.Text; using System.Windows.Forms; using System.Diagnostics; -using shadowsocks.Controller; -using shadowsocks.Model; +using Shadowsocks.Controller; +using Shadowsocks.Model; -namespace shadowsocks.View +namespace Shadowsocks.View { public partial class ConfigForm : Form {