コード例 #1
0
        public YouTubeProvider(
			ServiceAccessor<HttpContextBase> httpContextBase,
			IdentityMappingService identityMappingService, 
			YouTubeRepository youTubeRepository,
			ThumbnailManager thumbnailManager)
        {
            _httpContextBase = httpContextBase;
            _identityMappingService = identityMappingService;
            _youTubeRepository = youTubeRepository;
            _thumbnailManager = thumbnailManager;
        }
コード例 #2
0
 public YouTubeProvider(
     ServiceAccessor <HttpContextBase> httpContextBase,
     IdentityMappingService identityMappingService,
     YouTubeRepository youTubeRepository,
     ThumbnailManager thumbnailManager)
 {
     _httpContextBase        = httpContextBase;
     _identityMappingService = identityMappingService;
     _youTubeRepository      = youTubeRepository;
     _thumbnailManager       = thumbnailManager;
 }
コード例 #3
0
        public YouTubeSearchProvider(LocalizationService localizationService,
                                     SiteDefinitionResolver siteDefinitionResolver,
                                     IContentTypeRepository contentTypeRepository,
                                     IContentProviderManager contentProviderManager,
                                     YouTubeRepository youTubeRepository,
                                     IdentityMappingService identityMappingService)
            : base(localizationService, siteDefinitionResolver, contentTypeRepository)
        {
            _youTubeRepository      = youTubeRepository;
            _identityMappingService = identityMappingService;

            _youTubeProvider = contentProviderManager.GetProvider(YouTubeSettings.ProviderKey) as YouTubeProvider;
        }