Files
mROA/Example.Shared/IPrinter.cs
T

20 lines
622 B
C#
Raw Normal View History

2025-02-23 10:18:38 +03:00
using System;
using System.Threading;
using System.Threading.Tasks;
using mROA.Implementation;
using mROA.Implementation.Attributes;
namespace Example.Shared
{
[SharedObjectInterface]
public partial interface IPrinter : IDisposable, IShared
{
double Resource { get; set; }
string GetName();
Task<IPage> Print(string text, bool someParameter, RequestContext context, CancellationToken cancellationToken);
event Action<IPage, RequestContext> OnPrint;
2025-05-03 21:43:02 +03:00
[Untrusted]
Task SomeoneIsApproaching(string humanName);
2025-05-14 12:58:14 +03:00
Task SetFingerPrint(int[] fingerPrint);
}
}