C# 클래스 Scorchio.VisualStudio.Extensions.ProjectExtensions

Defines the ProjectExtensions type.
파일 보기 프로젝트 열기: asudbury/NinjaCoderForMvvmCross

공개 메소드들

메소드 설명
AddAssemblies ( this instance, string assembliesPath, IEnumerable assemblies ) : void

Adds the assemblies.

AddItemToFolderFromTemplate ( this instance, string templateName, string fileName ) : bool

Adds the item to folder from template.

AddProjectReference ( this instance, Project referencedProject ) : System.Reference

Adds the project reference.

AddProjectToFolderFromTemplate ( this instance, string templateName, string path, string fileName ) : bool

Adds the project to folder from template.

AddReference ( this instance, string path ) : System.Reference

Adds the reference.

AddReference ( this instance, string destinationFolder, string destination, string source ) : System.Reference

Adds the reference.

AddTextTemplate ( this instance, string projectFolder, string fileName, string textOutput, bool outputTextTemplateContentToTraceFile ) : string

Adds the text template.

AddToFolderFromFile ( this instance, string folderName, string fileName ) : ProjectItem

Adds to folder from file.

GetCSharpProjectItems ( this instance ) : IEnumerable

Gets the c# project items.

GetFolder ( this instance, string folderName ) : ProjectItem

Gets the folder.

GetFolderItems ( this instance, string folderName, bool withFileExtensions ) : IEnumerable

Gets the folder items.

GetFolderOrCreate ( this instance, string folderName ) : ProjectItem

Gets the folder or create.

GetFolderProjectItems ( this instance ) : IEnumerable

Gets the folder project items.

GetProjectItem ( this instance, string fileName ) : ProjectItem

Gets the project item.

GetProjectItems ( this instance ) : IEnumerable

Gets the project items.

GetProjectPath ( this instance ) : string

Gets the project path.

GetProjectReferences ( this instance ) : IEnumerable

Gets the project references.

GetReferencePath ( this instance, string referenceName ) : string

Gets the reference path.

GetSolutionFolderProjects ( this instance ) : IEnumerable

Gets the solution folder projects.

GetSubFolders ( this instance, string folderName ) : IEnumerable

Gets the sub folders.

GetSubProjects ( this instance ) : IEnumerable

Gets the sub projects.

HasNugetPackages ( this instance ) : bool

Determines whether [has nuget packages] [the specified instance].

RemoveComments ( this instance ) : void

Removes the comments.

RemoveFileHeaders ( this instance ) : void

Removes the file headers.

RemoveFolder ( this instance, string folderName ) : ProjectItem

Removes the folder.

RemoveReference ( this instance, string referenceName ) : void

Removes the reference.

RemoveReferences ( this instance, string value ) : void

Removes the reference.

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

Replaces the text.

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

Replaces the text.

메소드 상세

AddAssemblies() 공개 정적인 메소드

Adds the assemblies.
public static AddAssemblies ( this instance, string assembliesPath, IEnumerable assemblies ) : void
instance this The instance.
assembliesPath string The assemblies path.
assemblies IEnumerable The assemblies.
리턴 void

AddItemToFolderFromTemplate() 공개 정적인 메소드

Adds the item to folder from template.
public static AddItemToFolderFromTemplate ( this instance, string templateName, string fileName ) : bool
instance this The instance.
templateName string Name of the template.
fileName string Name of the file.
리턴 bool

AddProjectReference() 공개 정적인 메소드

Adds the project reference.
public static AddProjectReference ( this instance, Project referencedProject ) : System.Reference
instance this The instance.
referencedProject Project The referenced project.
리턴 System.Reference

AddProjectToFolderFromTemplate() 공개 정적인 메소드

Adds the project to folder from template.
public static AddProjectToFolderFromTemplate ( this instance, string templateName, string path, string fileName ) : bool
instance this The instance.
templateName string Name of the template.
path string The path.
fileName string Name of the file.
리턴 bool

AddReference() 공개 정적인 메소드

Adds the reference.
public static AddReference ( this instance, string path ) : System.Reference
instance this The instance.
path string The path.
리턴 System.Reference

AddReference() 공개 정적인 메소드

Adds the reference.
public static AddReference ( this instance, string destinationFolder, string destination, string source ) : System.Reference
instance this The instance.
destinationFolder string The destination folder.
destination string The destination.
source string The source.
리턴 System.Reference

AddTextTemplate() 공개 정적인 메소드

