19 lines
312 B
C#
19 lines
312 B
C#
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};
|
|
}
|
|
} |