mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-10-29 04:06:51 +00:00
Nullable
This commit is contained in:
1 parent
2006c47013
commit
2dc373770c
30 files changed
+155
-114
No files matched your search
@@ -29,10 +29,12 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace Esiur.Core;
|
||||
|
||||
#nullable enable
|
||||
|
||||
public delegate void DestroyedEvent(object sender);
|
||||
|
||||
public interface IDestructible
|
||||
{
|
||||
event DestroyedEvent OnDestroy;
|
||||
event DestroyedEvent? OnDestroy;
|
||||
void Destroy();
|
||||
}
|
||||
Reference in new issue
Block a user