C# 클래스 Scorchio.VisualStudio.Services.SolutionService

Defines the SolutionService type.
상속: ISolutionService
파일 보기 프로젝트 열기: asudbury/NinjaCoderForMvvmCross

공개 메소드들

메소드 설명
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.

메소드 상세

AddItemTemplateToProjects() 공개 메소드

Adds the item template to project.
public AddItemTemplateToProjects ( IEnumerable templateInfos ) : IEnumerable
templateInfos IEnumerable The template infos.
리턴 IEnumerable

AddItemTemplateToProjects() 공개 메소드

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].
리턴 IEnumerable

AddProjectToSolution() 공개 메소드

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.
리턴 void

AddProjectToSubFolder() 공개 메소드

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.
리턴 void

AddSolutionFolder() 공개 메소드

Adds the item.
public AddSolutionFolder ( string solutionFolder ) : void
solutionFolder string The solution folder.
리턴 void

AddSolutionItem() 공개 메소드

Adds the item.
public AddSolutionItem ( string solutionFolder, string path ) : void
solutionFolder string The solution folder.
path string The path.
리턴 void

CreateEmptySolution() 공개 메소드

Creates the empty solution.
public CreateEmptySolution ( string solutionPath, string solutionName ) : void
solutionPath string The solution path.
solutionName string Name of the solution.
리턴 void

CreateFile() 공개 메소드

Creates the file.
public CreateFile ( string file, string contents ) : void
file string The file.
contents string The contents.
리턴 void

GetDirectoryName() 공개 메소드

Gets the directory name.
public GetDirectoryName ( ) : string
리턴 string

GetGlobalVariable() 공개 메소드

Gets the global variable.
public GetGlobalVariable ( string key ) : object
key string The key.
리턴 object

GetGlobalVariables() 공개 메소드

Gets the global variables.
public GetGlobalVariables ( ) : string>.Dictionary
리턴 string>.Dictionary

GetParentDirectoryName() 공개 메소드

Gets the name of the parent directory.
public GetParentDirectoryName ( ) : string
리턴 string

GetProject() 공개 메소드

Gets the projects.
public GetProject ( string projectName ) : Entities.Project
projectName string Name of the project.
리턴 Entities.Project

GetProjectItemService() 공개 메소드

Gets the project item service.
public GetProjectItemService ( string path ) : IProjectItemService
path string The path.
리턴 IProjectItemService

GetProjectItemTemplate() 공개 메소드

Gets the item template.
public GetProjectItemTemplate ( string templateName ) : string
templateName string ProjectName of the template.
리턴 string

GetProjectService() 공개 메소드

Gets the project service.
public GetProjectService ( string projectName ) : IProjectService
projectName string Name of the project.
리턴 IProjectService

GetProjectTemplate() 공개 메소드

Gets the project template.
public GetProjectTemplate ( string templateName ) : string
templateName string ProjectName of the template.
리턴 string

GetProjects() 공개 메소드

Gets the projects.
public GetProjects ( ) : IEnumerable
리턴 IEnumerable

GetSolutionItemPath() 공개 메소드

Gets the solution item path.
public GetSolutionItemPath ( string file ) : string
file string The file.
리턴 string

GetSolutionSubFolder() 공개 메소드

Gets the solution sub folder.
public GetSolutionSubFolder ( string solutionFolderName ) : Entities.Project
solutionFolderName string Name of the solution folder.
리턴 Entities.Project

GlobalVariableExists() 공개 메소드

Globals the variable exists.
public GlobalVariableExists ( string key ) : bool
key string The key.
리턴 bool

OpenFile() 공개 메소드

Opens the file.
public OpenFile ( string path ) : void
path string The path.
리턴 void

RemoveComments() 공개 메소드

Removes the comments.
public RemoveComments ( ) : void
리턴 void

RemoveFileHeaders() 공개 메소드

Removes the comments.
public RemoveFileHeaders ( ) : void
리턴 void

RemoveFolder() 공개 메소드

Removes the folder.
public RemoveFolder ( string folderName ) : void
folderName string Name of the folder.
리턴 void

RemoveGlobalVariables() 공개 메소드

Removes the global variables.
public RemoveGlobalVariables ( ) : void
리턴 void

ReplaceText() 공개 메소드

Replaces the text.
public ReplaceText ( string text, string replacementText ) : void
text string The text.
replacementText string The replacement text.
리턴 void

ReplaceTextInCSharpFiles() 공개 메소드

Replaces the text in c sharp files.
public ReplaceTextInCSharpFiles ( string text, string replacementText ) : void
text string The text.
replacementText string The replacement text.
리턴 void

SetGlobalVariable() 공개 메소드

Sets the global variable.
public SetGlobalVariable ( string key, object value ) : void
key string The key.
value object The value.
리턴 void

SetStartUpProject() 공개 메소드

Sets the start up project.
public SetStartUpProject ( string projectName ) : void
projectName string Name of the project.
리턴 void

SolutionService() 공개 메소드

Initializes a new instance of the SolutionService class.
public SolutionService ( Solution solution ) : System
solution Solution The solution.
리턴 System

WriteFile() 공개 메소드

Writes the file.
public WriteFile ( string path, string contents ) : void
path string The path.
contents string The contents.
리턴 void