ObjectAssertions<TSelf, T> Constructors
Base class for assertions on a value, providing null checks, equality and type checking. Derived classes pass themselves as TSelf so that assertions defined here return a chain whose And is the derived type.
c#
protected ObjectAssertions(T? value);Parameters
| Name | Type | Description |
|---|---|---|
value | T | The value to assert on. |