Пример #1
0
    public override object Copy(IDictionary <object, object>?shared)
    {
        var files   = _files.CopyShared(shared).ToImmutable();
        var current = _current.GetCurrentItem(ref _files, ref files);

        var copy = new RecentsViewModel(ServiceProvider)
        {
            Name    = Name,
            Files   = files,
            Current = current
        };

        return(copy);
    }
Пример #2
0
 public Home()
 {
     this.InitializeComponent();
     this.vm = new RecentsViewModel();
 }