コード例 #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;
 }