From e4203a76e3c16acd2fc6acf3501208e78b22361b Mon Sep 17 00:00:00 2001 From: Fu Diwei Date: Thu, 26 Aug 2021 11:16:20 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E5=AE=8C=E5=96=84=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/WechatApi/Advanced_Extensions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/WechatApi/Advanced_Extensions.md b/docs/WechatApi/Advanced_Extensions.md index 54aad50e..329a0546 100644 --- a/docs/WechatApi/Advanced_Extensions.md +++ b/docs/WechatApi/Advanced_Extensions.md @@ -42,7 +42,7 @@ public static class MyFakeClientExtensions ```csharp /* 继承 WechatApiEvent 实现自定义的 JSON 格式的回调通知事件 */ -public class MyFakeEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable +public class MyFakeEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable { [Newtonsoft.Json.JsonProperty("my_fake_props")] [System.Text.Json.Serialization.JsonPropertyName("my_fake_props")] @@ -50,7 +50,7 @@ public class MyFakeEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializabl } /* 继承 WechatApiEvent 实现自定义的 XML 格式的回调通知事件 */ -public class MyFakeEvent : WechatApiEvent, WechatApiEvent.Types.IXmlSerializable +public class MyFakeEvent : WechatApiEvent, WechatApiEvent.Serialization.IXmlSerializable { [System.Xml.Serialization.XmlElement("my_fake_props")] public string MyFakeProps { get; set; }