The Times type exposes the following members.

Methods

  NameDescription
AtLeast
Specifies that a mocked method should be invoked times times as minimum.
AtLeastOnce
Specifies that a mocked method should be invoked one time as minimum.
AtMost
Specifies that a mocked method should be invoked times time as maximun.
AtMostOnce
Specifies that a mocked method should be invoked one time as maximun.
Between
Specifies that a mocked method should be invoked between from and to times.
Exactly
Specifies that a mocked method should be invoked exactly times times.
Never
Specifies that a mocked method should not be invoked.
Once
Specifies that a mocked method should be invoked exactly one time.

See Also