PostSharpAPI ReferencePost­Sharp.​Patterns.​DiagnosticsLog­Record­Kind­ExtensionsIs­Open
Open sandboxFocus

LogRecordKindExtensions.IsOpen Method

IsOpen(LogRecordKind)

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

Declaration
public static bool IsOpen(this LogRecordKind kind)
Parameters
Type Name Description
LogRecordKind kind

A LogRecordKind.

Returns
Type Description
Boolean

true if kind represents the opening of a context, otherwise false.