22 lines
No EOL
657 B
C#
22 lines
No EOL
657 B
C#
using Microsoft.Extensions.DependencyInjection;
|
|
using EllieHub.DesignData.Common;
|
|
using EllieHub.ViewModels.Controls;
|
|
using EllieHub.ViewModels.Windows;
|
|
|
|
namespace EllieHub.DesignData.Windows;
|
|
|
|
/// <summary>
|
|
/// Mock view-model for <see cref="AppViewModel"/>.
|
|
/// </summary>
|
|
public sealed class DesignAppViewModel : AppViewModel
|
|
{
|
|
/// <summary>
|
|
/// Creates a mock <see cref="AppViewModel"/> to be used at design-time.
|
|
/// </summary>
|
|
public DesignAppViewModel() : base(
|
|
DesignStatics.Services.GetRequiredService<LateralBarViewModel>(),
|
|
DesignStatics.Services.GetRequiredService<HomeViewModel>()
|
|
)
|
|
{
|
|
}
|
|
} |