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;

namespace MarkOn_Search
{
	[ModuleExport(typeof(SearchModule), InitializationMode = InitializationMode.OnDemand)]
	public class SearchModule : IModule
	{
		private IRegionManager regionManager;

		public void Initialize()
		{
			this.regionManager.RegisterViewWithRegion("SearchRegion", typeof(Views.SearchView)); 
		}

		[ImportingConstructor]
		public SearchModule(IRegionManager rManager)
		{
			this.regionManager = rManager;
		}
	}
}
