PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​CustomFormatting­String­Parser
Open sandboxFocus

FormattingStringParser Class

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

Inheritance
FormattingStringParser
Namespace: PostSharp.Patterns.Diagnostics.Custom
Assembly: PostSharp.Patterns.Common.dll
Syntax
public sealed class FormattingStringParser : ValueType

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).