B
Bob
I'm creating my own Formatter, and I have this in the Serialize method to
get ready to collect all the information I need:
Dim c As New TestFormatterConverter
Dim info As New SerializationInfo(graph.GetType, c)
TestFormatterConverter is my own class that implements IFormatterConverter.
Well... I'm a bit confused here, because assumably the new SerializationInfo
object is going to use my TestFormatterConverter. But it doesn't. I put
breakpoints on all its methods, and when I call AddValue and GetValue in
TestFormatterConverter, none of them are called. SerializationInfo is not
inheritable, and it specifically asks you to specify a FormatterConverter in
its constructer, so why the heck doesn't it use it??
Please, someone give me a clue on this one.
Thanks,
Bob
get ready to collect all the information I need:
Dim c As New TestFormatterConverter
Dim info As New SerializationInfo(graph.GetType, c)
TestFormatterConverter is my own class that implements IFormatterConverter.
Well... I'm a bit confused here, because assumably the new SerializationInfo
object is going to use my TestFormatterConverter. But it doesn't. I put
breakpoints on all its methods, and when I call AddValue and GetValue in
TestFormatterConverter, none of them are called. SerializationInfo is not
inheritable, and it specifically asks you to specify a FormatterConverter in
its constructer, so why the heck doesn't it use it??
Please, someone give me a clue on this one.
Thanks,
Bob