blob: 6b110fcd14132bd8c2db0891f93bf126414340ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ViewModelFactory.cs" company="HandBrake Project (http://handbrake.fr)">
// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
// </copyright>
// <summary>
// The View Model Factory
// </summary>
// --------------------------------------------------------------------------------------------------------------------
namespace HandBrakeWPF.Factories
{
using Caliburn.Micro;
using HandBrake.ApplicationServices.Services.Interfaces;
/// <summary>
/// The View Model Factory
/// </summary>
public class ViewModelFactory
{
/// <summary>
/// The Window Manager
/// </summary>
private readonly IWindowManager windowManager;
/// <summary>
/// The User Setting Service
/// </summary>
private readonly IUserSettingService userSettingsService;
/// <summary>
/// Initializes a new instance of the <see cref="ViewModelFactory"/> class.
/// </summary>
/// <param name="windowManager">
/// The window Manager.
/// </param>
/// <param name="userSettingsService">
/// The user Settings Service.
/// </param>
public ViewModelFactory(IWindowManager windowManager, IUserSettingService userSettingsService)
{
this.windowManager = windowManager;
this.userSettingsService = userSettingsService;
}
}
}
|