C# 클래스 nHydrate.Generator.Common.Util.EnvDTEHelper

Summary description for EnvDTEHelper.
파일 보기 프로젝트 열기: nHydrate/nHydrate 1 사용 예제들

Private Properties

프로퍼티 타입 설명
BuildCache void
BuildCacheSub void
CacheProjectItems void
EnvDTEHelper System
Find UIHierarchyItem
Find UIHierarchyItem
GetProjectFolder ProjectItem
GetProjectItem ProjectItem
TriggerColorChange void

공개 메소드들

메소드 설명
ActivateSolutionHierarchy ( ) : void
AddFileAsProjectItem ( Project project, string fileName, string relativePathAndName, bool overwrite, FileStateInfo &fileStateInfo ) : ProjectItem
AddFolder ( Project project, string folderName ) : ProjectItem
AddFolder ( ProjectItem projectItem, string folderName ) : ProjectItem
AddProjectItem ( Project project, ProjectItem parent, string fileName, string content, bool overwrite, FileStateInfo &fileStateInfo ) : ProjectItem
AddProjectItem ( Project project, string fileContent, byte fileContentBinary, ProjectItemContentType contentType, string relativePathAndName, bool overwrite, FileStateInfo &fileStateInfo ) : ProjectItem
AddProjectItem ( ProjectItem parent, string fileName, FileStateInfo &fileStateInfo ) : ProjectItem
AddProjectItem ( string fileContent, byte fileContentBinary, ProjectItemContentType contentType, string relativePathAndName, bool overwrite, FileStateInfo &fileStateInfo ) : void

Just gen file with no project

AddReference ( Project project, string assemblyLocation ) : void
CastToVSProject ( Project project ) : VSProject
ClearCache ( ) : void
CreateCSharpProject ( string name ) : Project
CreateDatabaseProject ( string name ) : Project
CreateProjectFromTemplate ( string template, string projectName ) : Project
CreateProjectFromTemplate ( string template, string projectName, string outputTarget ) : Project
CreateSolutionFolder ( string relativePath ) : EnvDTE.Project
CreateSolutionFolder ( string relativePath, EnvDTE parentFolder ) : EnvDTE.Project
DeleteProjectItem ( Project project, string relativePathAndName, FileStateInfo &fileStateInfo ) : void
DeleteProjectItem ( ProjectItem parent, string fileName, FileStateInfo &fileStateInfo ) : void
Find ( string fileExtension ) : System.IO.FileInfo[]
Find ( Project project ) : UIHierarchyItem
Find ( ProjectItem pi ) : UIHierarchyItem
FindProjectItemByFileName ( ProjectItems projectItems, string relativePathAndName ) : ProjectItem
GetFileName ( ProjectItem pi ) : string
GetProject ( string projectName ) : Project
GetProjectFolder ( Project project, string folderString ) : ProjectItem
GetProjectFolder ( string projectName, string projectLocation ) : ProjectItem
GetProjectItem ( Project project, string projectItemString ) : ProjectItem
GetProjectItem ( ProjectItem parentItem, string projectItem ) : ProjectItem
GetProjectItem ( ProjectItem parentItem, string projectItem, bool createPathIfNotExists ) : ProjectItem
GetProjectItem ( string projectName, string parentItemRelativeName ) : ProjectItem
GetProjectItem ( string projectName, string parentRelativeName, ProjectItemType parentItemType ) : ProjectItem
GetProjectItemExists ( Project project, string projectItemString ) : bool
GetProjectItemExists ( ProjectItem parentItem, string projectItem ) : bool
GetProjectItemExists ( string projectName, string parentRelativeName, ProjectItemType parentItemType ) : bool
ProjectExists ( string projectName ) : bool
ProjectLoaded ( string projectName ) : bool
SelectProjectItem ( ProjectItem pi ) : void
SetDTE ( _DTE applicationObject ) : void
SetProperties ( ProjectItem projectItem, Hashtable properties ) : void
SetProperty ( ProjectItem projectItem, string propertyName, object propertyValue ) : void

비공개 메소드들

