База для нового бэкэнда
This commit is contained in:
@@ -1,12 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using mROA.Implementation;
|
||||
using mROA.Implementation.Attributes;
|
||||
|
||||
namespace Example.Shared
|
||||
{
|
||||
// [SharedObjectInterface]
|
||||
// public interface IDataList<T> : IShared
|
||||
// {
|
||||
// T Get(int index);
|
||||
// void Add(T item);
|
||||
// void Set(int index, T item);
|
||||
// }
|
||||
public interface IDataList<T> : IShared, IDisposable
|
||||
{
|
||||
IReadOnlyList<T> Collection { get; }
|
||||
T Get(int index);
|
||||
void Add(T item);
|
||||
void Set(int index, T item);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
using mROA.Implementation.Attributes;
|
||||
|
||||
namespace Example.Shared
|
||||
{
|
||||
[SharedObjectInterface]
|
||||
public interface IPagesList : IDataList<IPage>
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user