Добавлена поддержка нескольких параметров в кодген

This commit is contained in:
2025-03-07 09:01:21 +03:00
parent c802f337c7
commit 8d082d1ed4
9 changed files with 80 additions and 25 deletions
+3 -1
View File
@@ -10,6 +10,8 @@ namespace Example.Shared
IReadOnlyList<T> Collection { get; }
T Get(int index);
void Add(T item);
void Set(int index, T item);
void Remove(int index, T item);
event Action<T> OnAdd;
event Action<T> OnRemove;
}
}
+2 -1
View File
@@ -10,6 +10,7 @@ namespace Example.Shared
public interface IPrinter : IDisposable, IShared
{
string GetName();
Task<IPage> Print(string text, CancellationToken cancellationToken);
Task<IPage> Print(string text, bool someParameter, CancellationToken cancellationToken);
event Action<IPage> OnPrint;
}
}