views:

21

answers:

1

Is it only code generation in complile-time that does the trick? Or some run-time mechanisms are involved?

A: 

Validation metadata is provided only by codegen. Silverlight Validation uses MemberInfo.GetCustomAttributes() (in System.Reflection) to determine the metadata and I don't believe there are any ways to plug into that.

Kyle McClellan