Adds the text template.
public static AddTextTemplate ( this instance, string projectFolder, string fileName, string textOutput, bool outputTextTemplateContentToTraceFile ) : string
instance this The instance.
projectFolder string The project folder.
fileName string Name of the file.
textOutput string The text output.
outputTextTemplateContentToTraceFile bool if set to true [output text template content to trace file].
리턴 string

AddToFolderFromFile() 공개 정적인 메소드

Adds to folder from file.
public static AddToFolderFromFile ( this instance, string folderName, string fileName ) : ProjectItem
instance this The instance.
folderName string Name of the folder.
fileName string Name of the file.
리턴 ProjectItem

GetCSharpProjectItems() 공개 정적인 메소드

Gets the c# project items.
public static GetCSharpProjectItems ( this instance ) : IEnumerable
instance this The instance.
리턴 IEnumerable

GetFolder() 공개 정적인 메소드

Gets the folder.
public static GetFolder ( this instance, string folderName ) : ProjectItem
instance this The instance.
folderName string Name of the folder.
리턴 ProjectItem

GetFolderItems() 공개 정적인 메소드

Gets the folder items.
public static GetFolderItems ( this instance, string folderName, bool withFileExtensions ) : IEnumerable
instance this The instance.
folderName string Name of the folder.
withFileExtensions bool if set to true [with file extensions].
리턴 IEnumerable

GetFolderOrCreate() 공개 정적인 메소드

Gets the folder or create.
public static GetFolderOrCreate ( this instance, string folderName ) : ProjectItem
instance this The instance.
folderName string Name of the folder.
리턴 ProjectItem

GetFolderProjectItems() 공개 정적인 메소드

Gets the folder project items.
public static GetFolderProjectItems ( this instance ) : IEnumerable
instance this The instance.
리턴 IEnumerable

GetProjectItem() 공개 정적인 메소드

Gets the project item.
public static GetProjectItem ( this instance, string fileName ) : ProjectItem
instance this The instance.
fileName string Name of the file.
리턴 ProjectItem

GetProjectItems() 공개 정적인 메소드

Gets the project items.
public static GetProjectItems ( this instance ) : IEnumerable
instance this The instance.
리턴 IEnumerable

GetProjectPath() 공개 정적인 메소드

Gets the project path.
public static GetProjectPath ( this instance ) : string
instance this The instance.
리턴 string

GetProjectReferences() 공개 정적인 메소드

Gets the project references.
public static GetProjectReferences ( this instance ) : IEnumerable
instance this The instance.
리턴 IEnumerable

GetReferencePath() 공개 정적인 메소드

Gets the reference path.
public static GetReferencePath ( this instance, string referenceName ) : string
instance this The instance.
referenceName string Name of the reference.
리턴 string

GetSolutionFolderProjects() 공개 정적인 메소드

Gets the solution folder projects.
public static GetSolutionFolderProjects ( this instance ) : IEnumerable
instance this The instance.
리턴 IEnumerable

GetSubFolders() 공개 정적인 메소드

Gets the sub folders.
public static GetSubFolders ( this instance, string folderName ) : IEnumerable
instance this The instance.
folderName string Name of the folder.
리턴 IEnumerable

GetSubProjects() 공개 정적인 메소드

Gets the sub projects.
public static GetSubProjects ( this instance ) : IEnumerable
instance this The instance.
리턴 IEnumerable

HasNugetPackages() 공개 정적인 메소드

Determines whether [has nuget packages] [the specified instance].
public static HasNugetPackages ( this instance ) : bool
instance this The instance.
리턴 bool

RemoveComments() 공개 정적인 메소드

Removes the comments.
public static RemoveComments ( this instance ) : void
instance this The instance.
리턴 void

RemoveFileHeaders() 공개 정적인 메소드

Removes the file headers.
public static RemoveFileHeaders ( this instance ) : void
instance this The instance.
리턴 void

RemoveFolder() 공개 정적인 메소드

Removes the folder.
public static RemoveFolder ( this instance, string folderName ) : ProjectItem
instance this The instance.
folderName string Name of the folder.
리턴 ProjectItem

RemoveReference() 공개 정적인 메소드

Removes the reference.
public static RemoveReference ( this instance, string referenceName ) : void
instance this The instance.
referenceName string Name of the reference.
리턴 void

RemoveReferences() 공개 정적인 메소드

Removes the reference.
public static RemoveReferences ( this instance, string value ) : void
instance this The instance.
value string The value.
리턴 void

ReplaceText() 공개 정적인 메소드

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

ReplaceTextInCSharpFiles() 공개 정적인 메소드

Replaces the text.
public static ReplaceTextInCSharpFiles ( this instance, string text, string replacementText ) : void
instance this The instance.
text string The text.
replacementText string The replacement text.
리턴 void