C# 클래스 MongoDB.Driver.CommandDocument

Represents a BSON document that can be used where an IMongoCommand is expected.
상속: QueryDocument, IMongoCommand
파일 보기 프로젝트 열기: CloudMetal/mongo-csharp-driver 1 사용 예제들

공개 메소드들

메소드 설명
CommandDocument ( ) : System

Initializes a new instance of the CommandDocument class.

CommandDocument ( BsonElement element ) : System

Initializes a new instance of the CommandDocument class and adds one element.

CommandDocument ( object>.Dictionary dictionary ) : System

Initializes a new instance of the CommandDocument class and adds new elements from a dictionary of key/value pairs.

CommandDocument ( IDictionary dictionary ) : System

Initializes a new instance of the CommandDocument class and adds new elements from a dictionary of key/value pairs.

CommandDocument ( IEnumerable elements ) : System

Initializes a new instance of the CommandDocument class and adds new elements from a list of elements.

CommandDocument ( object>.IEnumerable dictionary ) : System

Initializes a new instance of the CommandDocument class and adds new elements from a dictionary of key/value pairs.

CommandDocument ( bool allowDuplicateNames ) : System

Initializes a new instance of the CommandDocument class specifying whether duplicate element names are allowed (allowing duplicate element names is not recommended).

CommandDocument ( string name, BsonValue value ) : System

Initializes a new instance of the CommandDocument class and creates and adds a new element.

비공개 메소드들

메소드 설명
CommandDocument ( object>.Dictionary dictionary, IEnumerable keys ) : System
CommandDocument ( IDictionary dictionary, IEnumerable keys ) : System
CommandDocument ( object>.IDictionary dictionary, IEnumerable keys ) : System

메소드 상세

CommandDocument() 공개 메소드

Initializes a new instance of the CommandDocument class.
public CommandDocument ( ) : System
리턴 System

CommandDocument() 공개 메소드

Initializes a new instance of the CommandDocument class and adds one element.
public CommandDocument ( BsonElement element ) : System
element BsonElement An element to add to the document.
리턴 System

CommandDocument() 공개 메소드

Initializes a new instance of the CommandDocument class and adds new elements from a dictionary of key/value pairs.
public CommandDocument ( object>.Dictionary dictionary ) : System
dictionary object>.Dictionary A dictionary to initialize the document from.
리턴 System

CommandDocument() 공개 메소드

Initializes a new instance of the CommandDocument class and adds new elements from a dictionary of key/value pairs.
public CommandDocument ( IDictionary dictionary ) : System
dictionary IDictionary A dictionary to initialize the document from.
리턴 System

CommandDocument() 공개 메소드

Initializes a new instance of the CommandDocument class and adds new elements from a list of elements.
public CommandDocument ( IEnumerable elements ) : System
elements IEnumerable A list of elements to add to the document.
리턴 System

CommandDocument() 공개 메소드

Initializes a new instance of the CommandDocument class and adds new elements from a dictionary of key/value pairs.
public CommandDocument ( object>.IEnumerable dictionary ) : System
dictionary object>.IEnumerable A dictionary to initialize the document from.
리턴 System

CommandDocument() 공개 메소드

Initializes a new instance of the CommandDocument class specifying whether duplicate element names are allowed (allowing duplicate element names is not recommended).
public CommandDocument ( bool allowDuplicateNames ) : System
allowDuplicateNames bool Whether duplicate element names are allowed.
리턴 System

CommandDocument() 공개 메소드

Initializes a new instance of the CommandDocument class and creates and adds a new element.
public CommandDocument ( string name, BsonValue value ) : System
name string The name of the element to add to the document.
value BsonValue The value of the element to add to the document.
리턴 System