GetActionData() static private method

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