16 lines
415 B
C#
16 lines
415 B
C#
using System;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using mROA.Implementation;
|
|
using mROA.Implementation.Attributes;
|
|
|
|
namespace Example.Shared
|
|
{
|
|
[SharedObjectInterface]
|
|
public interface IPrinter : IDisposable, IShared
|
|
{
|
|
string GetName();
|
|
Task<IPage> Print(string text, bool someParameter, CancellationToken cancellationToken);
|
|
event Action<IPage> OnPrint;
|
|
}
|
|
} |