Ejemplo n.º 1
0
 // 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(',');
         }
     }
 }
Ejemplo n.º 3
0
        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();
 }
Ejemplo n.º 6
0
 // This method will be run during the start of your application and every time you update it
 public void Configure(ILiveSharpRuntime app)
 {
 }
Ejemplo n.º 7
0
 public void Run(ILiveSharpRuntime app)
 {
 }
Ejemplo n.º 8
0
 public void Initialize(ILiveSharpRuntime runtime)
 {
     _runtime           = runtime;
     _runtime.Inspector = new XamarinFormsInspector();
 }
Ejemplo n.º 9
0
 public void Initialize(ILiveSharpRuntime runtime)
 {
     _runtime = runtime;
 }