tl24 / jsonexserializer

Automatically exported from code.google.com/p/jsonexserializer
1 stars 1 forks source link

Converter Delegate TypeConverter #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Create a TypeConverter that takes 2 System.Converter<TInput, TOutput>
delegates as arguments.  The GetSerializedType method will infer its return
type from the types specified by the first or Serializer converter.

Example:

public class DelegateConverter<T1,T2> {

  public DelegateConverter(Converter<T1,T2> SerializerConverter, 
       Converter<T2,T1>) {
  }

  ...
}

Original issue reported on code.google.com by elliott....@gmail.com on 10 Aug 2008 at 7:44

GoogleCodeExporter commented 9 years ago
Not really that useful

Original comment by elliott....@gmail.com on 2 Jul 2009 at 12:23