Coder Social home page Coder Social logo

biz.dfch.cs.mef.example's Introduction

MEF Example

This repository contains extended source code of the Simple Calculator MEF Application Simple calculator

This example shows the usage of the Managed Extensibility Framework (MEF)

Compilation

  1. Open Program.cs
  2. In the app.config, specify the path to the Extensions folder on your local computer
<add key="ExtensionsFolder" value="Extensions"/>

You can specify a relative or a full path and even reference parent paths such as ..\..\Extensions.

HINT: Every time a new part is added to the Extensions project it has to be rebuilt to make the part available to the calculator.

Test the project

  1. Run the project
  2. A command window appears.
  3. Type addition or subtraction commands
  • 1+1
  • 1-2

Typing a not implemented operation symbol like 1^2 causes the message: Operation not found!

biz.dfch.cs.mef.example's People

Contributors

dfch avatar rufer7 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.