PostSharp6.0/API Reference/Post­Sharp.​Patterns.​Diagnostics.​Contexts Namespace/Log­Member­Info Structure

LogMemberInfo Structure

Stores information regarding the method, field or property being logged.

Namespace:  PostSharp.Patterns.Diagnostics.Contexts
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.0.35.0 (6.0.35.0)
Syntax
C#
public struct LogMemberInfo

The LogMemberInfo type exposes the following members.

Constructors
  NameDescription
Public methodLogMemberInfo(LoggingProfile, LoggingTypeSource, String, Int32, Int32, Int32)
Initializes a new LogMemberInfo.
Public methodLogMemberInfo(LoggingProfile, LoggingTypeSource, String, Int32, Int32, Int32, String, Int32, Int32)
Initializes a new LogMemberInfo and specifies file-line information.
Properties
  NameDescription
Public propertyGenericParameterCount
Gets the number of generic parameters of the method.
Public propertyMemberName
Gets the name of the method, property, or field.
Public propertyParameterCount
Gets the number of parameters of the method.
Public propertyProfile
Gets the LoggingProfile with which the method is being logged.
Public propertyReturnValueCount
Gets the number of return values of the method.
Public propertySource
Gets information about the source type.
Public propertySourceLineInfo
Gets information about the source code location of the method, property, or field.
See Also