File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/dotnetCampus.Ipc/Serialization Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ internal SystemTextJsonIpcObjectSerializer()
2525 /// <param name="jsonSerializerContext">业务端用于业务对象序列化和反序列化的 JSON 序列化上下文。可由源生成器生成。</param>
2626 public SystemTextJsonIpcObjectSerializer ( JsonSerializerContext jsonSerializerContext )
2727 {
28- JsonSerializerContext = new IpcDefaultJsonSerializerContext ( jsonSerializerContext ) ;
28+ JsonSerializerContext = new IpcCompositeJsonSerializerContext ( jsonSerializerContext ) ;
2929 }
3030
3131 /// <summary>
@@ -92,7 +92,7 @@ public IpcJsonElement SerializeToElement(object? value)
9292 }
9393}
9494
95- file class IpcDefaultJsonSerializerContext ( JsonSerializerContext businessContext ) : JsonSerializerContext ( null )
95+ internal class IpcCompositeJsonSerializerContext ( JsonSerializerContext businessContext ) : JsonSerializerContext ( null )
9696{
9797 public override JsonTypeInfo ? GetTypeInfo ( Type type )
9898 {
You can’t perform that action at this time.
0 commit comments