public WebPage(Namiono provider, string doctype = "html", string title = "") { namiono = provider; namiono.WebPageRequested += (sender, e) => { Render(e.Context, e.Path); }; this.doctype = doctype; this.title = title; }
static void Main(string[] args) { var namiono = new Namiono(); namiono.Start(); var x = "exit"; while (x != "exit!") { x = Console.ReadLine(); } namiono.Close(); }