コード例 #1
0
 public DefaultFieldSerializer()
 {
     serializer = new AggregateFieldSerializer(new ISolrFieldSerializer[] {
         new CollectionFieldSerializer(this),
         new GenericDictionaryFieldSerializer(this),
         new NullableFieldSerializer(new BoolFieldSerializer()),
         new NullableFieldSerializer(new DateTimeFieldSerializer()),
         new FormattableFieldSerializer(),
         new TypeConvertingFieldSerializer(),
     });
 }
コード例 #2
0
 public DefaultFieldSerializer()
 {
     serializer = new AggregateFieldSerializer(new ISolrFieldSerializer[] {
         new CollectionFieldSerializer(this),
         new GenericDictionaryFieldSerializer(this),
         new NullableFieldSerializer(new BoolFieldSerializer()),
         new NullableFieldSerializer(new DateTimeFieldSerializer()),
         new FormattableFieldSerializer(),
         new TypeConvertingFieldSerializer(),
     });
 }