/// <summary>
 /// Disposes the session.
 /// </summary>
 /// <param name="environment">The <see cref="CommandEnvironment"/> to use in executing the command.</param>
 /// <param name="parameters">The <see cref="Dictionary{string, object}"/> containing the command parameters.</param>
 /// <returns>The JSON serialized string representing the command response.</returns>
 public override Response Execute(CommandEnvironment environment, Dictionary <string, object> parameters)
 {
     environment.Dispose();
     return(Response.CreateSuccessResponse());
 }
Beispiel #2
0
 /// <summary>
 /// Disposes the session.
 /// </summary>
 /// <param name="environment">The <see cref="CommandEnvironment"/> to use in executing the command.</param>
 /// <param name="parameters">The <see cref="Dictionary{string, object}"/> containing the command parameters.</param>
 /// <returns>The JSON serialized string representing the command response.</returns>
 public override Response Execute(CommandEnvironment environment, Dictionary <string, object> parameters, System.Threading.CancellationToken cancellationToken)
 {
     environment.Dispose();
     return(Response.CreateSuccessResponse());
 }