public JsonFlyweightSerializerState( FlyweightDataContractResolver.FlyweightDataContractResolverState contract, JsonFlyweightConverter <string> .JsonFlyweightConverterState converter) { this.Contract = contract; this.Converter = converter; }
private JsonFlyweightSerializer( FlyweightDataContractResolver contract, JsonFlyweightConverter <string> converter) { this.converter = converter; this.contract = contract; this.settings = new JsonSerializerSettings() { Converters = new [] { this.converter }, ContractResolver = contract }; }