2025-02-23 10:18:38 +03:00
|
|
|
using System;
|
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]
|
2025-02-23 10:18:38 +03:00
|
|
|
public interface IPrinter : IDisposable
|
2025-02-20 16:10:09 +03:00
|
|
|
{
|
|
|
|
|
string GetName();
|
2025-03-01 16:53:00 +03:00
|
|
|
Task<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
|
|
|
}
|