CallerInfo Structure |
Represents information about the caller of the Logger class.
Namespace: PostSharp.Patterns.Diagnostics.Contexts
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 5.0.55.0 (5.0.55.0)
C#
public struct CallerInfo
The CallerInfo type exposes the following members.
Name | Description | |
---|---|---|
CallerInfo(RuntimeTypeHandle, String, String, Int32, Int32) |
Initializes a new CallerInfo, and uses as a RuntimeTypeHandle to specify the source type.
| |
CallerInfo(Type, String, String, Int32, Int32) |
Initializes a new CallerInfo, and uses as a Type to specify the source type.
|
Name | Description | |
---|---|---|
IsNull |
Determines whether the current CallerInfo is null.
| |
MethodName |
Gets the name of the caller method.
| |
SourceLineInfo |
Gets the SourceLineInfo of the caller.
| |
SourceType |
Gets the source Type.
| |
SourceTypeToken |
Gets the RuntimeTypeHandle of the caller Type.
|
Name | Description | |
---|---|---|
QueryInterface<T> |
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.) |