Browse Source

Fix obsolete

master
Savorboard 5 years ago
parent
commit
835b589ae6
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      src/DotNetCore.CAP.Dashboard/JsonDispatcher.cs
  2. +1
    -1
      src/DotNetCore.CAP.Dashboard/JsonStats.cs

+ 2
- 2
src/DotNetCore.CAP.Dashboard/JsonDispatcher.cs View File

@@ -37,8 +37,8 @@ namespace DotNetCore.CAP.Dashboard
Converters = new JsonConverter[] Converters = new JsonConverter[]
{ {
new StringEnumConverter new StringEnumConverter
{
CamelCaseText= true
{
NamingStrategy = new CamelCaseNamingStrategy()
} }
} }
}; };


+ 1
- 1
src/DotNetCore.CAP.Dashboard/JsonStats.cs View File

@@ -34,7 +34,7 @@ namespace DotNetCore.CAP.Dashboard
{ {
new StringEnumConverter new StringEnumConverter
{ {
CamelCaseText = true
NamingStrategy = new CamelCaseNamingStrategy()
} }
} }
}; };


Loading…
Cancel
Save