1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-15 07:43:37 +00:00

Changed all C# control flow block statements to include space between keyword and open paren (#800)

This commit is contained in:
Chad Scharf
2020-03-28 09:16:28 -04:00
committed by GitHub
parent 6c00ac43fc
commit 3c18fd7636
225 changed files with 2406 additions and 2406 deletions

View File

@@ -13,7 +13,7 @@ namespace Bit.Core.Utilities
public static void Init(string customUserAgent = null)
{
if(Inited)
if (Inited)
{
return;
}
@@ -91,7 +91,7 @@ namespace Bit.Core.Utilities
public static void Register<T>(string serviceName, T obj)
{
if(RegisteredServices.ContainsKey(serviceName))
if (RegisteredServices.ContainsKey(serviceName))
{
throw new Exception($"Service {serviceName} has already been registered.");
}
@@ -100,11 +100,11 @@ namespace Bit.Core.Utilities
public static T Resolve<T>(string serviceName, bool dontThrow = false)
{
if(RegisteredServices.ContainsKey(serviceName))
if (RegisteredServices.ContainsKey(serviceName))
{
return (T)RegisteredServices[serviceName];
}
if(dontThrow)
if (dontThrow)
{
return (T)(object)null;
}