Files
mROA/mROA/Implementation/CallRequest.cs
T

19 lines
476 B
C#
Raw Normal View History

2025-01-11 22:44:29 +03:00
namespace mROA.Implementation;
public interface ICallRequest
{
2025-02-07 17:23:42 +03:00
Guid CallRequestId { get; }
int CommandId { get; }
2025-01-13 15:03:03 +03:00
int ObjectId { get; }
object? Parameter { get; }
2025-01-11 22:44:29 +03:00
}
public class DefaultCallRequest : ICallRequest
2025-01-13 15:03:03 +03:00
{
public Guid CallRequestId { get; set; } = Guid.NewGuid();
public int CommandId { get; init; }
public int ObjectId { get; init; } = -1;
2025-02-17 16:52:58 +03:00
public Type ParameterType { get; init; }
2025-01-15 10:14:21 +03:00
public object? Parameter { get; set; }
2025-02-17 16:52:58 +03:00
}