C# Class McSherry.SemanticVersioning.SemanticVersion.Formatter

Encapsulates the formatting routines provided by the SemanticVersion class.

ファイルを表示 Open project: McSherry/McSherry.SemanticVersioning

Public Methods

Method Description
Format ( SemanticVersion semver, string format ) : string

Exposes the formatter for SemanticVersion instances.

Private Methods

Method Description
Concise ( SemanticVersion semver ) : string
Default ( SemanticVersion semver ) : string
Formatter ( ) : System

Method Details

Format() public static method

Exposes the formatter for SemanticVersion instances.

public static Format ( SemanticVersion semver, string format ) : string
semver SemanticVersion /// The to be formatted. ///
format string /// The format string specifying how the /// should be formatted. ///
return string