Exemple #1
0
    public TeamCloudContractResolver(IDataProtectionProvider dataProtectionProvider = null, IEnumerable <JsonConverter> converters = null)
    {
        // prevent changing the case of dictionary keys
        NamingStrategy = new TeamCloudNamingStrategy();

        this.dataProtectionProvider = dataProtectionProvider;
        this.converters             = converters ?? Enumerable.Empty <JsonConverter>();
    }
Exemple #2
0
 public TeamCloudContractResolver()
 {
     // prevent changing the case of dictionary keys
     NamingStrategy = new TeamCloudNamingStrategy();
 }
 public SuppressContractResolver()
 {
     NamingStrategy = new TeamCloudNamingStrategy();
 }