минирефакторинг
This commit is contained in:
@@ -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 };
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user