работает при разделенной абстракции и реализации
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using Example.Shared;
|
||||
using mROA.Implementation;
|
||||
|
||||
namespace Example.Backend;
|
||||
|
||||
|
||||
public class Printer : IPrinter
|
||||
{
|
||||
public string Name;
|
||||
public string GetName()
|
||||
{
|
||||
return Name;
|
||||
}
|
||||
|
||||
public TransmittedSharedObject<IPage> Print(string text)
|
||||
{
|
||||
return new Page {Text = text};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user