RpcEndpointInfo.cs 524 B

123456789101112131415161718192021222324
  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.Defaults
  7. {
  8. public class RpcEndpointInfo
  9. {
  10. public Dictionary<RpcPath, List<MethodInfo>> Routes { get; }
  11. // Token: 0x060000D3 RID: 211 RVA: 0x00003A40 File Offset: 0x00001C40
  12. public RpcEndpointInfo(Dictionary<RpcPath, List<MethodInfo>> routes)
  13. {
  14. if (routes == null)
  15. {
  16. throw new ArgumentNullException("routes");
  17. }
  18. this.Routes = routes;
  19. }
  20. }
  21. }