public void Help() { Html.Dom.Head head = new Html.Dom.Head(this.Head.Title); foreach(var node in this.Head) head.Add(node); head.Add( new Html.Dom.MetaData() { CharacterSet = "UTF-8" }, new Html.Dom.MetaData() { Name = "generator", Content = this.module.Application.Product + " " + this.module.Application.Version }, new Html.Dom.MetaData() { Name = "date", Content = DateTime.Today.ToShortDateString() } ); new Kean.Html.Dom.Document(head, new Html.Dom.Body(this.GetHelp(this.Object))).Save(this.HelpFilename); System.Diagnostics.Process.Start(this.HelpFilename.PlatformPath); }
public Document(Head head, Body body) { this.Head = head; this.Body = body; }