C# Класс hoTools.Settings.SqlLastOpenedFilesCfg

Administer 10 last opened SQL files - remember the last at max 10 opened SQL files
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Insert ( string fileName ) : void

Insert a SQL file to the beginning of last opened SQL files

Load ( ) : void

Loads last opened sql file names from configuration. File that don't exists are removed from the list.

Remove ( string fileName ) : void

Remove fileName from last opened files

RemoveAll ( ) : void

Remove all file items from last opened files

Save ( ) : void

Save sql file names to configuration. Don't store duplicated file names Make sure the loaded amount is written back

SqlLastOpenedFilesCfg ( Configuration currentConfig ) : System.IO

Constructor which load all last opened file names

Описание методов

Insert() публичный Метод

Insert a SQL file to the beginning of last opened SQL files
public Insert ( string fileName ) : void
fileName string
Результат void

Load() публичный Метод

Loads last opened sql file names from configuration. File that don't exists are removed from the list.
public Load ( ) : void
Результат void

Remove() публичный Метод

Remove fileName from last opened files
public Remove ( string fileName ) : void
fileName string
Результат void

RemoveAll() публичный Метод

Remove all file items from last opened files
public RemoveAll ( ) : void
Результат void

Save() публичный Метод

Save sql file names to configuration. Don't store duplicated file names Make sure the loaded amount is written back
public Save ( ) : void
Результат void

SqlLastOpenedFilesCfg() публичный Метод

Constructor which load all last opened file names
public SqlLastOpenedFilesCfg ( Configuration currentConfig ) : System.IO
currentConfig System.Configuration.Configuration current Configuration
Результат System.IO