MongoUrl Methods |
The MongoUrl type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | ClearCache |
Clears the URL cache. When a URL is parsed it is stored in the cache so that it doesn't have to be
parsed again. There is rarely a need to call this method.
|
![]() ![]() | Create |
Creates an instance of MongoUrl (might be an existing existence if the same URL has been used before).
|
![]() | Equals(Object) |
Compares two MongoUrls.
(Overrides ObjectEquals(Object).) |
![]() | Equals(MongoUrl) |
Compares two MongoUrls.
|
![]() | 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 |
Gets the hash code.
(Overrides ObjectGetHashCode.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetWriteConcern |
Returns a WriteConcern value based on this instance's settings and a default enabled value.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString |
Returns the canonical URL based on the settings in this MongoUrlBuilder.
(Overrides ObjectToString.) |
Name | Description | |
---|---|---|
![]() | ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) |
![]() | ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) |
![]() | ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) |