mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-07-16 07:59:44 +08:00
style(work): clean code
This commit is contained in:
parent
b4add56432
commit
5f8c5e0ae7
@ -1,12 +1,9 @@
|
|||||||
using System.Linq;
|
using System.Text.Json.Serialization;
|
||||||
using System.Text.Json.Serialization;
|
|
||||||
|
|
||||||
namespace System.Text.Json.Converters
|
namespace System.Text.Json.Converters
|
||||||
{
|
{
|
||||||
internal class TextualIntegerArrayWithPipeSplitConverter : JsonConverter<int[]?>
|
internal class TextualIntegerArrayWithPipeSplitConverter : JsonConverter<int[]?>
|
||||||
{
|
{
|
||||||
private const string SEPARATOR = "|";
|
|
||||||
|
|
||||||
public override int[]? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
|
public override int[]? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
|
||||||
{
|
{
|
||||||
if (reader.TokenType == JsonTokenType.Null)
|
if (reader.TokenType == JsonTokenType.Null)
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
using System;
|
using System.Threading.Tasks;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace SKIT.FlurlHttpClient.Wechat.Work.UnitTests
|
namespace SKIT.FlurlHttpClient.Wechat.Work.UnitTests
|
||||||
|
@ -1,10 +1,5 @@
|
|||||||
using System;
|
using System.IO;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace SKIT.FlurlHttpClient.Wechat.Work.UnitTests
|
namespace SKIT.FlurlHttpClient.Wechat.Work.UnitTests
|
||||||
|
@ -1,10 +1,4 @@
|
|||||||
using System;
|
using Xunit;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using System.Xml.Linq;
|
|
||||||
using Xunit;
|
|
||||||
|
|
||||||
namespace SKIT.FlurlHttpClient.Wechat.Work.UnitTests
|
namespace SKIT.FlurlHttpClient.Wechat.Work.UnitTests
|
||||||
{
|
{
|
||||||
|
@ -1,10 +1,4 @@
|
|||||||
using System;
|
using Xunit;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Xunit;
|
|
||||||
|
|
||||||
namespace SKIT.FlurlHttpClient.Wechat.Work.UnitTests
|
namespace SKIT.FlurlHttpClient.Wechat.Work.UnitTests
|
||||||
{
|
{
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
using System;
|
namespace SKIT.FlurlHttpClient.Wechat.Work.UnitTests
|
||||||
|
|
||||||
namespace SKIT.FlurlHttpClient.Wechat.Work.UnitTests
|
|
||||||
{
|
{
|
||||||
class TestClients
|
internal class TestClients
|
||||||
{
|
{
|
||||||
static TestClients()
|
static TestClients()
|
||||||
{
|
{
|
||||||
|
@ -4,7 +4,7 @@ using System.Text.Json;
|
|||||||
|
|
||||||
namespace SKIT.FlurlHttpClient.Wechat.Work.UnitTests
|
namespace SKIT.FlurlHttpClient.Wechat.Work.UnitTests
|
||||||
{
|
{
|
||||||
class TestConfigs
|
internal class TestConfigs
|
||||||
{
|
{
|
||||||
static TestConfigs()
|
static TestConfigs()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user