MetaModel.cs 629 B

123456789101112131415161718192021222324252627
  1. using System;
  2. using System.Collections.Generic;
  3. namespace TEAMModelOS.SDK.Module.GrpcServer.Model.Meta
  4. {
  5. public class MetaModel
  6. {
  7. public static string Ip { get; set; }
  8. public static int Port { get; set; }
  9. public static DateTime StartTime { get; set; }
  10. public static List<MetaMethodModel> Methods { get; set; } = new List<MetaMethodModel>();
  11. }
  12. public class MetaMethodModel
  13. {
  14. public string FullName { get; set; }
  15. public Type RequestType { get; set; }
  16. public Type ResponseType { get; set; }
  17. public Delegate Handler { get; set; }
  18. }
  19. }