mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-09-08 18:20:49 +00:00
Revisions
This commit is contained in:
@@ -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