Blame view

netcore/src/Infrastructure/NCC/DynamicApiController/Internal/ParameterRouteTemplate.cs 1.11 KB
de2bd2f9   “wangming”   项目初始化
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
  using System.Collections.Generic;
  
  namespace NCC.DynamicApiController
  {
      /// <summary>
      /// 参数路由模板
      /// </summary>
      internal class ParameterRouteTemplate
      {
          /// <summary>
          /// 构造函数
          /// </summary>
          public ParameterRouteTemplate()
          {
              ControllerStartTemplates = new List<string>();
              ControllerEndTemplates = new List<string>();
              ActionStartTemplates = new List<string>();
              ActionEndTemplates = new List<string>();
          }
  
          /// <summary>
          /// 控制器之前的参数
          /// </summary>
          public IList<string> ControllerStartTemplates { get; set; }
  
          /// <summary>
          /// 控制器之后的参数
          /// </summary>
          public IList<string> ControllerEndTemplates { get; set; }
  
          /// <summary>
          /// 行为之前的参数
          /// </summary>
          public IList<string> ActionStartTemplates { get; set; }
  
          /// <summary>
          /// 行为之后的参数
          /// </summary>
          public IList<string> ActionEndTemplates { get; set; }
      }
  }