Свойство | Type | Description | |
---|---|---|---|
AnyWriteConcernSettingsAreSet | bool | ||
FormatMessage | string | ||
FormatTimeSpan | string | ||
ParseBoolean | bool | ||
ParseConnectionMode | ConnectionMode | ||
ParseDouble | double | ||
ParseInt32 | int | ||
ParseReadPreferenceMode | ReadPreferenceMode | ||
ParseReplicaSetTagSet | ReplicaSetTagSet | ||
ParseTimeSpan | System.TimeSpan | ||
ToServerSettings | |||
TryParseTimeSpan | bool |
Méthode | Description | |
---|---|---|
GetWriteConcern ( bool enabledDefault ) : WriteConcern |
Returns a WriteConcern value based on this instance's settings and a default enabled value.
|
|
MongoUrlBuilder ( ) : System |
Creates a new instance of MongoUrlBuilder.
|
|
MongoUrlBuilder ( string url ) : System |
Creates a new instance of MongoUrlBuilder.
|
|
Parse ( string url ) : void |
Parses a URL and sets all settings to match the URL.
|
|
ToMongoUrl ( ) : MongoDB.Driver.MongoUrl |
Creates a new instance of MongoUrl based on the settings in this MongoUrlBuilder.
|
|
ToString ( ) : string |
Returns the canonical URL based on the settings in this MongoUrlBuilder.
|
Méthode | Description | |
---|---|---|
AnyWriteConcernSettingsAreSet ( ) : bool | ||
FormatMessage ( string name, string value ) : string | ||
FormatTimeSpan ( System.TimeSpan value ) : string | ||
ParseBoolean ( string name, string s ) : bool | ||
ParseConnectionMode ( string name, string s ) : ConnectionMode | ||
ParseDouble ( string name, string s ) : double | ||
ParseInt32 ( string name, string s ) : int | ||
ParseReadPreferenceMode ( string name, string s ) : ReadPreferenceMode | ||
ParseReplicaSetTagSet ( string name, string s ) : ReplicaSetTagSet | ||
ParseTimeSpan ( string name, string s ) : System.TimeSpan | ||
ToServerSettings ( ) : |
||
TryParseTimeSpan ( string name, string s, System.TimeSpan &result ) : bool |
public GetWriteConcern ( bool enabledDefault ) : WriteConcern | ||
enabledDefault | bool | The default enabled value. |
Résultat | WriteConcern |
public MongoUrlBuilder ( string url ) : System | ||
url | string | The initial settings. |
Résultat | System |
public ToMongoUrl ( ) : MongoDB.Driver.MongoUrl | ||
Résultat | MongoDB.Driver.MongoUrl |