Method | Description | |
---|---|---|
GetMyMethodName ( string pstrMemberName = SpecialStrings.EMPTY_STRING ) : string |
Get the unqualified name of the calling method.
|
|
GetMySourceFileName ( string pstrCallerFilePath = SpecialStrings.EMPTY_STRING ) : string |
Get the absolute (fully qualified) name of the source file in which the calling method is defined.
|
|
GetMySourceLineNumber ( int pintCallerLineNumber = MagicNumbers.ZERO ) : int |
Get the line number in the source file at which the call arose.
|
public static GetMyMethodName ( string pstrMemberName = SpecialStrings.EMPTY_STRING ) : string | ||
pstrMemberName | string | /// This parameter is configured as optional, and is set by the compiler /// to the unqualified name of the method that called it. /// |
return | string |
public static GetMySourceFileName ( string pstrCallerFilePath = SpecialStrings.EMPTY_STRING ) : string | ||
pstrCallerFilePath | string | /// This parameter is configured as optional, and is set by the compiler /// to the absolute (fully qualified) name of the source file in which /// the method that called it is defined. /// |
return | string |
public static GetMySourceLineNumber ( int pintCallerLineNumber = MagicNumbers.ZERO ) : int | ||
pintCallerLineNumber | int | /// This parameter is configured as optional, and is set by the compiler /// to the line number in the source file where the call originated. /// |
return | int |