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

DefaultSyntheticIdFormatter Methods

The DefaultSyntheticIdFormatter type exposes the following members.

Methods
  NameDescription
Public methodDispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Disposes the current object.
Public methodGenerateChildContextId
Generates a new synthetic id for a child of a given context. This context id can then be assigned to SyntheticRootId.
(Overrides SyntheticIdFormatter.GenerateChildContextId(LoggingContext).)
Public methodWriteContextId
Generates the value of the SyntheticId property of a LoggingContext.
(Overrides SyntheticIdFormatter.WriteContextId(UnsafeStringBuilder, LoggingContext).)
Public methodWriteRecordId
Generates the value of the SyntheticId property of a LogRecordBuilder.
(Overrides SyntheticIdFormatter.WriteRecordId(UnsafeStringBuilder, LoggingContext).)
See Also