1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2026-01-01 18:23:32 +00:00

Conidtions - Clean up list VM

This commit is contained in:
SpoinkyNL 2020-09-21 23:57:15 +02:00
parent 4d7d5a3710
commit 4746719f9d

View File

@ -18,7 +18,6 @@ namespace Artemis.UI.Screens.ProfileEditor.Conditions
{ {
private readonly IConditionOperatorService _conditionOperatorService; private readonly IConditionOperatorService _conditionOperatorService;
private readonly IDataModelUIService _dataModelUIService; private readonly IDataModelUIService _dataModelUIService;
private readonly IEventAggregator _eventAggregator;
private readonly IProfileEditorService _profileEditorService; private readonly IProfileEditorService _profileEditorService;
private bool _isPrimitiveList; private bool _isPrimitiveList;
private DataModelDynamicViewModel _leftSideSelectionViewModel; private DataModelDynamicViewModel _leftSideSelectionViewModel;
@ -33,13 +32,11 @@ namespace Artemis.UI.Screens.ProfileEditor.Conditions
DataModelConditionListPredicate dataModelConditionListPredicate, DataModelConditionListPredicate dataModelConditionListPredicate,
IProfileEditorService profileEditorService, IProfileEditorService profileEditorService,
IDataModelUIService dataModelUIService, IDataModelUIService dataModelUIService,
IConditionOperatorService conditionOperatorService, IConditionOperatorService conditionOperatorService) : base(dataModelConditionListPredicate)
IEventAggregator eventAggregator) : base(dataModelConditionListPredicate)
{ {
_profileEditorService = profileEditorService; _profileEditorService = profileEditorService;
_dataModelUIService = dataModelUIService; _dataModelUIService = dataModelUIService;
_conditionOperatorService = conditionOperatorService; _conditionOperatorService = conditionOperatorService;
_eventAggregator = eventAggregator;
_supportedInputTypes = new List<Type>(); _supportedInputTypes = new List<Type>();
SelectOperatorCommand = new DelegateCommand(ExecuteSelectOperatorCommand); SelectOperatorCommand = new DelegateCommand(ExecuteSelectOperatorCommand);