Click or drag to resize

ReferenceEquality Class

Provides criterions for two references comparison
Inheritance Hierarchy
SystemObject
  SmartTestsCriteria
    SmartTests.CriteriasReferenceEquality

Namespace:  SmartTests.Criterias
Assembly:  SmartTests (in SmartTests.dll) Version: 1.10.0
Syntax
public class ReferenceEquality : Criteria

The ReferenceEquality type exposes the following members.

Constructors
  NameDescription
Public methodReferenceEquality
Initializes a new instance of the ReferenceEquality class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberHasBothNullOperands
When the left side and the right side are null
Public fieldStatic memberHasEqualNotNullOperands
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)
Public fieldStatic memberHasNullLeftOperand
When the left side is null while the right side is not null
Public fieldStatic memberHasNullRightOperand
When the left side is not null while the right side is null
Public fieldStatic memberHasSameNotNullOperands
When the left side and the right side are not null and are identical (object.ReferenceEquals returns true)
Top
See Also