public LinkPreviewController(
     ILinkPreviewClient linkPreviewClient,
     ILinkPreviewConfigProvider configProvider,
     ISqlRepository <int, LinkPreviewEntity> previewRepository,
     LinkPreviewModelMapper linkPreviewModelMapper)
     : base(linkPreviewClient, configProvider, previewRepository, linkPreviewModelMapper)
 {
 }
 protected LinkPreviewControllerBase(
     ILinkPreviewClient linkPreviewClient,
     ILinkPreviewConfigProvider configProvider,
     ISqlRepository <int, LinkPreviewEntity> previewRepository,
     LinkPreviewModelMapper linkPreviewModelMapper)
 {
     _linkPreviewClient      = linkPreviewClient;
     _configProvider         = configProvider;
     _previewRepository      = previewRepository;
     _linkPreviewModelMapper = linkPreviewModelMapper;
 }
示例#3
0
 public LinkPreviewController(
     ILinkPreviewClient linkPreviewClient,
     ISqlRepository <int, LinkPreviewEntity> previewRepository,
     LinkPreviewModelMapper linkPreviewModelMapper,
     ILinkPreviewConfigProvider configProvider,
     IOpenGraphService openGraphService)
 {
     _linkPreviewClient      = linkPreviewClient;
     _previewRepository      = previewRepository;
     _linkPreviewModelMapper = linkPreviewModelMapper;
     _configProvider         = configProvider;
     _openGraphService       = openGraphService;
 }