C# Class Ultramarine.Workspaces.VisualStudio.ProjectModel

Inheritance: IProjectModel
Datei anzeigen Open project: Seavus/Ultramarine

Public Methods

Method Description
Build ( string configuration ) : bool
CreateDirectory ( string folderPath ) : IProjectItemModel
CreateProjectItem ( string path, Array content, bool overwrite ) : IProjectItemModel
CreateProjectItem ( string path, MemoryStream content, bool overwrite ) : IProjectItemModel
CreateProjectItem ( string path, object content, bool overwrite ) : IProjectItemModel
CreateProjectItem ( string path, string content, bool overwrite ) : IProjectItemModel
GetProject ( string projectName ) : IProjectModel
GetProjectItem ( string path ) : IProjectItemModel
GetProjectItems ( string expression, string propertyName = "FileName" ) : IEnumerable
GetProjectItems ( string expression, string dependentUpon, string propertyName = "FileName" ) : IEnumerable
GetProjects ( string projectNameExpression ) : IEnumerable
GetWorkspace ( ) : IWorkspaceModel
ProcessTextTemplate ( string t4File, object input, Dictionary parameters ) : string
ProjectModel ( Project project ) : EnvDTE
ProjectModel ( string projectName ) : EnvDTE

Private Methods

Method Description
EnsureDirectoryExists ( ProjectItems projectItems, string folderName ) : ProjectItem
GetProjectItems ( ProjectItems projectItems, Ultramarine.Workspaces.VisualStudio.Comparer comparer, string propertyName = null ) : List
GetPropertyValue ( ProjectItem item, string propertyName ) : string
MapProjectItems ( ProjectItems projectItems ) : List

Method Details

Build() public method

public Build ( string configuration ) : bool
configuration string
return bool

CreateDirectory() public method

public CreateDirectory ( string folderPath ) : IProjectItemModel
folderPath string
return IProjectItemModel

CreateProjectItem() public method

public CreateProjectItem ( string path, Array content, bool overwrite ) : IProjectItemModel
path string
content Array
overwrite bool
return IProjectItemModel

CreateProjectItem() public method

public CreateProjectItem ( string path, MemoryStream content, bool overwrite ) : IProjectItemModel
path string
content MemoryStream
overwrite bool
return IProjectItemModel

CreateProjectItem() public method

public CreateProjectItem ( string path, object content, bool overwrite ) : IProjectItemModel
path string
content object
overwrite bool
return IProjectItemModel

CreateProjectItem() public method

public CreateProjectItem ( string path, string content, bool overwrite ) : IProjectItemModel
path string
content string
overwrite bool
return IProjectItemModel

GetProject() public method

public GetProject ( string projectName ) : IProjectModel
projectName string
return IProjectModel

GetProjectItem() public method

public GetProjectItem ( string path ) : IProjectItemModel
path string
return IProjectItemModel

GetProjectItems() public method

public GetProjectItems ( string expression, string propertyName = "FileName" ) : IEnumerable
expression string
propertyName string
return IEnumerable

GetProjectItems() public method

public GetProjectItems ( string expression, string dependentUpon, string propertyName = "FileName" ) : IEnumerable
expression string
dependentUpon string
propertyName string
return IEnumerable

GetProjects() public method

public GetProjects ( string projectNameExpression ) : IEnumerable
projectNameExpression string
return IEnumerable

GetWorkspace() public method

public GetWorkspace ( ) : IWorkspaceModel
return IWorkspaceModel

ProcessTextTemplate() public method

public ProcessTextTemplate ( string t4File, object input, Dictionary parameters ) : string
t4File string
input object
parameters Dictionary
return string

ProjectModel() public method

public ProjectModel ( Project project ) : EnvDTE
project Project
return EnvDTE

ProjectModel() public method

public ProjectModel ( string projectName ) : EnvDTE
projectName string
return EnvDTE