+
-
-
diff --git a/Lux.UI/Components/Pages/Scratch.razor.cs b/Lux.UI/Components/Pages/Scratch.razor.cs
index c3ab8bd5..1ea2ac04 100644
--- a/Lux.UI/Components/Pages/Scratch.razor.cs
+++ b/Lux.UI/Components/Pages/Scratch.razor.cs
@@ -1,66 +1,109 @@
+using EgwCoreLib.Lux.Core;
using EgwCoreLib.Lux.Data;
using EgwCoreLib.Lux.Data.Services;
using Microsoft.AspNetCore.Components;
namespace Lux.UI.Components.Pages
{
- public partial class Scratch
+ public partial class Scratch : IDisposable
{
- private string windowUid = "TestWindow";
+ #region Public Methods
+
+ public void Dispose()
+ {
+ DLService.CalcDonePipe.EA_NewMessage -= CalcDonePipe_EA_NewMessage;
+ }
+
+ #endregion Public Methods
+
+ #region Protected Properties
+
+ [Inject]
+ protected IConfiguration Config { get; set; } = null!;
+
+ [Inject]
+ protected DataLayerServices DLService { get; set; } = null!;
+
+ [Inject]
+ protected ImageCacheService ICService { get; set; } = null!;
+
+ ///
+ /// Generazione componente SVG da mostrare
+ ///
+ protected MarkupString outSvg
+ {
+ get
+ {
+ // aggiunta gestione classe svg per posizionamento con costraints
+ var newSvg = currSvg.Replace("