PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​FormattersDefault­Synthetic­Id­FormatterGenerate­Child­Context­Id
Open sandboxFocus

DefaultSyntheticIdFormatter.GenerateChildContextId Method

GenerateChildContextId(LoggingContext)

Generates a new synthetic id for a child of a given context. This context id can then be assigned to SyntheticRootId.

Declaration
public override string GenerateChildContextId(LoggingContext context)
Parameters
Type Name Description
LoggingContext context

The parent context id.

Returns
Type Description
System.String
Overrides
SyntheticIdFormatter.GenerateChildContextId(LoggingContext)