2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-09-13 12:43:17 +00:00
This commit is contained in:
2019-11-10 12:41:31 +03:00
parent 8d06fd05ad
commit 5e87ea5247
41 changed files with 2076 additions and 431 deletions

View File

@@ -36,7 +36,7 @@ namespace Esiur.Resource
public virtual void Destroy()
{
OnDestroy?.Invoke(this);
}
public virtual AsyncReply<bool> Trigger(ResourceTrigger trigger)
@@ -51,5 +51,10 @@ namespace Esiur.Resource
{
return true;
}
~Resource()
{
Destroy();
}
}
}