public sealed record RunicViewRequest : IEquatable<RunicViewRequest> A view request that a RunicTestPresentation received, as a page's handler would.
Parameters
NameThe request's generated name, such as
focusfor aFocusproperty.RouteThe route of the presentation.
PresentationThe presentation id.
RevisionThe route's revision that includes everything the ViewModel changed before raising it.
InputJsonThe request's input, as wire JSON.
Constructors
RunicViewRequest
public RunicViewRequest(string Name, string Route, string Presentation, long Revision, string InputJson) A view request that a RunicTestPresentation received, as a page's handler would.
Parameters
NameThe request's generated name, such as
focusfor aFocusproperty.RouteThe route of the presentation.
PresentationThe presentation id.
RevisionThe route's revision that includes everything the ViewModel changed before raising it.
InputJsonThe request's input, as wire JSON.
Properties
InputJson
public string InputJson { get; init; } The request's input, as wire JSON.
Name
public string Name { get; init; } The request's generated name, such as focus for a Focus property.
Presentation
public string Presentation { get; init; } The presentation id.
Revision
public long Revision { get; init; } The route's revision that includes everything the ViewModel changed before raising it.
Route
public string Route { get; init; } The route of the presentation.
Methods
Input
public T Input<T>() Reads RunicViewRequest.InputJson as T with System.Text.Json's web defaults and enum names, which read the wire form of records and classes with camel-case members; compare RunicViewRequest.InputJson for other values.
Type parameters
TThe request's input type.