фикс не правильного результата асинхронного метода
This commit is contained in:
1 parent
44eab91463
commit
75fb2776ac
8 files changed
+16
-16
No files matched your search
@@ -14,7 +14,7 @@ public class Printer : IPrinter
|
||||
|
||||
public async Task<TransmittedSharedObject<IPage>> Print(string text, CancellationToken cancellationToken = default)
|
||||
{
|
||||
throw new Exception("The method or operation is not implemented.");
|
||||
// throw new Exception("The method or operation is not implemented.");
|
||||
return new Page {Text = text};
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user