Метод | Описание | |
---|---|---|
BsonWriter ( Stream stream ) : System | ||
CalculateSize ( Document doc ) : int | ||
CalculateSize ( IEnumerable arr ) : int | ||
CalculateSize ( Object val ) : int | ||
CalculateSize ( String val ) : int | ||
CalculateSize ( String val, bool includeLen ) : int | ||
Flush ( ) : void | ||
Write ( Document doc ) : void | ||
WriteArray ( IEnumerable arr ) : void | ||
WriteString ( String str ) : void | ||
WriteValue ( BsonDataType dt, Object obj ) : void |
Метод | Описание | |
---|---|---|
TranslateToBsonType ( Object val ) : BsonDataType |
public BsonWriter ( Stream stream ) : System | ||
stream | Stream | |
Результат | System |
public CalculateSize ( Document doc ) : int | ||
doc | Document | |
Результат | int |
public CalculateSize ( IEnumerable arr ) : int | ||
arr | IEnumerable | |
Результат | int |
public CalculateSize ( String val, bool includeLen ) : int | ||
val | String | |
includeLen | bool | |
Результат | int |
protected TranslateToBsonType ( Object val ) : BsonDataType | ||
val | Object | |
Результат | BsonDataType |
public WriteArray ( IEnumerable arr ) : void | ||
arr | IEnumerable | |
Результат | void |
public WriteValue ( BsonDataType dt, Object obj ) : void | ||
dt | BsonDataType | |
obj | Object | |
Результат | void |