Ejemplo n.º 1
0
 public EndpointContext(ApiDocGenerator gen, Type tController, ApiControllerDocAttribute cattr, ApiEndpointDocAttribute eattr, MethodInfo method)
 {
     Generator            = gen;
     TController          = tController;
     ApiControllerDocAttr = cattr;
     ApiEndpointDocAttr   = eattr;
     Method = method;
 }
Ejemplo n.º 2
0
 public ControllerContext(ApiDocGenerator gen, ApiControllerDocAttribute attr)
 {
     Generator  = gen;
     ApiDocAttr = attr;
 }