IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
NUnit.Engine.IRecentFiles Interface Reference

The IRecentFiles interface is used to isolate the app from various implementations of recent files. More...

+ Inheritance diagram for NUnit.Engine.IRecentFiles:

Public Member Functions

void SetMostRecent (string fileName)
 Set the most recent file name, reordering the saved names as needed and removing the oldest if the max number of files would be exceeded. The current CLR version is used to create the entry. More...
 
void Remove (string fileName)
 Remove a file from the list More...
 

Properties

int MaxFiles [get, set]
 The max number of files saved More...
 
IList< string > Entries [get]
 Get a list of all the file entries More...
 

Detailed Description

The IRecentFiles interface is used to isolate the app from various implementations of recent files.

Member Function Documentation

void NUnit.Engine.IRecentFiles.SetMostRecent ( string  fileName)

Set the most recent file name, reordering the saved names as needed and removing the oldest if the max number of files would be exceeded. The current CLR version is used to create the entry.

Implemented in NUnit.Engine.Services.RecentFilesService.

void NUnit.Engine.IRecentFiles.Remove ( string  fileName)

Remove a file from the list

Parameters
fileNameThe name of the file to remove

Implemented in NUnit.Engine.Services.RecentFilesService.

Property Documentation

int NUnit.Engine.IRecentFiles.MaxFiles
getset

The max number of files saved

IList<string> NUnit.Engine.IRecentFiles.Entries
get

Get a list of all the file entries

Returns
The most recent file list

The documentation for this interface was generated from the following file: