C# Class Octopus.Client.Model.Versioning.VersionFormatter

Inheritance: IFormatProvider, ICustomFormatter
Show file Open project: OctopusDeploy/Octo.exe

Public Methods

Method Description
Format ( string format, object arg, IFormatProvider formatProvider ) : string
GetFormat ( Type formatType ) : object

Private Methods

Method Description
Format ( char c, StrictSemanticVersion version ) : string
FormatVersion ( StrictSemanticVersion version ) : string
GetNormalizedString ( StrictSemanticVersion version ) : string

Method Details

Format() public method

public Format ( string format, object arg, IFormatProvider formatProvider ) : string
format string
arg object
formatProvider IFormatProvider
return string

GetFormat() public method

public GetFormat ( Type formatType ) : object
formatType System.Type
return object