Example #1
0
 public AliyunLiveStreamProvider(ILoggerFacade logger, IServiceClient serviceClient, WebPlatformApiFactory webPlatformApiFactory)
 {
     _logger                 = logger;
     _serviceClient          = serviceClient;
     _webPlatformApiFactory  = webPlatformApiFactory;
     _liveStreamAddressInfos = new List <ILiveStreamAddressInfo>();
 }
 public VodStorageInstance(VodStorageInfo storageInfo, IServiceClient serviceClient, WebPlatformApiFactory webPlatformApiFactory)
     : base(storageInfo)
 {
     _serviceClient         = serviceClient;
     _endpoint              = storageInfo.Endpoint;
     _webPlatformApiFactory = webPlatformApiFactory;
 }
 public AlibabaOssStorageInstance(IServiceClient serviceClient, WebPlatformApiFactory webPlatformApiFactory)
     : base(new AlibabaVodStorageInfo {
     Name = "AlibabaOss", ID = 9999
 })
 {
     _serviceClient         = serviceClient;
     _webPlatformApiFactory = webPlatformApiFactory;
 }
 public UploadCoursewareService(SystemConfig config, StorageProvider storageProvider, IServiceClient serviceClient, WebPlatformApiFactory webPlatformApiFactory, EventSubscriptionManager eventSubscriptionManager)
 {
     _config                = config;
     _storageProvider       = storageProvider;
     _serviceClient         = serviceClient;
     _webPlatformApiFactory = webPlatformApiFactory;
     eventSubscriptionManager.Subscribe <RecordCompletedEvent, RecordInfo>(null, AddUploadTask, null);
     _taskList = new List <UploadTaskInfo>();
 }
Example #5
0
 public AutoLoginService(IServiceClient serviceClient, WebPlatformApiFactory webPlatformApi, StartupParameters startupParameters)
 {
     _serviceClient     = serviceClient;
     _webPlatformApi    = webPlatformApi;
     _startupParameters = startupParameters;
 }
Example #6
0
 public StorageProvider(LiveInfo liveInfo, IServiceClient serviceClient, WebPlatformApiFactory webPlatformApiFactory)
 {
     _liveInfo = liveInfo;
     _serviceClient = serviceClient;
     _webPlatformApiFactory = webPlatformApiFactory;
 }
Example #7
0
 public DocumentService(IServiceClient serviceClient, LiveInfo liveInfo, WebPlatformApiFactory webPlatformApiFactory)
 {
     _serviceClient         = serviceClient;
     _liveInfo              = liveInfo;
     _webPlatformApiFactory = webPlatformApiFactory;
 }