Skip to content

With.IntegerFormat Method ​

Definition ​

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

c#
public static IDisposable IntegerFormat(IntegerFormat format);

View source

Parameters ​

NameTypeDescription
formatIntegerFormatThe integer display format to use.

Returns ​

IDisposable

An IDisposable that restores the previous format when disposed.