示例#1
0
 public ActionResult Index()
 {
     var factory = new ScriptRunner.Factory();
     var scriptGetter = factory.ScriptGetter;
     return new JsonResult {
         Data = scriptGetter.GetScripts(),
         JsonRequestBehavior = JsonRequestBehavior.AllowGet,
     };
 }
示例#2
0
        public ActionResult Index()
        {
            var factory      = new ScriptRunner.Factory();
            var scriptGetter = factory.ScriptGetter;

            return(new JsonResult {
                Data = scriptGetter.GetScripts(),
                JsonRequestBehavior = JsonRequestBehavior.AllowGet,
            });
        }
示例#3
0
 public BuildCommand(ScriptRunner.Factory factory, BuildScriptHost host)
 {
     _factory = factory;
     _host    = host;
 }
示例#4
0
 public DescriptionCommand(ScriptRunner.Factory factory, DescriptionScriptHost host)
 {
     _factory = factory;
     _host    = host;
 }