PostSharp 5.0 / / 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­Type­Source, String, Int32, Int32, Int32)

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

Initializes a new LogMemberInfo.

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

Parameters

profile
Type: PostSharp.Patterns.Diagnostics.LoggingProfile
The parent LoggingProfile.
source
Type: PostSharp.Patterns.Diagnostics.LoggingTypeSource
Information about the source type.
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