Neuro-VISOR  0.2.0
Visualize and interact with computational simulations using a virtual reality interface
C2M2.Utils.StackTraceUtils Class Reference

Static Public Member Functions

static string GetCurrentMethod ()
 Print the current method name. More...
 
static string GetCurrentMethod (int frameIndex)
 Print the current method name. More...
 

Member Function Documentation

◆ GetCurrentMethod() [1/2]

static string C2M2.Utils.StackTraceUtils.GetCurrentMethod ( )
static

Print the current method name.

Returns
string containing current method name.

◆ GetCurrentMethod() [2/2]

static string C2M2.Utils.StackTraceUtils.GetCurrentMethod ( int  frameIndex)
static

Print the current method name.

Parameters
frameIndexframeIndex == 0 would print "GetCurrentMethod", frameIndex == 1 would print the name of the method that you call GetCurrentMethod from, == 2 would print the method which called that method, etc
Returns
String containing current method name.

The documentation for this class was generated from the following file: