public DefaultFieldSerializer() {
     serializer = new AggregateFieldSerializer(new ISolrFieldSerializer[] {
         new CollectionFieldSerializer(this),
         new GenericDictionaryFieldSerializer(this),
         new NullableFieldSerializer(new BoolFieldSerializer()),
         new NullableFieldSerializer(new DateTimeFieldSerializer()),
         new NullableFieldSerializer(new DateTimeOffsetFieldSerializer()),
         new MoneyFieldSerializer(),
         new FormattableFieldSerializer(),
         new TypeConvertingFieldSerializer(),
     });
 }
 public DefaultFieldSerializer()
 {
     serializer = new AggregateFieldSerializer(new ISolrFieldSerializer[] {
         new CollectionFieldSerializer(this),
         new GenericDictionaryFieldSerializer(this),
         new NullableFieldSerializer(new BoolFieldSerializer()),
         new NullableFieldSerializer(new DateTimeFieldSerializer()),
         new NullableFieldSerializer(new DateTimeOffsetFieldSerializer()),
         new MoneyFieldSerializer(),
         new FormattableFieldSerializer(),
         new TypeConvertingFieldSerializer(),
     });
 }