C# Класс NSupport.StringFormatting

Provides extension methods for string for fomatting.
Показать файл Открыть проект

Открытые методы

Метод Описание
FormatWith ( this source ) : string

Replaces one or more format items in a specified string with the string representation of a specified object. This method uses String.Format(string, object[]) method intenally.

FormatWith ( this source, IFormatProvider provider ) : string

Replaces one or more format items in a specified string with the string representation of a specified object. This method uses String.Format(IFormatProvider, string, object[]) method intenally.

Описание методов

FormatWith() публичный статический Метод

Replaces one or more format items in a specified string with the string representation of a specified object. This method uses String.Format(string, object[]) method intenally.
public static FormatWith ( this source ) : string
source this A instance.
Результат string

FormatWith() публичный статический Метод

Replaces one or more format items in a specified string with the string representation of a specified object. This method uses String.Format(IFormatProvider, string, object[]) method intenally.
public static FormatWith ( this source, IFormatProvider provider ) : string
source this A instance.
provider IFormatProvider An object that supplies culture-specific formatting information.
Результат string