Skip to content

DateOnlyAssertions.BeAfter Method ​

Definition ​

Asserts that the DateOnly value is after the expected value.

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

View source

Parameters ​

NameTypeDescription
expectedDateOnlyThe value the DateOnly should be after.

Returns ​

AssertionsChain<DateOnlyAssertions, DateOnly>

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