public ShortLinksHandler(IRepository <ShortLinksRecord> repository, IShortLinksService shortLinkService, INotifier notifier) { Filters.Add(StorageFilter.For(repository)); _shortLinkService = shortLinkService; T = NullLocalizer.Instance; _notifier = notifier; OnUpdated <ShortLinksPart>((context, part) => CheckAutoroute(context, part)); }
public CommunicationService( ITaxonomyService taxonomyService, IRepository <CommunicationEmailRecord> repositoryCommunicationEmailRecord, INotifier notifier, IModuleService moduleService, IOrchardServices orchardServices, IShortLinksService shortLinksService, IContentExtensionsServices contentExtensionsServices, ISessionLocator session, ICultureManager cultureManager, IRepository <CommunicationSmsRecord> repositoryCommunicationSmsRecord, IContactRelatedEventHandler contactRelatedEventHandler, ITransactionManager transactionManager, IFieldIndexService fieldIndexService, IAutorouteService autorouteService, IRepository <CommunicationRetryRecord> repositoryCommunicationRetryRecord, IContentDefinitionManager contentDefinitionManager, IUtilsServices utilsServices) { _orchardServices = orchardServices; _shortLinksService = shortLinksService; _contentExtensionsServices = contentExtensionsServices; _moduleService = moduleService; _notifier = notifier; _repositoryCommunicationEmailRecord = repositoryCommunicationEmailRecord; _repositoryCommunicationSmsRecord = repositoryCommunicationSmsRecord; _repositoryCommunicationRetryRecord = repositoryCommunicationRetryRecord; _taxonomyService = taxonomyService; _cultureManager = cultureManager; _contactRelatedEventHandler = contactRelatedEventHandler; _transactionManager = transactionManager; _fieldIndexService = fieldIndexService; _autorouteService = autorouteService; _contentDefinitionManager = contentDefinitionManager; _utilsServices = utilsServices; T = NullLocalizer.Instance; }
public ShortLinksDriver(IOrchardServices service, IShortLinksService shortLinkService) { _service = service; _shortLinkService = shortLinkService; }
public ShortLinkGetFunction(IShortLinksService service, ILogger <ShortLinkCreateFunction> logger) { _service = service; _logger = logger; }
public ResolveShortCodeFunction(IShortLinksService shortLinksService, ILogger <ResolveShortCodeFunction> logger) { _shortLinksService = shortLinksService; _logger = logger; }