2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2026-06-13 14:38:43 +00:00
This commit is contained in:
2026-05-26 00:43:28 +03:00
parent ae6a1fc8d7
commit e4a54ffbe8
27 changed files with 174 additions and 118 deletions
+2 -2
View File
@@ -38,9 +38,9 @@ public class Resource : IResource
OnDestroy?.Invoke(this);
}
public virtual AsyncReply<bool> Trigger(ResourceTrigger trigger)
public virtual AsyncReply<bool> Trigger(ResourceOperation trigger)
{
if (trigger == ResourceTrigger.Initialize)
if (trigger == ResourceOperation.Initialize)
return new AsyncReply<bool>(this.Create());
else
return new AsyncReply<bool>(true);