Добавление IDisposable
This commit is contained in:
1 parent
b6226b68c9
commit
ae4979c9f9
12 files changed
+207
-72
No files matched your search
@@ -1,3 +1,4 @@
|
||||
using System;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Example.Shared;
|
||||
@@ -18,5 +19,10 @@ namespace Example.Backend
|
||||
// throw new Exception("The method or operation is not implemented.");
|
||||
return new Page {Text = text};
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Console.WriteLine("Dispose printer with name {0}", Name);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user