C# 클래스 MongoDB.Driver.MongoClientSettings

The settings for a MongoDB client.
파일 보기 프로젝트 열기: CloudMetal/mongo-csharp-driver 1 사용 예제들

공개 메소드들

메소드 설명
Clone ( ) : MongoClientSettings

Creates a clone of the settings.

Equals ( object obj ) : bool

Compares two MongoClientSettings instances.

Freeze ( ) : MongoClientSettings

Freezes the settings.

FromConnectionStringBuilder ( MongoConnectionStringBuilder builder ) : MongoClientSettings

Gets a MongoClientSettings object intialized with values from a connection string builder.

FromUrl ( MongoDB.Driver.MongoUrl url ) : MongoClientSettings

Gets a MongoClientSettings object intialized with values from a MongoURL.

FrozenCopy ( ) : MongoClientSettings

Returns a frozen copy of the settings.

GetHashCode ( ) : int

Gets the hash code.

MongoClientSettings ( ) : System

Creates a new instance of MongoClientSettings. Usually you would use a connection string instead.

ToString ( ) : string

Returns a string representation of the settings.

메소드 상세

Clone() 공개 메소드

Creates a clone of the settings.
public Clone ( ) : MongoClientSettings
리턴 MongoClientSettings

Equals() 공개 메소드

Compares two MongoClientSettings instances.
public Equals ( object obj ) : bool
obj object The other instance.
리턴 bool

Freeze() 공개 메소드

Freezes the settings.
public Freeze ( ) : MongoClientSettings
리턴 MongoClientSettings

FromConnectionStringBuilder() 공개 정적인 메소드

Gets a MongoClientSettings object intialized with values from a connection string builder.
public static FromConnectionStringBuilder ( MongoConnectionStringBuilder builder ) : MongoClientSettings
builder MongoConnectionStringBuilder The connection string builder.
리턴 MongoClientSettings

FromUrl() 공개 정적인 메소드

Gets a MongoClientSettings object intialized with values from a MongoURL.
public static FromUrl ( MongoDB.Driver.MongoUrl url ) : MongoClientSettings
url MongoDB.Driver.MongoUrl The MongoURL.
리턴 MongoClientSettings

FrozenCopy() 공개 메소드

Returns a frozen copy of the settings.
public FrozenCopy ( ) : MongoClientSettings
리턴 MongoClientSettings

GetHashCode() 공개 메소드

Gets the hash code.
public GetHashCode ( ) : int
리턴 int

MongoClientSettings() 공개 메소드

Creates a new instance of MongoClientSettings. Usually you would use a connection string instead.
public MongoClientSettings ( ) : System
리턴 System

ToString() 공개 메소드

Returns a string representation of the settings.
public ToString ( ) : string
리턴 string