예제 #1
0
 private static void buildCache(IHttpService http, ITemplateCacheService templateCache)
 {
     string[] uis =
     {
         LevelSelectorController.View,
     };
     for (int index = 0; index < uis.Length; index++)
     {
         var ui = string.Format("{1}partials/UIs/{0}.html", uis[index], Constants.ContentAddress);
         http.Get(ui, null).Success(a => templateCache.Put(ui, a));
     }
 }
예제 #2
0
       private static void buildCache(IHttpService http, ITemplateCacheService templateCache)
       {
           string[] uis =
           {  							GameController.View,
 							MinimizeController.View,
 							DebugGameController.View,
 							TestGameController.View,
 							GameEffectsEditorController.View,
 							LoginController.View,
 							DebugQuestionController.View,
 							QuestionController.View,
 							HomeController.View,
 							ActiveLobbyController.View,
 							CreateRoomController.View,
 							GameManagerController.View,
 							GameEditorController.View,
 							GameLayoutEditorController.View,
 							GameTestEditorController.View,
 							GameScenarioEditorController.View,
 							GameCodeController.View,
 							MessageController.View,
                           
           };
           for (int index = 0; index < uis.Length; index++)
           {
               var ui = string.Format("{1}partials/UIs/{0}.html", uis[index], Constants.ContentAddress);
               http.Get(ui, null).Success(a => templateCache.Put(ui, a));
           }
       }
예제 #3
0
 private static void buildCache(IHttpService http, ITemplateCacheService templateCache)
 {
     string[] uis =
     {
         LevelSelectorController.View,
     };
     for (int index = 0; index < uis.Length; index++)
     {
         var ui = string.Format("{1}partials/UIs/{0}.html", uis[index], Constants.ContentAddress);
         http.Get(ui, null).Success(a => templateCache.Put(ui, a));
     }
 }