MAJOR CHANGE: Refactoring namespace for controls

Chaning namespace for controls depending on their use area to:

Controls.Hybrid
Controls.Inline
Controls.Reply

Updating example project as well.
This commit is contained in:
FlorianDahn
2021-01-15 19:33:44 +01:00
parent 6b404545df
commit 376ba68e8e
17 changed files with 23 additions and 17 deletions
@@ -15,7 +15,7 @@ using TelegramBotBase.Exceptions;
using TelegramBotBase.Form;
using static TelegramBotBase.Base.Async;
namespace TelegramBotBase.Controls
namespace TelegramBotBase.Controls.Hybrid
{
public class ButtonGrid : Base.ControlBase
{
@@ -11,7 +11,7 @@ using TelegramBotBase.Form;
using static TelegramBotBase.Tools.Arrays;
using static TelegramBotBase.Tools.Time;
namespace TelegramBotBase.Controls
namespace TelegramBotBase.Controls.Inline
{
public class CalendarPicker : Base.ControlBase
{
@@ -8,7 +8,7 @@ using TelegramBotBase.Base;
using TelegramBotBase.Enums;
using TelegramBotBase.Form;
namespace TelegramBotBase.Controls
namespace TelegramBotBase.Controls.Inline
{
public class MonthPicker : CalendarPicker
{
@@ -5,7 +5,7 @@ using System.Text;
using System.Threading.Tasks;
using TelegramBotBase.Base;
namespace TelegramBotBase.Controls
namespace TelegramBotBase.Controls.Inline
{
/// <summary>
/// A simple control for show and managing progress.
@@ -7,7 +7,7 @@ using System.Threading.Tasks;
using TelegramBotBase.Base;
using TelegramBotBase.Form;
namespace TelegramBotBase.Controls
namespace TelegramBotBase.Controls.Inline
{
public class ToggleButton : ControlBase
{
@@ -6,7 +6,7 @@ using System.Threading.Tasks;
using TelegramBotBase.Base;
using TelegramBotBase.Form;
namespace TelegramBotBase.Controls
namespace TelegramBotBase.Controls.Inline
{
public class TreeView : ControlBase
{
@@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TelegramBotBase.Controls
namespace TelegramBotBase.Controls.Inline
{
public class TreeViewNode
{