PostSharp6.2/API Reference/Post­Sharp.​Patterns.​Diagnostics.​Record­Builders Namespace/Text­Log­Record­Builder Class/Text­Log­Record­Builder Methods/Text­Log­Record­Builder.​Write­Custom­String Method/Text­Log­Record­Builder.​Write­Custom­String Method (Array­Segment(Char))

TextLogRecordBuilder.WriteCustomString Method (ArraySegment<Char>)

Write a custom string passed as an ArraySegment<char>.

Namespace:  PostSharp.Patterns.Diagnostics.RecordBuilders
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.2.11.0 (6.2.11.0)
Syntax
C#
public override void WriteCustomString(
	ArraySegment<char> str
)

Parameters

str
Type: System.ArraySegment<Char>
The string to be written.
Remarks
A custom string never contains formatting parameters. It is the responsibility of of the caller to parse a formatting string and invoke WriteCustomString(ArraySegment<Char>) and WriteCustomParameter<T>(Int32, ArraySegment<Char>, T) in alternation.
See Also