From e6a48115a6c2f5667a8d550c03dfa893665c988d Mon Sep 17 00:00:00 2001 From: Florian Zevedei Date: Fri, 29 Sep 2023 18:28:55 +0200 Subject: [PATCH] Adding xml comments to BotBase --- TelegramBotBase/Builder/BotBaseBuilder.cs | 5 ++++- TelegramBotBase/Builder/Interfaces/IBuildingStage.cs | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/TelegramBotBase/Builder/BotBaseBuilder.cs b/TelegramBotBase/Builder/BotBaseBuilder.cs index a936b6e..87b37d6 100644 --- a/TelegramBotBase/Builder/BotBaseBuilder.cs +++ b/TelegramBotBase/Builder/BotBaseBuilder.cs @@ -39,7 +39,10 @@ public class BotBaseBuilder : IAPIKeySelectionStage, IMessageLoopSelectionStage, /// private Dictionary> BotCommandScopes { get; } = new(); - + /// + /// Creates a full BotBase instance with all parameters previously set. + /// + /// public BotBase Build() { var bot = new BotBase(_apiKey, _client) diff --git a/TelegramBotBase/Builder/Interfaces/IBuildingStage.cs b/TelegramBotBase/Builder/Interfaces/IBuildingStage.cs index 17e49cc..1e92cc4 100644 --- a/TelegramBotBase/Builder/Interfaces/IBuildingStage.cs +++ b/TelegramBotBase/Builder/Interfaces/IBuildingStage.cs @@ -2,5 +2,9 @@ public interface IBuildingStage { + /// + /// Creates a full BotBase instance with all parameters previously set. + /// + /// BotBase Build(); } \ No newline at end of file