Class BSONExtensions
Inheritance
System.Object
BSONExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Azos.Serialization.BSON
Assembly: Azos.dll
Syntax
public static class BSONExtensions
Methods
Add(BSONDocument, String, Object, Boolean, Boolean)
Declaration
public static BSONDocument Add(this BSONDocument document, string name, object value, bool skipNull = false, bool required = false)
Parameters
Type | Name | Description |
---|---|---|
BSONDocument | document | |
System.String | name | |
System.Object | value | |
System.Boolean | skipNull | |
System.Boolean | required |
Returns
Type | Description |
---|---|
BSONDocument |