Method Equals
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
- bool
true
if the specified object is equal to the current object; otherwise,false
.
Remarks
Two DocumentBase instances are considered equal by this method if the following conditions are met:
- The Type of the specified object is the same.
- The values for Name, Description, CreatedBy, CreatedAt, LastModifiedBy, LastModifiedAt and ID are equal.