PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Contexts Namespace / Log­Member­Info Structure / Log­Member­Info Constructor / Log­Member­Info Constructor (Logging­Profile, Logging­Source­Local­State, String, Int32, Int32, Int32)

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

Initializes a new LogMemberInfo without CallerInfo.

Namespace:  PostSharp.Patterns.Diagnostics.Contexts
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.9.11.0 (6.9.11.0)
Syntax
C#
public LogMemberInfo(
	LoggingProfile profile,
	 in LoggingSourceLocalState localState,
	string memberName,
	int parameterCount,
	int returnValueCount,
	int genericParameterCount
)

Parameters

profile
Type: PostSharp.Patterns.Diagnostics.LoggingProfile
The parent LoggingProfile.
localState
Type: PostSharp.Patterns.Diagnostics.LoggingSourceLocalState
The LoggingSourceLocalState.
memberName
Type: System.String
Name of the method, property, or field.
parameterCount
Type: System.Int32
Number of parameters in the method.
returnValueCount
Type: System.Int32
Number of return values.
genericParameterCount
Type: System.Int32
Number of generic method parameters.
See Also