-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLocator.cs
28 lines (26 loc) · 1021 Bytes
/
Locator.cs
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
using BoreholeCalculations.Models;
using BoreholeCalculations.ViewModels;
using CommunityToolkit.Mvvm.Messaging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BoreholeCalculations
{
public class Locator
{
private readonly BoreholeService _service = new BoreholeService(1000);
public BoreholeTableControlViewModel BoreholeTableControlViewModel { get; set; }
public ChartsPanelControlViewModel ChartsPanelControlViewModel { get; set; }
public CalculationControlViewModel CalculationControlViewModel { get; set; }
public NewBoreholeWindowViewModel NewBoreholeWindowViewModel { get; set; }
public Locator()
{
BoreholeTableControlViewModel = new BoreholeTableControlViewModel(_service);
ChartsPanelControlViewModel = new ChartsPanelControlViewModel(_service);
CalculationControlViewModel = new CalculationControlViewModel(_service);
NewBoreholeWindowViewModel = new NewBoreholeWindowViewModel(_service);
}
}
}