Class SameAsConstraint<T>
SameAsConstraint tests whether an object is identical to the object passed to its constructor
Inherited Members
Namespace: NUnit.Framework.Constraints
Assembly: nunit.framework.dll
Syntax
public class SameAsConstraint<T> : SameAsConstraint, IConstraint, IResolveConstraint where T : class?
Type Parameters
| Name | Description |
|---|---|
| T |
Constructors
View SourceSameAsConstraint(T?)
SameAsConstraint tests whether an object is identical to the object passed to its constructor
Declaration
public SameAsConstraint(T? expected)
Parameters
| Type | Name | Description |
|---|---|---|
| T | expected |