Get entry name from stack frame, which is either the namespace name where the main method
is located or if we are started from a test, the name of the test method.
View code on GitHub Namespace: DeltaEngine.ExtensionsAssembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
public static string GetEntryName()
public static string GetEntryName()
Public Shared Function GetEntryName As String
Public Shared Function GetEntryName As String
public:
static String^ GetEntryName()
public:
static String^ GetEntryName()
static member GetEntryName : unit -> string
static member GetEntryName : unit -> string
Return Value
Type:
StringTests:
DeltaEngine.Tests.Extensions.StackTraceExtensionsTests1 unit tests call DeltaEngine.Extensions.StackTraceExtensions.GetEntryName
[Test]
public void GetEntryName()
{
Assert.AreEqual("GetEntryName", StackTraceExtensions.GetEntryName());
}
[Test]
public void GetEntryName()
{
Assert.AreEqual("GetEntryName", StackTraceExtensions.GetEntryName());
}