메소드 설명
BuildCache ( Project project ) : void
BuildCacheSub ( ProjectItem projectItem ) : void
CacheProjectItems ( ProjectItems projectItems, List cache ) : void
EnvDTEHelper ( ) : System
Find ( UIHierarchyItem hierarchyItem, Project project ) : UIHierarchyItem
Find ( UIHierarchyItem hierarchyItem, ProjectItem pi ) : UIHierarchyItem
GetProjectFolder ( ProjectItem parentItem, string folder ) : ProjectItem
GetProjectItem ( Project project, string projectItemString, bool createPathIfNotExists ) : ProjectItem
TriggerColorChange ( ) : void

메소드 상세

ActivateSolutionHierarchy() 공개 메소드

public ActivateSolutionHierarchy ( ) : void
리턴 void

AddFileAsProjectItem() 공개 메소드

public AddFileAsProjectItem ( Project project, string fileName, string relativePathAndName, bool overwrite, FileStateInfo &fileStateInfo ) : ProjectItem
project Project
fileName string
relativePathAndName string
overwrite bool
fileStateInfo FileStateInfo
리턴 ProjectItem

AddFolder() 공개 정적인 메소드

public static AddFolder ( Project project, string folderName ) : ProjectItem
project Project
folderName string
리턴 ProjectItem

AddFolder() 공개 정적인 메소드

public static AddFolder ( ProjectItem projectItem, string folderName ) : ProjectItem
projectItem ProjectItem
folderName string
리턴 ProjectItem

AddProjectItem() 공개 메소드

public AddProjectItem ( Project project, ProjectItem parent, string fileName, string content, bool overwrite, FileStateInfo &fileStateInfo ) : ProjectItem
project Project
parent ProjectItem
fileName string
content string
overwrite bool
fileStateInfo FileStateInfo
리턴 ProjectItem

AddProjectItem() 공개 메소드

public AddProjectItem ( Project project, string fileContent, byte fileContentBinary, ProjectItemContentType contentType, string relativePathAndName, bool overwrite, FileStateInfo &fileStateInfo ) : ProjectItem
project Project
fileContent string
fileContentBinary byte
contentType ProjectItemContentType
relativePathAndName string
overwrite bool
fileStateInfo FileStateInfo
리턴 ProjectItem

AddProjectItem() 공개 메소드

public AddProjectItem ( ProjectItem parent, string fileName, FileStateInfo &fileStateInfo ) : ProjectItem
parent ProjectItem
fileName string
fileStateInfo FileStateInfo
리턴 ProjectItem

AddProjectItem() 공개 메소드

Just gen file with no project
public AddProjectItem ( string fileContent, byte fileContentBinary, ProjectItemContentType contentType, string relativePathAndName, bool overwrite, FileStateInfo &fileStateInfo ) : void
fileContent string
fileContentBinary byte
contentType ProjectItemContentType
relativePathAndName string
overwrite bool
fileStateInfo FileStateInfo
리턴 void

AddReference() 공개 정적인 메소드

public static AddReference ( Project project, string assemblyLocation ) : void
project Project
assemblyLocation string
리턴 void

CastToVSProject() 공개 정적인 메소드

public static CastToVSProject ( Project project ) : VSProject
project Project
리턴 VSProject

ClearCache() 공개 메소드

public ClearCache ( ) : void
리턴 void

CreateCSharpProject() 공개 메소드

public CreateCSharpProject ( string name ) : Project
name string
리턴 Project

CreateDatabaseProject() 공개 메소드

public CreateDatabaseProject ( string name ) : Project
name string
리턴 Project

CreateProjectFromTemplate() 공개 메소드

public CreateProjectFromTemplate ( string template, string projectName ) : Project
template string
projectName string
리턴 Project

CreateProjectFromTemplate() 공개 메소드

public CreateProjectFromTemplate ( string template, string projectName, string outputTarget ) : Project
template string
projectName string
outputTarget string
리턴 Project

CreateSolutionFolder() 공개 메소드

public CreateSolutionFolder ( string relativePath ) : EnvDTE.Project
relativePath string
리턴 EnvDTE.Project

CreateSolutionFolder() 공개 메소드

public CreateSolutionFolder ( string relativePath, EnvDTE parentFolder ) : EnvDTE.Project
relativePath string
parentFolder EnvDTE
리턴 EnvDTE.Project

DeleteProjectItem() 공개 정적인 메소드

