Практически доделанный кодген, но не работает демка

This commit is contained in:
2025-03-10 00:00:24 +03:00
parent e0088ea22c
commit 0dbc065d9e
18 changed files with 248 additions and 149 deletions
-1
View File
@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using mROA.Implementation;
using mROA.Implementation.Attributes;
namespace Example.Shared
{
+1 -1
View File
@@ -3,7 +3,7 @@ using mROA.Implementation.Attributes;
namespace Example.Shared
{
[SharedObjectInterface]
public interface IPagesList : IDataList<IPage>
public partial interface IPagesList : IDataList<IPage>
{
}
}
+3 -3
View File
@@ -7,11 +7,11 @@ using mROA.Implementation.Attributes;
namespace Example.Shared
{
[SharedObjectInterface]
public interface IPrinter : IDisposable, IShared
public partial interface IPrinter : IDisposable, IShared
{
double Resource { get; set; }
string GetName();
Task<IPage> Print(string text, bool someParameter, CancellationToken cancellationToken);
event Action<IPage> OnPrint;
Task<IPage> Print(string text, bool someParameter, RequestContext context, CancellationToken cancellationToken);
event Action<IPage, RequestContext> OnPrint;
}
}