public static void Publish(this Xamarin.Forms.Page page, string path) { Goui.UI.Publish(path, () => page.CreateElement()); }
public static void PublishShared(this Xamarin.Forms.Page page, string path) { var lazyPage = new Lazy <Goui.Html.Element> ((() => page.CreateElement()), true); Goui.UI.Publish(path, () => lazyPage.Value); }