PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Formatters Namespace / Default­Synthetic­Id­Formatter Class / Default­Synthetic­Id­Formatter Methods / Default­Synthetic­Id­Formatter.​Generate­Child­Context­Id Method

DefaultSyntheticIdFormatter.GenerateChildContextId Method

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

Namespace:  PostSharp.Patterns.Diagnostics.Formatters
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.9.1.0 (6.9.1.0)
Syntax
C#
public override string GenerateChildContextId(
	LoggingContext context
)

Parameters

context
Type: PostSharp.Patterns.Diagnostics.Contexts.LoggingContext
The parent context id.

Return Value

Type: String
See Also