PwshKestrunModel class
Base PageModel that exposes whatever the sibling PowerShell script placed in HttpContext.Items["PageModel"].
public class PwshKestrunModel : PageModel
Public Members
| name | description |
|---|---|
| PwshKestrunModel() | The default constructor. |
| Config { get; } | Gets the application configuration from the current HTTP request’s service provider. |
| Data { get; } | Gets the dynamic data object placed in HttpContext.Items["PageModel"] by the sibling PowerShell script. |
| Query(…) | Gets the value of a query string parameter by key from the current HTTP request. |
See Also
- namespace Kestrun.Razor