2025-02-20 16:10:09 +03:00
|
|
|
using System.Threading;
|
|
|
|
|
using System.Threading.Tasks;
|
2025-02-05 18:04:35 +03:00
|
|
|
using mROA.Implementation;
|
2025-02-07 16:53:12 +03:00
|
|
|
using mROA.Implementation.Attributes;
|
2025-02-05 18:04:35 +03:00
|
|
|
|
2025-02-20 16:10:09 +03:00
|
|
|
namespace Example.Shared
|
2025-02-05 18:04:35 +03:00
|
|
|
{
|
2025-02-20 16:10:09 +03:00
|
|
|
[SharedObjectInterface]
|
|
|
|
|
public interface IPrinter
|
|
|
|
|
{
|
|
|
|
|
string GetName();
|
|
|
|
|
Task<SharedObject<IPage>> Print(string text, CancellationToken cancellationToken);
|
2025-02-07 16:53:12 +03:00
|
|
|
|
2025-02-20 16:10:09 +03:00
|
|
|
}
|
2025-02-05 18:04:35 +03:00
|
|
|
}
|