Method Equals
Equals(MongoGridFSFileInfo, MongoGridFSFileInfo)
Determines whether two specified MongoGridFSFileInfo objects have the same value.
public static bool Equals(MongoGridFSFileInfo lhs, MongoGridFSFileInfo rhs)
Parameters
lhs
MongoGridFSFileInfoThe first value to compare, or null.
rhs
MongoGridFSFileInfoThe second value to compare, or null.
Returns
- bool
True if the value of lhs is the same as the value of rhs; otherwise, false.
Equals(MongoGridFSFileInfo)
Determines whether this instance and another specified MongoGridFSFileInfo object have the same value.
public bool Equals(MongoGridFSFileInfo rhs)
Parameters
rhs
MongoGridFSFileInfoThe MongoGridFSFileInfo object to compare to this instance.
Returns
- bool
True if the value of the rhs parameter is the same as this instance; otherwise, false.
Equals(object)
Determines whether this instance and a specified object, which must also be a MongoGridFSFileInfo object, have the same value.
public override bool Equals(object obj)
Parameters
obj
objectThe MongoGridFSFileInfo object to compare to this instance.
Returns
- bool
True if obj is a MongoGridFSFileInfo object and its value is the same as this instance; otherwise, false.