Skip to content

DateOnlyAssertions.BeOnOrAfter Method ​

Definition ​

Asserts that the DateOnly value is on or after the expected value.

c#
public AssertionsChain<DateOnlyAssertions, DateOnly> BeOnOrAfter(DateOnly expected);

View source

Parameters ​

NameTypeDescription
expectedDateOnlyThe value the DateOnly should be on or after.

Returns ​

AssertionsChain<DateOnlyAssertions, DateOnly>

An AssertionsChain<TAssertions, T> for chaining further assertions.