PropertyPatternConverter uses WriteObject in its Convert method. I'm
fairly certain that within WriteObject, the object to be output is
tested to see if it has a layout render for it. Is this the case for
all objects output? Converters like DatePatternConverter and
FileLocationPatternConverter seem to output their rendered values
directly to the TextWriter passed in.

A few days ago I posted code that would change the timezone of dates. I
implemented that using a pattern converter. I thought that an
alternative implementation would be to use a DateTime layout renderer.
I thought this would ensure that all DateTimes would be in the correct
timezone, not just the %date pattern. I don't think this is possible
now. It appears that layout renderers are more focused on the rendering
of custom objects and not basic types like DateTime and String. Is it
possible to make a String  layout renderer that would convert all
strings to upper case?

Thanks,
Ron 

Reply via email to