This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@{ | |
ViewBag.Title = "Index"; | |
Layout = "~/Views/Shared/_Layout.cshtml"; | |
ViewBag.Tabs = new List<Tuple<string, string>>() | |
{ | |
new Tuple<string, string>("Red", "Red"), | |
new Tuple<string, string>("Yellow", "Yellow"), | |
new Tuple<string, string>("Blue", "Blue"), | |
new Tuple<string, string>("Green", "Green") | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public abstract class AsyncCommand : Command | |
{ | |
public override void Execute(CommandContext context) | |
{ | |
if (context == null) | |
return; | |
try | |
{ | |
Context.ClientPage.Start(this, "Run", PrepareArgs(context)); |