From 109d1a936cb77ff259ad4b29333afd22dc32f64a Mon Sep 17 00:00:00 2001 From: cloudflight <cloudflight@126.com> Date: 星期一, 05 八月 2024 08:48:32 +0800 Subject: [PATCH] [重构] 1、Map重构,变量命名,注释,相关操作以事件传出等 2、计算返回结果格式调整,命名空间 3、部分结构类型回调 --- WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/MapView/Common/ShouldSerializeContractResolver.cs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/MapView/Common/ShouldSerializeContractResolver.cs b/WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/MapView/Common/ShouldSerializeContractResolver.cs index 8868296..8a1ba09 100644 --- a/WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/MapView/Common/ShouldSerializeContractResolver.cs +++ b/WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/MapView/Common/ShouldSerializeContractResolver.cs @@ -7,7 +7,7 @@ using System.Text; using System.Threading.Tasks; -namespace Hydro.MapView +namespace Yw.WinFrmUI.Q3D { public class ShouldSerializeContractResolver : DefaultContractResolver { @@ -15,7 +15,7 @@ { JsonProperty property = base.CreateProperty(member, memberSerialization); - if (property.DeclaringType == typeof(Template) && member.Name == "network") + if (property.DeclaringType == typeof(Settings) && member.Name == "network") { property.ShouldSerialize = instance => false; } -- Gitblit v1.9.3