MetalamaAPI documentationFlashtrace APIFlashtrace.​RecordsLogging­PropertyLogging­Property
Open sandboxFocus

LoggingProperty Constructor

LoggingProperty(String, Object)

Initializes a new instance of the LoggingProperty class specifying a constant value.

Declaration
public LoggingProperty(string name, object value)
Parameters
Type Name Description
System.String name

Property name.

System.Object value

Property value.

LoggingProperty(String, Func<Object>)

Initializes a new instance of the LoggingProperty class specifying a dynamic value.

Declaration
public LoggingProperty(string name, Func<object> func)
Parameters
Type Name Description
System.String name

Property name.

System.Func<System.Object> func

A function returning the property value. This function will be evaluated every time the Value getter is invoked.