RpcRouteInfo.cs 544 B

1234567891011121314151617181920212223
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Reflection;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace EdjCase.JsonRpc.Router
  8. {
  9. public class RpcRouteInfo
  10. {
  11. public RpcMethodInfo MethodInfo { get; }
  12. public RpcPath Path { get; }
  13. public IServiceProvider RequestServices { get; }
  14. internal RpcRouteInfo(RpcMethodInfo methodInfo, RpcPath path, IServiceProvider requestServices)
  15. {
  16. this.MethodInfo = methodInfo;
  17. this.Path = path;
  18. this.RequestServices = requestServices;
  19. }
  20. }
  21. }