Home > Services > DXCore Services – History

DXCore Services – History

November 12th, 2010

The History service is dedicated for storing a few core feature history items for the current Visual Studio session. At the moment, it stores the history for selected text commands, string providers and regex aliases, which you can choose from the Select Dialog inside the Options Dialog:

DXCore Templates Select Dialog options page

For example, when you create a template expansion and add some text command to it using the Select Dialog – it will be immediately added into the history list:

DXCore Templates Context Menu options page

This list will be used later to add capability to quickly select the same text command you have previously chosen:

DXCore Templates Context Menu options page

It is useful for adding several similar text commands (or string providers) into your template expansion without showing the Select Dialog. The history items are cleared on Visual Studio shutdown.

There are three properties in the History service available:

Name

Description

RegExAliases Returns an instance of HistoryList type of regex aliases.
StringProviders Returns an instance of HistoryList type of string providers.
TextCommands Returns an instance of HistoryList type of text commands.
—–
Products: DXCore
Versions: 10.1 and up
VS IDEs: any
Updated: Nov/12/2010
ID: D033

Similar Posts: