Stylet/Samples/Stylet.Samples.OverridingVi.../Bootstrapper.cs

20 lines
479 B
C#

using StyletIoC;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Stylet.Samples.OverridingViewManager
{
public class Bootstrapper : Bootstrapper<ShellViewModel>
{
protected override void ConfigureIoC(IStyletIoCBuilder builder)
{
base.ConfigureIoC(builder);
builder.Bind<IViewManager>().To<CustomViewManager>().InSingletonScope();
}
}
}