mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-10-29 12:06:51 +00:00
Bugfix
This commit is contained in:
1 parent
08e95bd4dc
commit
8763ac805e
4 files changed
+56
-15
No files matched your search
@@ -36,12 +36,20 @@ namespace Esiur.Resource
|
||||
|
||||
public virtual void Destroy()
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
public virtual AsyncReply<bool> Trigger(ResourceTrigger trigger)
|
||||
{
|
||||
return new AsyncReply<bool>(true);
|
||||
if (trigger == ResourceTrigger.Initialize)
|
||||
return new AsyncReply<bool>(this.Create());
|
||||
else
|
||||
return new AsyncReply<bool>(true);
|
||||
}
|
||||
|
||||
public virtual bool Create()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user