PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​FormattersSynthetic­Id­FormatterWrite­Context­Id
Open sandboxFocus

SyntheticIdFormatter.WriteContextId Method

WriteContextId(UnsafeStringBuilder, LoggingContext)

Generates the value of the SyntheticId property of a LoggingContext.

Declaration
public abstract void WriteContextId(UnsafeStringBuilder stringBuilder, LoggingContext context)
Parameters
Type Name Description
UnsafeStringBuilder stringBuilder

The target UnsafeStringBuilder.

LoggingContext context

The context for which the synthetic id needs to be generated.