Skip to content

A plugin system example for Windows desktop applications written in C# which loads DLL assemblies at runtime.

License

Notifications You must be signed in to change notification settings

dineetha/MathPlugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MathPlugins

A simple plug-in system example for Windows desktop applications written in C#

This repository contains code for example plug-in system that loads DLL assemblies at runtime. Without changing source code of the program new plug-ins can be added. This code is published for educational purposes for those who are learning C#, .NET technologies and specially trying to implement a plug-in architecture. This program does mathematical operations on two numbers. There are 4 example assemblies to add, subtract, multiply and divide two numbers. Build MathPlugins program and four assemblies. Copy one or more assemblies to MathPlugins debug folder. Then run MathPlugins program. The program will load plug-ins and create buttons with methods for each plug-in. This program uses Assembly class of Reflection namespace and Activator class.

About

A plugin system example for Windows desktop applications written in C# which loads DLL assemblies at runtime.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages