예제 #1
0
 /// <summary>
 /// Initializes a new instance of the DictionarySerializer class.
 /// </summary>
 /// <param name="defaultSerializationOptions">The default serialization options.</param>
 public DictionarySerializer(DictionarySerializationOptions defaultSerializationOptions)
     : base(defaultSerializationOptions)
 {
     _keyValuePairSerializer = new KeyValuePairSerializer <TKey, TValue>();
 }
 // constructors
 /// <summary>
 /// Initializes a new instance of the DictionarySerializer class.
 /// </summary>
 public DictionarySerializer()
     : base(DictionarySerializationOptions.Defaults)
 {
     _keyValuePairSerializer = new KeyValuePairSerializer <object, object>();
 }