2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-06-27 05:23:13 +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

@ -9,7 +9,7 @@ using System.Threading;
namespace Test
{
public class MyObject : Resource
public class MyObject : EntryPoint
{
[ResourceEvent]
@ -90,6 +90,16 @@ namespace Test
return reply;
}
public override AsyncReply<IResource[]> Query(string path, DistributedConnection sender)
{
return new AsyncReply<IResource[]>(new IResource[] { this });
}
public override bool Create()
{
return true;
}
[ResourceProperty]
public Structure Info
{