RpcMethodInfo.cs 400 B

12345678910111213141516171819202122232425262728
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Reflection;
  5. using System.Threading.Tasks;
  6. namespace JsonRPC4.Router
  7. {
  8. public class RpcMethodInfo
  9. {
  10. public MethodInfo Method
  11. {
  12. get;
  13. }
  14. public object[] Parameters
  15. {
  16. get;
  17. }
  18. public RpcMethodInfo(MethodInfo method, object[] parameters)
  19. {
  20. Method = method;
  21. Parameters = parameters;
  22. }
  23. }
  24. }