C# 클래스 CCNet.Common.ProjectHelper

Common methods for working with project.
파일 보기 프로젝트 열기: shuruev/CCNet.Extensions

공개 메소드들

메소드 설명
GetBinaryReferences ( ) : List

Gets binary references.

GetCommonProperties ( ) : string>.Dictionary

Gets all common properties.

GetDebugProperties ( ) : string>.Dictionary

Gets all properties specific to Debug configuration.

GetProjectItems ( ) : List

Gets project items.

GetProjectReferences ( ) : List

Gets project references.

GetReleaseProperties ( ) : string>.Dictionary

Gets all properties specific to Release configuration.

GetUsedConditions ( ) : List

Gets a list of used conditions.

GetUsedConfigurations ( ) : List

Gets a list of used configurations.

GetUsedPlatforms ( ) : List

Gets a list of used platforms.

GetVisualStudioVersion ( ) : string

Gets Visual Studio version.

LoadProject ( string projectFilePath ) : void

Loads project document.

비공개 메소드들

메소드 설명
GetConditionProperties ( string condition ) : string>.Dictionary

Gets all properties specific to condition.

GetFromArgument ( ArgumentProperties args, string key ) : string

Gets reference field from an argument.

GetFromProperty ( string>.IDictionary properties, string key ) : string

Gets reference field from a property.

GetProjectItem ( XmlNode node ) : CCNet.Common.ProjectItem

Gets project item from an XML node.

GetToolsVersion ( ) : string

Gets the value of "Tools Version" project attribute.

ResolveVisualStudioVersion ( string toolsVersion ) : string

Converts tools version string to Visual Studio version.

SelectNodes ( string xpath ) : XmlNodeList

Executes XPath query over existing project document and namespace manager.

SelectSingleNode ( string xpath ) : XmlNode

Executes XPath query over existing project document and namespace manager.

메소드 상세

GetBinaryReferences() 공개 정적인 메소드

Gets binary references.
public static GetBinaryReferences ( ) : List
리턴 List

GetCommonProperties() 공개 정적인 메소드

Gets all common properties.
public static GetCommonProperties ( ) : string>.Dictionary
리턴 string>.Dictionary

GetDebugProperties() 공개 정적인 메소드

Gets all properties specific to Debug configuration.
public static GetDebugProperties ( ) : string>.Dictionary
리턴 string>.Dictionary

GetProjectItems() 공개 정적인 메소드

Gets project items.
public static GetProjectItems ( ) : List
리턴 List

GetProjectReferences() 공개 정적인 메소드

Gets project references.
public static GetProjectReferences ( ) : List
리턴 List

GetReleaseProperties() 공개 정적인 메소드

Gets all properties specific to Release configuration.
public static GetReleaseProperties ( ) : string>.Dictionary
리턴 string>.Dictionary

GetUsedConditions() 공개 정적인 메소드

Gets a list of used conditions.
public static GetUsedConditions ( ) : List
리턴 List

GetUsedConfigurations() 공개 정적인 메소드

Gets a list of used configurations.
public static GetUsedConfigurations ( ) : List
리턴 List

GetUsedPlatforms() 공개 정적인 메소드

Gets a list of used platforms.
public static GetUsedPlatforms ( ) : List
리턴 List

GetVisualStudioVersion() 공개 정적인 메소드

Gets Visual Studio version.
public static GetVisualStudioVersion ( ) : string
리턴 string

LoadProject() 공개 정적인 메소드

Loads project document.
public static LoadProject ( string projectFilePath ) : void
projectFilePath string
리턴 void