mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-06-27 05:23:13 +00:00
WeakRef
This commit is contained in:
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user