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); }
public Home() { this.InitializeComponent(); this.vm = new RecentsViewModel(); }