PostSharp6.2/API Reference/Post­Sharp.​Patterns.​Diagnostics.​Custom.​Messages Namespace

PostSharp.Patterns.Diagnostics.Custom.Messages Namespace

This namespace contains the implementation of different message types used by the custom logging front-end API. It is normally not necessary to reference this namespace in user code, as the use of the var keyword is recommended.
Structures
  StructureDescription
Public structureFormattedMessage
Encapsulates a formatted message without parameter. Use the FormattedMessageBuilder class to create an instance of this type.
Public structureFormattedMessage<T1>
Encapsulates a text message with 1 parameter. Use the FormattedMessageBuilder class to create an instance of this type.
Public structureFormattedMessage<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>
Encapsulates a text message with 10 parameters. Use the FormattedMessageBuilder class to create an instance of this type.
Public structureFormattedMessage<T1, T2>
Encapsulates a text message with 2 parameters. Use the FormattedMessageBuilder class to create an instance of this type.
Public structureFormattedMessage<T1, T2, T3>
Encapsulates a text message with 3 parameters. Use the FormattedMessageBuilder class to create an instance of this type.
Public structureFormattedMessage<T1, T2, T3, T4>
Encapsulates a text message with 4 parameters. Use the FormattedMessageBuilder class to create an instance of this type.
Public structureFormattedMessage<T1, T2, T3, T4, T5>
Encapsulates a text message with 5 parameters. Use the FormattedMessageBuilder class to create an instance of this type.
Public structureFormattedMessage<T1, T2, T3, T4, T5, T6>
Encapsulates a text message with 6 parameters. Use the FormattedMessageBuilder class to create an instance of this type.
Public structureFormattedMessage<T1, T2, T3, T4, T5, T6, T7>
Encapsulates a text message with 7 parameters. Use the FormattedMessageBuilder class to create an instance of this type.
Public structureFormattedMessage<T1, T2, T3, T4, T5, T6, T7, T8>
Encapsulates a text message with 8 parameters. Use the FormattedMessageBuilder class to create an instance of this type.
Public structureFormattedMessage<T1, T2, T3, T4, T5, T6, T7, T8, T9>
Encapsulates a text message with 9 parameters. Use the FormattedMessageBuilder class to create an instance of this type.
Public structureFormattedMessageArray
Encapsulates a formatted message with an arbitrary number of parameters. Use the FormattedMessageBuilder class to create an instance of this type.
Public structureSemanticMessage
Encapsulates a semantic message without parameter. Use the SemanticMessageBuilder class to create an instance of this type.
Public structureSemanticMessage<T1>
Encapsulates a semantic message with a 1 number of parameter. Use the SemanticMessageBuilder class to create an instance of this type.
Public structureSemanticMessage<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>
Encapsulates a semantic message with a 10 number of parameters. Use the SemanticMessageBuilder class to create an instance of this type.
Public structureSemanticMessage<T1, T2>
Encapsulates a semantic message with a 2 number of parameters. Use the SemanticMessageBuilder class to create an instance of this type.
Public structureSemanticMessage<T1, T2, T3>
Encapsulates a semantic message with a 3 number of parameters. Use the SemanticMessageBuilder class to create an instance of this type.
Public structureSemanticMessage<T1, T2, T3, T4>
Encapsulates a semantic message with a 4 number of parameters. Use the SemanticMessageBuilder class to create an instance of this type.
Public structureSemanticMessage<T1, T2, T3, T4, T5>
Encapsulates a semantic message with a 5 number of parameters. Use the SemanticMessageBuilder class to create an instance of this type.
Public structureSemanticMessage<T1, T2, T3, T4, T5, T6>
Encapsulates a semantic message with a 6 number of parameters. Use the SemanticMessageBuilder class to create an instance of this type.
Public structureSemanticMessage<T1, T2, T3, T4, T5, T6, T7>
Encapsulates a semantic message with a 7 number of parameters. Use the SemanticMessageBuilder class to create an instance of this type.
Public structureSemanticMessage<T1, T2, T3, T4, T5, T6, T7, T8>
Encapsulates a semantic message with a 8 number of parameters. Use the SemanticMessageBuilder class to create an instance of this type.
Public structureSemanticMessage<T1, T2, T3, T4, T5, T6, T7, T8, T9>
Encapsulates a semantic message with a 9 number of parameters. Use the SemanticMessageBuilder class to create an instance of this type.
Public structureSemanticMessageArray
Encapsulates a semantic message with an arbitrary number of parameters. Use the SemanticMessageBuilder class to create an instance of this type.
Interfaces
  InterfaceDescription
Public interfaceIMessage
Represents a message that can be used with the LogSource class. To create a message instance, you would typically use the SemanticMessageBuilder or FormattedMessageBuilder class.