MetalamaAPI documentationFlashtrace APIFlashtrace.​RecordsLog­Record­Kind­Extensions
Open sandboxFocus

LogRecordKindExtensions Class

Extensions to the LogRecordKind enum.

Inheritance
System.Object
LogRecordKindExtensions
Namespace: Flashtrace.Records
Assembly: Flashtrace.dll
Syntax
public static class LogRecordKindExtensions : Object

Methods

Name Description
IsClose(LogRecordKind)

Determines whether a given LogRecordKind represents the closing of a context.

IsCloseActivity(LogRecordKind)

Determines whether a given LogRecordKind represents the closing of an activity.

IsOpen(LogRecordKind)

Determines whether a given LogRecordKind represents the opening of a context.

IsStandalone(LogRecordKind)

Determines whether a given LogRecordKind represents a standalone record, i.e. a record that does not have a corresponding opening or closing. For instance, a Message is a standalone record.

IsUser(LogRecordKind)

Determines whether the current LogRecordKind represents a record emitted by the FlashtraceLevelSource class, which is typically invoked by user code.