RunicCommandInputAttribute class

Namespace Runic.Application.Views · Runic.Application 0.7.0-preview.5

public sealed class RunicCommandInputAttribute : Attribute

Inherits or implements Attribute.

Declares the browser argument shape for a plain ICommand. The command itself remains synchronous; the bridge only uses this metadata to decode the wire argument and to make the generated TypeScript surface typed.

Constructors

RunicCommandInputAttribute

public RunicCommandInputAttribute(Type input)

Declares the browser argument shape for a plain ICommand. The command itself remains synchronous; the bridge only uses this metadata to decode the wire argument and to make the generated TypeScript surface typed.

Properties

Input

public Type Input { get; }

The CLR type of the command's browser argument.