Click here to Skip to main content
Click here to Skip to main content
Articles » Languages » C# » Generics » Downloads
 
Add your own
alternative version

Plug-ins in C# 2.0: Generics Enabled Extension Library

, 7 Nov 2007
A follow up to my previous article, this article takes the plug-in concept and encapsulates it in a Generics enabled library, including support for source code compilation at runtime.
PluginsInCSharp2_examplesrc.zip
PluginsInCSharp2
HostApplication
ExtensionManager
Common
ExtensionOne
ExtensionTwo
ExtensionFour
ExtensionThree
bin
Properties
Release
HostApplication.exe
Common.dll
ExtensionManager.dll
Extensions
ExtensionOne.dll
ExtensionThree.dll
Settings.settings
bin
EventArgs
Release
ExtensionManager.dll
bin
Properties
Release
Common.dll
bin
Properties
Release
ExtensionOne.dll
Common.dll
bin
Properties
Release
ExtensionTwo.dll
Common.dll
bin
Properties
Release
ExtensionFour.dll
Common.dll
bin
Properties
Release
Common.dll
ExtensionThree.dll
PluginsInCSharp2_src.zip
ExtensionManager
bin
Release
ExtensionManager.dll
EventArgs
using System;
using System.Collections.Generic;
using System.Text;

namespace ExtensionManager
{
    public class AssemblyLoadedEventArgs : EventArgs
    {
		public AssemblyLoadedEventArgs()
		{
		}

		public AssemblyLoadedEventArgs(string filename)
		{
			this.filename = filename;
		}

        private string filename = "";
        
		public string Filename
        {
            get { return filename; }
            set { filename = value; }
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Redth
Web Developer
Canada Canada
Currently I'm an Oracle DBA for a School Board, having recently completed my undergrad at the University of Guelph with a Bachelor of Computing.
 
I obviously enjoy programming Smile | :)
 
Contact Me:
(MSN: jondick at gmail dot com)
(IRC: Dalnet: #c#, #asp.net, #vb.net)
(IRC: FreeNode: #linuxpeople)

| Advertise | Privacy | Mobile
Web02 | 2.8.140814.1 | Last Updated 7 Nov 2007
Article Copyright 2007 by Redth
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid