GetActionText() static private method

Gets the ActionText description for the given action.
static private GetActionText ( string action, CultureInfo culture = null ) : string
action string The name of the action.
culture System.Globalization.CultureInfo The optional culture for which the ActionText description should be retrieved.
return string
Esempio n. 1
0
 public void ActionText_GetActionText()
 {
     Assert.IsFalse(string.IsNullOrEmpty(ActionText.GetActionText("InstallFiles")));
 }
Esempio n. 2
0
 public void ActionText_GetActionText_Absent()
 {
     Assert.IsTrue(string.IsNullOrEmpty(ActionText.GetActionText("ShouldNotExist")));
 }