Exemple #1
0
 public RouteTranslationBuilder(RouteTranslationConfiguration routeTranslationConfiguration,
                                RouteTranslationStore routeTranslationsStore, ILoggerFactory loggerFactory)
 {
     RouteTranslationConfiguration = routeTranslationConfiguration;
     RouteTranslationStore         = routeTranslationsStore;
     LoggerFactory = loggerFactory;
     Logger        = loggerFactory.CreateLogger <RouteTranslationBuilder>();
 }
Exemple #2
0
 public RouteTranslationBuilder UseCultures(string[] cultures)
 {
     return(new RouteTranslationBuilder(RouteTranslationConfiguration.Clone(), RouteTranslationStore, LoggerFactory)
            .UseCultures(cultures));
 }
Exemple #3
0
 public RouteTranslationBuilder(RouteTranslationConfiguration routeTranslationConfiguration,
                                RouteTranslationStore routeTranslationStore, ILoggerFactory loggerFactory) : base(routeTranslationConfiguration,
                                                                                                                  routeTranslationStore, loggerFactory)
 {
 }