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.
26 lines
835 B
26 lines
835 B
using System;
|
|
using Microsoft.Practices.Unity;
|
|
using Microsoft.Practices.Prism.Regions;
|
|
using Samples.Infrastructure;
|
|
using Samples.Infrastructure.Extensions;
|
|
using Samples.Modules.Text.Views;
|
|
|
|
namespace Samples.Modules.Text
|
|
{
|
|
public class TextModule: ModuleBase
|
|
{
|
|
public TextModule(IUnityContainer container, IRegionManager regionManager)
|
|
: base(container, regionManager) { }
|
|
|
|
protected override void InitializeModule()
|
|
{
|
|
RegionManager.RegisterViewWithRegion(RegionNames.NavigationRegion, typeof(NavigationView));
|
|
}
|
|
|
|
protected override void RegisterViewsAndTypes()
|
|
{
|
|
Container.RegisterNavigationType(typeof(HomeView));
|
|
Container.RegisterNavigationType(typeof(WatermarkTextBoxView));
|
|
}
|
|
}
|
|
}
|
|
|