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

SyntheticIdFormatter.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 virtual string GenerateChildContextId(LoggingContext context)
Parameters
Type Name Description
LoggingContext context

The parent context id.

Returns
Type Description
System.String