ViewTestArguments record

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

public sealed record ViewTestArguments : IBridgeArguments, IEquatable<ViewTestArguments>

Inherits or implements IBridgeArguments, IEquatable.

Arguments delivered to a generated View route by a headless test.

Constructors

ViewTestArguments

public ViewTestArguments(long? Int64Value = null, bool? BooleanValue = null, string? StringValue = null, string? ClientKey = null, string? ConnectionKey = null)

Arguments delivered to a generated View route by a headless test.

Properties

BooleanValue

public bool? BooleanValue { get; init; }

No documentation.

ClientKey

public string? ClientKey { get; init; }

No documentation.

ConnectionKey

public string? ConnectionKey { get; init; }

No documentation.

Int64Value

public long? Int64Value { get; init; }

No documentation.

StringValue

public string? StringValue { get; init; }

No documentation.

Methods

GetBoolean

public bool GetBoolean()

Reads the next argument as a Boolean.

Documentation from IBridgeArguments.GetBoolean.

GetInt64

public long GetInt64()

Reads the next argument as a 64-bit integer.

Documentation from IBridgeArguments.GetInt64.

GetString

public string GetString()

Reads the next argument as a string.

Documentation from IBridgeArguments.GetString.