Is it only code generation in complile-time that does the trick? Or some run-time mechanisms are involved?
Is it only code generation in complile-time that does the trick? Or some run-time
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.