KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am trying to build an object that uses System.ComponentModel.ISynchronizeInvoke, which has the method: (amongst others) public object Invoke(Delegate method, object[] args) What is the best way to call the method with the given arguments? I can use: public object Invoke(Delegate method, object[] args) { return method.DynamicInvoke(args); } But this is late bound. My gut instinct is that this is the only way to call the method.. Any ideas?
Tags (comma-separated)
Save Edits
Cancel