RpcRouteInfo.cs 502 B

123456789101112131415161718192021222324252627282930313233
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. namespace JsonRPC4.Router
  6. {
  7. public class RpcRouteInfo
  8. {
  9. public RpcMethodInfo MethodInfo
  10. {
  11. get;
  12. }
  13. public RpcPath Path
  14. {
  15. get;
  16. }
  17. public IServiceProvider RequestServices
  18. {
  19. get;
  20. }
  21. internal RpcRouteInfo(RpcMethodInfo methodInfo, RpcPath path, IServiceProvider requestServices)
  22. {
  23. MethodInfo = methodInfo;
  24. Path = path;
  25. RequestServices = requestServices;
  26. }
  27. }
  28. }