From 98199f2e9b0ecd03235774ae086dacaa375dbeab Mon Sep 17 00:00:00 2001 From: Florian Zevedei Date: Mon, 2 Dec 2024 01:57:14 +0100 Subject: [PATCH] Adding additional intellisense documentation to refurbished Json serialization --- .../Interfaces/ISessionSerializationStage.cs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/TelegramBotBase/Builder/Interfaces/ISessionSerializationStage.cs b/TelegramBotBase/Builder/Interfaces/ISessionSerializationStage.cs index 14400de..9a35b3f 100644 --- a/TelegramBotBase/Builder/Interfaces/ISessionSerializationStage.cs +++ b/TelegramBotBase/Builder/Interfaces/ISessionSerializationStage.cs @@ -23,15 +23,32 @@ public interface ISessionSerializationStage /// Using the complex version of .Net JSON, which can serialize all objects. /// Saves in application directory. /// + /// + /// + /// Has been changed lately to not use Newtonsoft.Json anymore. + /// For the legacy version add the nuget package below and use the method. + /// + /// TelegramBotBase.Extensions.Serializer.Legacy.NewtonsoftJson + /// /// /// + /// ILanguageSelectionStage UseJSON(); /// /// Using the complex version of .Net JSON, which can serialize all objects. + /// Saves in application directory. /// + /// + /// + /// Has been changed lately to not use Newtonsoft.Json anymore. + /// For the legacy version add the nuget package below and use the method. + /// + /// TelegramBotBase.Extensions.Serializer.Legacy.NewtonsoftJson + /// /// /// + /// ILanguageSelectionStage UseJSON(string path); ///