Skip to content

With.IntegerFormat Method

Definition

Sets the display format for integer values in assertion messages within the returned scope.

public static IDisposable IntegerFormat(IntegerFormat format);

Parameters

Name Type Description
format IntegerFormat The integer display format to use.

Returns

IDisposable

An IDisposable that restores the previous format when disposed.