using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Practices.Prism.MefExtensions.Modularity;
using Microsoft.Practices.Prism.Modularity;
using Microsoft.Practices.Prism.Regions;
using System.ComponentModel.Composition;
using Microsoft.Practices.Prism.Events;
using SimpleMefApplication.Infrastructure;

namespace MarkOn_Content
{
	//[ModuleExport(typeof(WorldModule))]
	[ModuleExport(typeof(ContentModule), InitializationMode = InitializationMode.OnDemand)]
	public class ContentModule : IModule
	{
		private IRegionManager regionManager;
		public void Initialize()
		{
			this.regionManager.RegisterViewWithRegion("ContentRegion", typeof(Views.ContentView));
		}
		[ImportingConstructor]
		public ContentModule(IRegionManager rManager)
		{
			MessageBox.Show("하이");
			this.regionManager = rManager;
		}
	}
}
