Table of Contents

Class ExampleRow<TExample>

Namespace
TinyBDD
Assembly
TinyBDD.dll

Represents a single row of example data for data-driven scenarios.

public sealed class ExampleRow<TExample>

Type Parameters

TExample

The type of example data.

Inheritance
ExampleRow<TExample>
Inherited Members

Properties

Data

Gets the example data for this row.

public TExample Data { get; }

Property Value

TExample

Index

Gets the zero-based index of this example in the examples collection.

public int Index { get; }

Property Value

int

Label

Gets an optional label for this example row, used in reporting.

public string? Label { get; }

Property Value

string

Methods

ToString()

Returns a string representation of this example row.

public override string ToString()

Returns

string