コード例 #1
0
 public static ScormEngineService getInstance()
 {
     if(_service == null){
         _service = new ScormEngineService(_serviceUrl, _appId, _securityKey);
     }
     return _service;
 }
コード例 #2
0
 public virtual void fixtureSetup()
 {
     if (cfg == null)
     {
         cfg = new Configuration(@"http://cloud.scorm.com/EngineWebServices/", "[App Id]", "[Secret Key]");
         //cfg = new Configuration(@"http://120.50.41.175/EngineWebServices", "defaultID", "changeme_lgpjkqk5JK");//"4JloSCYfXMancDw267peGZoL8s4GNlGhQkIV5qch");
         //cfg = new Configuration(@"http://bclark.local/EngineWebServices", "defaultID", "4JloSCYfXMancDw267peGZoL8s4GNlGhQkIV5qch");
         //cfg = new Configuration(@"http://test/EngineWebServices", "defaultID", "changeme_lgpjkqk5JK");
         //http://cloud.scorm.com/EngineWebServices/
         svc = new ScormEngineService(cfg);
     }
 }
コード例 #3
0
 /// <summary>
 /// Main constructor that provides necessary configuration information
 /// </summary>
 /// <param name="configuration">Application Configuration Data</param>
 public RegistrationService(Configuration configuration, ScormEngineService manager)
 {
     this.configuration = configuration;
     this.manager       = manager;
 }
コード例 #4
0
 /// <summary>
 /// Main constructor that provides necessary configuration information
 /// </summary>
 /// <param name="configuration">Application Configuration Data</param>
 public LrsAccountService(Configuration configuration, ScormEngineService manager)
 {
     this.configuration = configuration;
     this.manager       = manager;
 }
コード例 #5
0
 /// <summary>
 /// Main constructor that provides necessary configuration information
 /// </summary>
 /// <param name="configuration">Application Configuration Data</param>
 public InvitationService(Configuration configuration, ScormEngineService manager)
 {
     this.configuration = configuration;
     this.manager = manager;
 }
コード例 #6
0
 public virtual void fixtureSetup()
 {
     if (cfg == null)
     {
         cfg = new Configuration(@"http://cloud.scorm.com/EngineWebServices/", "[App Id]", "[Secret Key]");
         //cfg = new Configuration(@"http://120.50.41.175/EngineWebServices", "defaultID", "changeme_lgpjkqk5JK");//"4JloSCYfXMancDw267peGZoL8s4GNlGhQkIV5qch");
         //cfg = new Configuration(@"http://bclark.local/EngineWebServices", "defaultID", "4JloSCYfXMancDw267peGZoL8s4GNlGhQkIV5qch");
         //cfg = new Configuration(@"http://test/EngineWebServices", "defaultID", "changeme_lgpjkqk5JK");
         //http://cloud.scorm.com/EngineWebServices/
         svc = new ScormEngineService(cfg);
     }
 }
コード例 #7
0
 /// <summary>
 /// Main constructor that provides necessary configuration information
 /// </summary>
 /// <param name="configuration">Application Configuration Data</param>
 public ExportService(Configuration configuration, ScormEngineService manager)
 {
     this.configuration = configuration;
     this.manager       = manager;
 }
コード例 #8
0
 /// <summary>
 /// Main constructor that provides necessary configuration information
 /// </summary>
 /// <param name="configuration">Application Configuration Data</param>
 public ReportingService(Configuration configuration, ScormEngineService manager)
 {
     this.configuration = configuration;
     this.manager = manager;
 }
コード例 #9
0
 /// <summary>
 /// Main constructor that provides necessary configuration information
 /// </summary>
 /// <param name="configuration">Application Configuration Data</param>
 public DispatchService(Configuration configuration, ScormEngineService manager)
 {
     this.configuration = configuration;
     this.manager = manager;
 }
コード例 #10
0
 /// <summary>
 /// Main constructor that provides necessary configuration information
 /// </summary>
 /// <param name="configuration">Application Configuration Data</param>
 public LrsAccountService(Configuration configuration, ScormEngineService manager)
 {
     this.configuration = configuration;
     this.manager = manager;
 }
コード例 #11
0
 /// <summary>
 /// Main constructor that provides necessary configuration information
 /// </summary>
 /// <param name="configuration">Application Configuration Data</param>
 public DispatchService(Configuration configuration, ScormEngineService manager)
 {
     this.configuration = configuration;
     this.manager       = manager;
 }