Struct ProtoTestId

Namespace
ProtoTest.Core
Assembly
ProtoTest.Core.dll

Numeric identifier for one test execution. Its string representation preserves the configured width.

public readonly record struct ProtoTestId : IEquatable<ProtoTestId>
Implements
Inherited Members
Extension Methods

Constructors

ProtoTestId(long, int)

public ProtoTestId(long number, int width = 1)

Parameters

number long
width int

Properties

Number

public long Number { get; }

Property Value

long

Value

public string Value { get; }

Property Value

string

Width

public int Width { get; }

Property Value

int

Methods

Parse(string)

public static ProtoTestId Parse(string value)

Parameters

value string

Returns

ProtoTestId

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.