You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
760 B
25 lines
760 B
using System;
|
|
using Samples.Infrastructure;
|
|
using Microsoft.Practices.Unity;
|
|
using Microsoft.Practices.Prism.Regions;
|
|
|
|
namespace Samples.Modules.BusyIndicator
|
|
{
|
|
public class BusyIndicatorModule : ModuleBase
|
|
{
|
|
public BusyIndicatorModule(IUnityContainer container, IRegionManager regionManager)
|
|
: base(container, regionManager)
|
|
{
|
|
}
|
|
|
|
protected override void RegisterViewsAndTypes()
|
|
{
|
|
Container.RegisterType(typeof(object), typeof(HomeView), typeof(HomeView).FullName);
|
|
}
|
|
|
|
protected override void InitializeModule()
|
|
{
|
|
RegionManager.RegisterViewWithRegion(RegionNames.NavigationRegion, typeof(NavigationView));
|
|
}
|
|
}
|
|
}
|
|
|