PostSharp6.7//API Reference/Post­Sharp.​Patterns.​Diagnostics Namespace/Logging­Property Class/Logging­Property Constructor/Logging­Property Constructor (String, Object)

LoggingProperty Constructor (String, Object)

Initializes a new LoggingProperty and assigns it to a constant value.

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.7.12.0 (6.7.12.0)
Syntax
C#
public LoggingProperty(
	string name,
	Object value
)

Parameters

name
Type: System.String
Property name.
value
Type: System.Object
Property value.
See Also