public static DeleteProjectItem ( Project project, string relativePathAndName, FileStateInfo &fileStateInfo ) : void
project Project
relativePathAndName string
fileStateInfo FileStateInfo
리턴 void

DeleteProjectItem() 공개 메소드

public DeleteProjectItem ( ProjectItem parent, string fileName, FileStateInfo &fileStateInfo ) : void
parent ProjectItem
fileName string
fileStateInfo FileStateInfo
리턴 void

Find() 공개 메소드

public Find ( string fileExtension ) : System.IO.FileInfo[]
fileExtension string
리턴 System.IO.FileInfo[]

Find() 공개 메소드

public Find ( Project project ) : UIHierarchyItem
project Project
리턴 UIHierarchyItem

Find() 공개 메소드

public Find ( ProjectItem pi ) : UIHierarchyItem
pi ProjectItem
리턴 UIHierarchyItem

FindProjectItemByFileName() 공개 정적인 메소드

public static FindProjectItemByFileName ( ProjectItems projectItems, string relativePathAndName ) : ProjectItem
projectItems ProjectItems
relativePathAndName string
리턴 ProjectItem

GetFileName() 공개 메소드

public GetFileName ( ProjectItem pi ) : string
pi ProjectItem
리턴 string

GetProject() 공개 메소드

public GetProject ( string projectName ) : Project
projectName string
리턴 Project

GetProjectFolder() 공개 메소드

public GetProjectFolder ( Project project, string folderString ) : ProjectItem
project Project
folderString string
리턴 ProjectItem

GetProjectFolder() 공개 메소드

public GetProjectFolder ( string projectName, string projectLocation ) : ProjectItem
projectName string
projectLocation string
리턴 ProjectItem

GetProjectItem() 공개 메소드

public GetProjectItem ( Project project, string projectItemString ) : ProjectItem
project Project
projectItemString string
리턴 ProjectItem

GetProjectItem() 공개 메소드

public GetProjectItem ( ProjectItem parentItem, string projectItem ) : ProjectItem
parentItem ProjectItem
projectItem string
리턴 ProjectItem

GetProjectItem() 공개 메소드

public GetProjectItem ( ProjectItem parentItem, string projectItem, bool createPathIfNotExists ) : ProjectItem
parentItem ProjectItem
projectItem string
createPathIfNotExists bool
리턴 ProjectItem

GetProjectItem() 공개 메소드

public GetProjectItem ( string projectName, string parentItemRelativeName ) : ProjectItem
projectName string
parentItemRelativeName string
리턴 ProjectItem

GetProjectItem() 공개 메소드

public GetProjectItem ( string projectName, string parentRelativeName, ProjectItemType parentItemType ) : ProjectItem
projectName string
parentRelativeName string
parentItemType ProjectItemType
리턴 ProjectItem

GetProjectItemExists() 공개 메소드

public GetProjectItemExists ( Project project, string projectItemString ) : bool
project Project
projectItemString string
리턴 bool

GetProjectItemExists() 공개 메소드

public GetProjectItemExists ( ProjectItem parentItem, string projectItem ) : bool
parentItem ProjectItem
projectItem string
리턴 bool

GetProjectItemExists() 공개 메소드

public GetProjectItemExists ( string projectName, string parentRelativeName, ProjectItemType parentItemType ) : bool
projectName string
parentRelativeName string
parentItemType ProjectItemType
리턴 bool

ProjectExists() 공개 정적인 메소드

public static ProjectExists ( string projectName ) : bool
projectName string
리턴 bool

ProjectLoaded() 공개 정적인 메소드

public static ProjectLoaded ( string projectName ) : bool
projectName string
리턴 bool

SelectProjectItem() 공개 메소드

public SelectProjectItem ( ProjectItem pi ) : void
pi ProjectItem
리턴 void

SetDTE() 공개 메소드

public SetDTE ( _DTE applicationObject ) : void
applicationObject _DTE
리턴 void

SetProperties() 공개 정적인 메소드

public static SetProperties ( ProjectItem projectItem, Hashtable properties ) : void
projectItem ProjectItem
properties System.Collections.Hashtable
리턴 void

SetProperty() 공개 정적인 메소드

public static SetProperty ( ProjectItem projectItem, string propertyName, object propertyValue ) : void
projectItem ProjectItem
propertyName string
propertyValue object
리턴 void