예제 #1
0
        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];
예제 #2
0
 protected BaseViewModelWithInteractables(object model, ConcurrentBindableList <InteractableState> interactables) : base(model)
 {
     Interactables = interactables;
 }
예제 #3
0
 public TriggersMetadata(ClipboardObjectViewModel clipboardObject) : base("TimeIcon", "History")
 {
     Triggers = clipboardObject.Triggers;
 }