using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FakeeDeck.ButtonType { internal class Button { public static string getButtonHTML(string icon, string image, string name, string action, Dictionary parameters = null) { string body = ""; body += "
"; body += "
"; if (parameters is not null) { foreach (var parameter in parameters) { body += ""; } } body += ""; body += "
"; body += "
"; return body; } public static string getButton(string Key) { return getButtonHTML(null, "https://docs.itego.cz/uploads/images/system/2022-04/OdRTPJ4iTTInmhdP-jagq7dfjpi2lilfg-imageedit-2-6604933313.gif", "Test", "test/test"); } public static bool invokeAction(string Key) { return false; } } }