public MultiPathViewModel(string fullPath) { CommandBindings = new ConcurrentBindableList <CommandBinding>() { new PathPartOpenCommandBinding() }; Interactables = new ConcurrentBindableList <InteractableState>() { new CopyPathPartInteractable().CreateState(this) }; if (fullPath.EndsWith(System.IO.Path.DirectorySeparatorChar)) { fullPath = fullPath[0..^ 1];
protected BaseViewModelWithInteractables(object model, ConcurrentBindableList <InteractableState> interactables) : base(model) { Interactables = interactables; }
public TriggersMetadata(ClipboardObjectViewModel clipboardObject) : base("TimeIcon", "History") { Triggers = clipboardObject.Triggers; }