Click or drag to resize

RecentOpenBase Class

This class handles the recent open files and the recent open project files. It provides almost all functionality necessary, with the exception that recent files are not added to the Windows shell jump list, since this requires a reference to the WPF assemblies. Use a class (RecentOpen) derived from here that implements this functionality.
Inheritance Hierarchy
SystemObject
  Altaxo.Main.ServicesRecentOpenBase

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public class RecentOpenBase : IRecentOpen

The RecentOpenBase type exposes the following members.

Constructors
 NameDescription
Public methodRecentOpenBase Initializes a new instance of the RecentOpenBase class.
Top
Properties
 NameDescription
Public propertyRecentFiles Gets the collection of recently opened files (other than project files).
Public propertyRecentProjects Gets the collection of recently opened project files.
Top
Methods
 NameDescription
Public methodAddRecentFile Adds a file to the collection of recently opened files (other than project files).
Public methodAddRecentProject Adds a project file to the collection of recently opened project files.
Public methodClearRecentFiles Clears the collection of recently opened files (other than project files).
Public methodClearRecentProjects Clears the collection of recently opened project files.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFileRemoved Handles removal of a file from the recent file list.
Protected methodFileRenamed Handles renaming of a file in the recent file list.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRemoveRecentProject Removes one project file from the collection of recently opened project files.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Public fieldStatic memberPropertyKeyRecentFiles Gets the property key used to persist recent files.
Top
See Also