예제 #1
0
 public void RegisterModule(Content.Module module)
 {
     HttpGet <Module>(string.Format("lms/module/{0}/register", module.Guid), null, ErrorHandlerPrint, new Dictionary <string, string>
     {
         { "application", module.application.Guid.ToString() },
         { "name", module.title },
     });
 }
예제 #2
0
 public void GetModuleSummary(Content.Module module, Action <ModuleSummary> result_callback)
 {
     HttpGet(string.Format("lms/module/{0}/summary", module.Guid), result_callback, ErrorHandlerExec(result_callback), null);
 }
예제 #3
0
 public void GetModule(Content.Module module, Action <Module> result_callback)
 {
     moduleGuidCache.Get(module, result_callback, (mod, c) => HttpGet(string.Format("lms/module/{0}", mod.Guid), c, ErrorHandlerPrintExec(c), null));
 }