Exemplo n.º 1
0
 private static Isop.Server.Models.Controller Controller(Build that, Isop.Domain.Controller type)
 {
     return new Isop.Server.Models.Controller(type.Name, type.GetControllerActionMethods().Select(m => Method(that, type, m)).ToArray());
 }
Exemplo n.º 2
0
 private static Controller Controller(Build that, Isop.Domain.Controller type)
 {
     return new Controller
     {
         Name = type.Name,
         Methods = type.GetControllerActionMethods().Select(m => Method(that, type, m)).ToArray()
     };
 }