Esempio n. 1
0
 public EmbededHandler(IPostService postService,
                       IEmbeddedProvider embeddedProvider,
                       IMapper mapper)
 {
     _postService      = postService;
     _embeddedProvider = embeddedProvider;
     _mapper           = mapper;
 }
Esempio n. 2
0
 public PostHandler(IMarkdownCompiler markdownCompiler,
                    ILogger <PostHandler> logger,
                    IMembershipService membershipService,
                    IPostService postService,
                    ISubService subService,
                    ISubUserBanService subUserBanService,
                    ICommandBus commandBus,
                    IPermissionService permissionService,
                    ISettingsProvider <SubSettings> subSettings,
                    IEventBus eventBus,
                    IEmbeddedProvider embeddedProvider)
 {
     _markdownCompiler  = markdownCompiler;
     _logger            = logger;
     _membershipService = membershipService;
     _postService       = postService;
     _subService        = subService;
     _subUserBanService = subUserBanService;
     _commandBus        = commandBus;
     _permissionService = permissionService;
     _subSettings       = subSettings;
     _eventBus          = eventBus;
     _embeddedProvider  = embeddedProvider;
 }
Esempio n. 3
0
 public ContextualEmbededProvider(ISettingsProvider<EmbedSettings> embedSettings, ILogger<EmbedlurProvider> embedlurLogger)
 {
     _embedSettings = embedSettings;
     _embedlurProvider = new EmbedlurProvider(embedSettings, embedlurLogger);
 }
Esempio n. 4
0
 public ContextualEmbededProvider(ISettingsProvider <EmbedSettings> embedSettings, ILogger <EmbedlurProvider> embedlurLogger)
 {
     _embedSettings    = embedSettings;
     _embedlurProvider = new EmbedlurProvider(embedSettings, embedlurLogger);
 }