M Mike B Jun 10, 2009 #1 Can anyone please show me how to use reflection and convert a string name into an ICommand?
S sloan Jun 10, 2009 #2 You can get some ideas here: http://sholliday.spaces.live.com/Blog/cns!A68482B9628A842A!126.entry ICommand is something you define, it is a design pattern. But the URL above will show you how to instantiate a concrete (of an interface) via reflection.
You can get some ideas here: http://sholliday.spaces.live.com/Blog/cns!A68482B9628A842A!126.entry ICommand is something you define, it is a design pattern. But the URL above will show you how to instantiate a concrete (of an interface) via reflection.
M Mike B Jun 10, 2009 #3 Thank you for your response. sloan said: You can get some ideas here: http://sholliday.spaces.live.com/Blog/cns!A68482B9628A842A!126.entry ICommand is something you define, it is a design pattern. But the URL above will show you how to instantiate a concrete (of an interface) via reflection. Click to expand...
Thank you for your response. sloan said: You can get some ideas here: http://sholliday.spaces.live.com/Blog/cns!A68482B9628A842A!126.entry ICommand is something you define, it is a design pattern. But the URL above will show you how to instantiate a concrete (of an interface) via reflection. Click to expand...