C# Class stringFormat, shared-source-cli-2.0

Class with Main entry point.
Afficher le fichier Open project: gbarnett/shared-source-cli-2.0

Méthodes publiques

Méthode Description
Main ( string args ) : void

Main entry point.

PrintFormat ( IFormattable inputData, string formatString ) : void

Overload that uses null for the IFormatProvider.

PrintFormat ( IFormattable inputData, string formatString, IFormatProvider provider ) : void

Outputs the data with the specified format.

TryUserFormat ( IFormattable inputData ) : void

Gets a format string from the user and calls PrintFormat() with it.

Method Details

Main() public static méthode

Main entry point.
public static Main ( string args ) : void
args string
Résultat void

PrintFormat() public static méthode

Overload that uses null for the IFormatProvider.
public static PrintFormat ( IFormattable inputData, string formatString ) : void
inputData IFormattable
formatString string
Résultat void

PrintFormat() public static méthode

Outputs the data with the specified format.
public static PrintFormat ( IFormattable inputData, string formatString, IFormatProvider provider ) : void
inputData IFormattable
formatString string
provider IFormatProvider
Résultat void

TryUserFormat() public static méthode

Gets a format string from the user and calls PrintFormat() with it.
public static TryUserFormat ( IFormattable inputData ) : void
inputData IFormattable
Résultat void