| 1234567891011121314151617181920212223 |
- using Log;
- using PLCIOPointTool.Services;
- using PLCIOPointTool.Views;
- using System.Windows;
- namespace PLCIOPointTool;
- /// <summary>
- /// Interaction logic for App.xaml
- /// </summary>
- public partial class App : PrismApplication
- {
- protected override Window CreateShell() => Container.Resolve<MainWindow>();
- protected override void RegisterTypes(IContainerRegistry containerRegistry)
- {
- //Services
- containerRegistry.RegisterSingleton<IOutputService, OutputService>();
- containerRegistry.RegisterSingleton<ILog, LogService>();
- containerRegistry.RegisterSingleton<ICommunicator, PLCCommunicator>();
- }
- }
|