PostSharp6.6//API Reference/Post­Sharp.​Patterns.​Diagnostics.​Backends.​Serilog Namespace/Serilog­Semantic­Parameter­Options Class

SerilogSemanticParameterOptions Class

Define options for a specific kind of semantic parameter.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Diagnostics.Backends.Serilog.SerilogSemanticParameterOptions

Namespace:  PostSharp.Patterns.Diagnostics.Backends.Serilog
Assembly:  PostSharp.Patterns.Diagnostics.Backends.Serilog (in PostSharp.Patterns.Diagnostics.Backends.Serilog.dll) Version: 6.6.7.0 (6.6.7.0)
Syntax
C#
public sealed class SerilogSemanticParameterOptions

The SerilogSemanticParameterOptions type exposes the following members.

Properties
  NameDescription
Public propertySemantic
Gets the semantic whose the current object represents the options.
Public propertyTreatAsSemanticParameter
Determines whether the PostSharp semantic parameter should be passed to Serilog as a semantic parameter. If false, the value of the semantic parameter passed by PostSharp is simply appended to the message formatting string, without defining a Serilog semantic parameter.
See Also