public ImageSearchService( ICognitiveImageSearchContext searcher, IImageDescriptionFactory imageDescriptionFactory, ICognitiveImageAnalysisFactory imageAnalysisFactory) { Searcher = searcher; ImageDescriptionFactory = imageDescriptionFactory; ImageAnalysisFactory = imageAnalysisFactory; }
public ImageSearchService( IContentSearchWrapper contentSearch, ISitecoreDataWrapper dataWrapper, IImageSearchSettings imageSearchSettings, IImageDescriptionFactory imageDescriptionFactory, ICognitiveImageAnalysisFactory imageAnalysisFactory) { ContentSearch = contentSearch; DataWrapper = dataWrapper; ImageSearchSettings = imageSearchSettings; ImageDescriptionFactory = imageDescriptionFactory; ImageAnalysisFactory = imageAnalysisFactory; }
public IntelligentMediaSearchService( IContentSearchWrapper contentSearch, ISitecoreDataWrapper dataWrapper, IIntelligentMediaSettings settings, IImageDescriptionFactory imageDescriptionFactory, IImageAnalysisFactory imageAnalysisFactory, IMediaWrapper mediaWrapper) { ContentSearch = contentSearch; DataWrapper = dataWrapper; Settings = settings; ImageDescriptionFactory = imageDescriptionFactory; ImageAnalysisFactory = imageAnalysisFactory; MediaWrapper = mediaWrapper; }
public CognitiveUtilityController( ISearchService searchService, ICognitiveImageAnalysisFactory iaFactory, IImageDescriptionFactory dFactory, ISetAltTagsAllFactory satarFactory, ISitecoreDataService dataService) { Assert.IsNotNull(searchService, typeof(ISearchService)); Assert.IsNotNull(iaFactory, typeof(ICognitiveImageAnalysisFactory)); Assert.IsNotNull(dFactory, typeof(IImageDescriptionFactory)); Assert.IsNotNull(satarFactory, typeof(ISetAltTagsAllFactory)); Assert.IsNotNull(dataService, typeof(ISitecoreDataService)); SearchService = searchService; ImageAnalysisFactory = iaFactory; ImageDescriptionFactory = dFactory; SetAltTagsAllFactory = satarFactory; DataService = dataService; }