Теперь без шела работает
This commit is contained in:
@@ -3,7 +3,7 @@ using mROA.Implementation.Attributes;
|
||||
namespace Example.Shared
|
||||
{
|
||||
// [SharedObjectInterface]
|
||||
// public interface IDataList<T>
|
||||
// public interface IDataList<T> : IShared
|
||||
// {
|
||||
// T Get(int index);
|
||||
// void Add(T item);
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using mROA.Implementation;
|
||||
using mROA.Implementation.Attributes;
|
||||
|
||||
namespace Example.Shared
|
||||
{
|
||||
[SharedObjectInterface]
|
||||
public interface ILoadTest
|
||||
public interface ILoadTest : IShared
|
||||
{
|
||||
int Next(int last);
|
||||
int Last(int next);
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
using mROA.Implementation;
|
||||
using mROA.Implementation.Attributes;
|
||||
|
||||
namespace Example.Shared
|
||||
{
|
||||
[SharedObjectInterface]
|
||||
public interface IPage
|
||||
public interface IPage : IShared
|
||||
{
|
||||
byte[] GetData();
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ using mROA.Implementation.Attributes;
|
||||
namespace Example.Shared
|
||||
{
|
||||
[SharedObjectInterface]
|
||||
public interface IPrinter : IDisposable
|
||||
public interface IPrinter : IDisposable, IShared
|
||||
{
|
||||
string GetName();
|
||||
Task<IPage> Print(string text, CancellationToken cancellationToken);
|
||||
|
||||
@@ -4,13 +4,12 @@ using mROA.Implementation.Attributes;
|
||||
namespace Example.Shared
|
||||
{
|
||||
[SharedObjectInterface]
|
||||
public interface IPrinterFactory
|
||||
public interface IPrinterFactory : IShared
|
||||
{
|
||||
IPrinter Create(string printerName);
|
||||
void Register(IPrinter printer);
|
||||
IPrinter GetPrinterByName(string printerName);
|
||||
IPrinter GetFirstPrinter();
|
||||
string[] CollectAllNames();
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user