База для нового бэкэнда

This commit is contained in:
2025-03-06 14:10:52 +03:00
parent be6dedaee4
commit c802f337c7
18 changed files with 245 additions and 163 deletions
+10 -7
View File
@@ -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);
}
}
+9
View File
@@ -0,0 +1,9 @@
using mROA.Implementation.Attributes;
namespace Example.Shared
{
[SharedObjectInterface]
public interface IPagesList : IDataList<IPage>
{
}
}