ForCallingMethod(CachedMethodConfiguration?, int)
Gets or registers the metadata for the calling method.
Declaration
public static CachedMethodMetadata ForCallingMethod(CachedMethodConfiguration? configuration = null, int skipFrames = 0)Parameters
| Type | Name | Description |
|---|---|---|
| CachedMethodConfiguration | configuration | Optional configuration for the method. |
| int | skipFrames | Number of stack frames to skip when determining the calling method. |
Returns
| Type | Description |
|---|---|
| CachedMethodMetadata | The CachedMethodMetadata for the calling method. |