![]() | ReferenceEquality Class |
Namespace: SmartTests.Criterias
The ReferenceEquality type exposes the following members.
Name | Description | |
---|---|---|
![]() | ReferenceEquality | Initializes a new instance of the ReferenceEquality class |
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() ![]() | HasBothNullOperands |
When the left side and the right side are null |
![]() ![]() | HasEqualNotNullOperands |
When the left side and the right side are not null and are equal (object.Equals return true)
but not same (object.ReferenceEquals returns false)
|
![]() ![]() | HasNullLeftOperand |
When the left side is null while the right side is not null |
![]() ![]() | HasNullRightOperand |
When the left side is not null while the right side is null |
![]() ![]() | HasSameNotNullOperands |
When the left side and the right side are not null and are identical (object.ReferenceEquals returns
true)
|