mirror of
https://github.com/bitwarden/server
synced 2026-01-05 10:03:23 +00:00
Changed all C# control flow block statements to include space between keyword and open paren
This commit is contained in:
@@ -10,7 +10,7 @@ namespace Bit.Core.Utilities
|
||||
var contract = base.CreateDictionaryContract(objectType);
|
||||
var keyType = contract.DictionaryKeyType;
|
||||
|
||||
if(keyType.BaseType == typeof(Enum))
|
||||
if (keyType.BaseType == typeof(Enum))
|
||||
{
|
||||
contract.DictionaryKeyResolver = propName => ((T)Enum.Parse(keyType, propName)).ToString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user