Open sandboxFocus

Struct FormattingStringParser

Parses the formatting string for custom messages of the Logger and LogActivity classes.

Namespace: PostSharp.Patterns.Diagnostics.Custom
Assembly: PostSharp.Patterns.Common.dll
Syntax
public struct FormattingStringParser

Constructors

Name Description
FormattingStringParser(string)

Initializes a new FormattingStringParser.

Methods

Name Description
GetNextParameter()

Gets the next parameter name.

GetNextSubstring()

Gets the next substring (until the next parameter or the end of the string).