PostSharp//API Reference/Post­Sharp.​Patterns.​Diagnostics.​Contexts/Logging­Context/To­String
Open sandboxFocus

Method ToString

ToString()

Returns a string that represents the current object.

Declaration
public sealed override string ToString()
Returns
Type Description
String

A string that represents the current object.

ToString(StringBuilder)

Formats a description of the current LoggingContext into a given StringBuilder.

Declaration
protected virtual void ToString(StringBuilder stringBuilder)
Parameters
Type Name Description
StringBuilder stringBuilder