C# 클래스 MongoDB.Driver.MongoUrlBuilder

파일 보기 프로젝트 열기: CloudMetal/mongo-csharp-driver 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AnyWriteConcernSettingsAreSet bool
FormatMessage string
FormatTimeSpan string
ParseBoolean bool
ParseConnectionMode ConnectionMode
ParseDouble double
ParseInt32 int
ParseReadPreferenceMode ReadPreferenceMode
ParseReplicaSetTagSet ReplicaSetTagSet
ParseTimeSpan System.TimeSpan
ToServerSettings MongoServerSettings
TryParseTimeSpan bool

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
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 ( ) : MongoServerSettings
TryParseTimeSpan ( string name, string s, System.TimeSpan &result ) : bool

메소드 상세

GetWriteConcern() 공개 메소드

Returns a WriteConcern value based on this instance's settings and a default enabled value.
public GetWriteConcern ( bool enabledDefault ) : WriteConcern
enabledDefault bool The default enabled value.
리턴 WriteConcern

MongoUrlBuilder() 공개 메소드

Creates a new instance of MongoUrlBuilder.
public MongoUrlBuilder ( ) : System
리턴 System

MongoUrlBuilder() 공개 메소드

Creates a new instance of MongoUrlBuilder.
public MongoUrlBuilder ( string url ) : System
url string The initial settings.
리턴 System

Parse() 공개 메소드

Parses a URL and sets all settings to match the URL.
public Parse ( string url ) : void
url string The URL.
리턴 void

ToMongoUrl() 공개 메소드

Creates a new instance of MongoUrl based on the settings in this MongoUrlBuilder.
public ToMongoUrl ( ) : MongoDB.Driver.MongoUrl
리턴 MongoDB.Driver.MongoUrl

ToString() 공개 메소드

Returns the canonical URL based on the settings in this MongoUrlBuilder.
public ToString ( ) : string
리턴 string