C# 클래스 WebApplications.Utilities.PowerShell.NuSpecDependency

A nuspec dependency.
파일 보기 프로젝트 열기: webappsuk/CoreLibraries 1 사용 예제들

공개 메소드들

메소드 설명
NuSpecDependency ( string id, string version = null ) : System

Initializes a new instance of the NuSpecDependency struct.

Parse ( string dependency ) : NuSpecDependency

Parses the specified dependency.

ToString ( ) : string

Returns a string that represents this instance.

TryParse ( string input, NuSpecDependency &dependency ) : bool

Tries to parse the specified input into a dependency.

메소드 상세

NuSpecDependency() 공개 메소드

Initializes a new instance of the NuSpecDependency struct.
public NuSpecDependency ( string id, string version = null ) : System
id string The id.
version string The version.
리턴 System

Parse() 공개 정적인 메소드

Parses the specified dependency.
public static Parse ( string dependency ) : NuSpecDependency
dependency string The dependency.
리턴 NuSpecDependency

ToString() 공개 메소드

Returns a string that represents this instance.
/// The format string was a . /// /// An index from the format string is either less than zero or greater than or equal to the number of arguments. ///
public ToString ( ) : string
리턴 string

TryParse() 공개 정적인 메소드

Tries to parse the specified input into a dependency.
public static TryParse ( string input, NuSpecDependency &dependency ) : bool
input string The input.
dependency NuSpecDependency The dependency.
리턴 bool