Ejemplo n.º 1
0
 public ApiHeaderJsonContractResolver(ApiHeaderJsonNamingStrategyOptions namingStrategyOptions, Func <IMemoryCache> memoryCacheProvider)
 {
     apiHeaderJsonNamingStrategy = new ApiHeaderJsonNamingStrategy(namingStrategyOptions);
     NamingStrategy           = apiHeaderJsonNamingStrategy;
     this.memoryCacheProvider = memoryCacheProvider;
 }
Ejemplo n.º 2
0
 public ApiHeaderJsonNamingStrategy(ApiHeaderJsonNamingStrategyOptions options)
 {
     this.options = options;
 }