Biz.Services.CourseContentResourceService.CourseContentResourceService C# (CSharp) Метод

CourseContentResourceService() публичный Метод

public CourseContentResourceService ( IDownloadService downloadService, IConstants constants ) : System
downloadService IDownloadService
constants IConstants
Результат System
        public CourseContentResourceService(IDownloadService downloadService, IConstants constants)
        {
            this.ModuleId = constants.CourseId;
            this.downloadService = downloadService;
            this.constants = constants;

            // Get all course content.
            var fullContentLink = new Uri(this.constants.ServicePrefix + string.Format(courseLink, this.ModuleId, this.constants.SiteVersion, this.constants.CultureCode, this.constants.PartnerCode));

            // Download activity content.
            this.Content = downloadService.DownloadFromPath(fullContentLink);
        }
CourseContentResourceService