From 426bb078afde08d4be8977fc4f02c366d1c4039f Mon Sep 17 00:00:00 2001 From: FlorianDahn Date: Sat, 27 Feb 2021 15:18:23 +0100 Subject: [PATCH] Adding DebuggerDisplay attribute --- TelegramBotBase/Form/ButtonBase.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TelegramBotBase/Form/ButtonBase.cs b/TelegramBotBase/Form/ButtonBase.cs index fb67b9a..54ffefe 100644 --- a/TelegramBotBase/Form/ButtonBase.cs +++ b/TelegramBotBase/Form/ButtonBase.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; @@ -7,6 +8,7 @@ using Telegram.Bot.Types.ReplyMarkups; namespace TelegramBotBase.Form { + [DebuggerDisplay("{Text}, {Value}")] /// /// Base class for button handling ///