Added Prism to example, Added ability to filter files and minor bugfixes
This commit is contained in:
16
Example/Bootstrapper.cs
Normal file
16
Example/Bootstrapper.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System.Windows;
|
||||
using Autofac;
|
||||
using Prism.Autofac;
|
||||
|
||||
namespace Example
|
||||
{
|
||||
public class Bootstrapper : AutofacBootstrapper
|
||||
{
|
||||
protected override DependencyObject CreateShell() => Container.Resolve<MainWindow>();
|
||||
|
||||
protected override void InitializeShell()
|
||||
{
|
||||
(Shell as Window)?.Show();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user