Adds a raw labeled value to be formatted using Formatter.

Namespace:  Gallio.Framework.Assertions
Assembly:  Gallio (in Gallio.dll) Version: 3.2.0.0 (3.2.528.0)

Syntax

C#
public AssertionFailureBuilder AddRawLabeledValue(
	string label,
	Object value
)
Visual Basic (Declaration)
Public Function AddRawLabeledValue ( _
	label As String, _
	value As Object _
) As AssertionFailureBuilder

Parameters

label
Type: System..::.String
The label.
value
Type: System..::.Object
The raw unformatted value.

Return Value

The builder, to allow for fluent method chaining.

Remarks

The order in which this method is called determines the order in which this labeled value will appear relative to other labeled values.

Exceptions

ExceptionCondition
System..::.ArgumentNullExceptionThrown if label is null.
System..::.ArgumentExceptionThrown if label is empty.

See Also