// This method will be run during the start of your application and every time you update it public void Configure(ILiveSharpRuntime app) { app.Config.SetValue("pageHotReloadMethod", "build"); app.UseDefaultXamarinFormsHandler(); app.Config.SetValue("disableBlazorCSS", "false"); app.UseDefaultBlazorHandler(); }
public void Initialize(ILiveSharpRuntime runtime) { _runtime = runtime; if (_runtime.Config.TryGetValue("ignoredViewModels", out var viewModels)) { if (!string.IsNullOrWhiteSpace(viewModels)) { _ignoredViewModels = viewModels.Split(','); } } }
public void Initialize(ILiveSharpRuntime runtime) { _runtime = runtime; if (runtime.Config.TryGetValue("pageHotReloadMethod", out var methodName)) { _pageHotReloadMethodName = methodName; } else { _pageHotReloadMethodName = "Build"; } }
public void Run(ILiveSharpRuntime app) { // Use this method to execute any code in runtime // Every time you update this method LiveSharp will invoke it }
// This method will be run during the start of your application and every time you update it public void Configure(ILiveSharpRuntime app) { app.Config.SetValue("disableBlazorCSS", "false"); app.UseDefaultBlazorHandler(); }
// This method will be run during the start of your application and every time you update it public void Configure(ILiveSharpRuntime app) { }
public void Run(ILiveSharpRuntime app) { }
public void Initialize(ILiveSharpRuntime runtime) { _runtime = runtime; _runtime.Inspector = new XamarinFormsInspector(); }
public void Initialize(ILiveSharpRuntime runtime) { _runtime = runtime; }