public static ScormEngineService getInstance() { if(_service == null){ _service = new ScormEngineService(_serviceUrl, _appId, _securityKey); } return _service; }
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); } }
/// <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; }
/// <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; }
/// <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; }
/// <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; }
/// <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; }
/// <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; }