@@ -177,7 +177,7 @@ public void IReadOnlyDictionary_With_IConvertible_Key()
177
177
{
178
178
var roDict = new CustomReadOnlyDictionary < IConvertible , object ? > ( new Dictionary < IConvertible , object ? > { { 1 , 1 } , { "Two" , 2 } , { "Three" , "three" } , } ) ;
179
179
var smart = new SmartFormatter ( )
180
- . AddExtensions ( new DefaultSource ( ) , new DictionarySource { IsIReadOnlyDictionaryEnabled = true } )
180
+ . AddExtensions ( new DefaultSource ( ) , new DictionarySource { IsIReadOnlyDictionarySupported = true } )
181
181
. AddExtensions ( new DefaultFormatter ( ) ) ;
182
182
var result = smart . Format ( "{1}{Two}{Three}" , roDict ) ;
183
183
@@ -189,7 +189,7 @@ public void IReadOnlyDictionary_With_String_Key()
189
189
{
190
190
var roDict = new CustomReadOnlyDictionary < string , object ? > ( new Dictionary < string , object ? > { { "One" , 1 } , { "Two" , 2 } , { "Three" , "three" } , } ) ;
191
191
var smart = new SmartFormatter ( )
192
- . AddExtensions ( new DefaultSource ( ) , new DictionarySource { IsIReadOnlyDictionaryEnabled = true } )
192
+ . AddExtensions ( new DefaultSource ( ) , new DictionarySource { IsIReadOnlyDictionarySupported = true } )
193
193
. AddExtensions ( new DefaultFormatter ( ) ) ;
194
194
var result = smart . Format ( "{One}{Two}{Three}" , roDict ) ;
195
195
@@ -199,7 +199,7 @@ public void IReadOnlyDictionary_With_String_Key()
199
199
[ Test ]
200
200
public void IReadOnlyDictionary_Cache_Should_Store_Types_It_Cannot_Handle ( )
201
201
{
202
- var dictSource = new DictionarySource { IsIReadOnlyDictionaryEnabled = true } ;
202
+ var dictSource = new DictionarySource { IsIReadOnlyDictionarySupported = true } ;
203
203
var kvp = new KeyValuePair < string , object ? > ( "One" , 1 ) ;
204
204
var smart = new SmartFormatter ( )
205
205
. AddExtensions ( new DefaultSource ( ) , dictSource , new KeyValuePairSource ( ) )
0 commit comments