Click here to Skip to main content
15,884,836 members
Articles / Desktop Programming / WPF

Prism 4 MEF Application

Rate me:
Please Sign up or sign in to vote.
4.70/5 (18 votes)
13 Sep 2011CPOL8 min read 119.3K   8.6K   86  
Building a Prism 4 application using MEF
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;

namespace Prism4MefDemo
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : Application
    {
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);

            // Configure Bootstrapper
            var bootstrapper = new Prism4MefBootstapper();
            bootstrapper.Run();
        }
    }
}

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)


Written By
Australia Australia
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions