mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
34 lines
1.2 KiB
C#
34 lines
1.2 KiB
C#
using Artemis.Core.Models.Profile;
|
|
using Artemis.Core.Services.Interfaces;
|
|
using Artemis.UI.Ninject.Factories;
|
|
using Artemis.UI.Shared.Services.Interfaces;
|
|
|
|
namespace Artemis.UI.Screens.Module.ProfileEditor.ProfileTree.TreeItem
|
|
{
|
|
public class FolderViewModel : TreeItemViewModel
|
|
{
|
|
// I hate this about DI, oh well
|
|
public FolderViewModel(ProfileElement folder,
|
|
IProfileEditorService profileEditorService,
|
|
IDialogService dialogService,
|
|
ILayerService layerService,
|
|
IFolderVmFactory folderVmFactory,
|
|
ILayerVmFactory layerVmFactory) :
|
|
base(null, folder, profileEditorService, dialogService, layerService, folderVmFactory, layerVmFactory)
|
|
{
|
|
}
|
|
|
|
public FolderViewModel(TreeItemViewModel parent,
|
|
ProfileElement folder,
|
|
IProfileEditorService profileEditorService,
|
|
IDialogService dialogService,
|
|
ILayerService layerService,
|
|
IFolderVmFactory folderVmFactory,
|
|
ILayerVmFactory layerVmFactory) :
|
|
base(parent, folder, profileEditorService, dialogService, layerService, folderVmFactory, layerVmFactory)
|
|
{
|
|
}
|
|
|
|
public override bool SupportsChildren => true;
|
|
}
|
|
} |