PostSharp6.5//API Reference/Post­Sharp.​Patterns.​Diagnostics.​Custom Namespace/Formatting­String­Parser Structure

FormattingStringParser Structure

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

Namespace:  PostSharp.Patterns.Diagnostics.Custom
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.5.8.0 (6.5.8.0)
Syntax
C#
public struct FormattingStringParser

The FormattingStringParser type exposes the following members.

Constructors
  NameDescription
Public methodFormattingStringParser
Initializes a new FormattingStringParser.
Methods
  NameDescription
Public methodGetNextParameter
Gets the next parameter name.
Public methodGetNextSubstring
Gets the next substring (until the next parameter or the end of the string).
See Also