Namespace Azos.Serialization.BSON
Classes
BinUtils
Facilitates read.writing binary BSON primitives. Developers should not normally use this class as it is used by serializers and socket low-level code
BSONArrayElement
Represents a BSON array element with BSONElement[] value
BSONBinaryElement
Represents a BSON element with an BSONBinary value
BSONBooleanElement
Represents a BSON element with an bool value
BSONDateTimeElement
Represents a BSON element with an UTC DateTime value
BSONDocument
Represents a BSON document
BSONDocumentElement
Represents a BSON element with a BSON document value
BSONDoubleElement
Represents a BSON element with an int32 value
BSONElement
Very base class for BSON elements
BSONElement<T>
Base class for BSON elements with typed Value property
BSONException
Base exception thrown by the BSON framework
BSONExtensions
BSONInt32Element
Represents a BSON element with an int32 value
BSONInt64Element
Represents a BSON element with an int64 value
BSONJavaScriptElement
Represents a BSON element with a javascript value
BSONJavaScriptWithScopeElement
Represents a BSON element with a javascript with scope value
BSONMaxKeyElement
Represents an element with MaxKey value
BSONMinKeyElement
Represents an element with Min Key value
BSONNullElement
Represents an element with NULL value
BSONObjectIDElement
Represents a BSON element with an BSONObjectID value
BSONParentKnownTypes
Provides a scope of fake BSONWritable parent which indicates what types are known this way the serilizer does not have to emit the TypeIDFieldName element. Used with root serializations i.e. to database, when storing log messages in the table, it is not necessary to store Log.Message type ID in every record. Pass the instance to serializer.Serialize(parent: instance). Pre-allocate known types before calling serializer.Deserialize(result: instance)
BSONRegularExpressionElement
Represents a BSON element with an regular expression value
BSONSerializableAttribute
Denotes types that support BSON serialization identified by GUID. The Guid is used to rehydrate an actual CLR type from BSON stream
BSONSerializer
Provides serialization/deserialization of types that support direct BSON serialization/deserialization - implement IBSONSerializable/IBSONDeserializable
BSONStringElement
Represents a BSON element with a string value
BSONTimestampElement
Represents a BSON element with an Timestamp value
BSONTypeResolver
Resolves types decorated with BSONSerializableAttribute(guid) attribute
DataDocConverter
Provides methods for Doc to/from BSONDocument conversion
RegularExpressionExtensions
Utilities methods for BSON regular expression type
Structs
BSONBinary
Represents a BSON bynary type
BSONCodeWithScope
Represents a BSON javascript with the scope type
BSONObjectID
Represents an ObjectId as a 12-byte BSON type
BSONRegularExpression
Represents a BSON regular expression type
BSONTimestamp
Represents a BSON timestamp type
TemplateArg
Represents template argument
Interfaces
IBSONDeserializable
Denotes entities which can read/deserialize their state directly from BSONDocument
IBSONSerializable
Denotes entities which can write/serialize their state directly into BSONDocument
Enums
BSONBinaryType
BSONBoolean
BSONElementType
BSON element types: http://bsonspec.org/spec.html
BSONRegularExpressionOptions
BSONSerializationFlags
Specifies the purpose of BSON serialization so the level of detail may be dynamically adjusted. Depending on this parameter IBSONWritable implementors may include additional details that are otherwise not needed