Represents the state of the application when it was run.
- Namespace
- Statiq
.Common - Interfaces
- Base Types
-
- object
graph BT
Type-->Base0["object"]
Type-.->Interface0["IApplicationState"]
click Interface0 "/api/Statiq.Common/IApplicationState"
Type["ApplicationState"]
class Type type-node
Syntax
public class ApplicationState : IApplicationState
Constructors
Name | Summary |
---|---|
ApplicationState |
Properties
Name | Property Type | Summary |
---|---|---|
Arguments | string[] |
Gets the raw arguments passed to the application (the first argument is typically the "command").
|
CommandName | string |
The CLI command that was run.
|
Input | string |
Gets any input that was passed to the application (for example, on stdin via piping).
|