C# Class WebApplications.Utilities.PowerShell.NuSpecDependency

A nuspec dependency.
Afficher le fichier Open project: webappsuk/CoreLibraries Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

NuSpecDependency() public méthode

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

Parse() public static méthode

Parses the specified dependency.
public static Parse ( string dependency ) : NuSpecDependency
dependency string The dependency.
Résultat NuSpecDependency

ToString() public méthode

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
Résultat string

TryParse() public static méthode

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.
Résultat bool