C# Class Debugging.CallerInfoAttributes.CallerInfoAttributesExamples

Show file Open project: NikolayIT/CSharp-Tips-and-Tricks

Public Methods

Method Description
GetCallerFilePath ( [ filePath = null ) : string
GetCallerLineNumber ( [ lineNumber ) : string
GetCallerMemberName ( [ memberName = null ) : string

Method Details

GetCallerFilePath() public static method

public static GetCallerFilePath ( [ filePath = null ) : string
filePath [
return string

GetCallerLineNumber() public static method

public static GetCallerLineNumber ( [ lineNumber ) : string
lineNumber [
return string

GetCallerMemberName() public static method

public static GetCallerMemberName ( [ memberName = null ) : string
memberName [
return string