예제 #1
0
 public JsonResult SearchRuntimeFor(string partialName)
 {
     var searchResults = new RuntimeSearchResults();
     searchResults.VariableNames = new string[] { "One", "Two", "Three" };
     searchResults.GlobalNames = new string[] { "Six", "Seven", "Eight" };
     return Json(searchResults, JsonRequestBehavior.AllowGet);
 }
예제 #2
0
        public JsonResult SearchRuntimeFor(string partialName)
        {
            var searchResults = new RuntimeSearchResults();

            searchResults.VariableNames = new string[] { "One", "Two", "Three" };
            searchResults.GlobalNames   = new string[] { "Six", "Seven", "Eight" };
            return(Json(searchResults, JsonRequestBehavior.AllowGet));
        }