PostSharp / / API Reference / Post­Sharp.​Patterns.​Diagnostics / Formatted­Message­Builder / Formatted

Method Formatted

Formatted(String, Object[])

Declaration
public static FormattedMessageArray Formatted(string formattingString, object[] args)
Parameters
Type Name Description
String formattingString
Object[] args
Returns
Type Description
FormattedMessageArray

Formatted(String)

Declaration
public static FormattedMessage Formatted(string text)
Parameters
Type Name Description
String text
Returns
Type Description
FormattedMessage

Formatted<T1>(String, T1)

Declaration
public static FormattedMessage<T1> Formatted<T1>(string formattingString, T1 arg1)
Parameters
Type Name Description
String formattingString
T1 arg1
Returns
Type Description
FormattedMessage<T1>
Type Parameters
Name Description
T1

Formatted<T1, T2>(String, T1, T2)

Declaration
public static FormattedMessage<T1, T2> Formatted<T1, T2>(string formattingString, T1 arg1, T2 arg2)
Parameters
Type Name Description
String formattingString
T1 arg1
T2 arg2
Returns
Type Description
FormattedMessage<T1, T2>
Type Parameters
Name Description
T1
T2

Formatted<T1, T2, T3>(String, T1, T2, T3)

Declaration
public static FormattedMessage<T1, T2, T3> Formatted<T1, T2, T3>(string formattingString, T1 arg1, T2 arg2, T3 arg3)
Parameters
Type Name Description
String formattingString
T1 arg1
T2 arg2
T3 arg3
Returns
Type Description
FormattedMessage<T1, T2, T3>
Type Parameters
Name Description
T1
T2
T3

Formatted<T1, T2, T3, T4>(String, T1, T2, T3, T4)

Declaration
public static FormattedMessage<T1, T2, T3, T4> Formatted<T1, T2, T3, T4>(string formattingString, T1 arg1, T2 arg2, T3 arg3, T4 arg4)
Parameters
Type Name Description
String formattingString
T1 arg1
T2 arg2
T3 arg3
T4 arg4
Returns
Type Description
FormattedMessage<T1, T2, T3, T4>
Type Parameters
Name Description
T1
T2
T3
T4

Formatted<T1, T2, T3, T4, T5>(String, T1, T2, T3, T4, T5)

Declaration
public static FormattedMessage<T1, T2, T3, T4, T5> Formatted<T1, T2, T3, T4, T5>(string formattingString, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5)
Parameters
Type Name Description
String formattingString
T1 arg1
T2 arg2
T3 arg3
T4 arg4
T5 arg5
Returns
Type Description
FormattedMessage<T1, T2, T3, T4, T5>
Type Parameters
Name Description
T1
T2
T3
T4
T5

Formatted<T1, T2, T3, T4, T5, T6>(String, T1, T2, T3, T4, T5, T6)

Declaration
public static FormattedMessage<T1, T2, T3, T4, T5, T6> Formatted<T1, T2, T3, T4, T5, T6>(string formattingString, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6)
Parameters
Type Name Description
String formattingString
T1 arg1
T2 arg2
T3 arg3
T4 arg4
T5 arg5
T6 arg6
Returns
Type Description
FormattedMessage<T1, T2, T3, T4, T5, T6>
Type Parameters
Name Description
T1
T2
T3
T4
T5
T6

Formatted<T1, T2, T3, T4, T5, T6, T7>(String, T1, T2, T3, T4, T5, T6, T7)

Declaration
public static FormattedMessage<T1, T2, T3, T4, T5, T6, T7> Formatted<T1, T2, T3, T4, T5, T6, T7>(string formattingString, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7)
Parameters
Type Name Description
String formattingString
T1 arg1
T2 arg2
T3 arg3
T4 arg4
T5 arg5
T6 arg6
T7 arg7
Returns
Type Description
FormattedMessage<T1, T2, T3, T4, T5, T6, T7>
Type Parameters
Name Description
T1
T2
T3
T4
T5
T6
T7

Formatted<T1, T2, T3, T4, T5, T6, T7, T8>(String, T1, T2, T3, T4, T5, T6, T7, T8)

Declaration
public static FormattedMessage<T1, T2, T3, T4, T5, T6, T7, T8> Formatted<T1, T2, T3, T4, T5, T6, T7, T8>(string formattingString, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8)
Parameters
Type Name Description
String formattingString
T1 arg1
T2 arg2
T3 arg3
T4 arg4
T5 arg5
T6 arg6
T7 arg7
T8 arg8
Returns
Type Description
FormattedMessage<T1, T2, T3, T4, T5, T6, T7, T8>
Type Parameters
Name Description
T1
T2
T3
T4
T5
T6
T7
T8

Formatted<T1, T2, T3, T4, T5, T6, T7, T8, T9>(String, T1, T2, T3, T4, T5, T6, T7, T8, T9)

Declaration
public static FormattedMessage<T1, T2, T3, T4, T5, T6, T7, T8, T9> Formatted<T1, T2, T3, T4, T5, T6, T7, T8, T9>(string formattingString, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9)
Parameters
Type Name Description
String formattingString
T1 arg1
T2 arg2
T3 arg3
T4 arg4
T5 arg5
T6 arg6
T7 arg7
T8 arg8
T9 arg9
Returns
Type Description
FormattedMessage<T1, T2, T3, T4, T5, T6, T7, T8, T9>
Type Parameters
Name Description
T1
T2
T3
T4
T5
T6
T7
T8
T9

Formatted<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(String, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)

Declaration
public static FormattedMessage<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> Formatted<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(string formattingString, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10)
Parameters
Type Name Description
String formattingString
T1 arg1
T2 arg2
T3 arg3
T4 arg4
T5 arg5
T6 arg6
T7 arg7
T8 arg8
T9 arg9
T10 arg10
Returns
Type Description
FormattedMessage<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>
Type Parameters
Name Description
T1
T2
T3
T4
T5
T6
T7
T8
T9
T10