seb-win-refactoring/SafeExamBrowser/CompositionRoot.cs
Damian Büchel 0e9571fe10 Continued implementing the scaffolding:
- Added composition root
- Implemented XML resource for I18n
2017-07-06 10:56:03 +02:00

29 lines
666 B
C#

/*
* Copyright (c) 2017 ETH Zürich, Educational Development and Technology (LET)
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
using System.Windows;
using SafeExamBrowser.Core.I18n;
using SafeExamBrowser.UserInterface;
namespace SafeExamBrowser
{
class CompositionRoot
{
public Window Taskbar { get; private set; }
public void InitializeGlobalModules()
{
Text.Instance = new Text(new XmlTextResource());
}
public void BuildObjectGraph()
{
Taskbar = new Taskbar();
}
}
}