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-03-10 00:00:24 +03:00
|
|
|
public partial interface IPrinter : IDisposable, IShared
|
2025-02-20 16:10:09 +03:00
|
|
|
{
|
2025-03-08 23:22:59 +03:00
|
|
|
double Resource { get; set; }
|
2025-02-20 16:10:09 +03:00
|
|
|
string GetName();
|
2025-03-10 00:00:24 +03:00
|
|
|
Task<IPage> Print(string text, bool someParameter, RequestContext context, CancellationToken cancellationToken);
|
2025-03-11 19:42:10 +03:00
|
|
|
event Action<IPage, RequestContext> OnPrint;
|
2025-02-20 16:10:09 +03:00
|
|
|
}
|
2025-02-05 18:04:35 +03:00
|
|
|
}
|