Пример #1
0
 public RouteJsonNamingStrategy(RouteJsonNamingStrategyOptions options)
 {
     _options = options;
 }
Пример #2
0
 public RouteJsonContractResolver(RouteJsonNamingStrategyOptions namingStrategyOptions, Func <IMemoryCache> memoryCacheProvider)
 {
     _routeJsonNamingStrategy = new RouteJsonNamingStrategy(namingStrategyOptions);
     NamingStrategy           = _routeJsonNamingStrategy;
     _memoryCacheProvider     = memoryCacheProvider;
 }