Académique Documents
Professionnel Documents
Culture Documents
shell32.dll is positional
EntryPoint="FindExecutable" is named
Using Reflection
Demo
GetProperties
GetXxx
Dynamic Invocation
You can dynamically invoke/run methods discovered through reflection
Get object reference, if instance Specify parameters
Call Invoke()
Code runs
Implementing DynamicObject
Derive from DynamicObject Overrides let you do anything dynamically Examples of methods you can override
TrySetMember
TryGetMember
TryInvokeMember
Questions?
http://www.LearnNowOnline.com