public LinkPreviewController(
     ILinkPreviewClient linkPreviewClient,
     ILinkPreviewConfigProvider configProvider,
     ISqlRepository <int, LinkPreviewEntity> previewRepository,
     LinkPreviewModelMapper linkPreviewModelMapper)
     : base(linkPreviewClient, configProvider, previewRepository, linkPreviewModelMapper)
 {
 }
 public ActivityLinkPreviewService(
     ISqlRepository <int, ActivityToLinkPreviewEntity> previewRelationRepository,
     ISqlRepository <int, LinkPreviewEntity> previewRepository,
     LinkPreviewModelMapper linkPreviewModelMapper)
 {
     _previewRelationRepository = previewRelationRepository;
     _previewRepository         = previewRepository;
     _linkPreviewModelMapper    = linkPreviewModelMapper;
 }
예제 #3
0
 public CommentLinkPreviewService(
     ISqlRepository <int, CommentToLinkPreviewEntity> previewRelationRepository,
     ISqlRepository <int, LinkPreviewEntity> previewRepository,
     LinkPreviewModelMapper linkPreviewModelMapper)
 {
     _previewRelationRepository = previewRelationRepository;
     _previewRepository         = previewRepository;
     _linkPreviewModelMapper    = linkPreviewModelMapper;
 }
 protected LinkPreviewControllerBase(
     ILinkPreviewClient linkPreviewClient,
     ILinkPreviewConfigProvider configProvider,
     ISqlRepository <int, LinkPreviewEntity> previewRepository,
     LinkPreviewModelMapper linkPreviewModelMapper)
 {
     _linkPreviewClient      = linkPreviewClient;
     _configProvider         = configProvider;
     _previewRepository      = previewRepository;
     _linkPreviewModelMapper = linkPreviewModelMapper;
 }
예제 #5
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;
 }