C# Class Scorchio.VisualStudio.Extensions.SolutionExtensions

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

Méthodes publiques

Méthode Description
AddItemTemplateToProjects ( this instance, IEnumerable templateInfos ) : IEnumerable

Adds the item template to project.

AddProjectToSolution ( this instance, string path, string templatePath, string projectName ) : void

Adds the project to solution.

AddSolutionItem ( this instance, string solutionFolder, string path ) : ProjectItem

Adds the item.

AddTextTemplateToProjects ( this instance, IEnumerable textTemplateInfos, bool outputTextTemplateContentToTraceFile ) : IEnumerable

Adds the text template to projects.

CreateEmptySolution ( this instance, string solutionPath, string solutionName ) : void

Creates the empty solution.

CreateFile ( this instance, string file, string contents ) : void

Creates the file.

GetDirectoryName ( this instance ) : string

Gets the directory name.

GetProject ( this instance, string projectName ) : EnvDTE.Project

Gets the projects.

GetProjectItemTemplate ( this instance, string templateName ) : string

Gets the item template.

GetProjectTemplate ( this instance, string templateName ) : string

Gets the project template.

GetProjects ( this instance ) : IEnumerable

Gets the projects.

GetSolutionItemPath ( this instance, string file ) : string

Gets the solution item path.

RemoveComments ( this instance ) : void

Removes the comments.

RemoveFileHeaders ( this instance ) : void

Removes the comments.

RemoveFolder ( this instance, string folderName ) : void

Removes the folder.

ReplaceText ( this instance, string text, string replacementText ) : void

Replaces the text.

ReplaceTextInCSharpFiles ( this instance, string text, string replacementText ) : void

Replaces the text in c sharp files.

SetStartUpProject ( this instance, string projectName ) : void

Sets the start up project.

WriteFile ( this instance, string path, string contents ) : void

Writes the file.

Method Details

AddItemTemplateToProjects() public static méthode

Adds the item template to project.
public static AddItemTemplateToProjects ( this instance, IEnumerable templateInfos ) : IEnumerable
instance this The instance.
templateInfos IEnumerable The template infos.
Résultat IEnumerable

AddProjectToSolution() public static méthode

Adds the project to solution.
public static AddProjectToSolution ( this instance, string path, string templatePath, string projectName ) : void
instance this The instance.
path string The path.
templatePath string The template path.
projectName string ProjectName of the project.
Résultat void

AddSolutionItem() public static méthode

Adds the item.
public static AddSolutionItem ( this instance, string solutionFolder, string path ) : ProjectItem
instance this The instance.
solutionFolder string The solution folder.
path string The path.
Résultat ProjectItem

AddTextTemplateToProjects() public static méthode

Adds the text template to projects.
public static AddTextTemplateToProjects ( this instance, IEnumerable textTemplateInfos, bool outputTextTemplateContentToTraceFile ) : IEnumerable
instance this The instance.
textTemplateInfos IEnumerable The text template infos.
outputTextTemplateContentToTraceFile bool if set to true [output text template content to trace file].
Résultat IEnumerable

CreateEmptySolution() public static méthode

Creates the empty solution.
public static CreateEmptySolution ( this instance, string solutionPath, string solutionName ) : void
instance this The instance.
solutionPath string The solution path.
solutionName string Name of the solution.
Résultat void

CreateFile() public static méthode

Creates the file.
public static CreateFile ( this instance, string file, string contents ) : void
instance this The instance.
file string The file.
contents string The contents.
Résultat void

GetDirectoryName() public static méthode

Gets the directory name.
public static GetDirectoryName ( this instance ) : string
instance this The instance.
Résultat string

GetProject() public static méthode

Gets the projects.
public static GetProject ( this instance, string projectName ) : EnvDTE.Project
instance this The instance.
projectName string Name of the project.
Résultat EnvDTE.Project

GetProjectItemTemplate() public static méthode

Gets the item template.
public static GetProjectItemTemplate ( this instance, string templateName ) : string
instance this The instance.
templateName string ProjectName of the template.
Résultat string

GetProjectTemplate() public static méthode

Gets the project template.
public static GetProjectTemplate ( this instance, string templateName ) : string
instance this The instance.
templateName string ProjectName of the template.
Résultat string

GetProjects() public static méthode

Gets the projects.
public static GetProjects ( this instance ) : IEnumerable
instance this The instance.
Résultat IEnumerable

GetSolutionItemPath() public static méthode

Gets the solution item path.
public static GetSolutionItemPath ( this instance, string file ) : string
instance this The instance.
file string The file.
Résultat string

RemoveComments() public static méthode

Removes the comments.
public static RemoveComments ( this instance ) : void
instance this The instance.
Résultat void

RemoveFileHeaders() public static méthode

Removes the comments.
public static RemoveFileHeaders ( this instance ) : void
instance this The instance.
Résultat void

RemoveFolder() public static méthode

Removes the folder.
public static RemoveFolder ( this instance, string folderName ) : void
instance this The instance.
folderName string Name of the folder.
Résultat void

ReplaceText() public static méthode

Replaces the text.
public static ReplaceText ( this instance, string text, string replacementText ) : void
instance this The instance.
text string The text.
replacementText string The replacement text.
Résultat void

ReplaceTextInCSharpFiles() public static méthode

Replaces the text in c sharp files.
public static ReplaceTextInCSharpFiles ( this instance, string text, string replacementText ) : void
instance this The instance.
text string The text.
replacementText string The replacement text.
Résultat void

SetStartUpProject() public static méthode

Sets the start up project.
public static SetStartUpProject ( this instance, string projectName ) : void
instance this The instance.
projectName string Name of the project.
Résultat void

WriteFile() public static méthode

Writes the file.
public static WriteFile ( this instance, string path, string contents ) : void
instance this The instance.
path string The path.
contents string The contents.
Résultat void