using System; using System.Collections.Generic; using System.Text; using TelegramBotBase.Controls.Hybrid; namespace TelegramBotBase.Interfaces { public interface IDataSource { /// /// Returns the amount of items within this source. /// /// int Count { get; } /// /// Returns the item at the specific index. /// /// /// T ItemAt(int index); /// /// Get all items from this source within this range. /// /// /// /// List ItemRange(int start, int count); /// /// Gets a list of all items of this datasource. /// /// List AllItems(); } }