C# Class Scorchio.VisualStudio.Extensions.DTEExtensions

Defines the DTEExtensions type.
Mostrar archivo Open project: asudbury/NinjaCoderForMvvmCross

Public Methods

Method 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 method

Activates the specified instance.
public static Activate ( this instance ) : void
instance this The instance.
return void

CloseDocuments() public static method

Closes the documents.
public static CloseDocuments ( this instance ) : void
instance this The instance.
return void

CloseSolutionExplorerWindow() public static method

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

CollapseSolution() public static method

Collapses the solution.
public static CollapseSolution ( this instance ) : void
instance this The instance.
return void

CreateNewFile() public static method

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

CreateSolution() public static method

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

ExecuteNugetCommand() public static method

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

GetActiveProject() public static method

Gets the active project.
public static GetActiveProject ( this instance ) : Project
instance this The instance.
return Project

GetCSharpProjectItemsEvents() public static method

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

GetDefaultProjectsLocation() public static method

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

GetMenuBar() public static method

Gets the menu.
public static GetMenuBar ( this instance ) : CommandBar
instance this The instance.
return CommandBar

GetOutputWindow() public static method

Gets the output window.
public static GetOutputWindow ( this instance ) : OutputWindow
instance this The instance.
return OutputWindow

GetOutputWindowPane() public static method

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

GetProjectItemEvents() public static method

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

GetSolution() public static method

Gets the solution.
public static GetSolution ( this instance ) : Solution
instance this The instance.
return Solution

GetToolsMenuItem() public static method

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

GetToolsMenuPopUp() public static method

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

IsSolutionLoaded() public static method

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

NavigateTo() public static method

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

OutputMessage() public static method

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.
return void

ReplaceText() public static method

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].
return bool

ReplaceTextInCurrentDocument() public static method

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].
return bool

SaveAll() public static method

Saves all.
public static SaveAll ( this instance ) : void
instance this The instance.
return void

ShowOutputWindowPane() public static method

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

ShowSolutionExplorerWindow() public static method

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

WriteStatusBarMessage() public static method

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