C# Class Scorchio.VisualStudio.Extensions.DTEExtensions

Defines the DTEExtensions type.
Afficher le fichier Open project: asudbury/NinjaCoderForMvvmCross

Méthodes publiques

Méthode Description
Activate ( this instance ) : void

Activates the specified instance.

CloseDocuments ( this instance ) : void

Closes the documents.

CloseSolutionExplorerWindow ( this instance ) : void

Closes the solution explorer window.

CollapseSolution ( this instance ) : void

Collapses the solution.

CreateNewFile ( this instance, string path ) : void

Creates the new file.

CreateSolution ( this instance, string solutionName ) : void

Creates the solution.

ExecuteNugetCommand ( this instance, string command ) : void

Executes the nuget command.

GetActiveProject ( this instance ) : Project

Gets the active project.

GetCSharpProjectItemsEvents ( this instance ) : ProjectItemsEvents

Gets the C sharp project items events.

GetDefaultProjectsLocation ( this instance ) : string

Gets the default projects location.

GetMenuBar ( this instance ) : CommandBar

Gets the menu.

GetOutputWindow ( this instance ) : OutputWindow

Gets the output window.

GetOutputWindowPane ( this instance, string windowName ) : OutputWindowPane

Gets the output window pane.

GetProjectItemEvents ( this instance ) : ProjectItemsEvents

Gets the project item events.

GetSolution ( this instance ) : Solution

Gets the solution.

GetToolsMenuItem ( this instance ) : CommandBarControl

Gets the tools menu item.

GetToolsMenuPopUp ( this instance ) : CommandBarPopup

Gets the tools menu pop up.

IsSolutionLoaded ( this instance ) : bool

Determines whether the solution is loaded.

NavigateTo ( this instance, string url ) : void

Navigates to.

OutputMessage ( this instance, string windowName, string message ) : void

Outputs the message.

ReplaceText ( this instance, string findText, string replaceText, bool saveFiles ) : bool

Replaces the text.

ReplaceTextInCurrentDocument ( this instance, string findText, string replaceText, bool regularExpression, bool saveFiles ) : bool

Replaces the text in current document.

SaveAll ( this instance ) : void

Saves all.

ShowOutputWindowPane ( this instance, string windowName ) : void

Shows the output window pane.

ShowSolutionExplorerWindow ( this instance ) : void

Shows the solution explorer window.

WriteStatusBarMessage ( this instance, string message ) : void

Writes the status bar message.

Method Details

Activate() public static méthode

Activates the specified instance.
public static Activate ( this instance ) : void
instance this The instance.
Résultat void

CloseDocuments() public static méthode

Closes the documents.
public static CloseDocuments ( this instance ) : void
instance this The instance.
Résultat void

CloseSolutionExplorerWindow() public static méthode

Closes the solution explorer window.
public static CloseSolutionExplorerWindow ( this instance ) : void
instance this The instance.
Résultat void

CollapseSolution() public static méthode

Collapses the solution.
public static CollapseSolution ( this instance ) : void
instance this The instance.
Résultat void

CreateNewFile() public static méthode

Creates the new file.
public static CreateNewFile ( this instance, string path ) : void
instance this The instance.
path string The path.
Résultat void

CreateSolution() public static méthode

Creates the solution.
public static CreateSolution ( this instance, string solutionName ) : void
instance this The instance.
solutionName string ProjectName of the solution.
Résultat void

ExecuteNugetCommand() public static méthode

Executes the nuget command.
public static ExecuteNugetCommand ( this instance, string command ) : void
instance this The instance.
command string The command.
Résultat void

GetActiveProject() public static méthode

Gets the active project.
public static GetActiveProject ( this instance ) : Project
instance this The instance.
Résultat Project

GetCSharpProjectItemsEvents() public static méthode

Gets the C sharp project items events.
public static GetCSharpProjectItemsEvents ( this instance ) : ProjectItemsEvents
instance this The instance.
Résultat ProjectItemsEvents

GetDefaultProjectsLocation() public static méthode

Gets the default projects location.
public static GetDefaultProjectsLocation ( this instance ) : string
instance this The instance.
Résultat string

GetMenuBar() public static méthode

Gets the menu.
public static GetMenuBar ( this instance ) : CommandBar
instance this The instance.
Résultat CommandBar

GetOutputWindow() public static méthode

Gets the output window.
public static GetOutputWindow ( this instance ) : OutputWindow
instance this The instance.
Résultat OutputWindow

GetOutputWindowPane() public static méthode

Gets the output window pane.
public static GetOutputWindowPane ( this instance, string windowName ) : OutputWindowPane
instance this The instance.
windowName string Name of the window.
Résultat OutputWindowPane

GetProjectItemEvents() public static méthode

Gets the project item events.
public static GetProjectItemEvents ( this instance ) : ProjectItemsEvents
instance this The instance.
Résultat ProjectItemsEvents

GetSolution() public static méthode

Gets the solution.
public static GetSolution ( this instance ) : Solution
instance this The instance.
Résultat Solution

GetToolsMenuItem() public static méthode

Gets the tools menu item.
public static GetToolsMenuItem ( this instance ) : CommandBarControl
instance this The instance.
Résultat CommandBarControl

GetToolsMenuPopUp() public static méthode

Gets the tools menu pop up.
public static GetToolsMenuPopUp ( this instance ) : CommandBarPopup
instance this The instance.
Résultat CommandBarPopup

IsSolutionLoaded() public static méthode

Determines whether the solution is loaded.
public static IsSolutionLoaded ( this instance ) : bool
instance this The instance.
Résultat bool

NavigateTo() public static méthode

Navigates to.
public static NavigateTo ( this instance, string url ) : void
instance this The instance.
url string The URL.
Résultat void

OutputMessage() public static méthode

Outputs the message.
public static OutputMessage ( this instance, string windowName, string message ) : void
instance this The instance.
windowName string Name of the window.
message string The message.
Résultat void

ReplaceText() public static méthode

Replaces the text.
public static ReplaceText ( this instance, string findText, string replaceText, bool saveFiles ) : bool
instance this The instance.
findText string The find text.
replaceText string The replace text.
saveFiles bool if set to true [save files].
Résultat bool

ReplaceTextInCurrentDocument() public static méthode

Replaces the text in current document.
public static ReplaceTextInCurrentDocument ( this instance, string findText, string replaceText, bool regularExpression, bool saveFiles ) : bool
instance this The instance.
findText string The find text.
replaceText string The replace text.
regularExpression bool if set to true [regular expression].
saveFiles bool if set to true [save files].
Résultat bool

SaveAll() public static méthode

Saves all.
public static SaveAll ( this instance ) : void
instance this The instance.
Résultat void

ShowOutputWindowPane() public static méthode

Shows the output window pane.
public static ShowOutputWindowPane ( this instance, string windowName ) : void
instance this The instance.
windowName string Name of the window.
Résultat void

ShowSolutionExplorerWindow() public static méthode

Shows the solution explorer window.
public static ShowSolutionExplorerWindow ( this instance ) : void
instance this The instance.
Résultat void

WriteStatusBarMessage() public static méthode

Writes the status bar message.
public static WriteStatusBarMessage ( this instance, string message ) : void
instance this The instance.
message string The message.
Résultat void