change function to C# style
Change the first letter of function to upper case letter to fit C# code style
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
|
||||
namespace Shadowsocks.Encrypt
|
||||
{
|
||||
public static class EncryptorFactory
|
||||
{
|
||||
public static IEncryptor GetEncryptor(string method, string password)
|
||||
{
|
||||
if (string.IsNullOrEmpty(method) || method.ToLowerInvariant() == "table")
|
||||
{
|
||||
return new TableEncryptor(method, password);
|
||||
}
|
||||
|
||||
return new PolarSSLEncryptor(method, password);
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace Shadowsocks.Encrypt
|
||||
{
|
||||
public static class EncryptorFactory
|
||||
{
|
||||
public static IEncryptor GetEncryptor(string method, string password)
|
||||
{
|
||||
if (string.IsNullOrEmpty(method) || method.ToLowerInvariant() == "table")
|
||||
{
|
||||
return new TableEncryptor(method, password);
|
||||
}
|
||||
|
||||
return new PolarSSLEncryptor(method, password);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user