сетевой вызов метода работает

This commit is contained in:
2025-02-01 19:36:26 +03:00
parent 7fdff923a3
commit 3c73701197
11 changed files with 77 additions and 47 deletions
+2 -4
View File
@@ -2,18 +2,16 @@
public interface ICallRequest
{
Guid CallRequestId { get; }
Guid CallRequestId { get; internal set; }
int CommandId { get; }
int ClientId { get; }
int ObjectId { get; }
object Parameter { get; }
}
public class JsonCallRequest : ICallRequest
{
public Guid CallRequestId { get; } = Guid.NewGuid();
public Guid CallRequestId { get; set; } = Guid.NewGuid();
public int CommandId { get; set; }
public int ClientId { get; set; }
public int ObjectId { get; set; } = -1;
public object? Parameter { get; set; }
}