C# Class Scorchio.VisualStudio.Services.ProjectService

Defines the ProjectService type.
Inheritance: IProjectService
显示文件 Open project: asudbury/NinjaCoderForMvvmCross

Public Methods

Method Description
AddItemToFolderFromTemplate ( string templateName, string fileName ) : bool

Adds to folder from template.

AddProjectReference ( IProjectService referencedProjectService ) : Reference

Adds the project reference.

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

Adds the project to folder from template.

AddReference ( string destinationFolder, string destination, string source ) : void

Adds the reference.

AddTextTemplate ( TextTemplateInfo textTemplateInfo, bool outputTextTemplateContentToTraceFile ) : string

Adds the text template.

AddToFolderFromFile ( string folderName, string fileName ) : ProjectItem

Adds to folder from file.

GetCSharpProjectItems ( ) : IEnumerable

Gets the c# project items.

GetFolder ( string folderName ) : IProjectItemService

Gets the folder.

GetFolderItems ( string folderName, bool withFileExtensions ) : IEnumerable

Gets the folder items.

GetFolderOrCreate ( string folderName ) : IProjectItemService

Gets the folder or create.

GetFolderProjectItems ( ) : IEnumerable

Gets the folder project items.

GetProjectItem ( string fileName ) : IProjectItemService

Gets the project item.

GetProjectItems ( ) : IEnumerable

Gets the project items.

GetProjectPath ( ) : string

Gets the project path.

GetProjectReferences ( ) : IEnumerable

Gets the project references.

GetSubFolders ( string folderName ) : IEnumerable

Gets the sub folders.

GetSubProjects ( ) : IEnumerable

Gets the sub projects.

ProjectService ( Project project ) : System.Collections.Generic

Initializes a new instance of the ProjectService class.

RemoveFolder ( string folderName ) : IProjectItemService

Removes the folder.

RemoveFolderItem ( string itemName ) : void

Removes the folder item.

RemoveFolderItem ( string folderName, string itemName ) : void

Removes the folder item.

RemoveReference ( string referenceName ) : void

Removes the reference.

RemoveReferences ( string value ) : void

Removes the references.

SaveAll ( ) : void

Saves all.

WriteStatusBarMessage ( string message ) : void

Writes the status bar message.

Method Details

AddItemToFolderFromTemplate() public method

Adds to folder from template.
public AddItemToFolderFromTemplate ( string templateName, string fileName ) : bool
templateName string Name of the template.
fileName string Name of the file.
return bool

AddProjectReference() public method

Adds the project reference.
public AddProjectReference ( IProjectService referencedProjectService ) : Reference
referencedProjectService IProjectService The referenced project service.
return Reference

AddProjectToFolderFromTemplate() public method

Adds the project to folder from template.
public AddProjectToFolderFromTemplate ( string templateName, string path, string fileName ) : bool
templateName string Name of the template.
path string The path.
fileName string Name of the file.
return bool

AddReference() public method

Adds the reference.
public AddReference ( string destinationFolder, string destination, string source ) : void
destinationFolder string The destination folder.
destination string The destination.
source string The source.
return void

AddTextTemplate() public method

Adds the text template.
public AddTextTemplate ( TextTemplateInfo textTemplateInfo, bool outputTextTemplateContentToTraceFile ) : string
textTemplateInfo TextTemplateInfo The text template information.
outputTextTemplateContentToTraceFile bool if set to true [output text template content to trace file].
return string

AddToFolderFromFile() public method

Adds to folder from file.
public AddToFolderFromFile ( string folderName, string fileName ) : ProjectItem
folderName string Name of the folder.
fileName string Name of the file.
return ProjectItem

GetCSharpProjectItems() public method

Gets the c# project items.
public GetCSharpProjectItems ( ) : IEnumerable
return IEnumerable

GetFolder() public method

Gets the folder.
public GetFolder ( string folderName ) : IProjectItemService
folderName string Name of the folder.
return IProjectItemService

GetFolderItems() public method

Gets the folder items.
public GetFolderItems ( string folderName, bool withFileExtensions ) : IEnumerable
folderName string Name of the folder.
withFileExtensions bool if set to true [with file extensions].
return IEnumerable

GetFolderOrCreate() public method

Gets the folder or create.
public GetFolderOrCreate ( string folderName ) : IProjectItemService
folderName string Name of the folder.
return IProjectItemService

GetFolderProjectItems() public method

Gets the folder project items.
public GetFolderProjectItems ( ) : IEnumerable
return IEnumerable

GetProjectItem() public method

Gets the project item.
public GetProjectItem ( string fileName ) : IProjectItemService
fileName string Name of the file.
return IProjectItemService

GetProjectItems() public method

Gets the project items.
public GetProjectItems ( ) : IEnumerable
return IEnumerable

GetProjectPath() public method

Gets the project path.
public GetProjectPath ( ) : string
return string

GetProjectReferences() public method

Gets the project references.
public GetProjectReferences ( ) : IEnumerable
return IEnumerable

GetSubFolders() public method

Gets the sub folders.
public GetSubFolders ( string folderName ) : IEnumerable
folderName string Name of the folder.
return IEnumerable

GetSubProjects() public method

Gets the sub projects.
public GetSubProjects ( ) : IEnumerable
return IEnumerable

ProjectService() public method

Initializes a new instance of the ProjectService class.
public ProjectService ( Project project ) : System.Collections.Generic
project Project The project.
return System.Collections.Generic

RemoveFolder() public method

Removes the folder.
public RemoveFolder ( string folderName ) : IProjectItemService
folderName string Name of the folder.
return IProjectItemService

RemoveFolderItem() public method

Removes the folder item.
public RemoveFolderItem ( string itemName ) : void
itemName string Name of the item.
return void

RemoveFolderItem() public method

Removes the folder item.
public RemoveFolderItem ( string folderName, string itemName ) : void
folderName string Name of the folder.
itemName string Name of the item.
return void

RemoveReference() public method

Removes the reference.
public RemoveReference ( string referenceName ) : void
referenceName string Name of the reference.
return void

RemoveReferences() public method

Removes the references.
public RemoveReferences ( string value ) : void
value string The value.
return void

SaveAll() public method

Saves all.
public SaveAll ( ) : void
return void

WriteStatusBarMessage() public method

Writes the status bar message.
public WriteStatusBarMessage ( string message ) : void
message string The message.
return void