Archive for the ‘Services’ Category

DXCore Services – TextExpansions

January 14th, 2011 Comments off

Text Expansions DXCore service provides methods and properties for expanding dynamic text containing encoded text commands and/or string providers. CodeRush Templates is an example of such a feature. Note that the service is hidden from Intellisense.

One of the most important methods is “Insert” (with various overloads), which allows you to expand the text you prepared. All Insert methods return the SourceRange of the expanded text. For example, when you expand the “ai” template in CSharp (to create a new auto-implemented property), the following text is being expanded:

Read more…

DXCore Services – LinkedIdentifiers

December 27th, 2010 Comments off

Linked Identifiers are a built-in feature of DXCore, which allows you to simultaneously change similar pieces of the text (code) located in different places. The service provides access to the Linked Identifiers engine.

Read more…

DXCore Services – Project

December 22nd, 2010 Comments off

The Project service has a pretty short list of functions. This service is intended to manipulate projects of an active solution, and provides access to the start-up project, active project, and count of opened projects. All methods and properties work with an instance of the DevExpress.CodeRush.Core.Project type.

Methods of this service:



GetEnumerator Returns enumerator of all projects in the active solution.

Read more…

DXCore Services – BigHint

December 14th, 2010 Comments off

The BigHint service provides methods for manipulating of big hints, such as creating new ones and showing at the specified position.

The following methods are available:

Read more…

DXCore Services – ThirdPartyExtensions

November 22nd, 2010 Comments off

The ThirdPartyExtensions service provides methods to check whether or not specified Visual Studio 2010 extensions are installed and/or enabled. This service also contains a few useful properties for the Microsoft Power Tools extension.

Read more…

DXCore Services – ActionHint

November 22nd, 2010 Comments off

The ActionHint service provides methods for manipulating of action hints and tweaking its settings for the current Visual Studio session.

Read more…

DXCore Services – History

November 12th, 2010 Comments off

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:

Read more…

DXCore Services – XPO

November 11th, 2010 Comments off

The XPO service is dedicated for the eXpress Persistent Object object-relational mapping tool from DevExpress. At the moment, it contains only a single method IsPersistent(TypeDeclaration type), which returns true if the passed type has a Persistent attribute and/or descends from XPObject, XPBaseObject or XPCustomObject, and the class does not include a NonPersistent attribute.

In the future this service is going to be extended with additional useful methods and properties.

Products: DXCore
Versions: 10.1 and up
VS IDEs: any
Updated: Nov/11/2010
ID: D032