This is the english documentation. Following translations are available:
This Library Facilitating Easy and Efficient File Access in Desktop Applications, Mirroring Popular Feature like "Recent Files" or "Last Opened Files" or "File History" from Notable Editors and Design Applications.
Latest opened/saved/closed N files (text/image/project/...) are saved with LRU policy.
N: N is the configurable capacity.
The library includes the generic abstract class RecentlyFilesHistoryManager<T>
, which manages elements in the ObservableCollection<T> Items
using an LRU (Least Recently Used) cache policy.
To add a file to the history, simply use the PutAtFront(item)
method. If the item already exists in the collection, it will be moved to the first position (considered most recent).
To use this library, implement the generic abstract class by specifying the data type for the generic type. Then, implement the Load()
and Save()
methods to manage the history of recently opened, saved, and closed files.
You can explore the demo WPF desktop project, which demonstrates how to use the library to manage filepaths (strings).