|
-
Jun 27th, 2006, 10:45 AM
#1
Thread Starter
PowerPoster
[1.0/1.1] implementing plugins
Hi.
I have a C# .NET 1.1 application, and may wish to implement plugins.
I understand we create a class library which is an interface, so other developers can inherit this.
an interface is a "must have" set of signatures (term) which are to be included in the developers plugin.
question here:
can an interface have events/delegates?
Moving on, within my application, if for example the question above is true, within my application how would I raise the event? (I know how to raise events I believe but not sure if it would work the same way?)
If we have say 2 plug ins, I want these plugins to have implemented an event from the interface, how would I raise this event within my application so these 2 plugins would be notified of the event?
And finally, how would you instantiate plugins (of a certain interface type) and access them?
Many thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|