Добавлена поддержка нескольких параметров в кодген
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user