mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-10-24 03:50:57 +00:00
Revisions
This commit is contained in:
1 parent
2028db671f
commit
3b55d8d2f8
37 files changed
+1743
-230
No files matched your search
@@ -183,12 +183,13 @@ namespace Esiur.Tests.RPC.EsiurServer
|
||||
get => (object)_properties[1];
|
||||
set => SetResourceProperty(1, value);
|
||||
}
|
||||
protected override void _EmitEventByIndex(byte index, object args)
|
||||
protected override void _EmitEventByIndex(byte index, object args, ResourceCursor cursor, DateTime recordedAt)
|
||||
{
|
||||
switch (index)
|
||||
{
|
||||
case 0: MessageUpdated?.Invoke((byte[])args); break;
|
||||
}
|
||||
base._EmitEventByIndex(index, args, cursor, recordedAt);
|
||||
}
|
||||
[Export] public event ResourceEventHandler<byte[]> MessageUpdated;
|
||||
|
||||
|
||||
Reference in new issue
Block a user