Files
mROA/Example.Backend/PrinterFactory.cs
T

15 lines
334 B
C#
Raw Normal View History

using Example.Backend;
using Example.Shared;
using mROA.Implementation;
using mROA.Implementation.Attributes;
namespace Example.Backend;
[SharedObjectSingleton]
public class PrinterFactory : IPrinterFactory
{
public SharedObject<IPrinter> Create(string printerName)
{
2025-02-06 09:18:52 +03:00
return new Printer {Name = printerName};
}
}