/// <summary> /// Called by the <see cref="AppLoader" /> to execute a command synchronously. /// </summary> /// <param name="context">The command context.</param> internal void OnExecute(ApiContext context) { Switch.OnExecute(new ExecuteEventArgs(context)); }