示例#1
0
 public CustomContentLinkUrlResolver(IUrlHelperFactory urlHelperFactory, IActionContextAccessor actionContextAccessor, ILocalizedRoutingProvider localizedRoutingProvider)
 {
     _urlHelperFactory         = urlHelperFactory;
     _actionContextAccessor    = actionContextAccessor;
     _localizedRoutingProvider = localizedRoutingProvider;
 }
示例#2
0
 public LanguagesController(IDeliveryClientFactory deliveryClientFactory,
                            ILocalizedRoutingProvider localizedRoutingProvider) : base(deliveryClientFactory)
 {
     _localizedRoutingProvider = localizedRoutingProvider;
 }
示例#3
0
 public LocalizedRoutingAnchorTagHelper(IHtmlGenerator generator, IActionContextAccessor contextAccessor, ILocalizedRoutingProvider translatedService) : base(generator)
 {
     _contextAccessor   = contextAccessor;
     _translatedService = translatedService;
 }
 public LocalizedRoutingDynamicRouteValueResolver(ILocalizedRoutingProvider localizedRoutingProvider)
 {
     _localizedRoutingProvider = localizedRoutingProvider;
 }
示例#5
0
 public LocalizedRoutesController(ILocalizedRoutingProvider localizedRoutingProvider)
 {
     _localizedRoutingProvider = localizedRoutingProvider;
 }
示例#6
0
 public LanguageSelectorViewComponent(IOptions <RequestLocalizationOptions> localizationOptions, ILocalizedRoutingProvider localizedRoutingProvider)
 {
     _localizationOptions      = localizationOptions;
     _localizedRoutingProvider = localizedRoutingProvider;
 }
示例#7
0
 public LocalizedRouteTagHelper(IHtmlGenerator generator, IActionContextAccessor contextAccessor, ILocalizedRoutingProvider localizedRoutingProvider) : base(generator)
 {
     _contextAccessor          = contextAccessor;
     _localizedRoutingProvider = localizedRoutingProvider;
 }
 public LanguagesController(IDeliveryClient deliveryClient, ILogger <LanguagesController> logger,
                            ILocalizedRoutingProvider localizedRoutingProvider) : base(deliveryClient, logger)
 {
     _localizedRoutingProvider = localizedRoutingProvider;
 }