IsCommand(IApplicationState, string) Method
Determines if the application was run with the specified command.

Syntax

public static bool IsCommand(this IApplicationState applicationState, string command)

Parameters

Name Type Description
applicationState IApplicationState The application state.
command string The command.

Return Value

Type Description
bool true if the application was run with the specified command, false otherwise.