Как то худо-бедно начинает работать лучше

This commit is contained in:
2025-03-08 23:22:59 +03:00
parent 0e09b479af
commit 493f56c99a
6 changed files with 16 additions and 6 deletions
+2 -1
View File
@@ -10,7 +10,7 @@ namespace Example.Backend
{
public string Name;
public decimal Resource { get; set; }
public double Resource { get; set; } = 100d;
public string GetName()
{
@@ -22,6 +22,7 @@ namespace Example.Backend
// throw new Exception("The method or operation is not implemented.");
var page = new Page { Text = text };
OnPrint?.Invoke(page);
Resource /= 1.5;
return page;
}