public LayerViewModel(ProfileElement layer, IRgbService rgbService, IProfileEditorService profileEditorService, IDialogService dialogService, IProfileTreeVmFactory profileTreeVmFactory, ILayerBrushService layerBrushService) : base(layer, rgbService, profileEditorService, dialogService, profileTreeVmFactory, layerBrushService) { }
public SelectionToolViewModel(PanZoomViewModel panZoomViewModel, IProfileEditorService profileEditorService, ILayerBrushService layerBrushService) : base(panZoomViewModel, profileEditorService) { _layerBrushService = layerBrushService; using (MemoryStream stream = new(Resources.aero_crosshair)) { Cursor = new Cursor(stream); } }
// I hate this about DI, oh well public FolderViewModel(ProfileElement folder, IProfileEditorService profileEditorService, IDialogService dialogService, IProfileTreeVmFactory profileTreeVmFactory, ILayerBrushService layerBrushService, ISurfaceService surfaceService) : base(folder, profileEditorService, dialogService, profileTreeVmFactory, layerBrushService, surfaceService) { }
public LayerViewModel(ProfileElement layer, IRgbService rgbService, IProfileEditorService profileEditorService, IDialogService dialogService, IProfileTreeVmFactory profileTreeVmFactory, ILayerBrushService layerBrushService, IWindowManager windowManager, ILayerHintVmFactory vmFactory) : base(layer, rgbService, profileEditorService, dialogService, profileTreeVmFactory, layerBrushService) { _windowManager = windowManager; _vmFactory = vmFactory; }
protected TreeItemViewModel(ProfileElement profileElement, IProfileEditorService profileEditorService, IDialogService dialogService, IProfileTreeVmFactory profileTreeVmFactory, ILayerBrushService layerBrushService, ISurfaceService surfaceService) { _profileEditorService = profileEditorService; _dialogService = dialogService; _profileTreeVmFactory = profileTreeVmFactory; _layerBrushService = layerBrushService; _surfaceService = surfaceService; ProfileElement = profileElement; Subscribe(); UpdateProfileElements(); }