Determines if the application was run with the specified command.
- Namespace
- Statiq
.Common - Containing Type
- I
Read Only Application State Extensions
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. |