Добавление IDisposable

This commit is contained in:
micialware committed 2025-02-23 10:18:38 +03:00
1 parent b6226b68c9
commit ae4979c9f9
12 files changed
+207 -72

No files matched your search

+2 -1
View File
@@ -1,3 +1,4 @@
using System;
using System.Threading;
using System.Threading.Tasks;
using mROA.Implementation;
@@ -6,7 +7,7 @@ using mROA.Implementation.Attributes;
namespace Example.Shared
{
[SharedObjectInterface]
public interface IPrinter
public interface IPrinter : IDisposable
{
string GetName();
Task<SharedObject<IPage>> Print(string text, CancellationToken cancellationToken);