M
Mark
Hi,
Am trying to write custom validation attributes for public fields,
properties, methods etc. using context-bound programming.
It works fine for properties, methods, parameters etc.
But, when intercepting a Set of a public field, there appears to be an
underlying method set up; a FieldSetter, which take parameters type,
fieldname and fieldvalue.
The problem is that my Field's Custom Attributes don't seem to be
copied to the FieldSetter, so I can't determine what validation to
perform.
Can someone shed some light on this one? I'd really be most grateful

Mark.
Am trying to write custom validation attributes for public fields,
properties, methods etc. using context-bound programming.
It works fine for properties, methods, parameters etc.
But, when intercepting a Set of a public field, there appears to be an
underlying method set up; a FieldSetter, which take parameters type,
fieldname and fieldvalue.
The problem is that my Field's Custom Attributes don't seem to be
copied to the FieldSetter, so I can't determine what validation to
perform.
Can someone shed some light on this one? I'd really be most grateful

Mark.