static void Main(string[] args) { Link link = LinkFactory.GetLink("id", () => // This would be your onClick method. { // SetResponsePage(...); Console.WriteLine("Clicked"); Console.ReadLine(); }); link.FireOnClick(); }
static void Main(string[] args) { Link link = LinkFactory.GetLink("id", () => // This would be your onClick method. { // SetResponsePage(...); Console.WriteLine("Clicked"); Console.ReadLine(); }); link.FireOnClick(); }