MongoDB.Bson.BsonTypeMapper.Mapping.Equals C# (CSharp) Method

Equals() public method

Compares this Mapping to another object.
public Equals ( object obj ) : bool
obj object The other object.
return bool
            public override bool Equals(
                object obj
            ) {
                Mapping rhs = (Mapping) obj;
                return netType == rhs.netType && bsonType == rhs.bsonType;
            }