PostSharp6.6//API Reference/Post­Sharp.​Extensibility.​Build­Time­Logging Namespace/Build­Time­Logger Class/Build­Time­Logger Methods/Build­Time­Logger.​Write Method/Build­Time­Logger.​Write(T1, T2) Method (String, T1, T2)

BuildTimeLogger.Write<T1, T2> Method (String, T1, T2)

Appends a string to the next message and formats it using a formatting string and 2 arguments. The message is sent and flushed when the WriteLine(String) method is invoked.

Namespace:  PostSharp.Extensibility.BuildTimeLogging
Assembly:  PostSharp (in PostSharp.dll) Version: 6.6.7.0 (6.6.7.0)
Syntax
C#
public void Write<T1, T2>(
	string format,
	T1 arg1,
	T2 arg2
)

Parameters

format
Type: System.String
Message formatting string.
arg1
Type: T1
Value of the 1-th parameter.
arg2
Type: T2
Value of the 2-th parameter.

Type Parameters

T1
Type of the 1-th parameter.
T2
Type of the 2-th parameter.
See Also