dineetha / MathPlugins

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:MIT License


Languages

Language:C# 100.0%