минирефакторинг

This commit is contained in:
2025-02-19 22:36:18 +03:00
parent dc7cb4a670
commit 8a45801943
14 changed files with 81 additions and 68 deletions
+3 -2
View File
@@ -3,10 +3,10 @@ using mROA.Implementation;
namespace Example.Backend;
public class Printer : IPrinter
{
public string Name;
public string GetName()
{
return Name;
@@ -15,6 +15,7 @@ public class Printer : IPrinter
public async Task<SharedObject<IPage>> Print(string text, CancellationToken cancellationToken = default)
{
// throw new Exception("The method or operation is not implemented.");
return new Page {Text = text};
// var sharedObject = new Page { Text = text };
return new Page { Text = text };
}
}