PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​ContextsLog­Member­InfoLog­Member­Info
Open sandboxFocus

LogMemberInfo Constructor

LogMemberInfo(LoggingProfile, LoggingTypeSource, String, Int32, Int32, Int32)

Declaration
public LogMemberInfo(LoggingProfile profile, LoggingTypeSource source, string memberName, int parameterCount, int returnValueCount, int genericParameterCount)
Parameters
Type Name Description
LoggingProfile profile
LoggingTypeSource source
System.String memberName
Int32 parameterCount
Int32 returnValueCount
Int32 genericParameterCount

LogMemberInfo(LoggingProfile, in LoggingSourceLocalState, String, Int32, Int32, Int32)

Initializes a new LogMemberInfo without CallerInfo.

Declaration
public LogMemberInfo(LoggingProfile profile, in LoggingSourceLocalState localState, string memberName, int parameterCount, int returnValueCount, int genericParameterCount)
Parameters
Type Name Description
LoggingProfile profile

The parent LoggingProfile.

LoggingSourceLocalState localState

The LoggingSourceLocalState.

System.String memberName

Name of the method, property, or field.

Int32 parameterCount

Number of parameters in the method.

Int32 returnValueCount

Number of return values.

Int32 genericParameterCount

Number of generic method parameters.

LogMemberInfo(LoggingProfile, LoggingTypeSource, String, Int32, Int32, Int32, String, Int32, Int32)

Declaration
public LogMemberInfo(LoggingProfile profile, LoggingTypeSource source, string memberName, int parameterCount, int returnValueCount, int genericParameterCount, string file, int line, int column)
Parameters
Type Name Description
LoggingProfile profile
LoggingTypeSource source
System.String memberName
Int32 parameterCount
Int32 returnValueCount
Int32 genericParameterCount
System.String file
Int32 line
Int32 column

LogMemberInfo(LoggingProfile, in LoggingSourceLocalState, String, Int32, Int32, Int32, String, Int32, Int32)

Initializes a new LogMemberInfo with CallerInfo.

Declaration
public LogMemberInfo(LoggingProfile profile, in LoggingSourceLocalState localState, string memberName, int parameterCount, int returnValueCount, int genericParameterCount, string file, int line, int column)
Parameters
Type Name Description
LoggingProfile profile

The parent LoggingProfile.

LoggingSourceLocalState localState

The LoggingSourceLocalState.

System.String memberName

Name of the method, property, or field.

Int32 parameterCount

Number of parameters in the method.

Int32 returnValueCount

Number of return values.

Int32 genericParameterCount

Number of generic method parameters.

System.String file

Caller source file.

Int32 line

Caller source line.

Int32 column

Caller source column.