public ProfileTreeViewModel(IProfileEditorService profileEditorService, IProfileTreeVmFactory profileTreeVmFactory) { _profileEditorService = profileEditorService; _profileTreeVmFactory = profileTreeVmFactory; CreateRootFolderViewModel(); }
public LayerViewModel(ProfileElement layer, IRgbService rgbService, IProfileEditorService profileEditorService, IDialogService dialogService, IProfileTreeVmFactory profileTreeVmFactory, ILayerBrushService layerBrushService) : base(layer, rgbService, profileEditorService, dialogService, profileTreeVmFactory, layerBrushService) { }
// 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(); }