C# Class Scorchio.VisualStudio.Services.SolutionService

Defines the SolutionService type.
Inheritance: ISolutionService
Afficher le fichier Open project: asudbury/NinjaCoderForMvvmCross

Méthodes publiques

Méthode Description
AddItemTemplateToProjects ( IEnumerable templateInfos ) : IEnumerable

Adds the item template to project.

AddItemTemplateToProjects ( IEnumerable textTemplateInfos, bool outputTextTemplateContentToTraceFile ) : IEnumerable

Adds the item template to project.

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

Adds the project to solution.

AddProjectToSubFolder ( string solutionFolderName, string path, string templatePath, string projectName ) : void

Adds the project to sub folder.

AddSolutionFolder ( string solutionFolder ) : void

Adds the item.

AddSolutionItem ( string solutionFolder, string path ) : void

Adds the item.

CreateEmptySolution ( string solutionPath, string solutionName ) : void

Creates the empty solution.

CreateFile ( string file, string contents ) : void

Creates the file.

GetDirectoryName ( ) : string

Gets the directory name.

GetGlobalVariable ( string key ) : object

Gets the global variable.

GetGlobalVariables ( ) : string>.Dictionary

Gets the global variables.

GetParentDirectoryName ( ) : string

Gets the name of the parent directory.

GetProject ( string projectName ) : Entities.Project

Gets the projects.

GetProjectItemService ( string path ) : IProjectItemService

Gets the project item service.

GetProjectItemTemplate ( string templateName ) : string

Gets the item template.

GetProjectService ( string projectName ) : IProjectService

Gets the project service.

GetProjectTemplate ( string templateName ) : string

Gets the project template.

GetProjects ( ) : IEnumerable

Gets the projects.

GetSolutionItemPath ( string file ) : string

Gets the solution item path.

GetSolutionSubFolder ( string solutionFolderName ) : Entities.Project

Gets the solution sub folder.

GlobalVariableExists ( string key ) : bool

Globals the variable exists.

OpenFile ( string path ) : void

Opens the file.

RemoveComments ( ) : void

Removes the comments.

RemoveFileHeaders ( ) : void

Removes the comments.

RemoveFolder ( string folderName ) : void

Removes the folder.

RemoveGlobalVariables ( ) : void

Removes the global variables.

ReplaceText ( string text, string replacementText ) : void

Replaces the text.

ReplaceTextInCSharpFiles ( string text, string replacementText ) : void

Replaces the text in c sharp files.

SetGlobalVariable ( string key, object value ) : void

Sets the global variable.

SetStartUpProject ( string projectName ) : void

Sets the start up project.

SolutionService ( Solution solution ) : System

Initializes a new instance of the SolutionService class.

WriteFile ( string path, string contents ) : void

Writes the file.

Method Details

AddItemTemplateToProjects() public méthode

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

AddItemTemplateToProjects() public méthode

Adds the item template to project.
public AddItemTemplateToProjects ( IEnumerable textTemplateInfos, bool outputTextTemplateContentToTraceFile ) : IEnumerable
textTemplateInfos IEnumerable The text template infos.
outputTextTemplateContentToTraceFile bool if set to true [output text template content to trace file].
Résultat IEnumerable

AddProjectToSolution() public méthode

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

AddProjectToSubFolder() public méthode

Adds the project to sub folder.
public AddProjectToSubFolder ( string solutionFolderName, string path, string templatePath, string projectName ) : void
solutionFolderName string Name of the solution folder.
path string The path.
templatePath string The template path.
projectName string Name of the project.
Résultat void

AddSolutionFolder() public méthode

Adds the item.
public AddSolutionFolder ( string solutionFolder ) : void
solutionFolder string The solution folder.
Résultat void

AddSolutionItem() public méthode

Adds the item.
public AddSolutionItem ( string solutionFolder, string path ) : void
solutionFolder string The solution folder.
path string The path.
Résultat void

CreateEmptySolution() public méthode

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

CreateFile() public méthode

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

GetDirectoryName() public méthode

Gets the directory name.
public GetDirectoryName ( ) : string
Résultat string

GetGlobalVariable() public méthode

Gets the global variable.
public GetGlobalVariable ( string key ) : object
key string The key.
Résultat object

GetGlobalVariables() public méthode

Gets the global variables.
public GetGlobalVariables ( ) : string>.Dictionary
Résultat string>.Dictionary

GetParentDirectoryName() public méthode

Gets the name of the parent directory.
public GetParentDirectoryName ( ) : string
Résultat string

GetProject() public méthode

Gets the projects.
public GetProject ( string projectName ) : Entities.Project
projectName string Name of the project.
Résultat Entities.Project

GetProjectItemService() public méthode

Gets the project item service.
public GetProjectItemService ( string path ) : IProjectItemService
path string The path.
Résultat IProjectItemService

GetProjectItemTemplate() public méthode

Gets the item template.
public GetProjectItemTemplate ( string templateName ) : string
templateName string ProjectName of the template.
Résultat string

GetProjectService() public méthode

Gets the project service.
public GetProjectService ( string projectName ) : IProjectService
projectName string Name of the project.
Résultat IProjectService

GetProjectTemplate() public méthode

Gets the project template.
public GetProjectTemplate ( string templateName ) : string
templateName string ProjectName of the template.
Résultat string

GetProjects() public méthode

Gets the projects.
public GetProjects ( ) : IEnumerable
Résultat IEnumerable

GetSolutionItemPath() public méthode

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

GetSolutionSubFolder() public méthode

Gets the solution sub folder.
public GetSolutionSubFolder ( string solutionFolderName ) : Entities.Project
solutionFolderName string Name of the solution folder.
Résultat Entities.Project

GlobalVariableExists() public méthode

Globals the variable exists.
public GlobalVariableExists ( string key ) : bool
key string The key.
Résultat bool

OpenFile() public méthode

Opens the file.
public OpenFile ( string path ) : void
path string The path.
Résultat void

RemoveComments() public méthode

Removes the comments.
public RemoveComments ( ) : void
Résultat void

RemoveFileHeaders() public méthode

Removes the comments.
public RemoveFileHeaders ( ) : void
Résultat void

RemoveFolder() public méthode

Removes the folder.
public RemoveFolder ( string folderName ) : void
folderName string Name of the folder.
Résultat void

RemoveGlobalVariables() public méthode

Removes the global variables.
public RemoveGlobalVariables ( ) : void
Résultat void

ReplaceText() public méthode

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

ReplaceTextInCSharpFiles() public méthode

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

SetGlobalVariable() public méthode

Sets the global variable.
public SetGlobalVariable ( string key, object value ) : void
key string The key.
value object The value.
Résultat void

SetStartUpProject() public méthode

Sets the start up project.
public SetStartUpProject ( string projectName ) : void
projectName string Name of the project.
Résultat void

SolutionService() public méthode

Initializes a new instance of the SolutionService class.
public SolutionService ( Solution solution ) : System
solution Solution The solution.
Résultat System

WriteFile() public méthode

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