diff --git a/.vs/MongoDbGenericRepository/v15/.suo b/.vs/MongoDbGenericRepository/v15/.suo new file mode 100644 index 0000000..4bd79ee Binary files /dev/null and b/.vs/MongoDbGenericRepository/v15/.suo differ diff --git a/.vs/config/applicationhost.config b/.vs/config/applicationhost.config index f9f8ee1..173fad6 100644 --- a/.vs/config/applicationhost.config +++ b/.vs/config/applicationhost.config @@ -163,7 +163,7 @@ - + diff --git a/IntegrationTests/App.config b/IntegrationTests/App.config new file mode 100644 index 0000000..6d19a67 --- /dev/null +++ b/IntegrationTests/App.config @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/IntegrationTests/InsertTests.cs b/IntegrationTests/InsertTests.cs new file mode 100644 index 0000000..5d05b1a --- /dev/null +++ b/IntegrationTests/InsertTests.cs @@ -0,0 +1,88 @@ +using MongoDbGenericRepository; +using MongoDbGenericRepository.Models; +using NUnit.Framework; +using System.Collections.Generic; +using System.Configuration; + +namespace IntegrationTests +{ + + public class InsertTestsRepository : BaseMongoRepository + { + /// + public InsertTestsRepository(string connectionString, string databaseName) : base(connectionString, databaseName) + { + } + + public void DropTestCollection() + { + _mongoDbContext + } + } + + public class InsertTests + { + + private class InsertTestsDocument : Document + { + public InsertTestsDocument() + { + Version = 2; + } + public string SomeContent { get; set; } + } + + + private void Cleanup(InsertTestsDocument document) + { + SUT.DeleteOne(document); + Assert.AreEqual(0, SUT.Count(e => e.Id == document.Id)); + } + + private void Cleanup(List documents) + { + SUT.DeleteMany(documents); + SUT.Count(e => e.Id == documents[0].Id || e.Id == documents[1].Id); + } + + /// + /// SUT: System Under Test + /// + private static InsertTestsRepository SUT { get; set; } + + [OneTimeSetUp] + public void Init() + { + var connectionString = ConfigurationManager.ConnectionStrings["MongoDbTests"].ConnectionString; + SUT = new InsertTestsRepository(connectionString, "MongoDbTests"); + } + + [Test] + public void InsertOne() + { + // Arrange + var document = new InsertTestsDocument(); + // Act + SUT.AddOne(document); + // Assert + long count = SUT.Count(e => e.Id == document.Id); + Assert.AreEqual(1, count); + // Cleanup + Cleanup(document); + } + + [Test] + public void InsertMany() + { + // Arrange + var documents = new List { new InsertTestsDocument(), new InsertTestsDocument() }; + // Act + SUT.AddMany(documents); + // Assert + long count = SUT.Count(e => e.Id == documents[0].Id || e.Id == documents[1].Id); + Assert.AreEqual(2, count); + // Cleanup + Cleanup(documents); + } + } +} diff --git a/IntegrationTests/IntegrationTests.csproj b/IntegrationTests/IntegrationTests.csproj new file mode 100644 index 0000000..871ebda --- /dev/null +++ b/IntegrationTests/IntegrationTests.csproj @@ -0,0 +1,78 @@ + + + + + Debug + AnyCPU + {A484A355-A015-40CC-9B35-A4E872421128} + Library + Properties + IntegrationTests + IntegrationTests + v4.6.1 + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\packages\MongoDB.Bson.2.4.4\lib\net45\MongoDB.Bson.dll + + + ..\packages\MongoDB.Driver.2.4.4\lib\net45\MongoDB.Driver.dll + + + ..\packages\MongoDB.Driver.Core.2.4.4\lib\net45\MongoDB.Driver.Core.dll + + + ..\packages\NUnit.3.7.1\lib\net45\nunit.framework.dll + + + + + + ..\packages\System.Runtime.InteropServices.RuntimeInformation.4.3.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll + + + + + + + + + + + + + + + Designer + + + + + + {d154e7d0-9a3c-43ab-8e90-ed92bc4343f0} + MongoDbGenericRepository + + + + + + + \ No newline at end of file diff --git a/IntegrationTests/Properties/AssemblyInfo.cs b/IntegrationTests/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..8919b95 --- /dev/null +++ b/IntegrationTests/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Les informations générales relatives à un assembly dépendent de +// l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations +// associées à un assembly. +[assembly: AssemblyTitle("IntegrationTests")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("IntegrationTests")] +[assembly: AssemblyCopyright("Copyright © 2017")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// L'affectation de la valeur false à ComVisible rend les types invisibles dans cet assembly +// aux composants COM. Si vous devez accéder à un type dans cet assembly à partir de +// COM, affectez la valeur true à l'attribut ComVisible sur ce type. +[assembly: ComVisible(false)] + +// Le GUID suivant est pour l'ID de la typelib si ce projet est exposé à COM +[assembly: Guid("a484a355-a015-40cc-9b35-a4e872421128")] + +// Les informations de version pour un assembly se composent des quatre valeurs suivantes : +// +// Version principale +// Version secondaire +// Numéro de build +// Révision +// +// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut +// en utilisant '*', comme indiqué ci-dessous : +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/IntegrationTests/bin/Debug/ApplicationInsights.config b/IntegrationTests/bin/Debug/ApplicationInsights.config new file mode 100644 index 0000000..ec40621 --- /dev/null +++ b/IntegrationTests/bin/Debug/ApplicationInsights.config @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/IntegrationTests/bin/Debug/IntegrationTests.dll b/IntegrationTests/bin/Debug/IntegrationTests.dll new file mode 100644 index 0000000..6fe5650 Binary files /dev/null and b/IntegrationTests/bin/Debug/IntegrationTests.dll differ diff --git a/IntegrationTests/bin/Debug/IntegrationTests.dll.config b/IntegrationTests/bin/Debug/IntegrationTests.dll.config new file mode 100644 index 0000000..6d19a67 --- /dev/null +++ b/IntegrationTests/bin/Debug/IntegrationTests.dll.config @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/IntegrationTests/bin/Debug/IntegrationTests.pdb b/IntegrationTests/bin/Debug/IntegrationTests.pdb new file mode 100644 index 0000000..19207bf Binary files /dev/null and b/IntegrationTests/bin/Debug/IntegrationTests.pdb differ diff --git a/IntegrationTests/bin/Debug/MongoDB.Bson.dll b/IntegrationTests/bin/Debug/MongoDB.Bson.dll new file mode 100644 index 0000000..51ef883 Binary files /dev/null and b/IntegrationTests/bin/Debug/MongoDB.Bson.dll differ diff --git a/IntegrationTests/bin/Debug/MongoDB.Bson.xml b/IntegrationTests/bin/Debug/MongoDB.Bson.xml new file mode 100644 index 0000000..67dca76 --- /dev/null +++ b/IntegrationTests/bin/Debug/MongoDB.Bson.xml @@ -0,0 +1,21689 @@ + + + + MongoDB.Bson + + + + + A static class containing BSON extension methods. + + + + + Serializes an object to a BSON byte array. + + The nominal type of the object. + The object. + The serializer. + The writer settings. + The serialization context configurator. + The serialization args. + A BSON byte array. + + + + Serializes an object to a BSON byte array. + + The object. + The nominal type of the object.. + The writer settings. + The serializer. + The serialization context configurator. + The serialization args. + A BSON byte array. + nominalType + serializer + + + + Serializes an object to a BsonDocument. + + The nominal type of the object. + The object. + The serializer. + The serialization context configurator. + The serialization args. + A BsonDocument. + + + + Serializes an object to a BsonDocument. + + The object. + The nominal type of the object. + The serializer. + The serialization context configurator. + The serialization args. + A BsonDocument. + nominalType + serializer + + + + Serializes an object to a JSON string. + + The nominal type of the object. + The object. + The JsonWriter settings. + The serializer. + The serializastion context configurator. + The serialization args. + + A JSON string. + + + + + Serializes an object to a JSON string. + + The object. + The nominal type of the objectt. + The JsonWriter settings. + The serializer. + The serialization context configurator. + The serialization args. + + A JSON string. + + nominalType + serializer + + + + Indicates that an attribute restricted to one member has been applied to multiple members. + + + + + Initializes a new instance of the class. + + The message. + + + + Initializes a new instance of the class. + + The message. + The inner. + + + + Initializes a new instance of the class. + + The info. + The context. + + + + Represents a fast converter from integer indexes to UTF8 BSON array element names. + + + + + Gets the element name bytes. + + The index. + The element name bytes. + + + + Represents a fast converter from integer indexes to UTF8 BSON array element names. + + + + + Gets or sets the default array element name accelerator. + + + + + Initializes a new instance of the class. + + The number of cached element names. + + + + Gets the element name bytes. + + The index. + + The element name bytes. + + + + + Represents a pool of chunks. + + + + + Gets or sets the default chunk pool. + + + The default chunk pool. + + + + + Initializes a new instance of the class. + + The maximum number of chunks to keep in the pool. + The size of each chunk. + + + + Gets the chunk size. + + + The chunk size. + + + + + Gets the maximum size of the pool. + + + The maximum size of the pool. + + + + + Gets the size of the pool. + + + The size of the pool. + + + + + + + + + + + Represents settings for a BsonDocumentReader. + + + + + Initializes a new instance of the BsonDocumentReaderSettings class. + + + + + Initializes a new instance of the BsonDocumentReaderSettings class. + + The representation for Guids. + + + + Gets or sets the default settings for a BsonDocumentReader. + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Represents settings for a BsonDocumentWriter. + + + + + Initializes a new instance of the BsonDocumentWriterSettings class. + + + + + Initializes a new instance of the BsonDocumentWriterSettings class. + + The representation for Guids. + + + + Gets or sets the default BsonDocumentWriter settings. + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Represents settings for a BsonReader. + + + + + Initializes a new instance of the BsonReaderSettings class. + + + + + Initializes a new instance of the BsonReaderSettings class. + + The representation for Guids. + + + + Gets or sets the representation for Guids. + + + + + Gets whether the settings are frozen. + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Freezes the settings. + + The frozen settings. + + + + Returns a frozen copy of the settings. + + A frozen copy of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Throws an InvalidOperationException when an attempt is made to change a setting after the settings are frozen. + + + + + Represents a Stream has additional methods to suport reading and writing BSON values. + + + + + Reads a BSON CString from the stream. + + The encoding. + A string. + + + + Reads a BSON CString from the stream. + + An ArraySegment containing the CString bytes (without the null byte). + + + + Reads a BSON Decimal128 from the stream. + + A . + + + + Reads a BSON double from the stream. + + A double. + + + + Reads a 32-bit BSON integer from the stream. + + An int. + + + + Reads a 64-bit BSON integer from the stream. + + A long. + + + + Reads a BSON ObjectId from the stream. + + An ObjectId. + + + + Reads a raw length prefixed slice from the stream. + + A slice. + + + + Reads a BSON string from the stream. + + The encoding. + A string. + + + + Skips over a BSON CString leaving the stream positioned just after the terminating null byte. + + + + + Writes a BSON CString to the stream. + + The value. + + + + Writes the CString bytes to the stream. + + The value. + + + + Writes a BSON Decimal128 to the stream. + + The value. + + + + Writes a BSON double to the stream. + + The value. + + + + Writes a 32-bit BSON integer to the stream. + + The value. + + + + Writes a 64-bit BSON integer to the stream. + + The value. + + + + Writes a BSON ObjectId to the stream. + + The value. + + + + Writes a BSON string to the stream. + + The value. + The encoding. + + + + A Stream that wraps another Stream while implementing the BsonStream abstract methods. + + + + + Initializes a new instance of the class. + + The stream. + if set to true [owns stream]. + stream + + + + Gets the base stream. + + + The base stream. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents a mapping from a set of UTF8 encoded strings to a set of elementName/value pairs, implemented as a trie. + + The type of the BsonTrie values. + + + + Initializes a new instance of the BsonTrie class. + + + + + Gets the root node. + + + + + Adds the specified elementName (after encoding as a UTF8 byte sequence) and value to the trie. + + The element name to add. + The value to add. The value can be null for reference types. + + + + Gets the node associated with the specified element name. + + The element name. + + When this method returns, contains the node associated with the specified element name, if the key is found; + otherwise, null. This parameter is passed unitialized. + + True if the node was found; otherwise, false. + + + + Tries to get the node associated with a name read from a stream. + + The stream. + The node. + + True if the node was found. + If the node was found the stream is advanced over the name, otherwise + the stream is repositioned to the beginning of the name. + + + + + Gets the value associated with the specified element name. + + The element name. + + When this method returns, contains the value associated with the specified element name, if the key is found; + otherwise, the default value for the type of the value parameter. This parameter is passed unitialized. + + True if the value was found; otherwise, false. + + + + Gets the value associated with the specified element name. + + The element name. + + When this method returns, contains the value associated with the specified element name, if the key is found; + otherwise, the default value for the type of the value parameter. This parameter is passed unitialized. + + True if the value was found; otherwise, false. + + + + Represents a node in a BsonTrie. + + The type of the BsonTrie values. + + + + Gets whether this node has a value. + + + + + Gets the element name for this node. + + + + + Gets the value for this node. + + + + + Gets the child of this node for a given key byte. + + The key byte. + The child node if it exists; otherwise, null. + + + + Represents settings for a BsonWriter. + + + + + Initializes a new instance of the BsonWriterSettings class. + + + + + Initializes a new instance of the BsonWriterSettings class. + + The representation for Guids. + + + + Gets or sets the representation for Guids. + + + + + Gets whether the settings are frozen. + + + + + Gets or sets the max serialization depth allowed (used to detect circular references). + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Freezes the settings. + + The frozen settings. + + + + Returns a frozen copy of the settings. + + A frozen copy of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Throws an InvalidOperationException when an attempt is made to change a setting after the settings are frozen. + + + + + Represents a chunk backed by a byte array. + + + + + Initializes a new instance of the class. + + The size. + + + + Initializes a new instance of the class. + + The bytes. + bytes + + + + + + + + + + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Represents a slice of a byte buffer. + + + + + Initializes a new instance of the class. + + The byte buffer. + The offset of the slice. + The length of the slice. + + + + Gets the buffer. + + + The buffer. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Represents a chunk of bytes. + + + + + Gets the bytes. + + + The bytes. + + + + + Returns a new reference to the same chunk that can be independently disposed. + + A new reference to the same chunk. + + + + Represents a source of chunks. + + + + + Gets the chunk. + + The chunk source is free to return a larger or smaller chunk than requested. + Size of the requested. + A chunk. + + + + Represents a BSON reader. + + + + + Gets the current BsonType. + + + + + Gets the current state of the reader. + + + + + Closes the reader. + + + + + Gets a bookmark to the reader's current position and state. + + A bookmark. + + + + Gets the current BsonType (calls ReadBsonType if necessary). + + The current BsonType. + + + + Determines whether this reader is at end of file. + + + Whether this reader is at end of file. + + + + + Reads BSON binary data from the reader. + + A BsonBinaryData. + + + + Reads a BSON boolean from the reader. + + A Boolean. + + + + Reads a BsonType from the reader. + + A BsonType. + + + + Reads BSON binary data from the reader. + + A byte array. + + + + Reads a BSON DateTime from the reader. + + The number of milliseconds since the Unix epoch. + + + + Reads a BSON Decimal128 from the reader. + + A . + + + + Reads a BSON Double from the reader. + + A Double. + + + + Reads the end of a BSON array from the reader. + + + + + Reads the end of a BSON document from the reader. + + + + + Reads a BSON Int32 from the reader. + + An Int32. + + + + Reads a BSON Int64 from the reader. + + An Int64. + + + + Reads a BSON JavaScript from the reader. + + A string. + + + + Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope). + + A string. + + + + Reads a BSON MaxKey from the reader. + + + + + Reads a BSON MinKey from the reader. + + + + + Reads the name of an element from the reader (using the provided name decoder). + + The name decoder. + + The name of the element. + + + + + Reads a BSON null from the reader. + + + + + Reads a BSON ObjectId from the reader. + + An ObjectId. + + + + Reads a raw BSON array. + + The raw BSON array. + + + + Reads a raw BSON document. + + The raw BSON document. + + + + Reads a BSON regular expression from the reader. + + A BsonRegularExpression. + + + + Reads the start of a BSON array. + + + + + Reads the start of a BSON document. + + + + + Reads a BSON string from the reader. + + A String. + + + + Reads a BSON symbol from the reader. + + A string. + + + + Reads a BSON timestamp from the reader. + + The combined timestamp/increment. + + + + Reads a BSON undefined from the reader. + + + + + Returns the reader to previously bookmarked position and state. + + The bookmark. + + + + Skips the name (reader must be positioned on a name). + + + + + Skips the value (reader must be positioned on a value). + + + + + Contains extensions methods for IBsonReader. + + + + + Positions the reader to an element by name. + + The reader. + The name of the element. + True if the element was found. + + + + Positions the reader to a string element by name. + + The reader. + The name of the element. + True if the element was found. + + + + Reads a BSON binary data element from the reader. + + The reader. + The name of the element. + A BsonBinaryData. + + + + Reads a BSON boolean element from the reader. + + The reader. + The name of the element. + A Boolean. + + + + Reads a BSON binary data element from the reader. + + The reader. + The name of the element. + A byte array. + + + + Reads a BSON DateTime element from the reader. + + The reader. + The name of the element. + The number of milliseconds since the Unix epoch. + + + + Reads a BSON Decimal128 element from the reader. + + The reader. + The name of the element. + A . + + + + Reads a BSON Double element from the reader. + + The reader. + The name of the element. + A Double. + + + + Reads a BSON Int32 element from the reader. + + The reader. + The name of the element. + An Int32. + + + + Reads a BSON Int64 element from the reader. + + The reader. + The name of the element. + An Int64. + + + + Reads a BSON JavaScript element from the reader. + + The reader. + The name of the element. + A string. + + + + Reads a BSON JavaScript with scope element from the reader (call ReadStartDocument next to read the scope). + + The reader. + The name of the element. + A string. + + + + Reads a BSON MaxKey element from the reader. + + The reader. + The name of the element. + + + + Reads a BSON MinKey element from the reader. + + The reader. + The name of the element. + + + + Reads the name of an element from the reader. + + The reader. + The name of the element. + + + + Reads the name of an element from the reader. + + The reader. + The name of the element. + + + + Reads a BSON null element from the reader. + + The reader. + The name of the element. + + + + Reads a BSON ObjectId element from the reader. + + The reader. + The name of the element. + An ObjectId. + + + + Reads a raw BSON array. + + The reader. + The name. + + The raw BSON array. + + + + + Reads a raw BSON document. + + The reader. + The name. + The raw BSON document. + + + + Reads a BSON regular expression element from the reader. + + The reader. + The name of the element. + A BsonRegularExpression. + + + + Reads a BSON string element from the reader. + + The reader. + The name of the element. + A String. + + + + Reads a BSON symbol element from the reader. + + The reader. + The name of the element. + A string. + + + + Reads a BSON timestamp element from the reader. + + The combined timestamp/increment. + The reader. + The name of the element. + + + + Reads a BSON undefined element from the reader. + + The reader. + The name of the element. + + + + Represents extension methods on BsonStream. + + + + + Backpatches the size. + + The stream. + The start position. + + + + Reads the binary sub type. + + The stream. + The binary sub type. + + + + Reads a boolean from the stream. + + The stream. + A boolean. + + + + Reads the BSON type. + + The stream. + The BSON type. + + + + Reads bytes from the stream. + + The stream. + The buffer. + The offset. + The count. + + + + Reads bytes from the stream. + + The stream. + The count. + The bytes. + + + + Writes a binary sub type to the stream. + + The stream. + The value. + + + + Writes a boolean to the stream. + + The stream. + The value. + + + + Writes a BsonType to the stream. + + The stream. + The value. + + + + Writes bytes to the stream. + + The stream. + The buffer. + The offset. + The count. + + + + Writes a slice to the stream. + + The stream. + The slice. + + + + Represents a BSON writer. + + + + + Gets the current serialization depth. + + + + + Gets the settings of the writer. + + + + + Gets the current state of the writer. + + + + + Closes the writer. + + + + + Flushes any pending data to the output destination. + + + + + Pops the element name validator. + + The popped element validator. + + + + Pushes the element name validator. + + The validator. + + + + Writes BSON binary data to the writer. + + The binary data. + + + + Writes a BSON Boolean to the writer. + + The Boolean value. + + + + Writes BSON binary data to the writer. + + The bytes. + + + + Writes a BSON DateTime to the writer. + + The number of milliseconds since the Unix epoch. + + + + Writes a BSON Decimal128 to the writer. + + The value. + + + + Writes a BSON Double to the writer. + + The Double value. + + + + Writes the end of a BSON array to the writer. + + + + + Writes the end of a BSON document to the writer. + + + + + Writes a BSON Int32 to the writer. + + The Int32 value. + + + + Writes a BSON Int64 to the writer. + + The Int64 value. + + + + Writes a BSON JavaScript to the writer. + + The JavaScript code. + + + + Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope). + + The JavaScript code. + + + + Writes a BSON MaxKey to the writer. + + + + + Writes a BSON MinKey to the writer. + + + + + Writes the name of an element to the writer. + + The name of the element. + + + + Writes a BSON null to the writer. + + + + + Writes a BSON ObjectId to the writer. + + The ObjectId. + + + + Writes a raw BSON array. + + The byte buffer containing the raw BSON array. + + + + Writes a raw BSON document. + + The byte buffer containing the raw BSON document. + + + + Writes a BSON regular expression to the writer. + + A BsonRegularExpression. + + + + Writes the start of a BSON array to the writer. + + + + + Writes the start of a BSON document to the writer. + + + + + Writes a BSON String to the writer. + + The String value. + + + + Writes a BSON Symbol to the writer. + + The symbol. + + + + Writes a BSON timestamp to the writer. + + The combined timestamp/increment value. + + + + Writes a BSON undefined to the writer. + + + + + Contains extension methods for IBsonWriter. + + + + + Writes a BSON binary data element to the writer. + + The writer. + The name of the element. + The binary data. + + + + Writes a BSON Boolean element to the writer. + + The writer. + The name of the element. + The Boolean value. + + + + Writes a BSON binary data element to the writer. + + The writer. + The name of the element. + The bytes. + + + + Writes a BSON DateTime element to the writer. + + The writer. + The name of the element. + The number of milliseconds since the Unix epoch. + + + + Writes a BSON Decimal128 element to the writer. + + The writer. + The name of the element. + The value. + + + + Writes a BSON Double element to the writer. + + The writer. + The name of the element. + The Double value. + + + + Writes a BSON Int32 element to the writer. + + The writer. + The name of the element. + The Int32 value. + + + + Writes a BSON Int64 element to the writer. + + The writer. + The name of the element. + The Int64 value. + + + + Writes a BSON JavaScript element to the writer. + + The writer. + The name of the element. + The JavaScript code. + + + + Writes a BSON JavaScript element to the writer (call WriteStartDocument to start writing the scope). + + The writer. + The name of the element. + The JavaScript code. + + + + Writes a BSON MaxKey element to the writer. + + The writer. + The name of the element. + + + + Writes a BSON MinKey element to the writer. + + The writer. + The name of the element. + + + + Writes a BSON null element to the writer. + + The writer. + The name of the element. + + + + Writes a BSON ObjectId element to the writer. + + The writer. + The name of the element. + The ObjectId. + + + + Writes a raw BSON array. + + The writer. + The name. + The byte buffer containing the raw BSON array. + + + + Writes a raw BSON document. + + The writer. + The name. + The byte buffer containing the raw BSON document. + + + + Writes a BSON regular expression element to the writer. + + The writer. + The name of the element. + A BsonRegularExpression. + + + + Writes the start of a BSON array element to the writer. + + The writer. + The name of the element. + + + + Writes the start of a BSON document element to the writer. + + The writer. + The name of the element. + + + + Writes a BSON String element to the writer. + + The writer. + The name of the element. + The String value. + + + + Writes a BSON Symbol element to the writer. + + The writer. + The name of the element. + The symbol. + + + + Writes a BSON timestamp element to the writer. + + The writer. + The name of the element. + The combined timestamp/increment value. + + + + Writes a BSON undefined element to the writer. + + The writer. + The name of the element. + + + + Represents an element name validator. Used by BsonWriters when WriteName is called + to determine if the element name is valid. + + + + + Gets the validator to use for child content (a nested document or array). + + The name of the element. + The validator to use for child content. + + + + Determines whether the element name is valid. + + The name of the element. + True if the element name is valid. + + + + Represents a name decoder. + + + + + Decodes the name. + + The stream. + The encoding. + + The name. + + + + + Informs the decoder of an already decoded name (so the decoder can change state if necessary). + + The name. + + + + Represents a source of chunks optimized for input buffers. + + + + + Initializes a new instance of the class. + + The chunk source. + The maximum size of an unpooled chunk. + The minimum size of a chunk. + The maximum size of a chunk. + + + + Gets the base source. + + + The base source. + + + + + Gets the maximum size of a chunk. + + + The maximum size of a chunk. + + + + + Gets the minimum size of a chunk. + + + The minimum size of a chunk. + + + + + Gets the maximum size of an unpooled chunk. + + + The maximum size of an unpooled chunk. + + + + + + + + + + + Represents a wrapper around a TextReader to provide some buffering functionality. + + + + + Initializes a new instance of the class. + + The json. + + + + Initializes a new instance of the class. + + The reader. + + + + Gets or sets the current position. + + + + + Gets a snippet of a maximum length from the buffer (usually to include in an error message). + + The start. + The maximum length. + The snippet. + + + + Gets a substring from the buffer. + + The start. + The count. + The substring. + + + + Reads the next character from the text reader and advances the character position by one character. + + + The next character from the text reader, or -1 if no more characters are available. The default implementation returns -1. + + + + + Resets the buffer (clears everything up to the current position). + + + + + Unreads one character (moving the current Position back one position). + + The character. + + + + Represents a factory for IBsonBuffers. + + + + + Creates a buffer of the specified length. Depending on the length, either a SingleChunkBuffer or a MultiChunkBuffer will be created. + + The chunk pool. + The minimum capacity. + A buffer with at least the minimum capacity. + + + + An IByteBuffer that is backed by a contiguous byte array. + + + + + Initializes a new instance of the class. + + The bytes. + Whether the buffer is read only. + + + + Initializes a new instance of the class. + + The bytes. + The length. + Whether the buffer is read only. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents a Stream backed by an IByteBuffer. Similar to MemoryStream but backed by an IByteBuffer + instead of a byte array and also implements the BsonStream interface for higher performance BSON I/O. + + + + + Initializes a new instance of the class. + + The buffer. + Whether the stream owns the buffer and should Dispose it when done. + + + + Gets the buffer. + + + The buffer. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents a byte buffer (backed by various means depending on the implementation). + + + + + Gets the capacity. + + + The capacity. + + + + + Gets a value indicating whether this instance is read only. + + + true if this instance is read only; otherwise, false. + + + + + Gets or sets the length. + + + The length. + + + + + Access the backing bytes directly. The returned ArraySegment will point to the desired position and contain + as many bytes as possible up to the next chunk boundary (if any). If the returned ArraySegment does not + contain enough bytes for your needs you will have to call ReadBytes instead. + + The position. + + An ArraySegment pointing directly to the backing bytes for the position. + + + + + Clears the specified bytes. + + The position. + The count. + + + + Ensure that the buffer has a minimum capacity. Depending on the buffer allocation strategy + calling this method may result in a higher capacity than the minimum (but never lower). + + The minimum capacity. + + + + Gets a slice of this buffer. + + The position of the start of the slice. + The length of the slice. + A slice of this buffer. + + + + Makes this buffer read only. + + + + + Gets a byte. + + The position. + A byte. + + + + Gets bytes. + + The position. + The destination. + The destination offset. + The count. + + + + Sets a byte. + + The position. + The value. + + + + Sets bytes. + + The position. + The bytes. + The offset. + The count. + + + + Encodes and decodes scalar values to JSON compatible strings. + + + + + Converts a string to a Boolean. + + The value. + A Boolean. + + + + Converts a string to a DateTime. + + The value. + A DateTime. + + + + Converts a string to a DateTimeOffset. + + The value. + A DateTimeOffset. + + + + Converts a string to a Decimal. + + The value. + A Decimal. + + + + Converts a string to a . + + The value. + A . + + + + Converts a string to a Double. + + The value. + A Double. + + + + Converts a string to an Int16. + + The value. + An Int16. + + + + Converts a string to an Int32. + + The value. + An Int32. + + + + Converts a string to an Int64. + + The value. + An Int64. + + + + Converts a string to a Single. + + The value. + A Single. + + + + Converts a Boolean to a string. + + The value. + A string. + + + + Converts a DateTime to a string. + + The value. + A string. + + + + Converts a DateTimeOffset to a string. + + The value. + A string. + + + + Converts a Decimal to a string. + + The value. + A string. + + + + Converts a to a string. + + The value. + A string. + + + + Converts a Double to a string. + + The value. + A string. + + + + Converts a Single to a string. + + The value. + A string. + + + + Converts an Int32 to a string. + + The value. + A string. + + + + Converts an Int64 to a string. + + The value. + A string. + + + + Converts an Int16 to a string. + + The value. + A string. + + + + Converts a UInt32 to a string. + + The value. + A string. + + + + Converts a UInt64 to a string. + + The value. + A string. + + + + Converts a UInt16 to a string. + + The value. + A string. + + + + Converts a string to a UInt16. + + The value. + A UInt16. + + + + Converts a string to a UInt32. + + The value. + A UInt32. + + + + Converts a string to a UInt64. + + The value. + A UInt64. + + + + An IByteBuffer that is backed by multiple chunks. + + + + + Initializes a new instance of the class. + + The chunk pool. + chunkPool + + + + Initializes a new instance of the class. + + The chunks. + The length. + Whether the buffer is read only. + chunks + + + + + + + Gets the chunk source. + + + The chunk source. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents an element name validator that does no validation. + + + + + Gets the instance. + + + The instance. + + + + + Gets the validator to use for child content (a nested document or array). + + The name of the element. + The validator to use for child content. + + + + Determines whether the element name is valid. + + The name of the element. + True if the element name is valid. + + + + Represents a source of chunks optimized for output buffers. + + + + + Initializes a new instance of the class. + + The chunk source. + The size of the initial unpooled chunk. + The minimum size of a chunk. + The maximum size of a chunk. + + + + Gets the base source. + + + The base source. + + + + + Gets the initial unpooled chunk size. + + + The initial unpooled chunk size. + + + + + Gets the maximum size of a chunk. + + + The maximum size of a chunk. + + + + + Gets the minimum size of a chunk. + + + The minimum size of a chunk. + + + + + + + + + + + Represents a Trie-based name decoder that also provides a value. + + The type of the value. + + + + Initializes a new instance of the class. + + The trie. + + + + Gets a value indicating whether this is found. + + + true if found; otherwise, false. + + + + + Gets the value. + + + The value. + + + + + Reads the name. + + The stream. + The encoding. + + The name. + + + + + Informs the decoder of an already decoded name (so the decoder can change state if necessary). + + The name. + + + + Represents a singleton instance of a strict UTF8Encoding. + + + + + Gets the lenient instance. + + + + + Gets the strict instance. + + + + + Represents a UTF8 name decoder. + + + + + Gets the instance. + + + The instance. + + + + + Decodes the name. + + The stream. + The encoding. + + The name. + + + + + Informs the decoder of an already decoded name (so the decoder can change state if necessary). + + The name. + + + + An IByteBuffer that is backed by a single chunk. + + + + + Initializes a new instance of the class. + + The chuns. + The length. + Whether the buffer is read only. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents a class that has some helper methods for decoding UTF8 strings. + + + + + Decodes a UTF8 string. + + The bytes. + The index. + The count. + The encoding. + The decoded string. + + + + Represents settings for a JsonReader. + + + + + Initializes a new instance of the JsonReaderSettings class. + + + + + Gets or sets the default settings for a JsonReader. + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Represents a BSON reader for a BsonDocument. + + + + + Initializes a new instance of the BsonDocumentReader class. + + A BsonDocument. + + + + Initializes a new instance of the BsonDocumentReader class. + + A BsonDocument. + The reader settings. + + + + Closes the reader. + + + + + Gets a bookmark to the reader's current position and state. + + A bookmark. + + + + Determines whether this reader is at end of file. + + + Whether this reader is at end of file. + + + + + Reads BSON binary data from the reader. + + A BsonBinaryData. + + + + Reads a BSON boolean from the reader. + + A Boolean. + + + + Reads a BsonType from the reader. + + A BsonType. + + + + Reads BSON binary data from the reader. + + A byte array. + + + + Reads a BSON DateTime from the reader. + + The number of milliseconds since the Unix epoch. + + + + + + + Reads a BSON Double from the reader. + + A Double. + + + + Reads the end of a BSON array from the reader. + + + + + Reads the end of a BSON document from the reader. + + + + + Reads a BSON Int32 from the reader. + + An Int32. + + + + Reads a BSON Int64 from the reader. + + An Int64. + + + + Reads a BSON JavaScript from the reader. + + A string. + + + + Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope). + + A string. + + + + Reads a BSON MaxKey from the reader. + + + + + Reads a BSON MinKey from the reader. + + + + + Reads the name of an element from the reader. + + The name decoder. + + The name of the element. + + + + + Reads a BSON null from the reader. + + + + + Reads a BSON ObjectId from the reader. + + An ObjectId. + + + + Reads a BSON regular expression from the reader. + + A BsonRegularExpression. + + + + Reads the start of a BSON array. + + + + + Reads the start of a BSON document. + + + + + Reads a BSON string from the reader. + + A String. + + + + Reads a BSON symbol from the reader. + + A string. + + + + Reads a BSON timestamp from the reader. + + The combined timestamp/increment. + + + + Reads a BSON undefined from the reader. + + + + + Returns the reader to previously bookmarked position and state. + + The bookmark. + + + + Skips the name (reader must be positioned on a name). + + + + + Skips the value (reader must be positioned on a value). + + + + + Disposes of any resources used by the reader. + + True if called from Dispose. + + + + Represents a bookmark that can be used to return a reader to the current position and state. + + + + + Creates a clone of the context. + + A clone of the context. + + + + Represents a BSON writer to a BsonDocument. + + + + + Initializes a new instance of the BsonDocumentWriter class. + + The document to write to (normally starts out as an empty document). + + + + Initializes a new instance of the BsonDocumentWriter class. + + The document to write to (normally starts out as an empty document). + The settings. + + + + Gets the BsonDocument being written to. + + + + + Closes the writer. + + + + + Flushes any pending data to the output destination. + + + + + Writes BSON binary data to the writer. + + The binary data. + + + + Writes a BSON Boolean to the writer. + + The Boolean value. + + + + Writes BSON binary data to the writer. + + The bytes. + + + + Writes a BSON DateTime to the writer. + + The number of milliseconds since the Unix epoch. + + + + + + + Writes a BSON Double to the writer. + + The Double value. + + + + Writes the end of a BSON array to the writer. + + + + + Writes the end of a BSON document to the writer. + + + + + Writes a BSON Int32 to the writer. + + The Int32 value. + + + + Writes a BSON Int64 to the writer. + + The Int64 value. + + + + Writes a BSON JavaScript to the writer. + + The JavaScript code. + + + + Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope). + + The JavaScript code. + + + + Writes a BSON MaxKey to the writer. + + + + + Writes a BSON MinKey to the writer. + + + + + Writes the name of an element to the writer. + + The name of the element. + + + + Writes a BSON null to the writer. + + + + + Writes a BSON ObjectId to the writer. + + The ObjectId. + + + + Writes a BSON regular expression to the writer. + + A BsonRegularExpression. + + + + Writes the start of a BSON array to the writer. + + + + + Writes the start of a BSON document to the writer. + + + + + Writes a BSON String to the writer. + + The String value. + + + + Writes a BSON Symbol to the writer. + + The symbol. + + + + Writes a BSON timestamp to the writer. + + The combined timestamp/increment value. + + + + Writes a BSON undefined to the writer. + + + + + Disposes of any resources used by the writer. + + True if called from Dispose. + + + + Used by BsonReaders and BsonWriters to represent the current context. + + + + + The top level of a BSON document. + + + + + A (possibly embedded) BSON document. + + + + + A BSON array. + + + + + A JavaScriptWithScope BSON value. + + + + + The scope document of a JavaScriptWithScope BSON value. + + + + + Represents a BSON reader for a JSON string. + + + + + Initializes a new instance of the JsonReader class. + + The JSON string. + + + + Initializes a new instance of the JsonReader class. + + The JSON string. + The reader settings. + + + + Initializes a new instance of the JsonReader class. + + The TextReader. + + + + Initializes a new instance of the JsonReader class. + + The TextReader. + The reader settings. + + + + Closes the reader. + + + + + Gets a bookmark to the reader's current position and state. + + A bookmark. + + + + Determines whether this reader is at end of file. + + + Whether this reader is at end of file. + + + + + Reads BSON binary data from the reader. + + A BsonBinaryData. + + + + Reads a BSON boolean from the reader. + + A Boolean. + + + + Reads a BsonType from the reader. + + A BsonType. + + + + Reads BSON binary data from the reader. + + A byte array. + + + + Reads a BSON DateTime from the reader. + + The number of milliseconds since the Unix epoch. + + + + + + + Reads a BSON Double from the reader. + + A Double. + + + + Reads the end of a BSON array from the reader. + + + + + Reads the end of a BSON document from the reader. + + + + + Reads a BSON Int32 from the reader. + + An Int32. + + + + Reads a BSON Int64 from the reader. + + An Int64. + + + + Reads a BSON JavaScript from the reader. + + A string. + + + + Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope). + + A string. + + + + Reads a BSON MaxKey from the reader. + + + + + Reads a BSON MinKey from the reader. + + + + + Reads the name of an element from the reader. + + The name decoder. + + The name of the element. + + + + + Reads a BSON null from the reader. + + + + + Reads a BSON ObjectId from the reader. + + An ObjectId. + + + + Reads a BSON regular expression from the reader. + + A BsonRegularExpression. + + + + Reads the start of a BSON array. + + + + + Reads the start of a BSON document. + + + + + Reads a BSON string from the reader. + + A String. + + + + Reads a BSON symbol from the reader. + + A string. + + + + Reads a BSON timestamp from the reader. + + The combined timestamp/increment. + + + + Reads a BSON undefined from the reader. + + + + + Returns the reader to previously bookmarked position and state. + + The bookmark. + + + + Skips the name (reader must be positioned on a name). + + + + + Skips the value (reader must be positioned on a value). + + + + + Disposes of any resources used by the reader. + + True if called from Dispose. + + + + Represents a bookmark that can be used to return a reader to the current position and state. + + + + + Creates a clone of the context. + + A clone of the context. + + + + A static class that represents a JSON scanner. + + + + + Gets the next JsonToken from a JsonBuffer. + + The buffer. + The next token. + + + + Represents a bookmark that can be used to return a reader to the current position and state. + + + + + Initializes a new instance of the BsonReaderBookmark class. + + The state of the reader. + The current BSON type. + The name of the current element. + + + + Gets the current state of the reader. + + + + + Gets the current BsonType; + + + + + Gets the name of the current element. + + + + + Represents a JSON token type. + + + + + An invalid token. + + + + + A begin array token (a '['). + + + + + A begin object token (a '{'). + + + + + An end array token (a ']'). + + + + + A left parenthesis (a '('). + + + + + A right parenthesis (a ')'). + + + + + An end object token (a '}'). + + + + + A colon token (a ':'). + + + + + A comma token (a ','). + + + + + A DateTime token. + + + + + A Double token. + + + + + An Int32 token. + + + + + And Int64 token. + + + + + An ObjectId token. + + + + + A regular expression token. + + + + + A string token. + + + + + An unquoted string token. + + + + + An end of file token. + + + + + Represents a JSON token. + + + + + Initializes a new instance of the JsonToken class. + + The token type. + The lexeme. + + + + Gets the token type. + + + + + Gets the lexeme. + + + + + Gets the value of a DateTime token. + + + + + Gets the value of a Double token. + + + + + Gets the value of an Int32 token. + + + + + Gets the value of an Int64 token. + + + + + Gets a value indicating whether this token is number. + + + true if this token is number; otherwise, false. + + + + + Gets the value of an ObjectId token. + + + + + Gets the value of a regular expression token. + + + + + Gets the value of a string token. + + + + + Represents a DateTime JSON token. + + + + + Initializes a new instance of the DateTimeJsonToken class. + + The lexeme. + The DateTime value. + + + + Gets the value of a DateTime token. + + + + + Represents a Double JSON token. + + + + + Initializes a new instance of the DoubleJsonToken class. + + The lexeme. + The Double value. + + + + Gets the value of a Double token. + + + + + Gets the value of an Int32 token. + + + + + Gets the value of an Int64 token. + + + + + Gets a value indicating whether this token is number. + + + true if this token is number; otherwise, false. + + + + + Represents an Int32 JSON token. + + + + + Initializes a new instance of the Int32JsonToken class. + + The lexeme. + The Int32 value. + + + + Gets the value of a Double token. + + + + + Gets the value of an Int32 token. + + + + + Gets the value of an Int32 token as an Int64. + + + + + Gets a value indicating whether this token is number. + + + true if this token is number; otherwise, false. + + + + + Represents an Int64 JSON token. + + + + + Initializes a new instance of the Int64JsonToken class. + + The lexeme. + The Int64 value. + + + + Gets the value of a Double token. + + + + + Gets the value of an Int32 token. + + + + + Gets the value of an Int64 token. + + + + + Gets a value indicating whether this token is number. + + + true if this token is number; otherwise, false. + + + + + Represents an ObjectId JSON token. + + + + + Initializes a new instance of the ObjectIdJsonToken class. + + The lexeme. + The ObjectId value. + + + + Gets the value of an ObjectId token. + + + + + Represents a regular expression JSON token. + + + + + Initializes a new instance of the RegularExpressionJsonToken class. + + The lexeme. + The BsonRegularExpression value. + + + + Gets the value of a regular expression token. + + + + + Represents a String JSON token. + + + + + Initializes a new instance of the StringJsonToken class. + + The token type. + The lexeme. + The String value. + + + + Gets the value of an String token. + + + + + Represents a bookmark that can be used to return a reader to the current position and state. + + + + + Represents a BSON reader for a binary BSON byte array. + + + + + Initializes a new instance of the BsonBinaryReader class. + + A stream (BsonBinary does not own the stream and will not Dispose it). + + + + Initializes a new instance of the BsonBinaryReader class. + + A stream (BsonBinary does not own the stream and will not Dispose it). + A BsonBinaryReaderSettings. + + + + Gets the base stream. + + + The base stream. + + + + + Gets the BSON stream. + + + The BSON stream. + + + + + Closes the reader. + + + + + Gets a bookmark to the reader's current position and state. + + A bookmark. + + + + Determines whether this reader is at end of file. + + + Whether this reader is at end of file. + + + + + Reads BSON binary data from the reader. + + A BsonBinaryData. + + + + Reads a BSON boolean from the reader. + + A Boolean. + + + + Reads a BsonType from the reader. + + A BsonType. + + + + Reads BSON binary data from the reader. + + A byte array. + + + + Reads a BSON DateTime from the reader. + + The number of milliseconds since the Unix epoch. + + + + + + + Reads a BSON Double from the reader. + + A Double. + + + + Reads the end of a BSON array from the reader. + + + + + Reads the end of a BSON document from the reader. + + + + + Reads a BSON Int32 from the reader. + + An Int32. + + + + Reads a BSON Int64 from the reader. + + An Int64. + + + + Reads a BSON JavaScript from the reader. + + A string. + + + + Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope). + + A string. + + + + Reads a BSON MaxKey from the reader. + + + + + Reads a BSON MinKey from the reader. + + + + + Reads the name of an element from the reader. + + The name decoder. + The name of the element. + + + + Reads a BSON null from the reader. + + + + + Reads a BSON ObjectId from the reader. + + An ObjectId. + + + + Reads a raw BSON array. + + + The raw BSON array. + + + + + Reads a raw BSON document. + + + The raw BSON document. + + + + + Reads a BSON regular expression from the reader. + + A BsonRegularExpression. + + + + Reads the start of a BSON array. + + + + + Reads the start of a BSON document. + + + + + Reads a BSON string from the reader. + + A String. + + + + Reads a BSON symbol from the reader. + + A string. + + + + Reads a BSON timestamp from the reader. + + The combined timestamp/increment. + + + + Reads a BSON undefined from the reader. + + + + + Returns the reader to previously bookmarked position and state. + + The bookmark. + + + + Skips the name (reader must be positioned on a name). + + + + + Skips the value (reader must be positioned on a value). + + + + + Disposes of any resources used by the reader. + + True if called from Dispose. + + + + Represents settings for a BsonBinaryReader. + + + + + Initializes a new instance of the BsonBinaryReaderSettings class. + + + + + Gets or sets the default settings for a BsonBinaryReader. + + + + + Gets or sets the Encoding. + + + + + Gets or sets whether to fix occurrences of the old binary subtype on input. + + + + + Gets or sets whether to fix occurrences of the old representation of DateTime.MaxValue on input. + + + + + Gets or sets the max document size. + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Represents the output mode of a JsonWriter. + + + + + Output strict JSON. + + + + + Use a format that can be pasted in to the MongoDB shell. + + + + + Use JavaScript data types for some values. + + + + + Use JavaScript and MongoDB data types for some values. + + + + + Represents a BSON writer to a TextWriter (in JSON format). + + + + + Initializes a new instance of the JsonWriter class. + + A TextWriter. + + + + Initializes a new instance of the JsonWriter class. + + A TextWriter. + Optional JsonWriter settings. + + + + Gets the base TextWriter. + + + The base TextWriter. + + + + + Closes the writer. + + + + + Flushes any pending data to the output destination. + + + + + Writes BSON binary data to the writer. + + The binary data. + + + + Writes a BSON Boolean to the writer. + + The Boolean value. + + + + Writes BSON binary data to the writer. + + The bytes. + + + + Writes a BSON DateTime to the writer. + + The number of milliseconds since the Unix epoch. + + + + + + + Writes a BSON Double to the writer. + + The Double value. + + + + Writes the end of a BSON array to the writer. + + + + + Writes the end of a BSON document to the writer. + + + + + Writes a BSON Int32 to the writer. + + The Int32 value. + + + + Writes a BSON Int64 to the writer. + + The Int64 value. + + + + Writes a BSON JavaScript to the writer. + + The JavaScript code. + + + + Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope). + + The JavaScript code. + + + + Writes a BSON MaxKey to the writer. + + + + + Writes a BSON MinKey to the writer. + + + + + Writes a BSON null to the writer. + + + + + Writes a BSON ObjectId to the writer. + + The ObjectId. + + + + Writes a BSON regular expression to the writer. + + A BsonRegularExpression. + + + + Writes the start of a BSON array to the writer. + + + + + Writes the start of a BSON document to the writer. + + + + + Writes a BSON String to the writer. + + The String value. + + + + Writes a BSON Symbol to the writer. + + The symbol. + + + + Writes a BSON timestamp to the writer. + + The combined timestamp/increment value. + + + + Writes a BSON undefined to the writer. + + + + + Disposes of any resources used by the writer. + + True if called from Dispose. + + + + Represents settings for a JsonWriter. + + + + + Initializes a new instance of the JsonWriterSettings class. + + + + + Gets or sets the default JsonWriterSettings. + + + + + Gets or sets the output Encoding. + + + + + Gets or sets whether to indent the output. + + + + + Gets or sets the indent characters. + + + + + Gets or sets the new line characters. + + + + + Gets or sets the output mode. + + + + + Gets or sets the shell version (used with OutputMode Shell). + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Represents a BSON reader for some external format (see subclasses). + + + + + Initializes a new instance of the BsonReader class. + + The reader settings. + + + + Gets the current BsonType. + + + + + Gets the settings of the reader. + + + + + Gets the current state of the reader. + + + + + Gets the current name. + + + + + Gets whether the BsonReader has been disposed. + + + + + Closes the reader. + + + + + Disposes of any resources used by the reader. + + + + + Gets a bookmark to the reader's current position and state. + + A bookmark. + + + + Gets the current BsonType (calls ReadBsonType if necessary). + + The current BsonType. + + + + Determines whether this reader is at end of file. + + + Whether this reader is at end of file. + + + + + Reads BSON binary data from the reader. + + A BsonBinaryData. + + + + Reads a BSON boolean from the reader. + + A Boolean. + + + + Reads a BsonType from the reader. + + A BsonType. + + + + Reads BSON binary data from the reader. + + A byte array. + + + + Reads a BSON DateTime from the reader. + + The number of milliseconds since the Unix epoch. + + + + + + + Reads a BSON Double from the reader. + + A Double. + + + + Reads the end of a BSON array from the reader. + + + + + Reads the end of a BSON document from the reader. + + + + + Reads a BSON Int32 from the reader. + + An Int32. + + + + Reads a BSON Int64 from the reader. + + An Int64. + + + + Reads a BSON JavaScript from the reader. + + A string. + + + + Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope). + + A string. + + + + Reads a BSON MaxKey from the reader. + + + + + Reads a BSON MinKey from the reader. + + + + + Reads the name of an element from the reader. + + The name of the element. + + + + Reads the name of an element from the reader (using the provided name decoder). + + The name decoder. + + The name of the element. + + + + + Reads a BSON null from the reader. + + + + + Reads a BSON ObjectId from the reader. + + An ObjectId. + + + + Reads a raw BSON array. + + The raw BSON array. + + + + Reads a raw BSON document. + + The raw BSON document. + + + + Reads a BSON regular expression from the reader. + + A BsonRegularExpression. + + + + Reads the start of a BSON array. + + + + + Reads the start of a BSON document. + + + + + Reads a BSON string from the reader. + + A String. + + + + Reads a BSON symbol from the reader. + + A string. + + + + Reads a BSON timestamp from the reader. + + The combined timestamp/increment. + + + + Reads a BSON undefined from the reader. + + + + + Returns the reader to previously bookmarked position and state. + + The bookmark. + + + + Skips the name (reader must be positioned on a name). + + + + + Skips the value (reader must be positioned on a value). + + + + + Disposes of any resources used by the reader. + + True if called from Dispose. + + + + Throws an InvalidOperationException when the method called is not valid for the current ContextType. + + The name of the method. + The actual ContextType. + The valid ContextTypes. + + + + Throws an InvalidOperationException when the method called is not valid for the current state. + + The name of the method. + The valid states. + + + + Throws an ObjectDisposedException. + + + + + Verifies the current state and BsonType of the reader. + + The name of the method calling this one. + The required BSON type. + + + + Represents the state of a reader. + + + + + The initial state. + + + + + The reader is positioned at the type of an element or value. + + + + + The reader is positioned at the name of an element. + + + + + The reader is positioned at a value. + + + + + The reader is positioned at a scope document. + + + + + The reader is positioned at the end of a document. + + + + + The reader is positioned at the end of an array. + + + + + The reader has finished reading a document. + + + + + The reader is closed. + + + + + Represents a BSON writer for some external format (see subclasses). + + + + + Initializes a new instance of the BsonWriter class. + + The writer settings. + + + + Gets the current serialization depth. + + + + + Gets the settings of the writer. + + + + + Gets the current state of the writer. + + + + + Gets whether the BsonWriter has been disposed. + + + + + Gets the name of the element being written. + + + + + Closes the writer. + + + + + Disposes of any resources used by the writer. + + + + + Flushes any pending data to the output destination. + + + + + Pops the element name validator. + + The popped element validator. + + + + Pushes the element name validator. + + The validator. + + + + Writes BSON binary data to the writer. + + The binary data. + + + + Writes a BSON Boolean to the writer. + + The Boolean value. + + + + Writes BSON binary data to the writer. + + The bytes. + + + + Writes a BSON DateTime to the writer. + + The number of milliseconds since the Unix epoch. + + + + + + + Writes a BSON Double to the writer. + + The Double value. + + + + Writes the end of a BSON array to the writer. + + + + + Writes the end of a BSON document to the writer. + + + + + Writes a BSON Int32 to the writer. + + The Int32 value. + + + + Writes a BSON Int64 to the writer. + + The Int64 value. + + + + Writes a BSON JavaScript to the writer. + + The JavaScript code. + + + + Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope). + + The JavaScript code. + + + + Writes a BSON MaxKey to the writer. + + + + + Writes a BSON MinKey to the writer. + + + + + Writes the name of an element to the writer. + + The name of the element. + + + + Writes a BSON null to the writer. + + + + + Writes a BSON ObjectId to the writer. + + The ObjectId. + + + + Writes a raw BSON array. + + The byte buffer containing the raw BSON array. + + + + Writes a raw BSON document. + + The byte buffer containing the raw BSON document. + + + + Writes a BSON regular expression to the writer. + + A BsonRegularExpression. + + + + Writes the start of a BSON array to the writer. + + + + + Writes the start of a BSON document to the writer. + + + + + Writes a BSON String to the writer. + + The String value. + + + + Writes a BSON Symbol to the writer. + + The symbol. + + + + Writes a BSON timestamp to the writer. + + The combined timestamp/increment value. + + + + Writes a BSON undefined to the writer. + + + + + Disposes of any resources used by the writer. + + True if called from Dispose. + + + + Throws an InvalidOperationException when the method called is not valid for the current ContextType. + + The name of the method. + The actual ContextType. + The valid ContextTypes. + + + + Throws an InvalidOperationException when the method called is not valid for the current state. + + The name of the method. + The valid states. + + + + Represents settings for a BsonBinaryWriter. + + + + + Initializes a new instance of the BsonBinaryWriterSettings class. + + + + + Gets or sets the default BsonBinaryWriter settings. + + + + + Gets or sets the Encoding. + + + + + Gets or sets whether to fix the old binary data subtype on output. + + + + + Gets or sets the max document size. + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Represents the state of a BsonWriter. + + + + + The initial state. + + + + + The writer is positioned to write a name. + + + + + The writer is positioned to write a value. + + + + + The writer is positioned to write a scope document (call WriteStartDocument to start writing the scope document). + + + + + The writer is done. + + + + + The writer is closed. + + + + + Represents a BSON writer to a BSON Stream. + + + + + Initializes a new instance of the BsonBinaryWriter class. + + A stream. The BsonBinaryWriter does not own the stream and will not Dispose it. + + + + Initializes a new instance of the BsonBinaryWriter class. + + A stream. The BsonBinaryWriter does not own the stream and will not Dispose it. + The BsonBinaryWriter settings. + + + + Gets the base stream. + + + The base stream. + + + + + Gets the BSON stream. + + + The BSON stream. + + + + + Closes the writer. Also closes the base stream. + + + + + Flushes any pending data to the output destination. + + + + + Pops the max document size stack, restoring the previous max document size. + + + + + Pushes a new max document size onto the max document size stack. + + The maximum size of the document. + + + + Writes BSON binary data to the writer. + + The binary data. + + + + Writes a BSON Boolean to the writer. + + The Boolean value. + + + + Writes BSON binary data to the writer. + + The bytes. + + + + Writes a BSON DateTime to the writer. + + The number of milliseconds since the Unix epoch. + + + + + + + Writes a BSON Double to the writer. + + The Double value. + + + + Writes the end of a BSON array to the writer. + + + + + Writes the end of a BSON document to the writer. + + + + + Writes a BSON Int32 to the writer. + + The Int32 value. + + + + Writes a BSON Int64 to the writer. + + The Int64 value. + + + + Writes a BSON JavaScript to the writer. + + The JavaScript code. + + + + Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope). + + The JavaScript code. + + + + Writes a BSON MaxKey to the writer. + + + + + Writes a BSON MinKey to the writer. + + + + + Writes a BSON null to the writer. + + + + + Writes a BSON ObjectId to the writer. + + The ObjectId. + + + + Writes a raw BSON array. + + The byte buffer containing the raw BSON array. + + + + Writes a raw BSON document. + + The byte buffer containing the raw BSON document. + + + + Writes a BSON regular expression to the writer. + + A BsonRegularExpression. + + + + Writes the start of a BSON array to the writer. + + + + + Writes the start of a BSON document to the writer. + + + + + Writes a BSON String to the writer. + + The String value. + + + + Writes a BSON Symbol to the writer. + + The symbol. + + + + Writes a BSON timestamp to the writer. + + The combined timestamp/increment value. + + + + Writes a BSON undefined to the writer. + + + + + Disposes of any resources used by the writer. + + True if called from Dispose. + + + + Creates a clone of the context. + + A clone of the context. + + + + Represents a BSON Decimal128 value. + + + + + + Initializes a new instance of the class. + + The value. + + + + + + + + + + Gets the value. + + + + + Converts a Decimal128 to a BsonDecimal128. + + A Decimal128. + A BsonDecimal128. + + + + Compares two BsonDecimal128 values. + + The first BsonDecimal128. + The other BsonDecimal128. + True if the two BsonDecimal128 values are not equal according to ==. + + + + Compares two BsonDecimal128 values. + + The first BsonDecimal128. + The other BsonDecimal128. + True if the two BsonDecimal128 values are equal according to ==. + + + + Creates a new instance of the BsonDecimal128 class. + + An object to be mapped to a BsonDecimal128. + A BsonDecimal128. + + + + Compares this BsonDecimal128 to another BsonDecimal128. + + The other BsonDecimal128. + A 32-bit signed integer that indicates whether this BsonDecimal128 is less than, equal to, or greather than the other. + + + + + + + Compares this BsonDecimal128 to another BsonDecimal128. + + The other BsonDecimal128. + True if the two BsonDecimal128 values are equal. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents a Decimal128 value. + + + + + Gets the maximum value. + + + + + Gets the minimum value. + + + + + Represents negative infinity. + + + + + Represents one. + + + + + Represents positive infinity. + + + + + Represents a value that is not a number. + + + + + Represents a value that is not a number and raises errors when used in calculations. + + + + + Represents zero. + + + + + Implements the operator ==. + + The LHS. + The RHS. + + The result of the operator. + + + + + Implements the operator !=. + + The LHS. + The RHS. + + The result of the operator. + + + + + Returns a value indicating whether a specified Decimal128 is greater than another specified Decimal128. + + The first value. + The second value. + + true if x > y; otherwise, false. + + + + + Returns a value indicating whether a specified Decimal128 is greater than or equal to another another specified Decimal128. + + The first value. + The second value. + + true if x >= y; otherwise, false. + + + + + Returns a value indicating whether a specified Decimal128 is less than another specified Decimal128. + + The first value. + The second value. + + true if x < y; otherwise, false. + + + + + Returns a value indicating whether a specified Decimal128 is less than or equal to another another specified Decimal128. + + The first value. + The second value. + + true if x <= y; otherwise, false. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Compares two specified Decimal128 values and returns an integer that indicates whether the first value + is greater than, less than, or equal to the second value. + + The first value. + The second value. + Less than zero if x < y, zero if x == y, and greater than zero if x > y. + + + + Determines whether the specified Decimal128 instances are considered equal. + + The first Decimal128 object to compare. + The second Decimal128 object to compare. + True if the objects are considered equal; otherwise false. If both x and y are null, the method returns true. + + + + Creates a new Decimal128 value from its components. + + if set to true [is negative]. + The exponent. + The signficand high bits. + The significand low bits. + A Decimal128 value. + + + + Creates a new Decimal128 value from the IEEE encoding bits. + + The high bits. + The low bits. + A Decimal128 value. + + + + Gets the exponent of a Decimal128 value. + + The Decimal128 value. + The exponent. + + + + Gets the high bits of the significand of a Decimal128 value. + + The Decimal128 value. + The high bits of the significand. + + + + Gets the high bits of the significand of a Decimal128 value. + + The Decimal128 value. + The high bits of the significand. + + + + Returns a value indicating whether the specified number evaluates to negative or positive infinity. + + A 128-bit decimal. + true if evaluates to negative or positive infinity; otherwise, false. + + + + Returns a value indicating whether the specified number is not a number. + + A 128-bit decimal. + true if is not a number; otherwise, false. + + + + Returns a value indicating whether the specified number is negative. + + A 128-bit decimal. + true if is negative; otherwise, false. + + + + Returns a value indicating whether the specified number evaluates to negative infinity. + + A 128-bit decimal. + true if evaluates to negative infinity; otherwise, false. + + + + Returns a value indicating whether the specified number evaluates to positive infinity. + + A 128-bit decimal. + true if evaluates to positive infinity; otherwise, false. + + + + Returns a value indicating whether the specified number is a quiet not a number. + + A 128-bit decimal. + true if is a quiet not a number; otherwise, false. + + + + Returns a value indicating whether the specified number is a signaled not a number. + + A 128-bit decimal. + true if is a signaled not a number; otherwise, false. + + + + Returns a value indicating whether the specified number is zero. + + A 128-bit decimal. + + true if the specified number is zero; otherwise, false. + + + + + Negates the specified x. + + The x. + The result of multiplying the value by negative one. + + + + Converts the string representation of a number to its equivalent. + + The string representation of the number to convert. + + The equivalent to the number contained in . + + + + + Converts the value of the specified to the equivalent 8-bit unsigned integer. + + The number to convert. + A 8-bit unsigned integer equivalent to . + + + + Converts the value of the specified to the equivalent . + + The number to convert. + A equivalent to . + + + + Converts the value of the specified to the equivalent . + + The number to convert. + A equivalent to . + + + + Converts the value of the specified to the equivalent 16-bit signed integer. + + The number to convert. + A 16-bit signed integer equivalent to . + + + + Converts the value of the specified to the equivalent 32-bit signed integer. + + The number to convert. + A 32-bit signed integer equivalent to . + + + + Converts the value of the specified to the equivalent 64-bit signed integer. + + The number to convert. + A 64-bit signed integer equivalent to . + + + + Converts the value of the specified to the equivalent 8-bit signed integer. + + The number to convert. + A 8-bit signed integer equivalent to . + + + + Converts the value of the specified to the equivalent . + + The number to convert. + A equivalent to . + + + + Converts the value of the specified to the equivalent 16-bit unsigned integer. + + The number to convert. + A 16-bit unsigned integer equivalent to . + + + + Converts the value of the specified to the equivalent 32-bit unsigned integer. + + The number to convert. + A 32-bit unsigned integer equivalent to . + + + + Converts the value of the specified to the equivalent 64-bit unsigned integer. + + The number to convert. + A 64-bit unsigned integer equivalent to . + + + + Converts the string representation of a number to its equivalent. A return value indicates whether the conversion succeeded or failed. + + The string representation of the number to convert. + When this method returns, contains the number that is equivalent to the numeric value contained in , if the conversion succeeded, or is zero if the conversion failed. The conversion fails if the parameter is null, is not a number in a valid format, or represents a number less than the min value or greater than the max value. This parameter is passed uninitialized. + + true if was converted successfully; otherwise, false. + + + + + Initializes a new instance of the struct. + + The value. + + + + Initializes a new instance of the struct. + + The value. + + + + Initializes a new instance of the struct. + + The value. + + + + Initializes a new instance of the struct. + + The value. + + + + Initializes a new instance of the struct. + + The value. + + + + Initializes a new instance of the struct. + + The value. + + + + Initializes a new instance of the struct. + + The value. + + + + + + + + + + + + + + + + Gets the high order 64 bits of the binary representation of this instance. + + The high order 64 bits of the binary representation of this instance. + + + + Gets the low order 64 bits of the binary representation of this instance. + + The low order 64 bits of the binary representation of this instance. + + + + + + + Represents the representation to use when converting a Guid to a BSON binary value. + + + + + The representation for Guids is unspecified, so conversion between Guids and Bson binary data is not possible. + + + + + Use the new standard representation for Guids (binary subtype 4 with bytes in network byte order). + + + + + Use the representation used by older versions of the C# driver (including most community provided C# drivers). + + + + + Use the representation used by older versions of the Java driver. + + + + + Use the representation used by older versions of the Python driver. + + + + + A static class containing methods to convert to and from Guids and byte arrays in various byte orders. + + + + + Converts a byte array to a Guid. + + The byte array. + The representation of the Guid in the byte array. + A Guid. + + + + Converts a Guid to a byte array. + + The Guid. + The representation of the Guid in the byte array. + A byte array. + + + + An interface for custom mappers that map an object to a BsonValue. + + + + + Tries to map an object to a BsonValue. + + An object. + The BsonValue. + True if the mapping was successfull. + + + + Represents how duplicate names should be handled. + + + + + Overwrite original value with new value. + + + + + Ignore duplicate name and keep original value. + + + + + Throw an exception. + + + + + Represents options used by the BsonTypeMapper. + + + + + Initializes a new instance of the BsonTypeMapperOptions class. + + + + + Gets or sets the default BsonTypeMapperOptions. + + + + + Gets or sets how duplicate names should be handled. + + + + + Gets whether the BsonTypeMapperOptions is frozen. + + + + + Gets or sets the type that a BsonArray should be mapped to. + + + + + Gets or sets the type that a BsonDocument should be mapped to. + + + + + Gets or sets whether binary sub type OldBinary should be mapped to byte[] the way sub type Binary is. + + + + + Clones the BsonTypeMapperOptions. + + The cloned BsonTypeMapperOptions. + + + + Freezes the BsonTypeMapperOptions. + + The frozen BsonTypeMapperOptions. + + + + Represents a BSON array that is deserialized lazily. + + + + + Initializes a new instance of the class. + + The slice. + slice + LazyBsonArray cannot be used with an IByteBuffer that needs disposing. + + + + Gets the slice. + + + The slice. + + + + + Creates a shallow clone of the array (see also DeepClone). + + A shallow clone of the array. + + + + Creates a deep clone of the array (see also Clone). + + A deep clone of the array. + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Materializes the BsonArray. + + + The materialized values. + + + + + Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state. + + + + + Represents a BSON document that is deserialized lazily. + + + + + Initializes a new instance of the class. + + The slice. + slice + LazyBsonDocument cannot be used with an IByteBuffer that needs disposing. + + + + Initializes a new instance of the class. + + The bytes. + + + + Gets the slice. + + + The slice. + + + + + Creates a shallow clone of the document (see also DeepClone). + + + A shallow clone of the document. + + + + + Creates a deep clone of the document (see also Clone). + + + A deep clone of the document. + + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Materializes the BsonDocument. + + The materialized elements. + + + + Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state. + + + + + Represents a BSON array that is not materialized until you start using it. + + + + + Initializes a new instance of the class. + + + + + Gets or sets the total number of elements the internal data structure can hold without resizing. + + + + + Gets the count of array elements. + + + + + Gets a value indicating whether this instance is disposed. + + + true if this instance is disposed; otherwise, false. + + + + + Gets a value indicating whether this instance is materialized. + + + true if this instance is materialized; otherwise, false. + + + + + Gets the array elements as raw values (see BsonValue.RawValue). + + + + + Gets the array elements. + + + + + Gets or sets a value by position. + + The position. + The value. + + + + Adds an element to the array. + + The value to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Clears the array. + + + + + Creates a shallow clone of the array (see also DeepClone). + + + A shallow clone of the array. + + + + + Compares the array to another array. + + The other array. + A 32-bit signed integer that indicates whether this array is less than, equal to, or greather than the other. + + + + Compares the array to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this array is less than, equal to, or greather than the other BsonValue. + + + + Tests whether the array contains a value. + + The value to test for. + True if the array contains the value. + + + + Copies elements from this array to another array. + + The other array. + The zero based index of the other array at which to start copying. + + + + Copies elements from this array to another array as raw values (see BsonValue.RawValue). + + The other array. + The zero based index of the other array at which to start copying. + + + + Creates a deep clone of the array (see also Clone). + + + A deep clone of the array. + + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + + Determines whether the specified , is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Gets an enumerator that can enumerate the elements of the array. + + An enumerator. + + + + Gets the hash code. + + The hash code. + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index of the value (or -1 if not found). + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index at which to start the search. + The zero based index of the value (or -1 if not found). + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index at which to start the search. + The number of elements to search. + The zero based index of the value (or -1 if not found). + + + + Inserts a new value into the array. + + The zero based index at which to insert the new value. + The new value. + + + + Removes the first occurrence of a value from the array. + + The value to remove. + True if the value was removed. + + + + Removes an element from the array. + + The zero based index of the element to remove. + + + + Converts the BsonArray to an array of BsonValues. + + An array of BsonValues. + + + + Converts the BsonArray to a list of BsonValues. + + A list of BsonValues. + + + + Returns a string representation of the array. + + A string representation of the array. + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Materializes the BsonArray. + + The materialized elements. + + + + Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state. + + + + + Throws if disposed. + + + + + + Represents a BSON document that is not materialized until you start using it. + + + + + Initializes a new instance of the class. + + + + + Gets the number of elements. + + + + + Gets the elements. + + + + + Gets a value indicating whether this instance is disposed. + + + true if this instance is disposed; otherwise, false. + + + + + Gets a value indicating whether this instance is materialized. + + + true if this instance is materialized; otherwise, false. + + + + + Gets the element names. + + + + + Gets the raw values (see BsonValue.RawValue). + + + + + Gets the values. + + + + + Gets or sets a value by position. + + The position. + The value. + + + + Gets the value of an element or a default value if the element is not found. + + The name of the element. + The default value to return if the element is not found. + Teh value of the element or a default value if the element is not found. + + + + Gets or sets a value by name. + + The name. + The value. + + + + Adds an element to the document. + + The element to add. + + The document (so method calls can be chained). + + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds a list of elements to the document. + + The list of elements. + The document (so method calls can be chained). + + + + Adds a list of elements to the document. + + The list of elements. + The document (so method calls can be chained). + + + + Creates and adds an element to the document. + + The name of the element. + The value of the element. + + The document (so method calls can be chained). + + + + + Creates and adds an element to the document, but only if the condition is true. + + The name of the element. + The value of the element. + Whether to add the element to the document. + The document (so method calls can be chained). + + + + Creates and adds an element to the document, but only if the condition is true. + If the condition is false the value factory is not called at all. + + The name of the element. + A delegate called to compute the value of the element if condition is true. + Whether to add the element to the document. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + + The document (so method calls can be chained). + + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + + The document (so method calls can be chained). + + + + + Adds a list of elements to the document. + + The list of elements. + + The document (so method calls can be chained). + + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + + The document (so method calls can be chained). + + + + + Clears the document (removes all elements). + + + + + Creates a shallow clone of the document (see also DeepClone). + + + A shallow clone of the document. + + + + + Compares this document to another document. + + The other document. + + A 32-bit signed integer that indicates whether this document is less than, equal to, or greather than the other. + + + + + Compares the BsonDocument to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonDocument is less than, equal to, or greather than the other BsonValue. + + + + Tests whether the document contains an element with the specified name. + + The name of the element to look for. + + True if the document contains an element with the specified name. + + + + + Tests whether the document contains an element with the specified value. + + The value of the element to look for. + + True if the document contains an element with the specified value. + + + + + Creates a deep clone of the document (see also Clone). + + + A deep clone of the document. + + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + + Determines whether the specified , is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Gets an element of this document. + + The zero based index of the element. + + The element. + + + + + Gets an element of this document. + + The name of the element. + + A BsonElement. + + + + + Gets an enumerator that can be used to enumerate the elements of this document. + + + An enumerator. + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + + + + + Gets the value of an element. + + The zero based index of the element. + + The value of the element. + + + + + Gets the value of an element. + + The name of the element. + + The value of the element. + + + + + Gets the value of an element or a default value if the element is not found. + + The name of the element. + The default value returned if the element is not found. + + The value of the element or the default value if the element is not found. + + + + + Inserts a new element at a specified position. + + The position of the new element. + The element. + + + + Merges another document into this one. Existing elements are not overwritten. + + The other document. + + The document (so method calls can be chained). + + + + + Merges another document into this one, specifying whether existing elements are overwritten. + + The other document. + Whether to overwrite existing elements. + + The document (so method calls can be chained). + + + + + Removes an element from this document (if duplicate element names are allowed + then all elements with this name will be removed). + + The name of the element to remove. + + + + Removes an element from this document. + + The zero based index of the element to remove. + + + + Removes an element from this document. + + The element to remove. + + + + Sets the value of an element. + + The zero based index of the element whose value is to be set. + The new value. + + The document (so method calls can be chained). + + + + + Sets the value of an element (an element will be added if no element with this name is found). + + The name of the element whose value is to be set. + The new value. + + The document (so method calls can be chained). + + + + + Sets an element of the document (replaces any existing element with the same name or adds a new element if an element with the same name is not found). + + The new element. + + The document. + + + + + Sets an element of the document (replacing the existing element at that position). + + The zero based index of the element to replace. + The new element. + + The document. + + + + + Tries to get an element of this document. + + The name of the element. + The element. + + True if an element with that name was found. + + + + + Tries to get the value of an element of this document. + + The name of the element. + The value of the element. + + True if an element with that name was found. + + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Materializes the BsonDocument. + + The materialized elements. + + + + Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state. + + + + + Throws if disposed. + + + + + + Represents an immutable BSON array that is represented using only the raw bytes. + + + + + Initializes a new instance of the class. + + The slice. + slice + RawBsonArray cannot be used with an IByteBuffer that needs disposing. + + + + Gets or sets the total number of elements the internal data structure can hold without resizing. + + + + + Gets the count of array elements. + + + + + Gets whether the array is read-only. + + + + + Gets the array elements as raw values (see BsonValue.RawValue). + + + + + Gets the slice. + + + The slice. + + + + + Gets the array elements. + + + + + Gets or sets a value by position. + + The position. + The value. + + + + Adds an element to the array. + + The value to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Creates a shallow clone of the array (see also DeepClone). + + A shallow clone of the array. + + + + Clears the array. + + + + + Tests whether the array contains a value. + + The value to test for. + True if the array contains the value. + + + + Copies elements from this array to another array. + + The other array. + The zero based index of the other array at which to start copying. + + + + Copies elements from this array to another array as raw values (see BsonValue.RawValue). + + The other array. + The zero based index of the other array at which to start copying. + + + + Creates a deep clone of the array (see also Clone). + + A deep clone of the array. + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + + Gets an enumerator that can enumerate the elements of the array. + + An enumerator. + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index of the value (or -1 if not found). + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index at which to start the search. + The zero based index of the value (or -1 if not found). + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index at which to start the search. + The number of elements to search. + The zero based index of the value (or -1 if not found). + + + + Inserts a new value into the array. + + The zero based index at which to insert the new value. + The new value. + + + + Removes the first occurrence of a value from the array. + + The value to remove. + True if the value was removed. + + + + Removes an element from the array. + + The zero based index of the element to remove. + + + + Converts the BsonArray to an array of BsonValues. + + An array of BsonValues. + + + + Converts the BsonArray to a list of BsonValues. + + A list of BsonValues. + + + + Returns a string representation of the array. + + A string representation of the array. + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Throws if disposed. + + + + + + Represents an immutable BSON document that is represented using only the raw bytes. + + + + + Initializes a new instance of the class. + + The slice. + slice + RawBsonDocument cannot be used with an IByteBuffer that needs disposing. + + + + Initializes a new instance of the class. + + The bytes. + + + + Gets the number of elements. + + + + + Gets the elements. + + + + + Gets the element names. + + + + + Gets the raw values (see BsonValue.RawValue). + + + + + Gets the slice. + + + The slice. + + + + + Gets the values. + + + + + Gets or sets a value by position. + + The position. + The value. + + + + Gets the value of an element or a default value if the element is not found. + + The name of the element. + The default value to return if the element is not found. + Teh value of the element or a default value if the element is not found. + + + + Gets or sets a value by name. + + The name. + The value. + + + + Adds an element to the document. + + The element to add. + + The document (so method calls can be chained). + + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds a list of elements to the document. + + The list of elements. + The document (so method calls can be chained). + + + + Adds a list of elements to the document. + + The list of elements. + The document (so method calls can be chained). + + + + Creates and adds an element to the document. + + The name of the element. + The value of the element. + + The document (so method calls can be chained). + + + + + Creates and adds an element to the document, but only if the condition is true. + + The name of the element. + The value of the element. + Whether to add the element to the document. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + + The document (so method calls can be chained). + + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + + The document (so method calls can be chained). + + + + + Adds a list of elements to the document. + + The list of elements. + + The document (so method calls can be chained). + + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + + The document (so method calls can be chained). + + + + + Clears the document (removes all elements). + + + + + Creates a shallow clone of the document (see also DeepClone). + + + A shallow clone of the document. + + + + + Tests whether the document contains an element with the specified name. + + The name of the element to look for. + + True if the document contains an element with the specified name. + + + + + Tests whether the document contains an element with the specified value. + + The value of the element to look for. + + True if the document contains an element with the specified value. + + + + + Creates a deep clone of the document (see also Clone). + + + A deep clone of the document. + + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + + Gets an element of this document. + + The zero based index of the element. + + The element. + + + + + Gets an element of this document. + + The name of the element. + + A BsonElement. + + + + + Gets an enumerator that can be used to enumerate the elements of this document. + + + An enumerator. + + + + + Gets the value of an element. + + The zero based index of the element. + + The value of the element. + + + + + Gets the value of an element. + + The name of the element. + + The value of the element. + + + + + Gets the value of an element or a default value if the element is not found. + + The name of the element. + The default value returned if the element is not found. + + The value of the element or the default value if the element is not found. + + + + + Inserts a new element at a specified position. + + The position of the new element. + The element. + + + + Materializes the RawBsonDocument into a regular BsonDocument. + + The binary reader settings. + A BsonDocument. + + + + Merges another document into this one. Existing elements are not overwritten. + + The other document. + + The document (so method calls can be chained). + + + + + Merges another document into this one, specifying whether existing elements are overwritten. + + The other document. + Whether to overwrite existing elements. + + The document (so method calls can be chained). + + + + + Removes an element from this document (if duplicate element names are allowed + then all elements with this name will be removed). + + The name of the element to remove. + + + + Removes an element from this document. + + The zero based index of the element to remove. + + + + Removes an element from this document. + + The element to remove. + + + + Sets the value of an element. + + The zero based index of the element whose value is to be set. + The new value. + + The document (so method calls can be chained). + + + + + Sets the value of an element (an element will be added if no element with this name is found). + + The name of the element whose value is to be set. + The new value. + + The document (so method calls can be chained). + + + + + Sets an element of the document (replaces any existing element with the same name or adds a new element if an element with the same name is not found). + + The new element. + + The document. + + + + + Sets an element of the document (replacing the existing element at that position). + + The zero based index of the element to replace. + The new element. + + The document. + + + + + Tries to get an element of this document. + + The name of the element. + The element. + + True if an element with that name was found. + + + + + Tries to get the value of an element of this document. + + The name of the element. + The value of the element. + + True if an element with that name was found. + + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Throws if disposed. + + RawBsonDocument + + + + Provides serializers based on an attribute. + + + + + + + + Specifies that this constructor should be used for creator-based deserialization. + + + + + Initializes a new instance of the BsonConstructorAttribute class. + + + + + Initializes a new instance of the BsonConstructorAttribute class. + + The names of the members that the creator argument values come from. + + + + Gets the names of the members that the creator arguments values come from. + + + + + Applies a modification to the creator map. + + The creator map. + + + + Specifies serialization options for a DateTime field or property. + + + + + Initializes a new instance of the BsonDateTimeOptionsAttribute class. + + + + + Gets or sets whether the DateTime consists of a Date only. + + + + + Gets or sets the DateTimeKind (Local, Unspecified or Utc). + + + + + Gets or sets the external representation. + + + + + Reconfigures the specified serializer by applying this attribute to it. + + The serializer. + A reconfigured serializer. + + + + Specifies serialization options for a Dictionary field or property. + + + + + Initializes a new instance of the BsonDictionaryOptionsAttribute class. + + + + + Initializes a new instance of the BsonDictionaryOptionsAttribute class. + + The representation to use for the Dictionary. + + + + Gets or sets the external representation. + + + + + Reconfigures the specified serializer by applying this attribute to it. + + The serializer. + A reconfigured serializer. + + + + Indicates that this property or field will be used to hold any extra elements found during deserialization. + + + + + Applies a modification to the member map. + + The member map. + + + + Specifies that this factory method should be used for creator-based deserialization. + + + + + Initializes a new instance of the BsonFactoryMethodAttribute class. + + + + + Initializes a new instance of the BsonFactoryMethodAttribute class. + + The names of the members that the creator argument values come from. + + + + Gets the names of the members that the creator arguments values come from. + + + + + Applies a modification to the creator map. + + The creator map. + + + + Indicates whether a field or property equal to the default value should be ignored when serializing this class. + + + + + Initializes a new instance of the BsonIgnoreIfDefaultAttribute class. + + + + + Initializes a new instance of the BsonIgnoreIfDefaultAttribute class. + + Whether a field or property equal to the default value should be ignored when serializing this class. + + + + Gets whether a field or property equal to the default value should be ignored when serializing this class. + + + + + Applies a modification to the member map. + + The member map. + + + + Specifies that the class's IdMember should be null. + + + + + Applies the post processing attribute to the class map. + + The class map. + + + + Specifies the external representation and related options for this field or property. + + + + + Initializes a new instance of the BsonRepresentationAttribute class. + + The external representation. + + + + Gets the external representation. + + + + + Gets or sets whether to allow overflow. + + + + + Gets or sets whether to allow truncation. + + + + + Reconfigures the specified serializer by applying this attribute to it. + + The serializer. + A reconfigured serializer. + + + + Abstract base class for serialization options attributes. + + + + + Initializes a new instance of the BsonSerializationOptionsAttribute class. + + + + + Applies a modification to the member map. + + The member map. + + + + Reconfigures the specified serializer by applying this attribute to it. + + The serializer. + A reconfigured serializer. + + + + + Specifies the type of the serializer to use for a class. + + + + + Initializes a new instance of the BsonSerializerAttribute class. + + + + + Initializes a new instance of the BsonSerializerAttribute class. + + The type of the serializer to use for a class. + + + + Gets or sets the type of the serializer to use for a class. + + + + + Applies a modification to the member map. + + The member map. + + + + Creates a serializer for a type based on the serializer type specified by the attribute. + + The type that a serializer should be created for. + A serializer for the type. + + + + Specifies the external representation and related options for this field or property. + + + + + Initializes a new instance of the BsonTimeSpanOptionsAttribute class. + + The external representation. + + + + Initializes a new instance of the BsonTimeSpanOptionsAttribute class. + + The external representation. + The TimeSpanUnits. + + + + Gets the external representation. + + + + + Gets or sets the TimeSpanUnits. + + + + + Reconfigures the specified serializer by applying this attribute to it. + + The serializer. + A reconfigured serializer. + + + + Specifies the default value for a field or property. + + + + + Initializes a new instance of the BsonDefaultValueAttribute class. + + The default value. + + + + Gets the default value. + + + + + Gets or sets whether to serialize the default value. + + + + + Applies a modification to the member map. + + The member map. + + + + Specifies the discriminator and related options for a class. + + + + + Initializes a new instance of the BsonDiscriminatorAttribute class. + + + + + Initializes a new instance of the BsonDiscriminatorAttribute class. + + The discriminator. + + + + Gets the discriminator. + + + + + Gets or sets whether the discriminator is required. + + + + + Gets or sets whether this is a root class. + + + + + Applies a modification to the class map. + + The class map. + + + + Specifies the element name and related options for a field or property. + + + + + Initializes a new instance of the BsonElementAttribute class. + + + + + Initializes a new instance of the BsonElementAttribute class. + + The name of the element. + + + + Gets the element name. + + + + + Gets the element serialization order. + + + + + Applies a modification to the member map. + + The member map. + + + + Specifies that this is the Id field or property. + + + + + Initializes a new instance of the BsonIdAttribute class. + + + + + Gets or sets the Id generator for the Id. + + + + + Gets or sets the Id element serialization order. + + + + + Applies a modification to the member map. + + The member map. + + + + Indicates that this field or property should be ignored when this class is serialized. + + + + + Specifies whether extra elements should be ignored when this class is deserialized. + + + + + Initializes a new instance of the BsonIgnoreExtraElementsAttribute class. + + + + + Initializes a new instance of the BsonIgnoreExtraElementsAttribute class. + + Whether extra elements should be ignored when this class is deserialized. + + + + Gets whether extra elements should be ignored when this class is deserialized. + + + + + Gets whether extra elements should also be ignored when any class derived from this one is deserialized. + + + + + Applies a modification to the class map. + + The class map. + + + + Indicates whether a field or property equal to null should be ignored when serializing this class. + + + + + Initializes a new instance of the BsonIgnoreIfNullAttribute class. + + + + + Initializes a new instance of the BsonIgnoreIfNullAttribute class. + + Whether a field or property equal to null should be ignored when serializing this class. + + + + Gets whether a field or property equal to null should be ignored when serializing this class. + + + + + Applies a modification to the member map. + + The member map. + + + + Specifies the known types for this class (the derived classes). + + + + + Initializes a new instance of the BsonKnownTypesAttribute class. + + One or more known types. + + + + Initializes a new instance of the BsonKnownTypesAttribute class. + + A known types. + + + + Gets a list of the known types. + + + + + Applies a modification to the class map. + + The class map. + + + + Indicates that a field or property is required. + + + + + Applies a modification to the member map. + + The member map. + + + + Indicates the usage restrictions for the attribute. + + + + + Initializes a new instance of the class. + + + + + Gets or sets a value indicating whether the attribute this attribute applies to is allowed to be applied + to more than one member. + + + + + Represents an attribute used to modify a member map. + + + + + Applies the attribute to the member map. + + The member map. + + + + Represents an attribute used to modify a class map. + + + + + Applies the attribute to the class map. + + The class map. + + + + Represents an attribute used to post process a class map. + + + + + Applies the post processing attribute to the class map. + + The class map. + + + + Represents an attribute used to modify a creator map. + + + + + Applies the attribute to the creator map. + + The creator map. + + + + Represents the class map serialization provider. + + + + + + + + Represents a mapping to a delegate and its arguments. + + + + + Initializes a new instance of the BsonCreatorMap class. + + The class map. + The member info (null if none). + The delegate. + + + + Gets the arguments. + + + + + Gets the class map that this creator map belongs to. + + + + + Gets the delegeate + + + + + Gets the element names. + + + + + Gets the member info (null if none). + + + + + Freezes the creator map. + + + + + Gets whether there is a default value for a missing element. + + The element name. + True if there is a default value for element name; otherwise, false. + + + + Sets the arguments for the creator map. + + The arguments. + The creator map. + + + + Sets the arguments for the creator map. + + The argument names. + The creator map. + + + + Represents args common to all serializers. + + + + + Gets or sets the nominal type. + + + The nominal type. + + + + + Represents all the contextual information needed by a serializer to deserialize a value. + + + + + Gets a value indicating whether to allow duplicate element names. + + + true if duplicate element names shoud be allowed; otherwise, false. + + + + + Gets the dynamic array serializer. + + + The dynamic array serializer. + + + + + Gets the dynamic document serializer. + + + The dynamic document serializer. + + + + + Gets the reader. + + + The reader. + + + + + Creates a root context. + + The reader. + The configurator. + + A root context. + + + + + Creates a new context with some values changed. + + The configurator. + + A new context. + + + + + Represents a builder for a BsonDeserializationContext. + + + + + Gets or sets a value indicating whether to allow duplicate element names. + + + true if duplicate element names should be allowed; otherwise, false. + + + + + Gets or sets the dynamic array serializer. + + + The dynamic array serializer. + + + + + Gets or sets the dynamic document serializer. + + + The dynamic document serializer. + + + + + Gets the reader. + + + The reader. + + + + + Builds the BsonDeserializationContext instance. + + A BsonDeserializationContext. + + + + A class backed by a BsonDocument. + + + + + Initializes a new instance of the class. + + The serializer. + + + + Initializes a new instance of the class. + + The backing document. + The serializer. + + + + Gets the backing document. + + + + + Gets the value from the backing document. + + The type of the value. + The member name. + The value. + + + + Gets the value from the backing document. + + The type of the value. + The member name. + The default value. + The value. + + + + Sets the value in the backing document. + + The member name. + The value. + + + + Provides serializers for BsonValue and its derivations. + + + + + + + + Represents args common to all serializers. + + + + + Initializes a new instance of the struct. + + The nominal type. + Whether to serialize as the nominal type. + Whether to serialize the id first. + + + + Gets or sets the nominal type. + + + The nominal type. + + + + + Gets or sets a value indicating whether to serialize the value as if it were an instance of the nominal type. + + + + + Gets or sets a value indicating whether to serialize the id first. + + + + + Represents all the contextual information needed by a serializer to serialize a value. + + + + + Gets a function that, when executed, will indicate whether the type + is a dynamic type. + + + + + Gets the writer. + + + The writer. + + + + + Creates a root context. + + The writer. + The serialization context configurator. + + A root context. + + + + + Creates a new context with some values changed. + + The serialization context configurator. + + A new context. + + + + + Represents a builder for a BsonSerializationContext. + + + + + Gets or sets the function used to determine if a type is a dynamic type. + + + + + Gets the writer. + + + The writer. + + + + + Builds the BsonSerializationContext instance. + + A BsonSerializationContext. + + + + Provides serializers for collections. + + + + + + + + Convention pack for applying attributes. + + + + + Initializes a new instance of the class. + + + + + Gets the instance. + + + + + Gets the conventions. + + + + + A convention that sets the element name the same as the member name with the first character lower cased. + + + + + Applies a modification to the member map. + + The member map. + + + + A convention that uses the names of the creator parameters to find the matching members. + + + + + Applies a modification to the creator map. + + The creator map. + + + + Base class for a convention. + + + + + Initializes a new instance of the ConventionBase class. + + + + + Initializes a new instance of the ConventionBase class. + + The name of the convention. + + + + Gets the name of the convention. + + + + + A mutable pack of conventions. + + + + + Initializes a new instance of the class. + + + + + Gets the conventions. + + + + + Adds the specified convention. + + The convention. + + + + + Adds a class map convention created using the specified action upon a class map. + + The name of the convention. + The action the convention should take upon the class map. + + + + Adds a member map convention created using the specified action upon a member map. + + The name of the convention. + The action the convention should take upon the member map. + + + + Adds a post processing convention created using the specified action upon a class map. + + The name of the convention. + The action the convention should take upon the class map. + + + + Adds a range of conventions. + + The conventions. + + + + + Appends the conventions in another pack to the end of this pack. + + The other pack. + + + + Gets an enumerator for the conventions. + + An enumerator. + + + + Inserts the convention after another convention specified by the name. + + The name. + The convention. + + + + Inserts the convention before another convention specified by the name. + + The name. + The convention. + + + + Removes the named convention. + + The name of the convention. + + + + Represents a registry of conventions. + + + + + Looks up the effective set of conventions that apply to a type. + + The type. + The conventions for that type. + + + + Registers the conventions. + + The name. + The conventions. + The filter. + + + + Removes the conventions specified by the given name. + + The name. + Removing a convention allows the removal of the special __defaults__ conventions + and the __attributes__ conventions for those who want to completely customize the + experience. + + + + Runs the conventions against a BsonClassMap and its BsonMemberMaps. + + + + + Initializes a new instance of the class. + + The conventions. + + + + Applies a modification to the class map. + + The class map. + + + + Convention pack of defaults. + + + + + Initializes a new instance of the class. + + + + + Gets the instance. + + + + + Gets the conventions. + + + + + A class map convention that wraps a delegate. + + + + + Initializes a new instance of the class. + + The name. + The delegate. + + + + Applies a modification to the class map. + + The class map. + + + + A member map convention that wraps a delegate. + + + + + Initializes a new instance of the class. + + The name. + The delegate. + + + + Applies a modification to the member map. + + The member map. + + + + A post processing convention that wraps a delegate. + + + + + Initializes a new instance of the class. + + The name. + The delegate. + + + + Applies a post processing modification to the class map. + + The class map. + + + + Represents a discriminator convention where the discriminator is an array of all the discriminators provided by the class maps of the root class down to the actual type. + + + + + Initializes a new instance of the HierarchicalDiscriminatorConvention class. + + The element name. + + + + Gets the discriminator value for an actual type. + + The nominal type. + The actual type. + The discriminator value. + + + + Represents a convention that applies to a BsonClassMap. + + + + + Applies a modification to the class map. + + The class map. + + + + Represents a convention that applies to a BsonCreatorMap. + + + + + Applies a modification to the creator map. + + The creator map. + + + + Represents a convention. + + + + + Gets the name of the convention. + + + + + Represents a grouping of conventions. + + + + + Gets the conventions. + + + + + A convention that sets whether to ignore extra elements encountered during deserialization. + + + + + Initializes a new instance of the class. + + Whether to ignore extra elements encountered during deserialization. + + + + Applies a modification to the class map. + + The class map. + + + + A convention that sets whether to ignore default values during serialization. + + + + + Initializes a new instance of the class. + + Whether to ignore default values during serialization. + + + + Applies a modification to the member map. + + The member map. + + + + A convention that sets whether to ignore nulls during serialization. + + + + + Initializes a new instance of the class. + + Whether to ignore nulls during serialization. + + + + Applies a modification to the member map. + + The member map. + + + + Represents a convention that applies to a BsonMemberMap. + + + + + Applies a modification to the member map. + + The member map. + + + + Represents a post processing convention that applies to a BsonClassMap. + + + + + Applies a post processing modification to the class map. + + The class map. + + + + A convention that looks up an id generator for the id member. + + + + + Applies a post processing modification to the class map. + + The class map. + + + + A convention that sets the default value for members of a given type. + + + + + Initializes a new instance of the class. + + The type of the member. + The default value for members of this type. + + + + Applies a modification to the member map. + + The member map. + + + + A convention that sets the element name the same as the member name. + + + + + Applies a modification to the member map. + + The member map. + + + + A convention that finds the extra elements member by name (and that is also of type or ). + + + + + Initializes a new instance of the NamedExtraElementsMemberConvention class. + + The name of the extra elements member. + + + + Initializes a new instance of the class. + + The names. + + + + Initializes a new instance of the class. + + The names. + The member types. + + + + Initializes a new instance of the class. + + The names. + The binding flags. + + + + Initializes a new instance of the class. + + The names. + The member types. + The binding flags. + + + + + Applies a modification to the class map. + + The class map. + + + + A convention that finds the id member by name. + + + + + Initializes a new instance of the class. + + The names. + + + + Initializes a new instance of the class. + + The names. + + + + Initializes a new instance of the class. + + The names. + The member types. + + + + Initializes a new instance of the class. + + The names. + The binding flags. + + + + Initializes a new instance of the class. + + The names. + The member types. + The binding flags. + + + + + Applies a modification to the class map. + + The class map. + + + + Maps a fully immutable type. This will include anonymous types. + + + + + + + + A convention that sets a class's IdMember to null. + + + + + Applies a post processing modification to the class map. + + The class map. + + + + Represents the object discriminator convention. + + + + + Initializes a new instance of the ObjectDiscriminatorConvention class. + + The element name. + + + + Gets an instance of the ObjectDiscriminatorConvention. + + + + + Gets the discriminator element name. + + + + + Gets the actual type of an object by reading the discriminator from a BsonReader. + + The reader. + The nominal type. + The actual type. + + + + Gets the discriminator value for an actual type. + + The nominal type. + The actual type. + The discriminator value. + + + + A convention that finds readable and writeable members and adds them to the class map. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The member types. + + + + Initializes a new instance of the class. + + The binding flags. + + + + Initializes a new instance of the class. + + The member types. + The binding flags. + + + + Applies a modification to the class map. + + The class map. + + + + A convention that resets a class map (resetting any changes that earlier conventions may have applied). + + + + + Applies a modification to the class map. + + The class map. + + + + A convention that resets class members (resetting any changes that earlier conventions may have applied). + + + + + Applies a modification to the member map. + + The member map. + + + + Represents a discriminator convention where the discriminator is provided by the class map of the actual type. + + + + + Initializes a new instance of the ScalarDiscriminatorConvention class. + + The element name. + + + + Gets the discriminator value for an actual type. + + The nominal type. + The actual type. + The discriminator value. + + + + A convention that allows you to set the Enum serialization representation + + + + + Initializes a new instance of the class. + + The serialization representation. 0 is used to detect representation + from the enum itself. + + + + Gets the representation. + + + + + Applies a modification to the member map. + + The member map. + + + + Represents the standard discriminator conventions (see ScalarDiscriminatorConvention and HierarchicalDiscriminatorConvention). + + + + + Initializes a new instance of the StandardDiscriminatorConvention class. + + The element name. + + + + Gets an instance of the ScalarDiscriminatorConvention. + + + + + Gets an instance of the HierarchicalDiscriminatorConvention. + + + + + Gets the discriminator element name. + + + + + Gets the actual type of an object by reading the discriminator from a BsonReader. + + The reader. + The nominal type. + The actual type. + + + + Gets the discriminator value for an actual type. + + The nominal type. + The actual type. + The discriminator value. + + + + A convention that sets the id generator for a string member with a BSON representation of ObjectId. + + + + + Applies a post processing modification to the class map. + + The class map. + + + + Represents a discriminator convention. + + + + + Gets the discriminator element name. + + + + + Gets the actual type of an object by reading the discriminator from a BsonReader. + + The reader. + The nominal type. + The actual type. + + + + Gets the discriminator value for an actual type. + + The nominal type. + The actual type. + The discriminator value. + + + + A helper class used to create and compile delegates for creator maps. + + + + + Creates and compiles a delegate that calls a constructor. + + The constructor. + A delegate that calls the constructor. + + + + Creates and compiles a delegate from a lambda expression. + + The type of the class. + The lambda expression. + The arguments for the delegate's parameters. + A delegate. + + + + Creates and compiles a delegate that calls a factory method. + + the method. + A delegate that calls the factory method. + + + + Visits a MemberExpression. + + The MemberExpression. + The MemberExpression (possibly modified). + + + + Visits a ParameterExpression. + + The ParameterExpression. + The ParameterExpression (possibly modified). + + + + An abstract base class for an Expression visitor. + + + + + Initializes a new instance of the ExpressionVisitor class. + + + + + Visits an Expression. + + The Expression. + The Expression (posibly modified). + + + + Visits an Expression list. + + The Expression list. + The Expression list (possibly modified). + + + + Visits a BinaryExpression. + + The BinaryExpression. + The BinaryExpression (possibly modified). + + + + Visits a ConditionalExpression. + + The ConditionalExpression. + The ConditionalExpression (possibly modified). + + + + Visits a ConstantExpression. + + The ConstantExpression. + The ConstantExpression (possibly modified). + + + + Visits an ElementInit. + + The ElementInit. + The ElementInit (possibly modified). + + + + Visits an ElementInit list. + + The ElementInit list. + The ElementInit list (possibly modified). + + + + Visits an InvocationExpression. + + The InvocationExpression. + The InvocationExpression (possibly modified). + + + + Visits a LambdaExpression. + + The LambdaExpression. + The LambdaExpression (possibly modified). + + + + Visits a ListInitExpression. + + The ListInitExpression. + The ListInitExpression (possibly modified). + + + + Visits a MemberExpression. + + The MemberExpression. + The MemberExpression (possibly modified). + + + + Visits a MemberAssignment. + + The MemberAssignment. + The MemberAssignment (possibly modified). + + + + Visits a MemberBinding. + + The MemberBinding. + The MemberBinding (possibly modified). + + + + Visits a MemberBinding list. + + The MemberBinding list. + The MemberBinding list (possibly modified). + + + + Visits a MemberInitExpression. + + The MemberInitExpression. + The MemberInitExpression (possibly modified). + + + + Visits a MemberListBinding. + + The MemberListBinding. + The MemberListBinding (possibly modified). + + + + Visits a MemberMemberBinding. + + The MemberMemberBinding. + The MemberMemberBinding (possibly modified). + + + + Visits a MethodCallExpression. + + The MethodCallExpression. + The MethodCallExpression (possibly modified). + + + + Visits a NewExpression. + + The NewExpression. + The NewExpression (possibly modified). + + + + Visits a NewArrayExpression. + + The NewArrayExpression. + The NewArrayExpression (possibly modified). + + + + Visits a ParameterExpression. + + The ParameterExpression. + The ParameterExpression (possibly modified). + + + + Visits a TypeBinaryExpression. + + The TypeBinaryExpression. + The TypeBinaryExpression (possibly modified). + + + + Visits a UnaryExpression. + + The UnaryExpression. + The UnaryExpression (possibly modified). + + + + Default, global implementation of an . + + + + + Initializes a new instance of the class. + + + + + Gets the serializer for the specified . + + The type. + + The serializer. + + + + + Gets the serializer for the specified . + + + + The serializer. + + + + + Registers the serializer. + + The type. + The serializer. + + + + Registers the serialization provider. This behaves like a stack, so the + last provider registered is the first provider consulted. + + The serialization provider. + + + + Represents a dictionary serializer that can be used in LINQ queries. + + + + + Gets the dictionary representation. + + + The dictionary representation. + + + + + Gets the key serializer. + + + The key serializer. + + + + + Gets the value serializer. + + + The value serializer. + + + + + An interface implemented by a polymorphic serializer. + + + + + Gets a value indicating whether this serializer's discriminator is compatible with the object serializer. + + + true if this serializer's discriminator is compatible with the object serializer; otherwise, false. + + + + + A serializer registry. + + + + + Gets the serializer for the specified . + + The type. + The serializer. + + + + Gets the serializer for the specified . + + + The serializer. + + + + Represents a serializer that has a child serializer that configuration attributes can be forwarded to. + + + + + Gets the child serializer. + + + The child serializer. + + + + + Returns a serializer that has been reconfigured with the specified child serializer. + + The child serializer. + The reconfigured serializer. + + + + A GUID generator that generates GUIDs in ascending order. To enable + an index to make use of the ascending nature make sure to use + GuidRepresentation.Standard + as the storage representation. + Internally the GUID is of the form + 8 bytes: Ticks from DateTime.UtcNow.Ticks + 3 bytes: hash of machine name + 2 bytes: low order bytes of process Id + 3 bytes: increment + + + + + Gets an instance of AscendingGuidGenerator. + + + + + Generates an ascending Guid for a document. Consecutive invocations + should generate Guids that are ascending from a MongoDB perspective + + The container of the document (will be a + MongoCollection when called from the driver). + The document it was generated for. + A Guid. + + + + Generates a Guid for a document. Note - this is purely used for + unit testing + + The time portion of the Guid + A 5 byte array with the first 3 bytes + representing a machine id and the next 2 representing a process + id + The increment portion of the Guid. Used + to distinguish between 2 Guids that have the timestamp. Note + only the least significant 3 bytes are used. + A Guid. + + + + Tests whether an id is empty. + + The id to test. + True if the Id is empty. False otherwise + + + + Gets the current process id. This method exists because of how + CAS operates on the call stack, checking for permissions before + executing the method. Hence, if we inlined this call, the calling + method would not execute before throwing an exception requiring the + try/catch at an even higher level that we don't necessarily control. + + + + + Represents an Id generator for Guids stored in BsonBinaryData values. + + + + + Initializes a new instance of the BsonBinaryDataGuidGenerator class. + + The GuidRepresentation to use when generating new Id values. + + + + Gets an instance of BsonBinaryDataGuidGenerator for CSharpLegacy GuidRepresentation. + + + + + Gets an instance of BsonBinaryDataGuidGenerator for JavaLegacy GuidRepresentation. + + + + + Gets an instance of BsonBinaryDataGuidGenerator for PythonLegacy GuidRepresentation. + + + + + Gets an instance of BsonBinaryDataGuidGenerator for Standard GuidRepresentation. + + + + + Gets an instance of BsonBinaryDataGuidGenerator for Unspecifed GuidRepresentation. + + + + + Gets the instance of BsonBinaryDataGuidGenerator for a GuidRepresentation. + + The GuidRepresentation. + The instance of BsonBinaryDataGuidGenerator for a GuidRepresentation. + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Represents an Id generator for BsonObjectIds. + + + + + Initializes a new instance of the BsonObjectIdGenerator class. + + + + + Gets an instance of ObjectIdGenerator. + + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Represents an Id generator for Guids using the COMB algorithm. + + + + + Initializes a new instance of the CombGuidGenerator class. + + + + + Gets an instance of CombGuidGenerator. + + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Create a new CombGuid from a given Guid and timestamp. + + The base Guid. + The timestamp. + A new CombGuid created by combining the base Guid with the timestamp. + + + + Represents an Id generator for Guids. + + + + + Initializes a new instance of the GuidGenerator class. + + + + + Gets an instance of GuidGenerator. + + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Represents an Id generator that only checks that the Id is not null. + + + + + Initializes a new instance of the NullIdChecker class. + + + + + Gets an instance of NullIdChecker. + + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Represents an Id generator for ObjectIds. + + + + + Initializes a new instance of the ObjectIdGenerator class. + + + + + Gets an instance of ObjectIdGenerator. + + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Represents an Id generator for ObjectIds represented internally as strings. + + + + + Initializes a new instance of the StringObjectIdGenerator class. + + + + + Gets an instance of StringObjectIdGenerator. + + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Represents an Id generator that only checks that the Id is not all zeros. + + The type of the Id. + + + + Initializes a new instance of the ZeroIdChecker class. + + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Represents a serializer that has a DictionaryRepresentation property. + + + + + Gets the dictionary representation. + + + The dictionary representation. + + + + + Returns a serializer that has been reconfigured with the specified dictionary representation. + + The dictionary representation. + The reconfigured serializer. + + + + Represents a serializer that has a DictionaryRepresentation property. + + The type of the serializer. + + + + Returns a serializer that has been reconfigured with the specified dictionary representation. + + The dictionary representation. + The reconfigured serializer. + + + + Represents a serializer that has a Representation property. + + + + + Gets the representation. + + + The representation. + + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer that has a Representation property. + + The type of the serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer that has a representation converter. + + + + + Gets the converter. + + + The converter. + + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Represents a serializer that has a representation converter. + + The type of the serializer. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Represents the representation to use for dictionaries. + + + + + Represent the dictionary as a Document. + + + + + Represent the dictionary as an array of arrays. + + + + + Represent the dictionary as an array of documents. + + + + + Represents the external representation of a field or property. + + + + + Initializes a new instance of the RepresentationConverter class. + + Whether to allow overflow. + Whether to allow truncation. + + + + Gets whether to allow overflow. + + + + + Gets whether to allow truncation. + + + + + Converts a Decimal128 to a Decimal. + + A Decimal128. + A Decimal. + + + + Converts a Double to a Decimal. + + A Double. + A Decimal. + + + + Converts an Int32 to a Decimal. + + An Int32. + A Decimal. + + + + Converts an Int64 to a Decimal. + + An Int64. + A Decimal. + + + + Converts a decimal to a Decimal128. + + A decimal. + A Decimal128. + + + + Converts a Double to a Decimal128. + + A Double. + A Decimal128. + + + + Converts an Int32 to a Decimal128. + + An Int32. + A Decimal128. + + + + Converts an Int64 to a Decimal128. + + An Int64. + A Decimal128. + + + + Converts a UInt64 to a Decimal128. + + A UInt64. + A Decimal128. + + + + Converts a Decimal to a Double. + + A Decimal. + A Double. + + + + Converts a Decimal128 to a Double. + + A Decimal. + A Double. + + + + Converts a Double to a Double. + + A Double. + A Double. + + + + Converts a Single to a Double. + + A Single. + A Double. + + + + Converts an Int32 to a Double. + + An Int32. + A Double. + + + + Converts an Int64 to a Double. + + An Int64. + A Double. + + + + Converts an Int16 to a Double. + + An Int16. + A Double. + + + + Converts a UInt32 to a Double. + + A UInt32. + A Double. + + + + Converts a UInt64 to a Double. + + A UInt64. + A Double. + + + + Converts a UInt16 to a Double. + + A UInt16. + A Double. + + + + Converts a Decimal128 to an Int16. + + A Decimal128. + An Int16. + + + + Converts a Double to an Int16. + + A Double. + An Int16. + + + + Converts an Int32 to an Int16. + + An Int32. + An Int16. + + + + Converts an Int64 to an Int16. + + An Int64. + An Int16. + + + + Converts a Decimal to an Int32. + + A Decimal. + An Int32. + + + + Converts a Decimal128 to an Int32. + + A Decimal128. + An Int32. + + + + Converts a Double to an Int32. + + A Double. + An Int32. + + + + Converts a Single to an Int32. + + A Single. + An Int32. + + + + Converts an Int32 to an Int32. + + An Int32. + An Int32. + + + + Converts an Int64 to an Int32. + + An Int64. + An Int32. + + + + Converts an Int16 to an Int32. + + An Int16. + An Int32. + + + + Converts a UInt32 to an Int32. + + A UInt32. + An Int32. + + + + Converts a UInt64 to an Int32. + + A UInt64. + An Int32. + + + + Converts a UInt16 to an Int32. + + A UInt16. + An Int32. + + + + Converts a Decimal to an Int64. + + A Decimal. + An Int64. + + + + Converts a Decimal128 to an Int64. + + A Decimal128. + An Int64. + + + + Converts a Double to an Int64. + + A Double. + An Int64. + + + + Converts a Single to an Int64. + + A Single. + An Int64. + + + + Converts an Int32 to an Int64. + + An Int32. + An Int64. + + + + Converts an Int64 to an Int64. + + An Int64. + An Int64. + + + + Converts an Int16 to an Int64. + + An Int16. + An Int64. + + + + Converts a UInt32 to an Int64. + + A UInt32. + An Int64. + + + + Converts a UInt64 to an Int64. + + A UInt64. + An Int64. + + + + Converts a UInt16 to an Int64. + + A UInt16. + An Int64. + + + + Converts a Decimal128 to a Single. + + A Decimal128. + A Single. + + + + Converts a Double to a Single. + + A Double. + A Single. + + + + Converts an Int32 to a Single. + + An Int32. + A Single. + + + + Converts an Int64 to a Single. + + An Int64. + A Single. + + + + Converts a Decimal128 to a UInt16. + + A Decimal128. + A UInt16. + + + + Converts a Double to a UInt16. + + A Double. + A UInt16. + + + + Converts an Int32 to a UInt16. + + An Int32. + A UInt16. + + + + Converts an Int64 to a UInt16. + + An Int64. + A UInt16. + + + + Converts a Decimal128 to a UInt32. + + A Decimal128. + A UInt32. + + + + Converts a Double to a UInt32. + + A Double. + A UInt32. + + + + Converts an Int32 to a UInt32. + + An Int32. + A UInt32. + + + + Converts an Int64 to a UInt32. + + An Int64. + A UInt32. + + + + Converts a Decimal128 to a UInt64. + + A Decimal128. + A UInt64. + + + + Converts a Double to a UInt64. + + A Double. + A UInt64. + + + + Converts an Int32 to a UInt64. + + An Int32. + A UInt64. + + + + Converts an Int64 to a UInt64. + + An Int64. + A UInt64. + + + + Represents the units a TimeSpan is serialized in. + + + + + Use ticks as the units. + + + + + Use days as the units. + + + + + Use hours as the units. + + + + + Use minutes as the units. + + + + + Use seconds as the units. + + + + + Use milliseconds as the units. + + + + + Use microseconds as the units. + + + + + Use nanoseconds as the units. + + + + + Provides a serializer for interfaces. + + + + + + + + Provides serializers for primitive types. + + + + + + + + Base class for serialization providers. + + + + + + + + + + + Creates the serializer from a serializer type definition and type arguments. + + The serializer type definition. + The type arguments. + A serializer. + + + + Creates the serializer from a serializer type definition and type arguments. + + The serializer type definition. + The type arguments. + The serializer registry. + + A serializer. + + + + + Creates the serializer. + + The serializer type. + A serializer. + + + + Creates the serializer. + + The serializer type. + The serializer registry. + + A serializer. + + + + + Represents a serializer for an abstract class. + + The type of the class. + + + + Represents a serializer for BitArrays. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Booleans. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for BsonArrays. + + + + + Initializes a new instance of the BsonArraySerializer class. + + + + + Gets an instance of the BsonArraySerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonBinaryDatas. + + + + + Initializes a new instance of the BsonBinaryDataSerializer class. + + + + + Gets an instance of the BsonBinaryDataSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonDecimal128s. + + + + + Initializes a new instance of the BsonBooleanSerializer class. + + + + + Gets an instance of the BsonBooleanSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonBooleans. + + + + + Initializes a new instance of the BsonBooleanSerializer class. + + + + + Gets an instance of the BsonBooleanSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for Decimal128s. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + The converter. + + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for a BsonDocument with some parts raw. + + + + + Initializes a new instance of the class. + + The name. + The raw serializer. + + + + + + + Wraps a serializer and projects using a function. + + The type of from. + The type of to. + + + + Initializes a new instance of the class. + + From serializer. + The projector. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Represents a helper for serializers. + + + + + Initializes a new instance of the class. + + The members. + + + + Deserializes the members. + + The deserialization context. + The member handler. + The found member flags. + + + + Represents information about a member. + + + + + Initializes a new instance of the class. + + The name of the element. + The flag. + Whether the member is optional. + + + + Gets the flag. + + + The flag. + + + + + Gets the name of the element. + + + The name of the element. + + + + + Gets a value indicating whether this member is optional. + + Whether this member is optional. + + + + Represents a serializer that serializes values as a discriminator/value pair. + + The type of the value. + + + + Initializes a new instance of the class. + + The discriminator convention. + The wrapped serializer. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Determines whether the reader is positioned at a discriminated wrapper. + + The context. + True if the reader is positioned at a discriminated wrapper. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents an abstract base class for serializers. + + The type of the value. + + + + Gets the type of the values. + + + The type of the values. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Creates an exception to throw when a type cannot be deserialized. + + An exception. + + + + Creates an exception to throw when a type cannot be deserialized. + + An exception. + + + + Creates an exception to throw when a type cannot be deserialized from a BsonType. + + The BSON type. + An exception. + + + + Ensures that the BsonType equals the expected type. + + The reader. + The expected type. + + + + Represents an abstract base class for sealed class serializers. + + The type of the value. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Deserializes a class. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value of type {TValue}. + + The serialization context. + The serialization args. + The value. + + + + Represents an abstract base class for struct serializers. + + The type of the value. + + + + Represents a serializer for a BsonValue that can round trip C# null. + + The type of the BsonValue. + + + + Initializes a new instance of the class. + + The wrapped serializer. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for a BsonValue that can round trip C# null and implements IBsonArraySerializer and IBsonDocumentSerializer. + + The type of the bson value. + + + + Initializes a new instance of the class. + + The wrapped serializer. + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + The serialization info for the items. + + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Represents a serializer for a BsonValue that can round trip C# null and implements IBsonArraySerializer. + + The type of the bson value. + + + + Initializes a new instance of the class. + + The wrapped serializer. + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Represents a serializer for a BsonValue that can round trip C# null and implements IBsonDocumentSerializer. + + The type of the bson value. + + + + Initializes a new instance of the class. + + The wrapped serializer. + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Represents a serializer for BsonDateTimes. + + + + + Initializes a new instance of the BsonDateTimeSerializer class. + + + + + Gets an instance of the BsonDateTimeSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonDocuments. + + + + + Initializes a new instance of the BsonDocumentSerializer class. + + + + + Gets an instance of the BsonDocumentSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the document Id. + + The document. + The Id. + The nominal type of the Id. + The IdGenerator for the Id type. + True if the document has an Id. + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Sets the document Id. + + The document. + The Id. + + + + Represents a serializer for BsonDocumentWrappers. + + + + + Initializes a new instance of the BsonDocumentWrapperSerializer class. + + + + + Gets an instance of the BsonDocumentWrapperSerializer class. + + + + + Deserializes a class. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Deserializes a class. + + The deserialization context. + The deserialization args. + An object. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonDoubles. + + + + + Initializes a new instance of the BsonDoubleSerializer class. + + + + + Gets an instance of the BsonDoubleSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonInt32s. + + + + + Initializes a new instance of the BsonInt32Serializer class. + + + + + Gets an instance of the BsonInt32Serializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonInt64s. + + + + + Initializes a new instance of the BsonInt64Serializer class. + + + + + Gets an instance of the BsonInt64Serializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonJavaScripts. + + + + + Initializes a new instance of the BsonJavaScriptSerializer class. + + + + + Gets an instance of the BsonJavaScriptSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonJavaScriptWithScopes. + + + + + Initializes a new instance of the BsonJavaScriptWithScopeSerializer class. + + + + + Gets an instance of the BsonJavaScriptWithScopeSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonMaxKeys. + + + + + Initializes a new instance of the BsonMaxKeySerializer class. + + + + + Gets an instance of the BsonMaxKeySerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonMinKeys. + + + + + Initializes a new instance of the BsonMinKeySerializer class. + + + + + Gets an instance of the BsonMinKeySerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonNulls. + + + + + Initializes a new instance of the BsonNullSerializer class. + + + + + Gets an instance of the BsonNullSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonObjectIds. + + + + + Initializes a new instance of the BsonObjectIdSerializer class. + + + + + Gets an instance of the BsonObjectIdSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonRegularExpressions. + + + + + Initializes a new instance of the BsonRegularExpressionSerializer class. + + + + + Gets an instance of the BsonRegularExpressionSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonStrings. + + + + + Initializes a new instance of the BsonStringSerializer class. + + + + + Gets an instance of the BsonStringSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonSymbols. + + + + + Initializes a new instance of the BsonSymbolSerializer class. + + + + + Gets an instance of the BsonSymbolSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonTimestamps. + + + + + Initializes a new instance of the BsonTimestampSerializer class. + + + + + Gets an instance of the BsonTimestampSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonUndefineds. + + + + + Initializes a new instance of the BsonUndefinedSerializer class. + + + + + Gets an instance of the BsonUndefinedSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonValues. + + + + + Initializes a new instance of the BsonValueSerializer class. + + + + + Gets an instance of the BsonValueSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a base class for BsonValue serializers. + + The type of the BsonValue. + + + + Initializes a new instance of the class. + + The Bson type. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for ByteArrays. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Bytes. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Chars. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for CultureInfos. + + + + + Initializes a new instance of the CultureInfoSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for DateTimeOffsets. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for DateTimes. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + if set to true [date only]. + + + + Initializes a new instance of the class. + + if set to true [date only]. + The representation. + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The kind. + + + + Initializes a new instance of the class. + + The kind. + The representation. + + + + Gets an instance of DateTimeSerializer with DateOnly=true. + + + + + Gets an instance of DateTimeSerializer with Kind=Local. + + + + + Gets an instance of DateTimeSerializer with Kind=Utc. + + + + + Gets whether this DateTime consists of a Date only. + + + + + Gets the DateTimeKind (Local, Unspecified or Utc). + + + + + Gets the external representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified dateOnly value. + + if set to true the values will be required to be Date's only (zero time component). + + The reconfigured serializer. + + + + + Returns a serializer that has been reconfigured with the specified dateOnly value and representation. + + if set to true the values will be required to be Date's only (zero time component). + The representation. + + The reconfigured serializer. + + + + + Returns a serializer that has been reconfigured with the specified DateTimeKind value. + + The DateTimeKind. + + The reconfigured serializer. + + + + + Returns a serializer that has been reconfigured with the specified DateTimeKind value and representation. + + The DateTimeKind. + The representation. + + The reconfigured serializer. + + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Decimals. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + The converter. + + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for a class that implements IDictionary. + + The type of the dictionary. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The dictionary representation. + + + + Initializes a new instance of the class. + + The dictionary representation. + The key serializer. + The value serializer. + + + + Returns a serializer that has been reconfigured with the specified dictionary representation. + + The dictionary representation. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified dictionary representation and key value serializers. + + The dictionary representation. + The key serializer. + The value serializer. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified key serializer. + + The key serializer. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified value serializer. + + The value serializer. + The reconfigured serializer. + + + + Creates the instance. + + The instance. + + + + Represents a serializer for a class that implements . + + The type of the dictionary. + The type of the key. + The type of the value. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The dictionary representation. + + + + Initializes a new instance of the class. + + The dictionary representation. + The key serializer. + The value serializer. + + + + Returns a serializer that has been reconfigured with the specified dictionary representation. + + The dictionary representation. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified dictionary representation and key value serializers. + + The dictionary representation. + The key serializer. + The value serializer. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified key serializer. + + The key serializer. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified value serializer. + + The value serializer. + The reconfigured serializer. + + + + Creates the instance. + + The instance. + + + + Represents a serializer for dictionaries. + + The type of the dictionary. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The dictionary representation. + + + + Initializes a new instance of the class. + + The dictionary representation. + The key serializer. + The value serializer. + + + + Gets the dictionary representation. + + + The dictionary representation. + + + + + Gets the key serializer. + + + The key serializer. + + + + + Gets the value serializer. + + + The value serializer. + + + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Creates the instance. + + The instance. + + + + Represents a serializer for dictionaries. + + The type of the dictionary. + The type of the keys. + The type of the values. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The dictionary representation. + + + + Initializes a new instance of the class. + + The dictionary representation. + The key serializer. + The value serializer. + + + + Initializes a new instance of the class. + + The dictionary representation. + The serializer registry. + + + + Gets the dictionary representation. + + + The dictionary representation. + + + + + Gets the key serializer. + + + The key serializer. + + + + + Gets the value serializer. + + + The value serializer. + + + + + + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Creates the instance. + + The instance. + + + + Represents a serializer for Interfaces. + + The type of the interface. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The discriminator convention. + interfaceType + interfaceType + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The document. + + + + Represents a serializer for Doubles. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + The converter. + + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Base serializer for dynamic types. + + The dynamic type. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Configures the deserialization context. + + The builder. + + + + Configures the serialization context. + + The builder. + + + + Creates the document. + + A + + + + Sets the value for the member. + + The document. + Name of the member. + The value. + + + + Tries to get the value for a member. Returns true if the member should be serialized. + + The document. + Name of the member. + The value. + true if the member should be serialized; otherwise false. + + + + Represents a serializer for a class that implements IEnumerable. + + The type of the value. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Creates the accumulator. + + The accumulator. + + + + Represents a serializer for a class that implementes . + + The type of the value. + The type of the item. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Creates the accumulator. + + The accumulator. + + + + Finalizes the result. + + The accumulator. + The final result. + + + + Represents a serializer for enumerable values. + + The type of the value. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Adds the item. + + The accumulator. + The item. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The result. + + + + Represents a serializer for enumerable values. + + The type of the value. + The type of the items. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Adds the item. + + The accumulator. + The item. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The result. + + + + Represents a base serializer for enumerable values. + + The type of the value. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the item serializer. + + + The item serializer. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Adds the item. + + The accumulator. + The item. + + + + Creates the accumulator. + + The accumulator. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The final result. + + + + Represents a serializer for enumerable values. + + The type of the value. + The type of the items. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the item serializer. + + + The item serializer. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + The serialization info for the items. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Adds the item. + + The accumulator. + The item. + + + + Creates the accumulator. + + The accumulator. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The result. + + + + Serializer for . + + + The use of will serialize any without type information. + To get the best experience out of using an , any member wanting to be used + as an array should use . + + + + + Initializes a new instance of the class. + + + + + Configures the deserialization context. + + The builder. + + + + Configures the serialization context. + + The builder. + + + + Creates the document. + + + A . + + + + + Sets the value for the member. + + The document. + Name of the member. + The value. + + + + Tries to get the value for a member. Returns true if the member should be serialized. + + The value. + Name of the member. + The member value. + true if the member should be serialized; otherwise false. + + + + Represents a serializer for Guids. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Interfaces. + + The type of the interface. + The type of the implementation. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The implementation serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the dictionary representation. + + + The dictionary representation. + + + + + + Gets the key serializer. + + + The key serializer. + + + + + + Gets the implementation serializer. + + + The implementation serializer. + + + + + Gets the value serializer. + + + The value serializer. + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The document. + + + + Returns a serializer that has been reconfigured with the specified implementation serializer. + + The implementation serializer. + + The reconfigured serializer. + + + + + Represents a serializer for Int16s. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + The converter. + + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Int32. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + The converter. + + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Int64s. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + The converter. + + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for IPAddresses. + + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for IPEndPoints. + + + + + Initializes a new instance of the IPEndPointSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for KeyValuePairs. + + The type of the keys. + The type of the values. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The key serializer. + The value serializer. + + + + Initializes a new instance of the class. + + The representation. + The serializer registry. + + + + Gets the key serializer. + + + The key serializer. + + + + + Gets the representation. + + + The representation. + + + + + Gets the value serializer. + + + The value serializer. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + + + + Represents a serializer for LazyBsonArrays. + + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for LazyBsonDocuments. + + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for nullable values. + + The underlying type. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified serializer. + + The serializer. + + The reconfigured serializer. + + + + + Represents a serializer for ObjectIds. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for objects. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The discriminator convention. + discriminatorConvention + + + + Gets the standard instance. + + + The standard instance. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents an abstract base class for class serializers. + + The type of the value. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Deserializes a class. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the actual type. + + The context. + The actual type. + + + + Serializes a value of type {TValue}. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for enums. + + The type of the enum. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for one-dimensional arrays. + + The type of the elements. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Adds the item. + + The accumulator. + The item. + + + + Creates the accumulator. + + The accumulator. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The result. + + + + Represents a serializer for Queues. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Adds the item. + + The accumulator. + The item. + + + + Creates the accumulator. + + The accumulator. + + + + Enumerates the items. + + The value. + The items. + + + + Finalizes the result. + + The instance. + The result. + + + + Represents a serializer for Queues. + + The type of the elements. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Adds the item. + + The accumulator. + The item. + + + + Creates the accumulator. + + The accumulator. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The result. + + + + Represents a serializer for RawBsonArrays. + + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for RawBsonDocuments. + + + + + Initializes a new instance of the class. + + + + + Gets the instance. + + + The instance. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for readonly collection. + + The type of the item. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Creates the accumulator. + + The accumulator. + + + + Finalizes the result. + + The accumulator. + The final result. + + + + Represents a serializer for a subclass of ReadOnlyCollection. + + The type of the value. + The type of the item. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Creates the accumulator. + + The accumulator. + + + + Finalizes the result. + + The accumulator. + The final result. + + + + Represents a serializer for SBytes. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for a class that will be serialized as if it were one of its base classes. + + The actual type. + The nominal type. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The base class serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for Singles. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + The converter. + + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Stacks. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Adds the item. + + The accumulator. + The item. + + + + Creates the accumulator. + + The accumulator. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The result. + + + + Represents a serializer for Stacks. + + The type of the elements. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Adds the item. + + The accumulator. + The item. + + + + Creates the accumulator. + + The accumulator. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The result. + + + + Represents a serializer for Strings. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for three-dimensional arrays. + + The type of the elements. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the item serializer. + + + The item serializer. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Represents a serializer for Timespans. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The units. + + + + Gets the representation. + + + The representation. + + + + + Gets the units. + + + The units. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation and units. + + The representation. + The units. + + The reconfigured serializer. + + + + + Represents a serializer for a . + + The type of item 1. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the Item1 serializer. + + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a . + + The type of item 1. + The type of item 2. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + The Item2 serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the Item1 serializer. + + + + + Gets the Item2 serializer. + + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a . + + The type of item 1. + The type of item 2. + The type of item 3. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + The Item2 serializer. + The Item3 serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the Item1 serializer. + + + + + Gets the Item2 serializer. + + + + + Gets the Item3 serializer. + + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a . + + The type of item 1. + The type of item 2. + The type of item 3. + The type of item 4. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + The Item2 serializer. + The Item3 serializer. + The Item4 serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the Item1 serializer. + + + + + Gets the Item2 serializer. + + + + + Gets the Item3 serializer. + + + + + Gets the Item4 serializer. + + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a . + + The type of item 1. + The type of item 2. + The type of item 3. + The type of item 4. + The type of item 5. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + The Item2 serializer. + The Item3 serializer. + The Item4 serializer. + The Item5 serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the Item1 serializer. + + + + + Gets the Item2 serializer. + + + + + Gets the Item3 serializer. + + + + + Gets the Item4 serializer. + + + + + Gets the Item5 serializer. + + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a . + + The type of item 1. + The type of item 2. + The type of item 3. + The type of item 4. + The type of item 5. + The type of item 6. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + The Item2 serializer. + The Item3 serializer. + The Item4 serializer. + The Item5 serializer. + The Item6 serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the Item1 serializer. + + + + + Gets the Item2 serializer. + + + + + Gets the Item3 serializer. + + + + + Gets the Item4 serializer. + + + + + Gets the Item5 serializer. + + + + + Gets the Item6 serializer. + + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a . + + The type of item 1. + The type of item 2. + The type of item 3. + The type of item 4. + The type of item 5. + The type of item 6. + The type of item 7. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + The Item2 serializer. + The Item3 serializer. + The Item4 serializer. + The Item5 serializer. + The Item6 serializer. + The Item7 serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the Item1 serializer. + + + + + Gets the Item2 serializer. + + + + + Gets the Item3 serializer. + + + + + Gets the Item4 serializer. + + + + + Gets the Item5 serializer. + + + + + Gets the Item6 serializer. + + + + + Gets the Item7 serializer. + + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a . + + The type of item 1. + The type of item 2. + The type of item 3. + The type of item 4. + The type of item 5. + The type of item 6. + The type of item 7. + The type of the rest item. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + The Item2 serializer. + The Item3 serializer. + The Item4 serializer. + The Item5 serializer. + The Item6 serializer. + The Item7 serializer. + The Rest serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the Item1 serializer. + + + + + Gets the Item2 serializer. + + + + + Gets the Item3 serializer. + + + + + Gets the Item4 serializer. + + + + + Gets the Item5 serializer. + + + + + Gets the Item6 serializer. + + + + + Gets the Item7 serializer. + + + + + Gets the Rest serializer. + + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for two-dimensional arrays. + + The type of the elements. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the item serializer. + + + The item serializer. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Represents a serializer for UInt16s. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + The converter. + + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for UInt32s. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + The converter. + + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for UInt64s. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + The converter. + + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for interfaces and base classes that delegates to the actual type interface without writing a discriminator. + + Type type of the value. + + + + Initializes a new instance of the class. + + + + + Gets the instance. + + + The instance. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The document. + + + + Represents a serializer for Uris. + + + + + Initializes a new instance of the UriSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for Versions. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Extensions methods for IBsonSerializer. + + + + + Deserializes a value. + + The serializer. + The deserialization context. + A deserialized value. + + + + Deserializes a value. + + The type that this serializer knows how to serialize. + The serializer. + The deserialization context. + A deserialized value. + + + + Serializes a value. + + The serializer. + The serialization context. + The value. + + + + Serializes a value. + + The type that this serializer knows how to serialize. + The serializer. + The serialization context. + The value. + + + + Converts a value to a BsonValue by serializing it. + + The serializer. + The value. + The serialized value. + + + + Converts a value to a BsonValue by serializing it. + + The type of the value. + The serializer. + The value. + The serialized value. + + + + Represents a serializer for TClass (a subclass of BsonDocumentBackedClass). + + The subclass of BsonDocumentBackedClass. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Registers a member. + + The member name. + The element name. + The serializer. + + + + Creates the instance. + + The backing document. + An instance of TClass. + + + + Contract for serializers to implement if they serialize an array of items. + + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Contract for serializers that can get and set Id values. + + + + + Gets the document Id. + + The document. + The Id. + The nominal type of the Id. + The IdGenerator for the Id type. + True if the document has an Id. + + + + Sets the document Id. + + The document. + The Id. + + + + Contract for composite serializers that contain a number of named serializers. + + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + true if the serialization info exists; otherwise false. + + + + Represents the information needed to serialize a member. + + + + + Initializes a new instance of the BsonSerializationInfo class. + + The element name. + The serializer. + The nominal type. + + + + Gets or sets the dotted element name. + + + + + Gets or sets the serializer. + + + + + Gets or sets the nominal type. + + + + + Deserializes the value. + + The value. + A deserialized value. + + + + Merges the new BsonSerializationInfo by taking its properties and concatenating its ElementName. + + The new info. + A new BsonSerializationInfo. + + + + Serializes the value. + + The value. + The serialized value. + + + + Serializes the values. + + The values. + The serialized values. + + + + Creates a new BsonSerializationInfo object using the elementName provided and copying all other attributes. + + Name of the element. + A new BsonSerializationInfo. + + + + Represents a mapping between a class and a BSON document. + + + + + Initializes a new instance of the BsonClassMap class. + + The class type. + + + + Initializes a new instance of the class. + + Type of the class. + The base class map. + + + + Gets all the member maps (including maps for inherited members). + + + + + Gets the base class map. + + + + + Gets the class type. + + + + + Gets the constructor maps. + + + + + Gets the conventions used for auto mapping. + + + + + Gets the declared member maps (only for members declared in this class). + + + + + Gets the discriminator. + + + + + Gets whether a discriminator is required when serializing this class. + + + + + Gets the member map of the member used to hold extra elements. + + + + + Gets whether this class map has any creator maps. + + + + + Gets whether this class has a root class ancestor. + + + + + Gets the Id member map (null if none). + + + + + Gets whether extra elements should be ignored when deserializing. + + + + + Gets whether the IgnoreExtraElements value should be inherited by derived classes. + + + + + Gets whether this class is anonymous. + + + + + Gets whether the class map is frozen. + + + + + Gets whether this class is a root class. + + + + + Gets the known types of this class. + + + + + Gets the element name to member index trie. + + + + + Gets the member index of the member used to hold extra elements. + + + + + Gets the type of a member. + + The member info. + The type of the member. + + + + Gets all registered class maps. + + All registered class maps. + + + + Checks whether a class map is registered for a type. + + The type to check. + True if there is a class map registered for the type. + + + + Looks up a class map (will AutoMap the class if no class map is registered). + + The class type. + The class map. + + + + Creates and registers a class map. + + The class. + The class map. + + + + Creates and registers a class map. + + The class. + The class map initializer. + The class map. + + + + Registers a class map. + + The class map. + + + + Automaps the class. + + + + + Creates an instance of the class. + + An object. + + + + Freezes the class map. + + The frozen class map. + + + + Gets a member map (only considers members declared in this class). + + The member name. + The member map (or null if the member was not found). + + + + Gets the member map for a BSON element. + + The name of the element. + The member map. + + + + Creates a creator map for a constructor and adds it to the class map. + + The constructor info. + The creator map (so method calls can be chained). + + + + Creates a creator map for a constructor and adds it to the class map. + + The constructor info. + The argument names. + The creator map (so method calls can be chained). + + + + Creates a creator map and adds it to the class. + + The delegate. + The factory method map (so method calls can be chained). + + + + Creates a creator map and adds it to the class. + + The delegate. + The argument names. + The factory method map (so method calls can be chained). + + + + Creates a member map for the extra elements field and adds it to the class map. + + The name of the extra elements field. + The member map (so method calls can be chained). + + + + Creates a member map for the extra elements member and adds it to the class map. + + The member info for the extra elements member. + The member map (so method calls can be chained). + + + + Creates a member map for the extra elements property and adds it to the class map. + + The name of the property. + The member map (so method calls can be chained). + + + + Creates a creator map for a factory method and adds it to the class. + + The method info. + The creator map (so method calls can be chained). + + + + Creates a creator map for a factory method and adds it to the class. + + The method info. + The argument names. + The creator map (so method calls can be chained). + + + + Creates a member map for a field and adds it to the class map. + + The name of the field. + The member map (so method calls can be chained). + + + + Creates a member map for the Id field and adds it to the class map. + + The name of the Id field. + The member map (so method calls can be chained). + + + + Creates a member map for the Id member and adds it to the class map. + + The member info for the Id member. + The member map (so method calls can be chained). + + + + Creates a member map for the Id property and adds it to the class map. + + The name of the Id property. + The member map (so method calls can be chained). + + + + Creates a member map for a member and adds it to the class map. + + The member info. + The member map (so method calls can be chained). + + + + Creates a member map for a property and adds it to the class map. + + The name of the property. + The member map (so method calls can be chained). + + + + Resets the class map back to its initial state. + + + + + Sets the creator for the object. + + The creator. + The class map (so method calls can be chained). + + + + Sets the discriminator. + + The discriminator. + + + + Sets whether a discriminator is required when serializing this class. + + Whether a discriminator is required. + + + + Sets the member map of the member used to hold extra elements. + + The extra elements member map. + + + + Adds a known type to the class map. + + The known type. + + + + Sets the Id member. + + The Id member (null if none). + + + + Sets whether extra elements should be ignored when deserializing. + + Whether extra elements should be ignored when deserializing. + + + + Sets whether the IgnoreExtraElements value should be inherited by derived classes. + + Whether the IgnoreExtraElements value should be inherited by derived classes. + + + + Sets whether this class is a root class. + + Whether this class is a root class. + + + + Removes a creator map for a constructor from the class map. + + The constructor info. + + + + Removes a creator map for a factory method from the class map. + + The method info. + + + + Removes the member map for a field from the class map. + + The name of the field. + + + + Removes a member map from the class map. + + The member info. + + + + Removes the member map for a property from the class map. + + The name of the property. + + + + Gets the discriminator convention for the class. + + The discriminator convention for the class. + + + + Represents a mapping between a class and a BSON document. + + The class. + + + + Initializes a new instance of the BsonClassMap class. + + + + + Initializes a new instance of the BsonClassMap class. + + The class map initializer. + + + + Creates an instance. + + An instance. + + + + Gets a member map. + + The member type. + A lambda expression specifying the member. + The member map. + + + + Creates a creator map and adds it to the class map. + + Lambda expression specifying the creator code and parameters to use. + The member map. + + + + Creates a member map for the extra elements field and adds it to the class map. + + The member type. + A lambda expression specifying the extra elements field. + The member map. + + + + Creates a member map for the extra elements member and adds it to the class map. + + The member type. + A lambda expression specifying the extra elements member. + The member map. + + + + Creates a member map for the extra elements property and adds it to the class map. + + The member type. + A lambda expression specifying the extra elements property. + The member map. + + + + Creates a member map for a field and adds it to the class map. + + The member type. + A lambda expression specifying the field. + The member map. + + + + Creates a member map for the Id field and adds it to the class map. + + The member type. + A lambda expression specifying the Id field. + The member map. + + + + Creates a member map for the Id member and adds it to the class map. + + The member type. + A lambda expression specifying the Id member. + The member map. + + + + Creates a member map for the Id property and adds it to the class map. + + The member type. + A lambda expression specifying the Id property. + The member map. + + + + Creates a member map and adds it to the class map. + + The member type. + A lambda expression specifying the member. + The member map. + + + + Creates a member map for the Id property and adds it to the class map. + + The member type. + A lambda expression specifying the Id property. + The member map. + + + + Removes the member map for a field from the class map. + + The member type. + A lambda expression specifying the field. + + + + Removes a member map from the class map. + + The member type. + A lambda expression specifying the member. + + + + Removes a member map for a property from the class map. + + The member type. + A lambda expression specifying the property. + + + + Represents a serializer for a class map. + + The type of the class. + + + + Initializes a new instance of the BsonClassMapSerializer class. + + The class map. + + + + Gets a value indicating whether this serializer's discriminator is compatible with the object serializer. + + + true if this serializer's discriminator is compatible with the object serializer; otherwise, false. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Deserializes a value. + + The deserialization context. + A deserialized value. + + + + Gets the document Id. + + The document. + The Id. + The nominal type of the Id. + The IdGenerator for the Id type. + True if the document has an Id. + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Sets the document Id. + + The document. + The Id. + + + + Represents the mapping between a field or property and a BSON element. + + + + + Initializes a new instance of the BsonMemberMap class. + + The class map this member map belongs to. + The member info. + + + + Gets the class map that this member map belongs to. + + + + + Gets the name of the member. + + + + + Gets the type of the member. + + + + + Gets whether the member type is a BsonValue. + + + + + Gets the name of the element. + + + + + Gets the serialization order. + + + + + Gets the member info. + + + + + Gets the getter function. + + + + + Gets the setter function. + + + + + Gets the Id generator. + + + + + Gets whether a default value was specified. + + + + + Gets whether an element is required for this member when deserialized. + + + + + Gets the method that will be called to determine whether the member should be serialized. + + + + + Gets whether default values should be ignored when serialized. + + + + + Gets whether null values should be ignored when serialized. + + + + + Gets the default value. + + + + + Gets whether the member is readonly. + + + Readonly indicates that the member is written to the database, but not read from the database. + + + + + Applies the default value to the member of an object. + + The object. + + + + Freezes this instance. + + + + + Gets the serializer. + + The serializer. + + + + Resets the member map back to its initial state. + + The member map. + + + + Sets the default value creator. + + The default value creator (note: the supplied delegate must be thread safe). + The member map. + + + + Sets the default value. + + The default value. + The member map. + + + + Sets the name of the element. + + The name of the element. + The member map. + + + + Sets the Id generator. + + The Id generator. + The member map. + + + + Sets whether default values should be ignored when serialized. + + Whether default values should be ignored when serialized. + The member map. + + + + Sets whether null values should be ignored when serialized. + + Wether null values should be ignored when serialized. + The member map. + + + + Sets whether an element is required for this member when deserialized + + Whether an element is required for this member when deserialized + The member map. + + + + Sets the serialization order. + + The serialization order. + The member map. + + + + Sets the serializer. + + The serializer. + + The member map. + + serializer + serializer + + + + Sets the method that will be called to determine whether the member should be serialized. + + The method. + The member map. + + + + Determines whether a value should be serialized + + The object. + The value. + True if the value should be serialized. + + + + A static class that represents the BSON serialization functionality. + + + + + Gets the serializer registry. + + + + + Gets or sets whether to use the NullIdChecker on reference Id types that don't have an IdGenerator registered. + + + + + Gets or sets whether to use the ZeroIdChecker on value Id types that don't have an IdGenerator registered. + + + + + Deserializes an object from a BsonDocument. + + The nominal type of the object. + The BsonDocument. + The configurator. + A deserialized value. + + + + Deserializes a value. + + The nominal type of the object. + The BsonReader. + The configurator. + A deserialized value. + + + + Deserializes an object from a BSON byte array. + + The nominal type of the object. + The BSON byte array. + The configurator. + A deserialized value. + + + + Deserializes an object from a BSON Stream. + + The nominal type of the object. + The BSON Stream. + The configurator. + A deserialized value. + + + + Deserializes an object from a JSON string. + + The nominal type of the object. + The JSON string. + The configurator. + A deserialized value. + + + + Deserializes an object from a JSON TextReader. + + The nominal type of the object. + The JSON TextReader. + The configurator. + A deserialized value. + + + + Deserializes an object from a BsonDocument. + + The BsonDocument. + The nominal type of the object. + The configurator. + A deserialized value. + + + + Deserializes a value. + + The BsonReader. + The nominal type of the object. + The configurator. + A deserialized value. + + + + Deserializes an object from a BSON byte array. + + The BSON byte array. + The nominal type of the object. + The configurator. + A deserialized value. + + + + Deserializes an object from a BSON Stream. + + The BSON Stream. + The nominal type of the object. + The configurator. + A deserialized value. + + + + Deserializes an object from a JSON string. + + The JSON string. + The nominal type of the object. + The configurator. + A deserialized value. + + + + Deserializes an object from a JSON TextReader. + + The JSON TextReader. + The nominal type of the object. + The configurator. + A deserialized value. + + + + Returns whether the given type has any discriminators registered for any of its subclasses. + + A Type. + True if the type is discriminated. + + + + Looks up the actual type of an object to be deserialized. + + The nominal type of the object. + The discriminator. + The actual type of the object. + + + + Looks up the discriminator convention for a type. + + The type. + A discriminator convention. + + + + Looks up an IdGenerator. + + The Id type. + An IdGenerator for the Id type. + + + + Looks up a serializer for a Type. + + The type. + A serializer for type T. + + + + Looks up a serializer for a Type. + + The Type. + A serializer for the Type. + + + + Registers the discriminator for a type. + + The type. + The discriminator. + + + + Registers the discriminator convention for a type. + + Type type. + The discriminator convention. + + + + Registers a generic serializer definition for a generic type. + + The generic type. + The generic serializer definition. + + + + Registers an IdGenerator for an Id Type. + + The Id Type. + The IdGenerator for the Id Type. + + + + Registers a serialization provider. + + The serialization provider. + + + + Registers a serializer for a type. + + The type. + The serializer. + + + + Registers a serializer for a type. + + The type. + The serializer. + + + + Serializes a value. + + The nominal type of the object. + The BsonWriter. + The object. + The serialization context configurator. + The serialization args. + + + + Serializes a value. + + The BsonWriter. + The nominal type of the object. + The object. + The serialization context configurator. + The serialization args. + + + + An interface implemented by Id generators. + + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + An interface implemented by a serializer. + + + + + Gets the type of the value. + + + The type of the value. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + An interface implemented by a serializer for values of type TValue. + + The type that this serializer knows how to serialize. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + An interface implemented by serialization providers. + + + + + Gets a serializer for a type. + + The type. + A serializer. + + + + An interface implemented by serialization providers that are aware of registries. + + + This interface was added to preserve backward compatability (changing IBsonSerializationProvider would have been a backward breaking change). + + + + + Gets a serializer for a type. + + The type. + The serializer registry. + + A serializer. + + + + + Represents a serialization provider based on a mapping from value types to serializer types. + + + + + Initializes a new instance of the class. + + + + + + + + Registers the serializer mapping. + + The type. + Type of the serializer. + + + + Supports using type names as discriminators. + + + + + Resolves a type name discriminator. + + The type name. + The type if type type name can be resolved; otherwise, null. + + + + Gets a type name to be used as a discriminator (like AssemblyQualifiedName but shortened for common DLLs). + + The type. + The type name. + + + + Represents a truncation exception. + + + + + Initializes a new instance of the TruncationException class. + + + + + Initializes a new instance of the TruncationException class. + + The error message. + + + + Initializes a new instance of the TruncationException class. + + The error message. + The inner exception. + + + + Initializes a new instance of the TruncationException class (this overload used by deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Represents the BSON undefined value. + + + + + Compares two BsonUndefined values. + + The first BsonUndefined. + The other BsonUndefined. + True if the two BsonUndefined values are not equal according to ==. + + + + Compares two BsonUndefined values. + + The first BsonUndefined. + The other BsonUndefined. + True if the two BsonUndefined values are equal according to ==. + + + + Gets the singleton instance of BsonUndefined. + + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonUndefined to another BsonUndefined. + + The other BsonUndefined. + A 32-bit signed integer that indicates whether this BsonUndefined is less than, equal to, or greather than the other. + + + + Compares the BsonUndefined to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonUndefined is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonUndefined to another BsonUndefined. + + The other BsonUndefined. + True if the two BsonUndefined values are equal. + + + + Compares this BsonUndefined to another object. + + The other object. + True if the other object is a BsonUndefined and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents a BSON internal exception (almost surely the result of a bug). + + + + + Initializes a new instance of the BsonInternalException class. + + + + + Initializes a new instance of the BsonInternalException class. + + The error message. + + + + Initializes a new instance of the BsonInternalException class. + + The error message. + The inner exception. + + + + Initializes a new instance of the BsonInternalException class (this overload used by deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Represents a BSON serialization exception. + + + + + Initializes a new instance of the BsonSerializationException class. + + + + + Initializes a new instance of the BsonSerializationException class. + + The error message. + + + + Initializes a new instance of the BsonSerializationException class. + + The error message. + The inner exception. + + + + Initializes a new instance of the BsonSerializationException class (this overload used by deserialization). + + The SerializationInfo. + The StreamingContext. + + + + An interface implemented by objects that convert themselves to a BsonDocument. + + + + + Converts this object to a BsonDocument. + + A BsonDocument. + + + + Represents a BSON array. + + + + + Initializes a new instance of the BsonArray class. + + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + The initial capacity of the array. + + + + Compares two BsonArray values. + + The first BsonArray. + The other BsonArray. + True if the two BsonArray values are not equal according to ==. + + + + Compares two BsonArray values. + + The first BsonArray. + The other BsonArray. + True if the two BsonArray values are equal according to ==. + + + + Gets the BsonType of this BsonValue. + + + + + Gets or sets the total number of elements the internal data structure can hold without resizing. + + + + + Gets the count of array elements. + + + + + Gets whether the array is read-only. + + + + + Gets the array elements as raw values (see BsonValue.RawValue). + + + + + Gets the array elements. + + + + + Gets or sets a value by position. + + The position. + The value. + + + + Creates a new BsonArray. + + A value to be mapped to a BsonArray. + A BsonArray or null. + + + + Adds an element to the array. + + The value to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Creates a shallow clone of the array (see also DeepClone). + + A shallow clone of the array. + + + + Clears the array. + + + + + Compares the array to another array. + + The other array. + A 32-bit signed integer that indicates whether this array is less than, equal to, or greather than the other. + + + + Compares the array to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this array is less than, equal to, or greather than the other BsonValue. + + + + Tests whether the array contains a value. + + The value to test for. + True if the array contains the value. + + + + Copies elements from this array to another array. + + The other array. + The zero based index of the other array at which to start copying. + + + + Copies elements from this array to another array as raw values (see BsonValue.RawValue). + + The other array. + The zero based index of the other array at which to start copying. + + + + Creates a deep clone of the array (see also Clone). + + A deep clone of the array. + + + + Compares this array to another array. + + The other array. + True if the two arrays are equal. + + + + Compares this BsonArray to another object. + + The other object. + True if the other object is a BsonArray and equal to this one. + + + + Gets an enumerator that can enumerate the elements of the array. + + An enumerator. + + + + Gets the hash code. + + The hash code. + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index of the value (or -1 if not found). + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index at which to start the search. + The zero based index of the value (or -1 if not found). + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index at which to start the search. + The number of elements to search. + The zero based index of the value (or -1 if not found). + + + + Inserts a new value into the array. + + The zero based index at which to insert the new value. + The new value. + + + + Removes the first occurrence of a value from the array. + + The value to remove. + True if the value was removed. + + + + Removes an element from the array. + + The zero based index of the element to remove. + + + + Converts the BsonArray to an array of BsonValues. + + An array of BsonValues. + + + + Converts the BsonArray to a list of BsonValues. + + A list of BsonValues. + + + + Returns a string representation of the array. + + A string representation of the array. + + + + A static helper class containing BSON defaults. + + + + + Gets or sets the dynamic array serializer. + + + + + Gets or sets the dynamic document serializer. + + + + + Gets or sets the default representation to be used in serialization of + Guids to the database. + + + + + + Gets or sets the default max document size. The default is 4MiB. + + + + + Gets or sets the default max serialization depth (used to detect circular references during serialization). The default is 100. + + + + + Represents a BSON boolean value. + + + + + Initializes a new instance of the BsonBoolean class. + + The value. + + + + Gets the instance of BsonBoolean that represents false. + + + + + Gets the instance of BsonBoolean that represents true. + + + + + Gets the BsonType of this BsonValue. + + + + + Gets the BsonBoolean as a bool. + + + + + Gets the value of this BsonBoolean. + + + + + Converts a bool to a BsonBoolean. + + A bool. + A BsonBoolean. + + + + Compares two BsonBoolean values. + + The first BsonBoolean. + The other BsonBoolean. + True if the two BsonBoolean values are not equal according to ==. + + + + Compares two BsonBoolean values. + + The first BsonBoolean. + The other BsonBoolean. + True if the two BsonBoolean values are equal according to ==. + + + + Returns one of the two possible BsonBoolean values. + + An object to be mapped to a BsonBoolean. + A BsonBoolean or null. + + + + Compares this BsonBoolean to another BsonBoolean. + + The other BsonBoolean. + A 32-bit signed integer that indicates whether this BsonBoolean is less than, equal to, or greather than the other. + + + + Compares the BsonBoolean to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonBoolean is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonBoolean to another BsonBoolean. + + The other BsonBoolean. + True if the two BsonBoolean values are equal. + + + + Compares this BsonBoolean to another object. + + The other object. + True if the other object is a BsonBoolean and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents a BSON DateTime value. + + + + + Initializes a new instance of the BsonDateTime class. + + A DateTime. + + + + Initializes a new instance of the BsonDateTime class. + + Milliseconds since Unix Epoch. + + + + Gets the BsonType of this BsonValue. + + + + + Gets whether this BsonDateTime is a valid .NET DateTime. + + + + + Gets the number of milliseconds since the Unix Epoch. + + + + + Gets the number of milliseconds since the Unix Epoch. + + + + + Gets the DateTime value. + + + + + Converts a DateTime to a BsonDateTime. + + A DateTime. + A BsonDateTime. + + + + Compares two BsonDateTime values. + + The first BsonDateTime. + The other BsonDateTime. + True if the two BsonDateTime values are not equal according to ==. + + + + Compares two BsonDateTime values. + + The first BsonDateTime. + The other BsonDateTime. + True if the two BsonDateTime values are equal according to ==. + + + + Creates a new BsonDateTime. + + An object to be mapped to a BsonDateTime. + A BsonDateTime or null. + + + + Compares this BsonDateTime to another BsonDateTime. + + The other BsonDateTime. + A 32-bit signed integer that indicates whether this BsonDateTime is less than, equal to, or greather than the other. + + + + Compares the BsonDateTime to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonDateTime is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonDateTime to another BsonDateTime. + + The other BsonDateTime. + True if the two BsonDateTime values are equal. + + + + Compares this BsonDateTime to another object. + + The other object. + True if the other object is a BsonDateTime and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Converts this BsonValue to a DateTime in local time. + + A DateTime. + + + + Converts this BsonValue to a DateTime? in local time. + + A DateTime?. + + + + Converts this BsonValue to a DateTime? in UTC. + + A DateTime?. + + + + Converts this BsonValue to a DateTime in UTC. + + A DateTime. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + + + + + + + Represents a BsonDocument wrapper. + + + + + Initializes a new instance of the class. + + The value. + + + + Initializes a new instance of the class. + + The value. + The serializer. + + + + Gets the serializer. + + + The serializer. + + + + + Gets the wrapped value. + + + + + Creates a new instance of the BsonDocumentWrapper class. + + The nominal type of the wrapped object. + The wrapped object. + A BsonDocumentWrapper. + + + + Creates a new instance of the BsonDocumentWrapper class. + + The nominal type of the wrapped object. + The wrapped object. + A BsonDocumentWrapper. + + + + Creates a list of new instances of the BsonDocumentWrapper class. + + The nominal type of the wrapped objects. + A list of wrapped objects. + A list of BsonDocumentWrappers. + + + + Creates a list of new instances of the BsonDocumentWrapper class. + + The nominal type of the wrapped object. + A list of wrapped objects. + A list of BsonDocumentWrappers. + + + + Creates a shallow clone of the document (see also DeepClone). + + + A shallow clone of the document. + + + + + Materializes the BsonDocument. + + The materialized elements. + + + + Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state. + + + + + Represents a BSON long value. + + + + + Initializes a new instance of the BsonInt64 class. + + The value. + + + + Gets the BsonType of this BsonValue. + + + + + Gets the BsonInt64 as a long. + + + + + Gets the value of this BsonInt64. + + + + + Converts a long to a BsonInt64. + + A long. + A BsonInt64. + + + + Compares two BsonInt64 values. + + The first BsonInt64. + The other BsonInt64. + True if the two BsonInt64 values are not equal according to ==. + + + + Compares two BsonInt64 values. + + The first BsonInt64. + The other BsonInt64. + True if the two BsonInt64 values are equal according to ==. + + + + Creates a new BsonInt64. + + An object to be mapped to a BsonInt64. + A BsonInt64 or null. + + + + Compares this BsonInt64 to another BsonInt64. + + The other BsonInt64. + A 32-bit signed integer that indicates whether this BsonInt64 is less than, equal to, or greather than the other. + + + + Compares the BsonInt64 to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonInt64 is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonInt64 to another BsonInt64. + + The other BsonInt64. + True if the two BsonInt64 values are equal. + + + + Compares this BsonInt64 to another object. + + The other object. + True if the other object is a BsonInt64 and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + + + + + + + Converts this BsonValue to a Double. + + A Double. + + + + Converts this BsonValue to an Int32. + + An Int32. + + + + Converts this BsonValue to an Int64. + + An Int32. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Compares this BsonInt32 against another BsonValue. + + The other BsonValue. + True if this BsonInt64 and the other BsonValue are equal according to ==. + + + + Represents the BSON Null value. + + + + + Compares two BsonNull values. + + The first BsonNull. + The other BsonNull. + True if the two BsonNull values are not equal according to ==. + + + + Compares two BsonNull values. + + The first BsonNull. + The other BsonNull. + True if the two BsonNull values are equal according to ==. + + + + Gets the singleton instance of BsonNull. + + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonNull to another BsonNull. + + The other BsonNull. + A 32-bit signed integer that indicates whether this BsonNull is less than, equal to, or greather than the other. + + + + Compares the BsonNull to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonNull is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonNull to another BsonNull. + + The other BsonNull. + True if the two BsonNull values are equal. + + + + Compares this BsonNull to another object. + + The other object. + True if the other object is a BsonNull and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + Converts this BsonValue to a DateTime? in local time. + + A DateTime?. + + + + Converts this BsonValue to a DateTime? in UTC. + + A DateTime?. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents BSON binary data. + + + + + Initializes a new instance of the BsonBinaryData class. + + The binary data. + + + + Initializes a new instance of the BsonBinaryData class. + + The binary data. + The binary data subtype. + + + + Initializes a new instance of the BsonBinaryData class. + + The binary data. + The binary data subtype. + The representation for Guids. + + + + Initializes a new instance of the BsonBinaryData class. + + A Guid. + + + + Initializes a new instance of the BsonBinaryData class. + + A Guid. + The representation for Guids. + + + + Gets the BsonType of this BsonValue. + + + + + Gets the binary data. + + + + + Gets the representation to use when representing the Guid as BSON binary data. + + + + + Gets the BsonBinaryData as a Guid if the subtype is UuidStandard or UuidLegacy, otherwise null. + + + + + Gets the binary data subtype. + + + + + Converts a byte array to a BsonBinaryData. + + A byte array. + A BsonBinaryData. + + + + Converts a Guid to a BsonBinaryData. + + A Guid. + A BsonBinaryData. + + + + Compares two BsonBinaryData values. + + The first BsonBinaryData. + The other BsonBinaryData. + True if the two BsonBinaryData values are not equal according to ==. + + + + Compares two BsonBinaryData values. + + The first BsonBinaryData. + The other BsonBinaryData. + True if the two BsonBinaryData values are equal according to ==. + + + + Creates a new BsonBinaryData. + + An object to be mapped to a BsonBinaryData. + A BsonBinaryData or null. + + + + Compares this BsonBinaryData to another BsonBinaryData. + + The other BsonBinaryData. + A 32-bit signed integer that indicates whether this BsonBinaryData is less than, equal to, or greather than the other. + + + + Compares the BsonBinaryData to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonBinaryData is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonBinaryData to another BsonBinaryData. + + The other BsonBinaryData. + True if the two BsonBinaryData values are equal. + + + + Compares this BsonBinaryData to another object. + + The other object. + True if the other object is a BsonBinaryData and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Converts this BsonBinaryData to a Guid. + + A Guid. + + + + Converts this BsonBinaryData to a Guid. + + The representation for Guids. + A Guid. + + + + Returns a string representation of the binary data. + + A string representation of the binary data. + + + + Represents a BSON JavaScript value with a scope. + + + + + Initializes a new instance of the BsonJavaScriptWithScope class. + + The JavaScript code. + A scope (a set of variables with values). + + + + Compares two BsonJavaScriptWithScope values. + + The first BsonJavaScriptWithScope. + The other BsonJavaScriptWithScope. + True if the two BsonJavaScriptWithScope values are not equal according to ==. + + + + Compares two BsonJavaScriptWithScope values. + + The first BsonJavaScriptWithScope. + The other BsonJavaScriptWithScope. + True if the two BsonJavaScriptWithScope values are equal according to ==. + + + + Gets the BsonType of this BsonValue. + + + + + Gets the scope (a set of variables with values). + + + + + Creates a new BsonJavaScriptWithScope. + + An object to be mapped to a BsonJavaScriptWithScope. + A BsonJavaScriptWithScope or null. + + + + Creates a shallow clone of the BsonJavaScriptWithScope (see also DeepClone). + + A shallow clone of the BsonJavaScriptWithScope. + + + + Creates a deep clone of the BsonJavaScriptWithScope (see also Clone). + + A deep clone of the BsonJavaScriptWithScope. + + + + Compares this BsonJavaScriptWithScope to another BsonJavaScriptWithScope. + + The other BsonJavaScriptWithScope. + A 32-bit signed integer that indicates whether this BsonJavaScriptWithScope is less than, equal to, or greather than the other. + + + + Compares the BsonJavaScriptWithScope to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonJavaScriptWithScope is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonJavaScriptWithScope to another BsonJavaScriptWithScope. + + The other BsonJavaScriptWithScope. + True if the two BsonJavaScriptWithScope values are equal. + + + + Compares this BsonJavaScriptWithScope to another object. + + The other object. + True if the other object is a BsonJavaScriptWithScope and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents an ObjectId (see also BsonObjectId). + + + + + Initializes a new instance of the ObjectId class. + + The bytes. + + + + Initializes a new instance of the ObjectId class. + + The bytes. + The index into the byte array where the ObjectId starts. + + + + Initializes a new instance of the ObjectId class. + + The timestamp (expressed as a DateTime). + The machine hash. + The PID. + The increment. + + + + Initializes a new instance of the ObjectId class. + + The timestamp. + The machine hash. + The PID. + The increment. + + + + Initializes a new instance of the ObjectId class. + + The value. + + + + Gets an instance of ObjectId where the value is empty. + + + + + Gets the timestamp. + + + + + Gets the machine. + + + + + Gets the PID. + + + + + Gets the increment. + + + + + Gets the creation time (derived from the timestamp). + + + + + Compares two ObjectIds. + + The first ObjectId. + The other ObjectId + True if the first ObjectId is less than the second ObjectId. + + + + Compares two ObjectIds. + + The first ObjectId. + The other ObjectId + True if the first ObjectId is less than or equal to the second ObjectId. + + + + Compares two ObjectIds. + + The first ObjectId. + The other ObjectId. + True if the two ObjectIds are equal. + + + + Compares two ObjectIds. + + The first ObjectId. + The other ObjectId. + True if the two ObjectIds are not equal. + + + + Compares two ObjectIds. + + The first ObjectId. + The other ObjectId + True if the first ObjectId is greather than or equal to the second ObjectId. + + + + Compares two ObjectIds. + + The first ObjectId. + The other ObjectId + True if the first ObjectId is greather than the second ObjectId. + + + + Generates a new ObjectId with a unique value. + + An ObjectId. + + + + Generates a new ObjectId with a unique value (with the timestamp component based on a given DateTime). + + The timestamp component (expressed as a DateTime). + An ObjectId. + + + + Generates a new ObjectId with a unique value (with the given timestamp). + + The timestamp component. + An ObjectId. + + + + Packs the components of an ObjectId into a byte array. + + The timestamp. + The machine hash. + The PID. + The increment. + A byte array. + + + + Parses a string and creates a new ObjectId. + + The string value. + A ObjectId. + + + + Tries to parse a string and create a new ObjectId. + + The string value. + The new ObjectId. + True if the string was parsed successfully. + + + + Unpacks a byte array into the components of an ObjectId. + + A byte array. + The timestamp. + The machine hash. + The PID. + The increment. + + + + Gets the current process id. This method exists because of how CAS operates on the call stack, checking + for permissions before executing the method. Hence, if we inlined this call, the calling method would not execute + before throwing an exception requiring the try/catch at an even higher level that we don't necessarily control. + + + + + Compares this ObjectId to another ObjectId. + + The other ObjectId. + A 32-bit signed integer that indicates whether this ObjectId is less than, equal to, or greather than the other. + + + + Compares this ObjectId to another ObjectId. + + The other ObjectId. + True if the two ObjectIds are equal. + + + + Compares this ObjectId to another object. + + The other object. + True if the other object is an ObjectId and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Converts the ObjectId to a byte array. + + A byte array. + + + + Converts the ObjectId to a byte array. + + The destination. + The offset. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + A static class that maps between .NET objects and BsonValues. + + + + + Maps an object to an instance of the closest BsonValue class. + + An object. + A BsonValue. + + + + Maps an object to a specific BsonValue type. + + An object. + The BsonType to map to. + A BsonValue of the desired type (or BsonNull.Value if value is null and bsonType is Null). + + + + Maps a BsonValue to a .NET value using the default BsonTypeMapperOptions. + + The BsonValue. + The mapped .NET value. + + + + Maps a BsonValue to a .NET value. + + The BsonValue. + The BsonTypeMapperOptions. + The mapped .NET value. + + + + Registers a custom type mapper. + + The type. + A custom type mapper. + + + + Tries to map an object to an instance of the closest BsonValue class. + + An object. + The BsonValue. + True if the mapping was successfull. + + + + Compares this Mapping to another object. + + The other object. + True if the other object is a Mapping and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + A static class containing BSON utility methods. + + + + + Gets a friendly class name suitable for use in error messages. + + The type. + A friendly class name. + + + + Parses a hex string into its equivalent byte array. + + The hex string to parse. + The byte equivalent of the hex string. + + + + Converts from number of milliseconds since Unix epoch to DateTime. + + The number of milliseconds since Unix epoch. + A DateTime. + + + + Converts a value to a hex character. + + The value (assumed to be between 0 and 15). + The hex character. + + + + Converts a byte array to a hex string. + + The byte array. + A hex string. + + + + Converts a DateTime to local time (with special handling for MinValue and MaxValue). + + A DateTime. + The DateTime in local time. + + + + Converts a DateTime to number of milliseconds since Unix epoch. + + A DateTime. + Number of seconds since Unix epoch. + + + + Converts a DateTime to UTC (with special handling for MinValue and MaxValue). + + A DateTime. + The DateTime in UTC. + + + + Tries to parse a hex string to a byte array. + + The hex string. + A byte array. + True if the hex string was successfully parsed. + + + + Represents a BSON double value. + + + + + + Initializes a new instance of the BsonDouble class. + + The value. + + + + + + + + + + Gets the value of this BsonDouble. + + + + + Converts a double to a BsonDouble. + + A double. + A BsonDouble. + + + + Compares two BsonDouble values. + + The first BsonDouble. + The other BsonDouble. + True if the two BsonDouble values are not equal according to ==. + + + + Compares two BsonDouble values. + + The first BsonDouble. + The other BsonDouble. + True if the two BsonDouble values are equal according to ==. + + + + Creates a new instance of the BsonDouble class. + + An object to be mapped to a BsonDouble. + A BsonDouble. + + + + Compares this BsonDouble to another BsonDouble. + + The other BsonDouble. + A 32-bit signed integer that indicates whether this BsonDouble is less than, equal to, or greather than the other. + + + + + + + Compares this BsonDouble to another BsonDouble. + + The other BsonDouble. + True if the two BsonDouble values are equal. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents a BSON int value. + + + + + Creates a new instance of the BsonInt32 class. + + The value. + + + + Gets an instance of BsonInt32 that represents -1. + + + + + Gets an instance of BsonInt32 that represents -0. + + + + + Gets an instance of BsonInt32 that represents 1. + + + + + Gets an instance of BsonInt32 that represents 2. + + + + + Gets an instance of BsonInt32 that represents 3. + + + + + Gets the BsonType of this BsonValue. + + + + + Gets the BsonInt32 as an int. + + + + + Gets the value of this BsonInt32. + + + + + Converts an int to a BsonInt32. + + An int. + A BsonInt32. + + + + Compares two BsonInt32 values. + + The first BsonInt32. + The other BsonInt32. + True if the two BsonInt32 values are not equal according to ==. + + + + Compares two BsonInt32 values. + + The first BsonInt32. + The other BsonInt32. + True if the two BsonInt32 values are equal according to ==. + + + + Creates a new BsonInt32. + + An object to be mapped to a BsonInt32. + A BsonInt32 or null. + + + + Compares this BsonInt32 to another BsonInt32. + + The other BsonInt32. + A 32-bit signed integer that indicates whether this BsonInt32 is less than, equal to, or greather than the other. + + + + Compares the BsonInt32 to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonInt32 is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonInt32 to another BsonInt32. + + The other BsonInt32. + True if the two BsonInt32 values are equal. + + + + Compares this BsonInt32 to another object. + + The other object. + True if the other object is a BsonInt32 and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + + + + + + + Converts this BsonValue to a Double. + + A Double. + + + + Converts this BsonValue to an Int32. + + An Int32. + + + + Converts this BsonValue to an Int64. + + An Int32. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Compares this BsonInt32 against another BsonValue. + + The other BsonValue. + True if this BsonInt32 and the other BsonValue are equal according to ==. + + + + Represents a BSON string value. + + + + + Initializes a new instance of the BsonString class. + + The value. + + + + Gets an instance of BsonString that represents an empty string. + + + + + Gets the BsonType of this BsonValue. + + + + + Gets the BsonString as a string. + + + + + Gets the value of this BsonString. + + + + + Converts a string to a BsonString. + + A string. + A BsonString. + + + + Compares two BsonString values. + + The first BsonString. + The other BsonString. + True if the two BsonString values are not equal according to ==. + + + + Compares two BsonString values. + + The first BsonString. + The other BsonString. + True if the two BsonString values are equal according to ==. + + + + Creates a new BsonString. + + An object to be mapped to a BsonString. + A BsonString or null. + + + + Compares this BsonString to another BsonString. + + The other BsonString. + A 32-bit signed integer that indicates whether this BsonString is less than, equal to, or greather than the other. + + + + Compares the BsonString to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonString is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonString to another BsonString. + + The other BsonString. + True if the two BsonString values are equal. + + + + Compares this BsonString to another object. + + The other object. + True if the other object is a BsonString and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + + + + + + + Converts this BsonValue to a Double. + + A Double. + + + + Converts this BsonValue to an Int32. + + An Int32. + + + + Converts this BsonValue to an Int64. + + An Int32. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents a BSON value (this is an abstract class, see the various subclasses). + + + + + Casts the BsonValue to a Boolean (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonArray (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonBinaryData (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonDateTime (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonDocument (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonJavaScript (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonJavaScriptWithScope (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonMaxKey (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonMinKey (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonNull (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonRegularExpression (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonSymbol (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonTimestamp (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonUndefined (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonValue (a way of upcasting subclasses of BsonValue to BsonValue at compile time). + + + + + Casts the BsonValue to a Byte[] (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a DateTime in UTC (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Double (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Guid (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to an Int32 (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a DateTime in the local timezone (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Int64 (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{Boolean} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{DateTime} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{Decimal} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{Decimal128} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{Double} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{Guid} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{Int32} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{Int64} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{ObjectId} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to an ObjectId (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Regex (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a String (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a DateTime in UTC (throws an InvalidCastException if the cast is not valid). + + + + + Gets the BsonType of this BsonValue. + + + + + Tests whether this BsonValue is a Boolean. + + + + + Tests whether this BsonValue is a BsonArray. + + + + + Tests whether this BsonValue is a BsonBinaryData. + + + + + Tests whether this BsonValue is a BsonDateTime. + + + + + Tests whether this BsonValue is a BsonDocument. + + + + + Tests whether this BsonValue is a BsonJavaScript. + + + + + Tests whether this BsonValue is a BsonJavaScriptWithScope. + + + + + Tests whether this BsonValue is a BsonMaxKey. + + + + + Tests whether this BsonValue is a BsonMinKey. + + + + + Tests whether this BsonValue is a BsonNull. + + + + + Tests whether this BsonValue is a BsonRegularExpression. + + + + + Tests whether this BsonValue is a BsonSymbol . + + + + + Tests whether this BsonValue is a BsonTimestamp. + + + + + Tests whether this BsonValue is a BsonUndefined. + + + + + Tests whether this BsonValue is a DateTime. + + + + + Tests whether this BsonValue is a Decimal128. + + + + + Tests whether this BsonValue is a Double. + + + + + Tests whether this BsonValue is a Guid. + + + + + Tests whether this BsonValue is an Int32. + + + + + Tests whether this BsonValue is an Int64. + + + + + Tests whether this BsonValue is a numeric value. + + + + + Tests whether this BsonValue is an ObjectId . + + + + + Tests whether this BsonValue is a String. + + + + + Tests whether this BsonValue is a valid DateTime. + + + + + Gets the raw value of this BsonValue (or null if this BsonValue doesn't have a single scalar value). + + + + + Casts a BsonValue to a bool. + + The BsonValue. + A bool. + + + + Casts a BsonValue to a bool?. + + The BsonValue. + A bool?. + + + + Converts a bool to a BsonValue. + + A bool. + A BsonValue. + + + + Converts a bool? to a BsonValue. + + A bool?. + A BsonValue. + + + + Converts a byte[] to a BsonValue. + + A byte[]. + A BsonValue. + + + + Converts a DateTime to a BsonValue. + + A DateTime. + A BsonValue. + + + + Converts a DateTime? to a BsonValue. + + A DateTime?. + A BsonValue. + + + + Converts a decimal to a BsonValue. + + A decimal. + A BsonValue. + + + + Converts a decimal? to a BsonValue. + + A decimal?. + A BsonValue. + + + + Converts a to a BsonValue. + + A Decimal128. + A BsonValue. + + + + Converts a nullable to a BsonValue. + + A Decimal128?. + A BsonValue. + + + + Converts a double to a BsonValue. + + A double. + A BsonValue. + + + + Converts a double? to a BsonValue. + + A double?. + A BsonValue. + + + + Converts an Enum to a BsonValue. + + An Enum. + A BsonValue. + + + + Converts a Guid to a BsonValue. + + A Guid. + A BsonValue. + + + + Converts a Guid? to a BsonValue. + + A Guid?. + A BsonValue. + + + + Converts an int to a BsonValue. + + An int. + A BsonValue. + + + + Converts an int? to a BsonValue. + + An int?. + A BsonValue. + + + + Converts a long to a BsonValue. + + A long. + A BsonValue. + + + + Converts a long? to a BsonValue. + + A long?. + A BsonValue. + + + + Converts an ObjectId to a BsonValue. + + An ObjectId. + A BsonValue. + + + + Converts an ObjectId? to a BsonValue. + + An ObjectId?. + A BsonValue. + + + + Converts a Regex to a BsonValue. + + A Regex. + A BsonValue. + + + + Converts a string to a BsonValue. + + A string. + A BsonValue. + + + + Casts a BsonValue to a byte[]. + + The BsonValue. + A byte[]. + + + + Casts a BsonValue to a DateTime. + + The BsonValue. + A DateTime. + + + + Casts a BsonValue to a DateTime?. + + The BsonValue. + A DateTime?. + + + + Casts a BsonValue to a decimal. + + The BsonValue. + A decimal. + + + + Casts a BsonValue to a decimal?. + + The BsonValue. + A decimal?. + + + + Casts a BsonValue to a . + + The BsonValue. + A . + + + + Casts a BsonValue to a nullable ?. + + The BsonValue. + A nullable . + + + + Casts a BsonValue to a double. + + The BsonValue. + A double. + + + + Casts a BsonValue to a double?. + + The BsonValue. + A double?. + + + + Casts a BsonValue to a Guid. + + The BsonValue. + A Guid. + + + + Casts a BsonValue to a Guid?. + + The BsonValue. + A Guid?. + + + + Casts a BsonValue to an int. + + The BsonValue. + An int. + + + + Casts a BsonValue to an int?. + + The BsonValue. + An int?. + + + + Casts a BsonValue to a long. + + The BsonValue. + A long. + + + + Casts a BsonValue to a long?. + + The BsonValue. + A long?. + + + + Casts a BsonValue to an ObjectId. + + The BsonValue. + An ObjectId. + + + + Casts a BsonValue to an ObjectId?. + + The BsonValue. + An ObjectId?. + + + + Casts a BsonValue to a Regex. + + The BsonValue. + A Regex. + + + + Casts a BsonValue to a string. + + The BsonValue. + A string. + + + + Compares two BsonValues. + + The first BsonValue. + The other BsonValue. + True if the first BsonValue is less than the other one. + + + + Compares two BsonValues. + + The first BsonValue. + The other BsonValue. + True if the first BsonValue is less than or equal to the other one. + + + + Compares two BsonValues. + + The first BsonValue. + The other BsonValue. + True if the two BsonValues are not equal according to ==. + + + + Compares two BsonValues. + + The first BsonValue. + The other BsonValue. + True if the two BsonValues are equal according to ==. + + + + Compares two BsonValues. + + The first BsonValue. + The other BsonValue. + True if the first BsonValue is greater than the other one. + + + + Compares two BsonValues. + + The first BsonValue. + The other BsonValue. + True if the first BsonValue is greater than or equal to the other one. + + + + Gets or sets a value by position (only applies to BsonDocument and BsonArray). + + The position. + The value. + + + + Gets or sets a value by name (only applies to BsonDocument). + + The name. + The value. + + + + Creates a new instance of the BsonValue class. + + A value to be mapped to a BsonValue. + A BsonValue. + + + + Creates a shallow clone of the BsonValue (see also DeepClone). + + A shallow clone of the BsonValue. + + + + Compares this BsonValue to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonValue is less than, equal to, or greather than the other BsonValue. + + + + Compares the type of this BsonValue to the type of another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether the type of this BsonValue is less than, equal to, or greather than the type of the other BsonValue. + + + + Creates a deep clone of the BsonValue (see also Clone). + + A deep clone of the BsonValue. + + + + Compares this BsonValue to another BsonValue. + + The other BsonValue. + True if the two BsonValue values are equal. + + + + Compares this BsonValue to another object. + + The other object. + True if the other object is a BsonValue and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + Converts this BsonValue to a Decimal. + + A Decimal. + + + + Converts this BsonValue to a Decimal128. + + A Decimal128. + + + + Converts this BsonValue to a Double. + + A Double. + + + + Converts this BsonValue to an Int32. + + An Int32. + + + + Converts this BsonValue to an Int64. + + An Int64. + + + + Converts this BsonValue to a DateTime in local time. + + A DateTime. + + + + Converts this BsonValue to a DateTime? in local time. + + A DateTime?. + + + + Converts this BsonValue to a DateTime? in UTC. + + A DateTime?. + + + + Converts this BsonValue to a DateTime in UTC. + + A DateTime. + + + + Implementation of the IConvertible GetTypeCode method. + + The TypeCode. + + + + Implementation of the IConvertible ToBoolean method. + + The format provider. + A bool. + + + + Implementation of the IConvertible ToByte method. + + The format provider. + A byte. + + + + Implementation of the IConvertible ToChar method. + + The format provider. + A char. + + + + Implementation of the IConvertible ToDateTime method. + + The format provider. + A DateTime. + + + + Implementation of the IConvertible ToDecimal method. + + The format provider. + A decimal. + + + + Implementation of the IConvertible ToDouble method. + + The format provider. + A double. + + + + Implementation of the IConvertible ToInt16 method. + + The format provider. + A short. + + + + Implementation of the IConvertible ToInt32 method. + + The format provider. + An int. + + + + Implementation of the IConvertible ToInt64 method. + + The format provider. + A long. + + + + Implementation of the IConvertible ToSByte method. + + The format provider. + An sbyte. + + + + Implementation of the IConvertible ToSingle method. + + The format provider. + A float. + + + + Implementation of the IConvertible ToString method. + + The format provider. + A string. + + + + Implementation of the IConvertible ToUInt16 method. + + The format provider. + A ushort. + + + + Implementation of the IConvertible ToUInt32 method. + + The format provider. + A uint. + + + + Implementation of the IConvertible ToUInt64 method. + + The format provider. + A ulong. + + + + Implementation of operator ==. + + The other BsonValue. + True if the two BsonValues are equal according to ==. + + + + Represents a BSON JavaScript value. + + + + + Initializes a new instance of the BsonJavaScript class. + + The JavaScript code. + + + + Gets the BsonType of this BsonValue. + + + + + Gets the JavaScript code. + + + + + Compares two BsonJavaScript values. + + The first BsonJavaScript. + The other BsonJavaScript. + True if the two BsonJavaScript values are not equal according to ==. + + + + Compares two BsonJavaScript values. + + The first BsonJavaScript. + The other BsonJavaScript. + True if the two BsonJavaScript values are equal according to ==. + + + + Converts a string to a BsonJavaScript. + + A string. + A BsonJavaScript. + + + + Creates a new BsonJavaScript. + + An object to be mapped to a BsonJavaScript. + A BsonJavaScript or null. + + + + Compares this BsonJavaScript to another BsonJavaScript. + + The other BsonJavaScript. + A 32-bit signed integer that indicates whether this BsonJavaScript is less than, equal to, or greather than the other. + + + + Compares the BsonJavaScript to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonJavaScript is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonJavaScript to another BsonJavaScript. + + The other BsonJavaScript. + True if the two BsonJavaScript values are equal. + + + + Compares this BsonJavaScript to another object. + + The other object. + True if the other object is a BsonJavaScript and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents a BSON timestamp value. + + + + + Initializes a new instance of the BsonTimestamp class. + + The combined timestamp/increment value. + + + + Initializes a new instance of the BsonTimestamp class. + + The timestamp. + The increment. + + + + Compares two BsonTimestamp values. + + The first BsonTimestamp. + The other BsonTimestamp. + True if the two BsonTimestamp values are not equal according to ==. + + + + Compares two BsonTimestamp values. + + The first BsonTimestamp. + The other BsonTimestamp. + True if the two BsonTimestamp values are equal according to ==. + + + + Gets the BsonType of this BsonValue. + + + + + Gets the value of this BsonTimestamp. + + + + + Gets the increment. + + + + + Gets the timestamp. + + + + + Creates a new BsonTimestamp. + + An object to be mapped to a BsonTimestamp. + A BsonTimestamp or null. + + + + Compares this BsonTimestamp to another BsonTimestamp. + + The other BsonTimestamp. + A 32-bit signed integer that indicates whether this BsonTimestamp is less than, equal to, or greather than the other. + + + + Compares the BsonTimestamp to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonTimestamp is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonTimestamp to another BsonTimestamp. + + The other BsonTimestamp. + True if the two BsonTimestamp values are equal. + + + + Compares this BsonTimestamp to another object. + + The other object. + True if the other object is a BsonTimestamp and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + A static class containing BSON constants. + + + + + Gets the number of milliseconds since the Unix epoch for DateTime.MaxValue. + + + + + Gets the number of milliseconds since the Unix epoch for DateTime.MinValue. + + + + + Gets the Unix Epoch for BSON DateTimes (1970-01-01). + + + + + Represents the binary data subtype of a BsonBinaryData. + + + + + Binary data. + + + + + A function. + + + + + Obsolete binary data subtype (use Binary instead). + + + + + A UUID in a driver dependent legacy byte order. + + + + + A UUID in standard network byte order. + + + + + An MD5 hash. + + + + + User defined binary data. + + + + + Represents the type of a BSON element. + + + + + Not a real BSON type. Used to signal the end of a document. + + + + + A BSON double. + + + + + A BSON string. + + + + + A BSON document. + + + + + A BSON array. + + + + + BSON binary data. + + + + + A BSON undefined value. + + + + + A BSON ObjectId. + + + + + A BSON bool. + + + + + A BSON DateTime. + + + + + A BSON null value. + + + + + A BSON regular expression. + + + + + BSON JavaScript code. + + + + + A BSON symbol. + + + + + BSON JavaScript code with a scope (a set of variables with values). + + + + + A BSON 32-bit integer. + + + + + A BSON timestamp. + + + + + A BSON 64-bit integer. + + + + + A BSON 128-bit decimal. + + + + + A BSON MinKey value. + + + + + A BSON MaxKey value. + + + + + Represents a BSON exception. + + + + + Initializes a new instance of the BsonException class. + + + + + Initializes a new instance of the BsonException class. + + The error message. + + + + Initializes a new instance of the BsonException class. + + The error message. + The inner exception. + + + + Initializes a new instance of the BsonException class. + + The error message format string. + One or more args for the error message. + + + + Initializes a new instance of the BsonException class (this overload used by deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Represents the symbol table of BsonSymbols. + + + + + Looks up a symbol (and creates a new one if necessary). + + The name of the symbol. + The symbol. + + + + Represents a BSON document. + + + + + Initializes a new instance of the BsonDocument class. + + + + + Initializes a new instance of the BsonDocument class specifying whether duplicate element names are allowed + (allowing duplicate element names is not recommended). + + Whether duplicate element names are allowed. + + + + Initializes a new instance of the BsonDocument class and adds one element. + + An element to add to the document. + + + + Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs. + + A dictionary to initialize the document from. + + + + Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs. + + A dictionary to initialize the document from. + A list of keys to select values from the dictionary. + + + + Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs. + + A dictionary to initialize the document from. + + + + Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs. + + A dictionary to initialize the document from. + A list of keys to select values from the dictionary. + + + + Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs. + + A dictionary to initialize the document from. + + + + Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs. + + A dictionary to initialize the document from. + A list of keys to select values from the dictionary. + + + + Initializes a new instance of the BsonDocument class and adds new elements from a list of elements. + + A list of elements to add to the document. + + + + Initializes a new instance of the BsonDocument class and adds one or more elements. + + One or more elements to add to the document. + + + + Initializes a new instance of the BsonDocument class and creates and adds a new element. + + The name of the element to add to the document. + The value of the element to add to the document. + + + + Compares two BsonDocument values. + + The first BsonDocument. + The other BsonDocument. + True if the two BsonDocument values are not equal according to ==. + + + + Compares two BsonDocument values. + + The first BsonDocument. + The other BsonDocument. + True if the two BsonDocument values are equal according to ==. + + + + Gets or sets whether to allow duplicate names (allowing duplicate names is not recommended). + + + + + Gets the BsonType of this BsonValue. + + + + + Gets the number of elements. + + + + + Gets the elements. + + + + + Gets the element names. + + + + + Gets the raw values (see BsonValue.RawValue). + + + + + Gets the values. + + + + + Gets or sets a value by position. + + The position. + The value. + + + + Gets the value of an element or a default value if the element is not found. + + The name of the element. + The default value to return if the element is not found. + Teh value of the element or a default value if the element is not found. + + + + Gets or sets a value by name. + + The name. + The value. + + + + Creates a new BsonDocument by mapping an object to a BsonDocument. + + The object to be mapped to a BsonDocument. + A BsonDocument. + + + + Parses a JSON string and returns a BsonDocument. + + The JSON string. + A BsonDocument. + + + + Tries to parse a JSON string and returns a value indicating whether it succeeded or failed. + + The JSON string. + The result. + Whether it succeeded or failed. + + + + Adds an element to the document. + + The element to add. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds a list of elements to the document. + + The list of elements. + The document (so method calls can be chained). + + + + Adds a list of elements to the document. + + The list of elements. + The document (so method calls can be chained). + + + + Creates and adds an element to the document. + + The name of the element. + The value of the element. + The document (so method calls can be chained). + + + + Creates and adds an element to the document, but only if the condition is true. + + The name of the element. + The value of the element. + Whether to add the element to the document. + The document (so method calls can be chained). + + + + Creates and adds an element to the document, but only if the condition is true. + If the condition is false the value factory is not called at all. + + The name of the element. + A delegate called to compute the value of the element if condition is true. + Whether to add the element to the document. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds a list of elements to the document. + + The list of elements. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Clears the document (removes all elements). + + + + + Creates a shallow clone of the document (see also DeepClone). + + A shallow clone of the document. + + + + Compares this document to another document. + + The other document. + A 32-bit signed integer that indicates whether this document is less than, equal to, or greather than the other. + + + + Compares the BsonDocument to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonDocument is less than, equal to, or greather than the other BsonValue. + + + + Tests whether the document contains an element with the specified name. + + The name of the element to look for. + True if the document contains an element with the specified name. + + + + Tests whether the document contains an element with the specified value. + + The value of the element to look for. + True if the document contains an element with the specified value. + + + + Creates a deep clone of the document (see also Clone). + + A deep clone of the document. + + + + Compares this document to another document. + + The other document. + True if the two documents are equal. + + + + Compares this BsonDocument to another object. + + The other object. + True if the other object is a BsonDocument and equal to this one. + + + + Gets an element of this document. + + The zero based index of the element. + The element. + + + + Gets an element of this document. + + The name of the element. + A BsonElement. + + + + Gets an enumerator that can be used to enumerate the elements of this document. + + An enumerator. + + + + Gets the hash code. + + The hash code. + + + + Gets the value of an element. + + The zero based index of the element. + The value of the element. + + + + Gets the value of an element. + + The name of the element. + The value of the element. + + + + Gets the value of an element or a default value if the element is not found. + + The name of the element. + The default value returned if the element is not found. + The value of the element or the default value if the element is not found. + + + + Gets the index of an element. + + The name of the element. + The index of the element, or -1 if the element is not found. + + + + Inserts a new element at a specified position. + + The position of the new element. + The element. + + + + Merges another document into this one. Existing elements are not overwritten. + + The other document. + The document (so method calls can be chained). + + + + Merges another document into this one, specifying whether existing elements are overwritten. + + The other document. + Whether to overwrite existing elements. + The document (so method calls can be chained). + + + + Removes an element from this document (if duplicate element names are allowed + then all elements with this name will be removed). + + The name of the element to remove. + + + + Removes an element from this document. + + The zero based index of the element to remove. + + + + Removes an element from this document. + + The element to remove. + + + + Sets the value of an element. + + The zero based index of the element whose value is to be set. + The new value. + The document (so method calls can be chained). + + + + Sets the value of an element (an element will be added if no element with this name is found). + + The name of the element whose value is to be set. + The new value. + The document (so method calls can be chained). + + + + Sets an element of the document (replacing the existing element at that position). + + The zero based index of the element to replace. + The new element. + The document. + + + + Sets an element of the document (replaces any existing element with the same name or adds a new element if an element with the same name is not found). + + The new element. + The document. + + + + Converts the BsonDocument to a Dictionary<string, object>. + + A dictionary. + + + + Converts the BsonDocument to a Hashtable. + + A hashtable. + + + + Returns a string representation of the document. + + A string representation of the document. + + + + Tries to get an element of this document. + + The name of the element. + The element. + True if an element with that name was found. + + + + Tries to get the value of an element of this document. + + The name of the element. + The value of the element. + True if an element with that name was found. + + + + Represents a BSON element. + + + + + Initializes a new instance of the BsonElement class. + + The name of the element. + The value of the element. + + + + Gets the name of the element. + + + + + Gets or sets the value of the element. + + + + + Compares two BsonElements. + + The first BsonElement. + The other BsonElement. + True if the two BsonElements are equal (or both null). + + + + Compares two BsonElements. + + The first BsonElement. + The other BsonElement. + True if the two BsonElements are not equal (or one is null and the other is not). + + + + Creates a shallow clone of the element (see also DeepClone). + + A shallow clone of the element. + + + + Creates a deep clone of the element (see also Clone). + + A deep clone of the element. + + + + Compares this BsonElement to another BsonElement. + + The other BsonElement. + A 32-bit signed integer that indicates whether this BsonElement is less than, equal to, or greather than the other. + + + + Compares this BsonElement to another BsonElement. + + The other BsonElement. + True if the two BsonElement values are equal. + + + + Compares this BsonElement to another object. + + The other object. + True if the other object is a BsonElement and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents a BSON ObjectId value (see also ObjectId). + + + + + Initializes a new instance of the BsonObjectId class. + + The value. + + + + Initializes a new instance of the BsonObjectId class. + + The bytes. + + + + Initializes a new instance of the BsonObjectId class. + + The timestamp (expressed as a DateTime). + The machine hash. + The PID. + The increment. + + + + Initializes a new instance of the BsonObjectId class. + + The timestamp. + The machine hash. + The PID. + The increment. + + + + Initializes a new instance of the BsonObjectId class. + + The value. + + + + Gets an instance of BsonObjectId where the value is empty. + + + + + Gets the BsonType of this BsonValue. + + + + + Gets the timestamp. + + + + + Gets the machine. + + + + + Gets the PID. + + + + + Gets the increment. + + + + + Gets the creation time (derived from the timestamp). + + + + + Gets the BsonObjectId as an ObjectId. + + + + + Gets the value of this BsonObjectId. + + + + + Converts an ObjectId to a BsonObjectId. + + An ObjectId. + A BsonObjectId. + + + + Compares two BsonObjectId values. + + The first BsonObjectId. + The other BsonObjectId. + True if the two BsonObjectId values are not equal according to ==. + + + + Compares two BsonObjectId values. + + The first BsonObjectId. + The other BsonObjectId. + True if the two BsonObjectId values are equal according to ==. + + + + Creates a new BsonObjectId. + + An object to be mapped to a BsonObjectId. + A BsonObjectId or null. + + + + Generates a new BsonObjectId with a unique value. + + A BsonObjectId. + + + + Generates a new BsonObjectId with a unique value (with the timestamp component based on a given DateTime). + + The timestamp component (expressed as a DateTime). + A BsonObjectId. + + + + Generates a new BsonObjectId with a unique value (with the given timestamp). + + The timestamp component. + A BsonObjectId. + + + + Parses a string and creates a new BsonObjectId. + + The string value. + A BsonObjectId. + + + + Tries to parse a string and create a new BsonObjectId. + + The string value. + The new BsonObjectId. + True if the string was parsed successfully. + + + + Compares this BsonObjectId to another BsonObjectId. + + The other BsonObjectId. + A 32-bit signed integer that indicates whether this BsonObjectId is less than, equal to, or greather than the other. + + + + Compares the BsonObjectId to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonObjectId is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonObjectId to another BsonObjectId. + + The other BsonObjectId. + True if the two BsonObjectId values are equal. + + + + Compares this BsonObjectId to another object. + + The other object. + True if the other object is a BsonObjectId and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Converts the BsonObjectId to a byte array. + + A byte array. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + + + + Represents a BSON regular expression value. + + + + + Initializes a new instance of the BsonRegularExpression class. + + A regular expression pattern. + + + + Initializes a new instance of the BsonRegularExpression class. + + A regular expression pattern. + Regular expression options. + + + + Initializes a new instance of the BsonRegularExpression class. + + A Regex. + + + + Gets the BsonType of this BsonValue. + + + + + Gets the regular expression pattern. + + + + + Gets the regular expression options. + + + + + Converts a Regex to a BsonRegularExpression. + + A Regex. + A BsonRegularExpression. + + + + Converts a string to a BsonRegularExpression. + + A string. + A BsonRegularExpression. + + + + Compares two BsonRegularExpression values. + + The first BsonRegularExpression. + The other BsonRegularExpression. + True if the two BsonRegularExpression values are not equal according to ==. + + + + Compares two BsonRegularExpression values. + + The first BsonRegularExpression. + The other BsonRegularExpression. + True if the two BsonRegularExpression values are equal according to ==. + + + + Creates a new BsonRegularExpression. + + An object to be mapped to a BsonRegularExpression. + A BsonRegularExpression or null. + + + + Compares this BsonRegularExpression to another BsonRegularExpression. + + The other BsonRegularExpression. + A 32-bit signed integer that indicates whether this BsonRegularExpression is less than, equal to, or greather than the other. + + + + Compares the BsonRegularExpression to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonRegularExpression is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonRegularExpression to another BsonRegularExpression. + + The other BsonRegularExpression. + True if the two BsonRegularExpression values are equal. + + + + Compares this BsonRegularExpression to another object. + + The other object. + True if the other object is a BsonRegularExpression and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Converts the BsonRegularExpression to a Regex. + + A Regex. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents a BSON symbol value. + + + + + Gets the BsonType of this BsonValue. + + + + + Gets the name of the symbol. + + + + + Converts a string to a BsonSymbol. + + A string. + A BsonSymbol. + + + + Compares two BsonSymbol values. + + The first BsonSymbol. + The other BsonSymbol. + True if the two BsonSymbol values are not equal according to ==. + + + + Compares two BsonSymbol values. + + The first BsonSymbol. + The other BsonSymbol. + True if the two BsonSymbol values are equal according to ==. + + + + Creates a new BsonSymbol. + + An object to be mapped to a BsonSymbol. + A BsonSymbol or null. + + + + Compares this BsonSymbol to another BsonSymbol. + + The other BsonSymbol. + A 32-bit signed integer that indicates whether this BsonSymbol is less than, equal to, or greather than the other. + + + + Compares the BsonSymbol to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonSymbol is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonSymbol to another BsonSymbol. + + The other BsonSymbol. + True if the two BsonSymbol values are equal. + + + + Compares this BsonSymbol to another object. + + The other object. + True if the other object is a BsonSymbol and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents the BSON MaxKey value. + + + + + Compares two BsonMaxKey values. + + The first BsonMaxKey. + The other BsonMaxKey. + True if the two BsonMaxKey values are not equal according to ==. + + + + Compares two BsonMaxKey values. + + The first BsonMaxKey. + The other BsonMaxKey. + True if the two BsonMaxKey values are equal according to ==. + + + + Gets the singleton instance of BsonMaxKey. + + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonMaxKey to another BsonMaxKey. + + The other BsonMaxKey. + A 32-bit signed integer that indicates whether this BsonMaxKey is less than, equal to, or greather than the other. + + + + Compares the BsonMaxKey to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonMaxKey is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonMaxKey to another BsonMaxKey. + + The other BsonMaxKey. + True if the two BsonMaxKey values are equal. + + + + Compares this BsonMaxKey to another object. + + The other object. + True if the other object is a BsonMaxKey and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents the BSON MinKey value. + + + + + Compares two BsonMinKey values. + + The first BsonMinKey. + The other BsonMinKey. + True if the two BsonMinKey values are not equal according to ==. + + + + Compares two BsonMinKey values. + + The first BsonMinKey. + The other BsonMinKey. + True if the two BsonMinKey values are equal according to ==. + + + + Gets the singleton instance of BsonMinKey. + + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonMinKey to another BsonMinKey. + + The other BsonMinKey. + A 32-bit signed integer that indicates whether this BsonMinKey is less than, equal to, or greather than the other. + + + + Compares the BsonMinKey to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonMinKey is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonMinKey to another BsonMinKey. + + The other BsonMinKey. + True if the two BsonMinKey values are equal. + + + + Compares this BsonMinKey to another object. + + The other object. + True if the other object is a BsonMinKey and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Returns a string representation of the value. + + A string representation of the value. + + + diff --git a/IntegrationTests/bin/Debug/MongoDB.Driver.Core.dll b/IntegrationTests/bin/Debug/MongoDB.Driver.Core.dll new file mode 100644 index 0000000..130e275 Binary files /dev/null and b/IntegrationTests/bin/Debug/MongoDB.Driver.Core.dll differ diff --git a/IntegrationTests/bin/Debug/MongoDB.Driver.Core.xml b/IntegrationTests/bin/Debug/MongoDB.Driver.Core.xml new file mode 100644 index 0000000..bd1df5e --- /dev/null +++ b/IntegrationTests/bin/Debug/MongoDB.Driver.Core.xml @@ -0,0 +1,14414 @@ + + + + MongoDB.Driver.Core + + + + + Controls whether spaces and punctuation are considered base characters. + + + + + Spaces and punctuation are considered base characters (the default). + + + + + Spaces and characters are not considered base characters, and are only distinguised at strength > 3. + + + + + Uppercase or lowercase first. + + + + + Off (the default). + + + + + Uppercase first. + + + + + Lowercase first. + + + + + Controls which characters are affected by alternate: "Shifted". + + + + + Punctuation and spaces are affected (the default). + + + + + Only spaces. + + + + + Prioritizes the comparison properties. + + + + + Primary. + + + + + Secondary. + + + + + Tertiary (the default). + + + + + Quaternary. + + + + + Identical. + + + + + Represents a MongoDB collation. + + + + + Gets the simple binary compare collation. + + + + + Creates a Collation instance from a BsonDocument. + + The document. + A Collation instance. + + + + Initializes a new instance of the class. + + The locale. + The case level. + The case that is ordered first. + The strength. + Whether numbers are ordered numerically. + The alternate. + The maximum variable. + The normalization. + Whether secondary differences are to be considered in reverse order. + + + + Gets whether spaces and punctuation are considered base characters. + + + + + Gets whether secondary differencs are to be considered in reverse order. + + + + + Gets whether upper case or lower case is ordered first. + + + + + Gets whether the collation is case sensitive at strength 1 and 2. + + + + + Gets the locale. + + + + + Gets which characters are affected by the alternate: "Shifted". + + + + + Gets the normalization. + + + + + Gets whether numbers are ordered numerically. + + + + + Gets the strength. + + + + + Indicates whether the current object is equal to another object of the same type. + + An object to compare with this object. + + true if the current object is equal to the parameter; otherwise, false. + + + + + + + + + + + + + + + + + Creates a new Collation instance with some properties changed. + + The new locale. + The new case level. + The new case first. + The new strength. + The new numeric ordering. + The new alternate. + The new maximum variable. + The new normalization. + The new backwards. + A new Collation instance. + + + + The default authenticator (uses SCRAM-SHA1 if possible, falls back to MONGODB-CR otherwise). + + + + + Initializes a new instance of the class. + + The credential. + + + + + + + + + + + + + A GSSAPI SASL authenticator. + + + + + Gets the name of the canonicalize host name property. + + + The name of the canonicalize host name property. + + + + + Gets the default service name. + + + The default service name. + + + + + Gets the name of the mechanism. + + + The name of the mechanism. + + + + + Gets the name of the realm property. + + + The name of the realm property. + + + + + Gets the name of the service name property. + + + The name of the service name property. + + + + + Gets the name of the service realm property. + + + The name of the service realm property. + + + + + Initializes a new instance of the class. + + The credential. + The properties. + + + + Initializes a new instance of the class. + + The username. + The properties. + + + + + + + SEC_WINNT_AUTH_IDENTITY + + + + + Flag for the AuthIdentity structure. + + + + + SEC_WINNT_AUTH_IDENTITY_ANSI + + + + + SEC_WINNT_AUTH_IDENTITY_UNICODE + + + + + Flags for InitiateSecurityContext. + + + See the TargetDataRep parameter at + http://msdn.microsoft.com/en-us/library/windows/desktop/aa375507(v=vs.85).aspx + + + + + SECURITY_NETWORK_DREP + + + + + SECURITY_NATIVE_DREP + + + + + Flags for EncryptMessage. + + + See the fQOP parameter at + http://msdn.microsoft.com/en-us/library/windows/desktop/aa375378(v=vs.85).aspx. + + + + + SECQOP_WRAP_NO_ENCRYPT + + + + + Creates an exception for the specified error code. + + The error code. + The default message. + + + + + Acquires the credentials handle. + + The principal. + The package. + The credential usage. + The logon id. + The identity. + The key callback. + The key argument. + The credential handle. + The timestamp. + A result code. + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa374712(v=vs.85).aspx + + + + + Acquires the credentials handle. + + The principal. + The package. + The credential usage. + The logon id. + The identity. + The key callback. + The key argument. + The credential handle. + The timestamp. + A result code. + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa374712(v=vs.85).aspx + + + + + Deletes the security context. + + The context. + A result code. + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa375354(v=vs.85).aspx + + + + + Decrypts the message. + + The context. + The p message. + The sequence number. + The quality. + A result code. + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa375211(v=vs.85).aspx + + + + + Encrypts the message. + + The context. + The quality. + The p message. + The sequence number. + A result code. + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa375378(v=vs.85).aspx + + + + + Enumerates the security packages. + + The pc packages. + The pp package information. + A result code. + + http://msdn.microsoft.com/en-us/library/aa375397%28v=VS.85%29.aspx + + + + + Frees the context buffer. + + The context buffer. + A result code. + + http://msdn.microsoft.com/en-us/library/aa375416(v=vs.85).aspx + + + + + Frees the credentials handle. + + The sspi handle. + A result code. + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa375417(v=vs.85).aspx + + + + + Initializes the security context. + + The credential handle. + The in context PTR. + Name of the target. + The flags. + The reserved1. + The data representation. + The input buffer. + The reserved2. + The out context handle. + The output buffer. + The out attributes. + The timestamp. + A result code. + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa375506(v=vs.85).aspx + + + + + Initializes the security context. + + The credential handle. + The in context handle. + Name of the target. + The flags. + The reserved1. + The data representation. + The input buffer. + The reserved2. + The out context. + The output buffer. + The out attributes. + The timestamp. + A result code. + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa375506(v=vs.85).aspx + + + + + Queries the context attributes. + + The in context handle. + The attribute. + The sizes. + A result code. + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa379326(v=vs.85).aspx + + + + + Flags for QueryContextAttributes. + + + See the ulAttribute parameter at + http://msdn.microsoft.com/en-us/library/windows/desktop/aa379326(v=vs.85).aspx. + + + + + SECPKG_ATTR_SIZES + + + + + A SecBuffer structure. + + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa379814(v=vs.85).aspx + + + + + A SecBufferDesc structure. + + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa379815(v=vs.85).aspx + + + + + To the byte array. + + + Object has already been disposed!!! + + + + Types for the SecurityBuffer structure. + + + + + SECBUFFER_VERSION + + + + + SECBUFFER_EMPTY + + + + + SECBUFFER_DATA + + + + + SECBUFFER_TOKEN + + + + + SECBUFFER_PADDING + + + + + SECBUFFER_STREAM + + + + + A wrapper around the SspiHandle structure specifically used as a security context handle. + + + + + A wrapper around the SspiHandle structure specifically used as a credential handle. + + + + + When overridden in a derived class, executes the code required to free the handle. + + + true if the handle is released successfully; otherwise, in the event of a catastrophic failure, false. In this case, it generates a releaseHandleFailed MDA Managed Debugging Assistant. + + + + + Flags for AcquireCredentialsHandle. + + + See the fCredentialUse at http://msdn.microsoft.com/en-us/library/windows/desktop/aa374712(v=vs.85).aspx. + + + + + SECPKG_CRED_OUTBOUND + + + + + A SecPkgContext_Sizes structure. + + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa380097(v=vs.85).aspx + + + + + A SecPkgInfo structure. + + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa380104(v=vs.85).aspx + + + + + Flags for InitiateSecurityContext. + + + See the fContextReq parameter at + http://msdn.microsoft.com/en-us/library/windows/desktop/aa375507(v=vs.85).aspx + + + + + ISC_REQ_MUTUAL_AUTH + + + + + ISC_REQ_CONFIDENTIALITY + + + + + ISC_REQ_INTEGRITY + + + + + A SecHandle structure. + + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa380495(v=vs.85).aspx + + + + + Gets a value indicating whether this instance is zero. + + + true if this instance is zero; otherwise, false. + + + + + Sets to invalid. + + + + + This is represented as a string in AcquireCredentialsHandle. This value will have .ToString() called on it. + + + + + Kerberos + + + + + Thrown from a win32 wrapped operation. + + + + + Initializes a new instance of the class. + + The error code. + + + + Initializes a new instance of the class. + + The error code. + The message. + + + + Initializes a new instance of the class. + + The info. + The context. + + + + A MongoDB-X509 authenticator. + + + + + Gets the name of the mechanism. + + + The name of the mechanism. + + + + + Initializes a new instance of the class. + + The username. + + + + + + + + + + + + + A PLAIN SASL authenticator. + + + + + Gets the name of the mechanism. + + + The name of the mechanism. + + + + + Initializes a new instance of the class. + + The credential. + + + + + + + Base class for a SASL authenticator. + + + + + Initializes a new instance of the class. + + The mechanism. + + + + + + + Gets the name of the database. + + + The name of the database. + + + + + + + + + + + Represents a SASL conversation. + + + + + Initializes a new instance of the class. + + The connection identifier. + + + + Gets the connection identifier. + + + The connection identifier. + + + + + + + + Registers the item for disposal. + + The disposable item. + + + + Represents a SASL mechanism. + + + + + Gets the name of the mechanism. + + + The name. + + + + + Initializes the mechanism. + + The connection. + The connection description. + The initial SASL step. + + + + Represents a SASL step. + + + + + Gets the bytes to send to server. + + + The bytes to send to server. + + + + + Gets a value indicating whether this instance is complete. + + + true if this instance is complete; otherwise, false. + + + + + Transitions the SASL conversation to the next step. + + The SASL conversation. + The bytes received from server. + The next SASL step. + + + + Represents a completed SASL step. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The bytes to send to server. + + + + + + + + + + + + + A SCRAM-SHA1 SASL authenticator. + + + + + Gets the name of the mechanism. + + + The name of the mechanism. + + + + + Initializes a new instance of the class. + + The credential. + + + + + + + Represents a username/password credential. + + + + + Initializes a new instance of the class. + + The source. + The username. + The password. + + + + Initializes a new instance of the class. + + The source. + The username. + The password. + + + + Gets the password. + + + The password. + + + + + Gets the source. + + + The source. + + + + + Gets the username. + + + The username. + + + + + Gets the password (converts the password from a SecureString to a regular string). + + The password. + + + + Represents a connection authenticator. + + + + + Gets the name of the authenticator. + + + The name. + + + + + Authenticates the connection. + + The connection. + The connection description. + The cancellation token. + + + + Authenticates the connection. + + The connection. + The connection description. + The cancellation token. + A Task. + + + + A MONGODB-CR authenticator. + + + + + Gets the name of the mechanism. + + + The name of the mechanism. + + + + + Initializes a new instance of the class. + + The credential. + + + + + + + + + + + + + Represents a read binding that is bound to a channel. + + + + + Initializes a new instance of the class. + + The server. + The channel. + The read preference. + + + + + + + + + + + + + + + + Represents a read-write binding that is bound to a channel. + + + + + Initializes a new instance of the class. + + The server. + The channel. + + + + + + + + + + + + + + + + + + + + + + Represents a read-write binding to a channel source. + + + + + Initializes a new instance of the class. + + The channel source. + The read preference. + + + + + + + + + + + + + + + + + + + + + + Represents a handle to a read-write binding. + + + + + Initializes a new instance of the class. + + The write binding. + + + + + + + + + + + + + + + + + + + + + + + + + Represents a handle to a read binding. + + + + + Initializes a new instance of the class. + + The read binding. + + + + + + + + + + + + + + + + + + + Represents a read binding to a single server; + + + + + Initializes a new instance of the class. + + The server. + The read preference. + + + + + + + + + + + + + + + + Represents a read/write binding to a single server. + + + + + Initializes a new instance of the class. + + The server. + + + + + + + + + + + + + + + + + + + + + + Represents a split read-write binding, where the reads use one binding and the writes use another. + + + + + Initializes a new instance of the class. + + The read binding. + The write binding. + + + + Initializes a new instance of the class. + + The cluster. + The read preference. + + + + + + + + + + + + + + + + + + + + + + Represents a channel source. + + + + + Gets the server. + + + The server. + + + + + Gets the server description. + + + The server description. + + + + + Gets a channel. + + The cancellation token. + A channel. + + + + Gets a channel. + + The cancellation token. + A Task whose result is a channel. + + + + Represents a handle to a channel source. + + + + + Returns a new handle to the underlying channel source. + + A handle to a channel source. + + + + Represents a channel (similar to a connection but operates at the level of protocols rather than messages). + + + + + Gets the connection description. + + + The connection description. + + + + + Executes a Command protocol. + + The type of the result. + The database namespace. + The command. + The command validator. + The response handling. + if set to true sets the SlaveOk bit to true in the command message sent to the server. + The result serializer. + The message encoder settings. + The cancellation token. + The result of the Command protocol. + + + + Executes a Command protocol. + + The type of the result. + The database namespace. + The command. + The command validator. + The response handling. + if set to true sets the SlaveOk bit to true in the command message sent to the server. + The result serializer. + The message encoder settings. + The cancellation token. + A Task whose result is the result of the Command protocol. + + + + Executes a Delete protocol. + + The collection namespace. + The query. + if set to true all matching documents are deleted. + The message encoder settings. + The write concern. + The cancellation token. + The result of the Delete protocol. + + + + Executes a Delete protocol. + + The collection namespace. + The query. + if set to true all matching documents are deleted. + The message encoder settings. + The write concern. + The cancellation token. + A Task whose result is the result of the Delete protocol. + + + + Executes a GetMore protocol. + + The type of the document. + The collection namespace. + The query. + The cursor identifier. + Size of the batch. + The serializer. + The message encoder settings. + The cancellation token. + The result of the GetMore protocol. + + + + Executes a GetMore protocol. + + The type of the document. + The collection namespace. + The query. + The cursor identifier. + Size of the batch. + The serializer. + The message encoder settings. + The cancellation token. + A Task whose result is the result of the GetMore protocol. + + + + Executes an Insert protocol. + + The type of the document. + The collection namespace. + The write concern. + The serializer. + The message encoder settings. + The document source. + The maximum batch count. + Maximum size of the message. + if set to true the server will continue with subsequent Inserts even if errors occur. + A delegate that determines whether to piggy-back a GetLastError messsage with the Insert message. + The cancellation token. + The result of the Insert protocol. + + + + Executes an Insert protocol. + + The type of the document. + The collection namespace. + The write concern. + The serializer. + The message encoder settings. + The document source. + The maximum batch count. + Maximum size of the message. + if set to true the server will continue with subsequent Inserts even if errors occur. + A delegate that determines whether to piggy-back a GetLastError messsage with the Insert message. + The cancellation token. + A Task whose result is the result of the Insert protocol. + + + + Executes a KillCursors protocol. + + The cursor ids. + The message encoder settings. + The cancellation token. + + + + Executes a KillCursors protocol. + + The cursor ids. + The message encoder settings. + The cancellation token. + A Task that represents the KillCursors protocol. + + + + Executes a Query protocol. + + The type of the document. + The collection namespace. + The query. + The fields. + The query validator. + The number of documents to skip. + The size of a batch. + if set to true sets the SlaveOk bit to true in the query message sent to the server. + if set to true the server is allowed to return partial results if any shards are unavailable. + if set to true the server will not timeout the cursor. + if set to true the OplogReplay bit will be set. + if set to true the query should return a tailable cursor. + if set to true the server should await awhile before returning an empty batch for a tailable cursor. + The serializer. + The message encoder settings. + The cancellation token. + The result of the Insert protocol. + + + + Executes a Query protocol. + + The type of the document. + The collection namespace. + The query. + The fields. + The query validator. + The number of documents to skip. + The size of a batch. + if set to true sets the SlaveOk bit to true in the query message sent to the server. + if set to true the server is allowed to return partial results if any shards are unavailable. + if set to true the server will not timeout the cursor. + if set to true the OplogReplay bit will be set. + if set to true the query should return a tailable cursor. + if set to true the server should await awhile before returning an empty batch for a tailable cursor. + The serializer. + The message encoder settings. + The cancellation token. + A Task whose result is the result of the Insert protocol. + + + + Executes an Update protocol. + + The collection namespace. + The message encoder settings. + The write concern. + The query. + The update. + The update validator. + if set to true the Update can affect multiple documents. + if set to true the document will be inserted if it is not found. + The cancellation token. + The result of the Update protocol. + + + + Executes an Update protocol. + + The collection namespace. + The message encoder settings. + The write concern. + The query. + The update. + The update validator. + if set to true the Update can affect multiple documents. + if set to true the document will be inserted if it is not found. + The cancellation token. + A Task whose result is the result of the Update protocol. + + + + Represents a handle to a channel. + + + + + Returns a new handle to the underlying channel. + + A channel handle. + + + + Represents a read binding to a cluster using a ReadPreference to select the server. + + + + + Initializes a new instance of the class. + + The cluster. + The read preference. + + + + + + + + + + + + + + + + Represents a write binding to a writable server. + + + + + Initializes a new instance of the class. + + The cluster. + + + + + + + + + + + + + + + + + + + + + + Represents a handle to a channel source. + + + + + Initializes a new instance of the class. + + The channel source. + + + + + + + + + + + + + + + + + + + + + + Represents a binding that determines which channel source gets used for read operations. + + + + + Gets the read preference. + + + The read preference. + + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Represents a binding that determines which channel source gets used for write operations. + + + + + Gets a channel source for write operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for write operations. + + The cancellation token. + A channel source. + + + + Represents a binding that can be used for both read and write operations. + + + + + Represents a handle to a read binding. + + + + + Returns a new handle to the underlying read binding. + + A read binding handle. + + + + Represents a handle to a write binding. + + + + + Returns a new handle to the underlying write binding. + + A write binding handle. + + + + Represents a handle to a read-write binding. + + + + + Returns a new handle to the underlying read-write binding. + + A read-write binding handle. + + + + Represents a channel source that is bound to a server. + + + + + Initializes a new instance of the class. + + The server. + + + + + + + + + + + + + + + + + + + Represents a connection identifier. + + + + + Initializes a new instance of the class. + + The server identifier. + + + + Initializes a new instance of the class. + + The server identifier. + The local value. + + + + Gets the server identifier. + + + The server identifier. + + + + + Gets the local value. + + + The local value. + + + + + Gets the server value. + + + The server value. + + + + + + + + + + + + + + Compares all fields of two ConnectionId instances (Equals ignores the ServerValue). + + The other ConnectionId. + True if both instances are equal. + + + + + + + Returns a new instance of ConnectionId with a new server value. + + The server value. + A ConnectionId. + + + + Represents a connection using the binary wire protocol over a binary stream. + + + + + Represents a factory of BinaryConnections. + + + + + Represents information describing a connection. + + + + + Initializes a new instance of the class. + + The connection identifier. + The issMaster result. + The buildInfo result. + + + + Gets the buildInfo result. + + + The buildInfo result. + + + + + Gets the connection identifier. + + + The connection identifier. + + + + + Gets the isMaster result. + + + The isMaster result. + + + + + Gets the maximum number of documents in a batch. + + + The maximum number of documents in a batch. + + + + + Gets the maximum size of a document. + + + The maximum size of a document. + + + + + Gets the maximum size of a message. + + + The maximum size of a message. + + + + + Gets the maximum size of a wire document. + + + The maximum size of a wire document. + + + + + Gets the server version. + + + The server version. + + + + + + + + + + + + + + Returns a new instance of ConnectionDescription with a different connection identifier. + + The value. + A connection description. + + + + Represents internal IConnection extension methods (used to easily access the IConnectionInternal methods). + + + + + Represents a connection initializer (opens and authenticates connections). + + + + + Represents a connection. + + + + + Gets the connection identifier. + + + The connection identifier. + + + + + Gets the connection description. + + + The connection description. + + + + + Gets the end point. + + + The end point. + + + + + Gets a value indicating whether this instance is expired. + + + true if this instance is expired; otherwise, false. + + + + + Gets the connection settings. + + + The connection settings. + + + + + Opens the connection. + + The cancellation token. + + + + Opens the connection. + + The cancellation token. + A Task. + + + + Receives a message. + + The id of the sent message for which a response is to be received. + The encoder selector. + The message encoder settings. + The cancellation token. + + The response message. + + + + + Receives a message. + + The id of the sent message for which a response is to be received. + The encoder selector. + The message encoder settings. + The cancellation token. + + A Task whose result is the response message. + + + + + Sends the messages. + + The messages. + The message encoder settings. + The cancellation token. + + + + Sends the messages. + + The messages. + The message encoder settings. + The cancellation token. + A Task. + + + + Represents a handle to a connection. + + + + + A new handle to the underlying connection. + + A connection handle. + + + + Represents a connection factory. + + + + + Creates the connection. + + The server identifier. + The end point. + A connection. + + + + Represents a stream factory. + + + + + Creates a stream. + + The end point. + The cancellation token. + A Stream. + + + + Creates a stream. + + The end point. + The cancellation token. + A Task whose result is the Stream. + + + + Represents a factory for a binary stream over a TCP/IP connection. + + + + + Represents the result of a buildInfo command. + + + + + Initializes a new instance of the class. + + The wrapped result document. + + + + Gets the server version. + + + The server version. + + + + + Gets the wrapped result document. + + + The wrapped result document. + + + + + + + + + + + + + + Represents the result of an isMaster command. + + + + + Initializes a new instance of the class. + + The wrapped result document. + + + + Gets the election identifier. + + + + + Gets a value indicating whether this instance is an arbiter. + + + true if this instance is an arbiter; otherwise, false. + + + + + Gets a value indicating whether this instance is a replica set member. + + + true if this instance is a replica set member; otherwise, false. + + + + + Gets the last write timestamp. + + + The last write timestamp. + + + + + Gets the maximum number of documents in a batch. + + + The maximum number of documents in a batch. + + + + + Gets the maximum size of a document. + + + The maximum size of a document. + + + + + Gets the maximum size of a message. + + + The maximum size of a message. + + + + + Gets the endpoint the server is claiming it is known as. + + + + + Gets the type of the server. + + + The type of the server. + + + + + Gets the replica set tags. + + + The replica set tags. + + + + + Gets the maximum wire version. + + + The maximum wire version. + + + + + Gets the minimum wire version. + + + The minimum wire version. + + + + + Gets the wrapped result document. + + + The wrapped result document. + + + + + + + + + + + + + + Gets the replica set configuration. + + The replica set configuration. + + + + Represents the collation feature. + + + + + + Initializes a new instance of the class. + + The name of the feature. + The first server version that supports the feature. + + + + Throws if collation value is not null and collations are not supported. + + The server version. + The value. + + + + Represents the commands that write accept write concern concern feature. + + + + + + Initializes a new instance of the class. + + The name of the feature. + The first server version that supports the feature. + + + + Returns true if the write concern value supplied is one that should be sent to the server and the server version supports the commands that write accept write concern feature. + + The server version. + The write concern value. + Whether the write concern should be sent to the server. + + + + Represents a feature that is not supported by all versions of the server. + + + + + Gets the aggregate feature. + + + + + Gets the aggregate allow disk use feature. + + + + + Gets the aggregate bucket stage feature. + + + + + Gets the aggregate count stage feature. + + + + + Gets the aggregate cursor result feature. + + + + + Gets the aggregate explain feature. + + + + + Gets the aggregate $facet stage feature. + + + + + Gets the aggregate $graphLookup stage feature. + + + + + Gets the aggregate out feature. + + + + + Gets the bypass document validation feature. + + + + + Gets the collation feature. + + + + + Gets the commands that write accept write concern feature. + + + + + Gets the create indexes command feature. + + + + + Gets the current op command feature. + + + + + Gets the document validation feature. + + + + + Gets the explain command feature. + + + + + Gets the fail points feature. + + + + + Gets the find and modify write concern feature. + + + + + Gets the find command feature. + + + + + Gets the index options defaults feature. + + + + + Gets the list collections command feature. + + + + + Gets the list indexes command feature. + + + + + Gets the maximum staleness feature. + + + + + Gets the maximum time feature. + + + + + Gets the partial indexes feature. + + + + + Gets the read concern feature. + + + + + Gets the scram sha1 authentication feature. + + + + + Gets the server extracts username from X509 certificate feature. + + + + + Gets the user management commands feature. + + + + + Gets the views feature. + + + + + Gets the write commands feature. + + + + + Initializes a new instance of the class. + + The name of the feature. + The first server version that supports the feature. + + + + Gets the name of the feature. + + + + + Gets the first server version that supports the feature. + + + + + Gets the last server version that does not support the feature. + + + + + Determines whether a feature is supported by a version of the server. + + The server version. + Whether a feature is supported by a version of the server. + + + + Returns a version of the server where the feature is or is not supported. + + Whether the feature is supported or not. + A version of the server where the feature is or is not supported. + + + + Throws if the feature is not supported by a version of the server. + + The server version. + + + + Represents the read concern feature. + + + + + + Initializes a new instance of the class. + + The name of the feature. + The first server version that supports the feature. + + + + Throws if the read concern value is not the server default and read concern is not supported. + + The server version. + The value. + + + + A mapper from error responses to custom exceptions. + + + + + Maps the specified response to a custom exception (if possible). + + The connection identifier. + The response. + + The custom exception (or null if the response could not be mapped to a custom exception). + + + + + Maps the specified writeConcernResult to a custom exception (if necessary). + + The connection identifier. + The write concern result. + + The custom exception (or null if the writeConcernResult was not mapped to an exception). + + + + + Maps the server response to a MongoNotPrimaryException or MongoNodeIsRecoveringException (if appropriate). + + The connection identifier. + The server response. + Name of the error message field. + The exception, or null if no exception necessary. + + + + Represents a tentative request to acquire a SemaphoreSlim. + + + + + Initializes a new instance of the class. + + The semaphore. + The cancellation token. + + + + Gets the semaphore wait task. + + + The semaphore wait task. + + + + + + + + Represents a source of items that can be broken into batches. + + The type of the items. + + + + Initializes a new instance of the class. + + + Use this overload when you know the batch is small and won't have to be broken up into sub-batches. + In that case using this overload is simpler than using an enumerator and using the other constructor. + + The single batch. + + + + Initializes a new instance of the class. + + The enumerator that will provide the items for the batch. + + + + Gets the most recent batch. + + + The most recent batch. + + + + + Gets the current item. + + + The current item. + + + + + Gets a value indicating whether there are more items. + + + true if there are more items; otherwise, false. + + + + + Clears the most recent batch. + + + + + Called when the last batch is complete. + + The batch. + + + + Called when an intermediate batch is complete. + + The batch. + The overflow item. + + + + Gets all the remaining items that haven't been previously consumed. + + The remaining items. + + + + Moves to the next item in the source. + + True if there are more items. + + + + Starts a new batch. + + The overflow item of the previous batch if there is one; otherwise, null. + + + + Represents an overflow item that did not fit in the most recent batch and will be become the first item in the next batch. + + + + + The item. + + + + + The state information, if any, that the consumer wishes to associate with the overflow item. + + + + + Represents a range between a minimum and a maximum value. + + The type of the value. + + + + Initializes a new instance of the class. + + The minimum value. + The maximum value. + + + + Gets the maximum value. + + + The maximum value. + + + + + Gets the minimum value. + + + The minimum value. + + + + + + + + + + + + + + Determines whether this range overlaps with another range. + + The other range. + True if this range overlaps with the other + + + + + + + Thread-safe helper to manage a value. + + + + + Represents helper methods for EndPoints. + + + + + Gets an end point equality comparer. + + + An end point equality comparer. + + + + + Determines whether a list of end points contains a specific end point. + + The list of end points. + The specific end point to search for. + True if the list of end points contains the specific end point. + + + + Compares two end points. + + The first end point. + The second end point. + True if both end points are equal, or if both are null. + + + + Creates an end point from object data saved during serialization. + + The object data. + An end point. + + + + Gets the object data required to serialize an end point. + + The end point. + The object data. + + + + Compares two sequences of end points. + + The first sequence of end points. + The second sequence of end points. + True if both sequences contain the same end points in the same order, or if both sequences are null. + + + + Parses the string representation of an end point. + + The value to parse. + An end point. + + + + Returns a that represents the end point. + + The end point. + + A that represents the end point. + + + + + Tries to parse the string representation of an end point. + + The value to parse. + The result. + True if the string representation was parsed successfully. + + + + Represents methods that can be used to ensure that parameter values meet expected conditions. + + + + + Ensures that the value of a parameter is between a minimum and a maximum value. + + Type type of the value. + The value of the parameter. + The minimum value. + The maximum value. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is equal to a comparand. + + Type type of the value. + The value of the parameter. + The comparand. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is greater than or equal to a comparand. + + Type type of the value. + The value of the parameter. + The comparand. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is greater than or equal to zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is greater than or equal to zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is greater than or equal to zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is greater than zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is greater than zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is greater than zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is infinite or greater than or equal to zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is infinite or greater than zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is not null. + + Type type of the value. + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is not null or empty. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null. + + Type type of the value. + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null or greater than or equal to zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null or greater than or equal to zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null or greater than zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null or greater than zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null or greater than zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null, or infinite, or greater than or equal to zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null or not empty. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null or a valid timeout. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is a valid timeout. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that an assertion is true. + + The assertion. + The message to use with the exception that is thrown if the assertion is false. + + + + Ensures that an assertion is true. + + The assertion. + The message to use with the exception that is thrown if the assertion is false. + The parameter name. + + + + Ensures that the value of a parameter meets an assertion. + + Type type of the value. + The value of the parameter. + The assertion. + The name of the parameter. + The message to use with the exception that is thrown if the assertion is false. + The value of the parameter. + + + + Represents a semantic version number. + + + + + Initializes a new instance of the class. + + The major version. + The minor version. + The patch version. + + + + Initializes a new instance of the class. + + The major version. + The minor version. + The patch version. + The pre release version. + + + + Gets the major version. + + + The major version. + + + + + Gets the minor version. + + + The minor version. + + + + + Gets the patch version. + + + The patch version. + + + + + Gets the pre release version. + + + The pre release version. + + + + + + + + + + + + + + + + + + + + Parses a string representation of a semantic version. + + The string value to parse. + A semantic version. + + + + Tries to parse a string representation of a semantic version. + + The string value to parse. + The result. + True if the string representation was parsed successfully; otherwise false. + + + + Determines whether two specified semantic versions have the same value. + + The first semantic version to compare, or null. + The second semantic version to compare, or null. + + True if the value of a is the same as the value of b; otherwise false. + + + + + Determines whether two specified semantic versions have different values. + + The first semantic version to compare, or null. + The second semantic version to compare, or null. + + True if the value of a is different from the value of b; otherwise false. + + + + + Determines whether the first specified SemanticVersion is greater than the second specified SemanticVersion. + + The first semantic version to compare, or null. + The second semantic version to compare, or null. + + True if the value of a is greater than b; otherwise false. + + + + + Determines whether the first specified SemanticVersion is greater than or equal to the second specified SemanticVersion. + + The first semantic version to compare, or null. + The second semantic version to compare, or null. + + True if the value of a is greater than or equal to b; otherwise false. + + + + + Determines whether the first specified SemanticVersion is less than the second specified SemanticVersion. + + The first semantic version to compare, or null. + The second semantic version to compare, or null. + + True if the value of a is less than b; otherwise false. + + + + + Determines whether the first specified SemanticVersion is less than or equal to the second specified SemanticVersion. + + The first semantic version to compare, or null. + The second semantic version to compare, or null. + + True if the value of a is less than or equal to b; otherwise false. + + + + + Represents a create view operation. + + + + + Initializes a new instance of the class. + + The name of the database. + The name of the view. + The name of the collection that the view is on. + The pipeline. + The message encoder settings. + + + + Gets or sets the collation. + + + The collation. + + + + + Gets the namespace of the database. + + + The namespace of the database. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the pipeline. + + + The pipeline. + + + + + Gets the name of the view. + + + The name of the view. + + + + + Gets the name of the collection that the view is on. + + + The name of the collection that the view is on. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + Represents a reindex operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The message encoder settings. + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets the write concern (ignored and will eventually be deprecated and later removed). + + + The write concern. + + + + + + + + + + + Represents a create indexes operation that uses the createIndexes command. + + + + + Initializes a new instance of the class. + + The collection namespace. + The requests. + The message encoder settings. + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the create index requests. + + + The create index requests. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + Represents a create indexes operation that inserts into the system.indexes collection (used with older server versions). + + + + + Initializes a new instance of the class. + + The collection namespace. + The requests. + The message encoder settings. + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the create index requests. + + + The create index requests. + + + + + + + + + + + Represents the geoSearch command. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The point for which to find the closest documents. + The result serializer. + The message encoder settings. + + + + Gets the collection namespace. + + + + + Gets or sets the limit. + + + + + Gets or sets the maximum distance. + + + + + Gets or sets the maximum time. + + + + + Gets the message encoder settings. + + + + + Gets the point for which to find the closest documents. + + + + + Gets or sets the read concern. + + + + + Gets the result serializer. + + + + + Gets or sets the search. + + + + + + + + + + + Represents the geoNear command. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The point for which to find the closest documents. + The result serializer. + The message encoder settings. + + + + Gets or sets the collation. + + + + + Gets the collection namespace. + + + + + Gets or sets the distance multiplier. + + + + + Gets or sets the filter. + + + + + Gets or sets whether to include the locations of the matching documents. + + + + + Gets or sets the limit. + + + + + Gets or sets the maximum distance. + + + + + Gets or sets the maximum time. + + + + + Gets the message encoder settings. + + + + + Gets the point for which to find the closest documents. + + + + + Gets or sets the read concern. + + + + + Gets the result serializer. + + + + + Gets or sets whether to use spherical geometry. + + + + + Gets or sets whether to return a document only once. + + + + + + + + + + + Represents a list collections operation. + + + + + Initializes a new instance of the class. + + The database namespace. + The message encoder settings. + + + + Gets or sets the filter. + + + The filter. + + + + + Gets the database namespace. + + + The database namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + + + + + + + Represents a list collections operation. + + + + + Initializes a new instance of the class. + + The database namespace. + The message encoder settings. + + + + Gets or sets the filter. + + + The filter. + + + + + Gets the database namespace. + + + The database namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + + + + + + + Represents a list indexes operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The message encoder settings. + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + + + + + + + Represents a list indexes operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The message encoder settings. + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + + + + + + + A helper class for deserializing documents in a cursor batch. + + + + + Deserializes the documents. + + The type of the document. + The batch. + The document serializer. + The message encoder settings. + The documents. + + + + Represents a Find command operation. + + The type of the document. + + + + Initializes a new instance of the class. + + The collection namespace. + The result serializer. + The message encoder settings. + + + + Gets or sets a value indicating whether the server is allowed to return partial results if any shards are unavailable. + + + true if the server is allowed to return partial results if any shards are unavailable; otherwise, false. + + + + + Gets or sets the size of a batch. + + + The size of a batch. + + + + + Gets or sets the collation. + + + The collation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets the comment. + + + The comment. + + + + + Gets or sets the type of the cursor. + + + The type of the cursor. + + + + + Gets or sets the filter. + + + The filter. + + + + + Gets or sets the size of the first batch. + + + The size of the first batch. + + + + + Gets or sets the hint. + + + The hint. + + + + + Gets or sets the limit. + + + The limit. + + + + + Gets or sets the max key value. + + + The max key value. + + + + + Gets or sets the maximum await time for TailableAwait cursors. + + + The maximum await time for TailableAwait cursors. + + + + + Gets or sets the max scan. + + + The max scan. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets the min key value. + + + The max min value. + + + + + Gets or sets a value indicating whether the server will not timeout the cursor. + + + true if the server will not timeout the cursor; otherwise, false. + + + + + Gets or sets a value indicating whether the OplogReplay bit will be set. + + + true if the OplogReplay bit will be set; otherwise, false. + + + + + Gets or sets the projection. + + + The projection. + + + + + Gets or sets the read concern. + + + The read concern. + + + + + Gets the result serializer. + + + The result serializer. + + + + + Gets or sets whether to only return the key values. + + + Whether to only return the key values. + + + + + Gets or sets whether the record Id should be added to the result document. + + + Whether the record Id should be added to the result documentr. + + + + + Gets or sets whether to return only a single batch. + + + Whether to return only a single batchThe single batch. + + + + + Gets or sets the number of documents skip. + + + The number of documents skip. + + + + + Gets or sets whether to use snapshot behavior. + + + Whether to use snapshot behavior. + + + + + Gets or sets the sort specification. + + + The sort specification. + + + + + + + + + + + Represents a Find opcode operation. + + The type of the returned documents. + + + + Initializes a new instance of the class. + + The collection namespace. + The result serializer. + The message encoder settings. + + + + Gets or sets a value indicating whether the server is allowed to return partial results if any shards are unavailable. + + + true if the server is allowed to return partial results if any shards are unavailable; otherwise, false. + + + + + Gets or sets the size of a batch. + + + The size of a batch. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets the comment. + + + The comment. + + + + + Gets or sets the type of the cursor. + + + The type of the cursor. + + + + + Gets or sets the filter. + + + The filter. + + + + + Gets or sets the size of the first batch. + + + The size of the first batch. + + + + + Gets or sets the hint. + + + The hint. + + + + + Gets or sets the limit. + + + The limit. + + + + + Gets or sets the max key value. + + + The max key value. + + + + + Gets or sets the max scan. + + + The max scan. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets the min key value. + + + The max min value. + + + + + Gets or sets any additional query modifiers. + + + The additional query modifiers. + + + + + Gets or sets a value indicating whether the server will not timeout the cursor. + + + true if the server will not timeout the cursor; otherwise, false. + + + + + Gets or sets a value indicating whether the OplogReplay bit will be set. + + + true if the OplogReplay bit will be set; otherwise, false. + + + + + Gets or sets the projection. + + + The projection. + + + + + Gets the result serializer. + + + The result serializer. + + + + + Gets or sets whether the record Id should be added to the result document. + + + Whether the record Id should be added to the result documentr. + + + + + Gets or sets the number of documents skip. + + + The number of documents skip. + + + + + Gets or sets whether to use snapshot behavior. + + + Whether to use snapshot behavior. + + + + + Gets or sets the sort specification. + + + The sort specification. + + + + + + + + + + + Returns an explain operation for this find operation. + + The verbosity. + An explain operation. + + + + Represents an aggregate explain operations. + + + + + Initializes a new instance of the class. + + The collection namespace. + The pipeline. + The message encoder settings. + + + + Gets or sets a value indicating whether the server is allowed to use the disk. + + + A value indicating whether the server is allowed to use the disk. + + + + + Gets or sets the collation. + + + The collation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the pipeline. + + + The pipeline. + + + + + + + + + + + Represents a map-reduce operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The map function. + The reduce function. + The message encoder settings. + + + + Gets or sets the read concern. + + + The read concern. + + + + + + + + + + + + + + + + + Represents a bulk write operation exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The result. + The write errors. + The write concern error. + The unprocessed requests. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Gets the result of the bulk write operation. + + + + + Gets the unprocessed requests. + + + The unprocessed requests. + + + + + + Gets the write concern error. + + + The write concern error. + + + + + Gets the write errors. + + + The write errors. + + + + + + + + Represents a create index request. + + + + + Initializes a new instance of the class. + + The keys. + + + + Gets or sets the additional options. + + + The additional options. + + + + + Gets or sets a value indicating whether the index should be created in the background. + + + A value indicating whether the index should be created in the background. + + + + + Gets or sets the bits of precision of the geohash values for 2d geo indexes. + + + The bits of precision of the geohash values for 2d geo indexes. + + + + + Gets or sets the size of the bucket for geo haystack indexes. + + + The size of the bucket for geo haystack indexes. + + + + + Gets or sets the collation. + + + + + Gets or sets the default language for text indexes. + + + The default language for text indexes. + + + + + Gets or sets when documents in a TTL collection expire. + + + When documents in a TTL collection expire. + + + + + Gets or sets the language override for text indexes. + + + The language override for text indexes. + + + + + Gets the keys. + + + The keys. + + + + + Gets or sets the maximum coordinate value for 2d indexes. + + + The maximum coordinate value for 2d indexesThe maximum. + + + + + Gets or sets the minimum coordinate value for 2d indexes. + + + The minimum coordinate value for 2d indexes. + + + + + Gets or sets the index name. + + + The index name. + + + + + Gets or sets the partial filter expression. + + + The partial filter expression. + + + + + Gets or sets a value indicating whether the index is a sparse index. + + + A value indicating whether the index is a sparse index. + + + + + Gets or sets the 2dsphere index version. + + + The 2dsphere index version. + + + + + Gets or sets the storage engine options. + + + The storage engine options. + + + + + Gets or sets the text index version. + + + The text index version. + + + + + Gets or sets a value indicating whether the index enforces the uniqueness of the key values. + + + A value indicating whether the index enforces the uniqueness of the key values. + + + + + Gets or sets the index version. + + + The index version. + + + + + Gets or sets the weights for text indexes. + + + The weights for text indexes. + + + + + Gets the name of the index. + + The name of the index. + + + + The cursor type. + + + + + A non-tailable cursor. This is sufficient for most uses. + + + + + A tailable cursor. + + + + + A tailable cursor with a built-in server sleep. + + + + + Represents an element name validator that checks that element names are valid for MongoDB collections. + + + + + Gets a pre-created instance of a CollectionElementNameValidator. + + + The pre-created instance. + + + + + + + + + + + Represents a factory for element name validators based on the update type. + + + + + Returns an element name validator for the update type. + + Type of the update. + An element name validator. + + + + Represents an element name validator for update operations. + + + + + Gets a pre-created instance of an UpdateElementNameValidator. + + + The pre-created instance. + + + + + + + + + + + Represents an element name validator that will validate element names for either an update or a replacement based on whether the first element name starts with a "$". + + + + + Initializes a new instance of the class. + + + + + + + + + + + Represents an explain operation. + + + + + Initializes a new instance of the class. + + The database namespace. + The command. + The message encoder settings. + + + + Gets the database namespace. + + + The database namespace. + + + + + Gets the command to be explained. + + + The command to be explained. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets the verbosity. + + + The verbosity. + + + + + + + + + + + + + + + + + The verbosity of an explanation. + + + + + Runs the query planner and chooses the winning plan, but does not actually execute it. + + + + + Runs the query optimizer, and then runs the winning plan to completion. In addition to the + planner information, this makes execution stats available. + + + + + Runs the query optimizer and chooses the winning plan, but then runs all generated plans + to completion. This makes execution stats available for all of the query plans. + + + + + Represents a base class for find and modify operations. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The result serializer. + The message encoder settings. + + + + Gets or sets the collation. + + + The collation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the result serializer. + + + The result serializer. + + + + + Gets or sets the write concern. + + + + + + + + + + + Gets the command validator. + + An element name validator for the command. + + + + Represents a deserializer for find and modify result values. + + The type of the result. + + + + Initializes a new instance of the class. + + The value serializer. + + + + + + + Represents a find one and update operation. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The filter. + The update. + The result serializer. + The message encoder settings. + + + + Gets or sets a value indicating whether to bypass document validation. + + + A value indicating whether to bypass document validation. + + + + + Gets the filter. + + + The filter. + + + + + Gets a value indicating whether a document should be inserted if no matching document is found. + + + true if a document should be inserted if no matching document is found; otherwise, false. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets or sets the projection. + + + The projection. + + + + + Gets or sets which version of the modified document to return. + + + Which version of the modified document to return. + + + + + Gets or sets the sort specification. + + + The sort specification. + + + + + Gets or sets the update specification. + + + The update specification. + + + + + + + + Represents a find one and replace operation. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The filter. + The replacement. + The result serializer. + The message encoder settings. + + + + Gets or sets a value indicating whether to bypass document validation. + + + A value indicating whether to bypass document validation. + + + + + Gets the filter. + + + The filter. + + + + + Gets a value indicating whether a document should be inserted if no matching document is found. + + + true if a document should be inserted if no matching document is found; otherwise, false. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets or sets the projection. + + + The projection. + + + + + Gets the replacement document. + + + The replacement document. + + + + + Gets or sets which version of the modified document to return. + + + Which version of the modified document to return. + + + + + Gets or sets the sort specification. + + + The sort specification. + + + + + + + + Represents a find one and delete operation. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The filter. + The result serializer. + The message encoder settings. + + + + Gets the filter. + + + The filter. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets or sets the projection. + + + The projection. + + + + + Gets or sets the sort specification. + + + The sort specification. + + + + + + + + The document to return when executing a FindAndModify command. + + + + + Returns the document before the modification. + + + + + Returns the document after the modification. + + + + + Represents helper methods for index names. + + + + + Gets the name of the index derived from the keys specification. + + The keys specification. + The name of the index. + + + + Gets the name of the index derived from the key names. + + The key names. + The name of the index. + + + + Represents a list indexes operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The message encoder settings. + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + + + + + + + Represents a list collections operation. + + + + + Initializes a new instance of the class. + + The database namespace. + The message encoder settings. + + + + Gets or sets the filter. + + + The filter. + + + + + Gets the database namespace. + + + The database namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + + + + + + + Represents a ping operation. + + + + + Initializes a new instance of the class. + + The message encoder settings. + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + + + + + + + Represents the update type. + + + + + The update type is unknown. + + + + + This update uses an update specification to update an existing document. + + + + + This update completely replaces an existing document with a new one. + + + + + Gets or sets the maximum size of a document. + + + The maximum size of a document. + + + + + Represents the type of a write request. + + + + + A delete request. + + + + + An insert request. + + + + + An udpate request. + + + + + Represents a mixed write bulk operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The requests. + The message encoder settings. + + + + Gets or sets a value indicating whether to bypass document validation. + + + A value indicating whether to bypass document validation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets a value indicating whether the writes must be performed in order. + + + true if the writes must be performed in order; otherwise, false. + + + + + Gets or sets the maximum number of documents in a batch. + + + The maximum number of documents in a batch. + + + + + Gets or sets the maximum length of a batch. + + + The maximum length of a batch. + + + + + Gets or sets the maximum size of a document. + + + The maximum size of a document. + + + + + Gets or sets the maximum size of a wire document. + + + The maximum size of a wire document. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the requests. + + + The requests. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + + + + + + Represents the result of one batch executed using a write command. + + + + + Represents the details of a write error for a particular request. + + + + + Initializes a new instance of the class. + + The index. + The code. + The message. + The details. + + + + Gets the error category. + + + The error category. + + + + + Gets the error code. + + + The error code. + + + + + Gets the error details. + + + The error details. + + + + + Gets the index of the request that had an error. + + + The index. + + + + + Gets the error message. + + + The error message. + + + + + Represents the result of a bulk write operation. + + + + + Initializes a new instance of the class. + + The request count. + The processed requests. + + + + Gets the number of documents that were deleted. + + + The number of document that were deleted. + + + + + Gets the number of documents that were inserted. + + + The number of document that were inserted. + + + + + Gets a value indicating whether the bulk write operation was acknowledged. + + + true if the bulk write operation was acknowledged; otherwise, false. + + + + + Gets a value indicating whether the modified count is available. + + + The modified count is only available when all servers have been upgraded to 2.6 or above. + + + true if the modified count is available; otherwise, false. + + + + + Gets the number of documents that were matched. + + + The number of document that were matched. + + + + + Gets the number of documents that were actually modified during an update. + + + The number of document that were actually modified during an update. + + + + + Gets the processed requests. + + + The processed requests. + + + + + Gets the request count. + + + The request count. + + + + + Gets a list with information about each request that resulted in an upsert. + + + The list with information about each request that resulted in an upsert. + + + + + Represents the result of an acknowledged bulk write operation. + + + + + Initializes a new instance of the class. + + The request count. + The matched count. + The deleted count. + The inserted count. + The modified count. + The processed requests. + The upserts. + + + + + + + + + + + + + + + + + + + + + + + + + Represents the result of an unacknowledged BulkWrite operation. + + + + + Initializes a new instance of the class. + + The request count. + The processed requests. + + + + + + + + + + + + + + + + + + + + + + + + + Represents the information about one Upsert. + + + + + Gets the identifier. + + + The identifier. + + + + + Gets the index. + + + The index. + + + + + Represents a request to insert a document. + + + + + Initializes a new instance of the class. + + The document. + + + + Gets or sets the document. + + + The document. + + + + + Represents the details of a write concern error. + + + + + Initializes a new instance of the class. + + The code. + The message. + The details. + + + + Gets the error code. + + + The error code. + + + + + Gets the error details. + + + The error details. + + + + + Gets the error message. + + + The error message. + + + + + Represents a request to write something to the database. + + + + + Initializes a new instance of the class. + + The request type. + + + + Gets or sets the correlation identifier. + + + + + Gets the request type. + + + The request type. + + + + + Represents an aggregate operation. + + The type of the result values. + + + + Initializes a new instance of the class. + + The collection namespace. + The pipeline. + The result value serializer. + The message encoder settings. + + + + Gets or sets a value indicating whether the server is allowed to use the disk. + + + A value indicating whether the server is allowed to use the disk. + + + + + Gets or sets the size of a batch. + + + The size of a batch. + + + + + Gets or sets the collation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the pipeline. + + + The pipeline. + + + + + Gets or sets the read concern. + + + The read concern. + + + + + Gets the result value serializer. + + + The result value serializer. + + + + + Gets or sets a value indicating whether the server should use a cursor to return the results. + + + A value indicating whether the server should use a cursor to return the results. + + + + + + + + + + + Returns an AggregateExplainOperation for this AggregateOperation. + + The verbosity. + An AggregateExplainOperation. + + + + Represents an aggregate operation that writes the results to an output collection. + + + + + Initializes a new instance of the class. + + The collection namespace. + The pipeline. + The message encoder settings. + + + + Gets or sets a value indicating whether the server is allowed to use the disk. + + + A value indicating whether the server is allowed to use the disk. + + + + + Gets or sets a value indicating whether to bypass document validation. + + + A value indicating whether to bypass document validation. + + + + + Gets or sets the collation. + + + The collation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the pipeline. + + + The pipeline. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + Represents the base class for a command operation. + + The type of the command result. + + + + Initializes a new instance of the class. + + The database namespace. + The command. + The result serializer. + The message encoder settings. + + + + Gets or sets the additional options. + + + The additional options. + + + + + Gets the command. + + + The command. + + + + + Gets or sets the command validator. + + + The command validator. + + + + + Gets or sets the comment. + + + The comment. + + + + + Gets the database namespace. + + + The database namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the result serializer. + + + The result serializer. + + + + + Executes the protocol. + + The channel source. + The read preference. + The cancellation token. + A Task whose result is the command result. + + + + Executes the protocol. + + The channel source. + The read preference. + The cancellation token. + A Task whose result is the command result. + + + + Represents a count operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The message encoder settings. + + + + Gets or sets the collation. + + + The collation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets the filter. + + + The filter. + + + + + Gets or sets the index hint. + + + The index hint. + + + + + Gets or sets a limit on the number of matching documents to count. + + + A limit on the number of matching documents to count. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets the read concern. + + + The read concern. + + + + + Gets or sets the number of documents to skip before counting the remaining matching documents. + + + The number of documents to skip before counting the remaining matching documents. + + + + + + + + + + + Represents a create collection operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The message encoder settings. + + + + Gets or sets a value indicating whether an index on _id should be created automatically. + + + A value indicating whether an index on _id should be created automatically. + + + + + Gets or sets a value indicating whether the collection is a capped collection. + + + A value indicating whether the collection is a capped collection. + + + + + Gets or sets the collation. + + + The collation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets the index option defaults. + + + The index option defaults. + + + + + Gets or sets the maximum number of documents in a capped collection. + + + The maximum number of documents in a capped collection. + + + + + Gets or sets the maximum size of a capped collection. + + + The maximum size of a capped collection. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets whether padding should not be used. + + + + + Gets or sets the storage engine options. + + + The storage engine options. + + + + + Gets or sets a value indicating whether the collection should use power of 2 sizes. + + + A value indicating whether the collection should use power of 2 sizes.. + + + + + Gets or sets the validation action. + + + The validation action. + + + + + Gets or sets the validation level. + + + The validation level. + + + + + Gets or sets the validator. + + + The validator. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + Represents a create indexes operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The requests. + The message encoder settings. + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the create index requests. + + + The create index requests. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + Represents an async cursor. + + The type of the documents. + + + + Initializes a new instance of the class. + + The channel source. + The collection namespace. + The query. + The first batch. + The cursor identifier. + The size of a batch. + The limit. + The serializer. + The message encoder settings. + The maxTime for each batch. + + + + + + + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + + + + + + + Represents a database exists operation. + + + + + Initializes a new instance of the class. + + The database namespace. + The message encoder settings. + + + + Gets the database namespace. + + + The database namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + + + + + + + Represents a delete operation using the delete opcode. + + + + + Initializes a new instance of the class. + + The collection namespace. + The request. + The message encoder settings. + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the request. + + + The request. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + Represents a request to delete one or more documents. + + + + + Initializes a new instance of the class. + + The filter. + + + + Gets or sets the collation. + + + + + Gets or sets the filter. + + + + + Gets or sets a limit on the number of documents that should be deleted. + + + The server only supports 0 or 1, and 0 means that all matching documents should be deleted. + + + A limit on the number of documents that should be deleted. + + + + + Represents a distinct operation. + + The type of the value. + + + + Initializes a new instance of the class. + + The collection namespace. + The value serializer. + The name of the field. + The message encoder settings. + + + + Gets or sets the collation. + + + The collation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets the filter. + + + The filter. + + + + + Gets the name of the field. + + + The name of the field. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets the read concern. + + + The read concern. + + + + + Gets the value serializer. + + + The value serializer. + + + + + + + + + + + Represents a drop collection operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The message encoder settings. + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + Represents a drop database operation. + + + + + Initializes a new instance of the class. + + The database namespace. + The message encoder settings. + + + + Gets the database namespace. + + + The database namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + Represents a drop index operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The keys. + The message encoder settings. + + + + Initializes a new instance of the class. + + The collection namespace. + The name of the index. + The message encoder settings. + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the name of the index. + + + The name of the index. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + Represents an eval operation. + + + + + Initializes a new instance of the class. + + The database namespace. + The JavaScript function. + The message encoder settings. + + + + Gets or sets the arguments to the JavaScript function. + + + The arguments to the JavaScript function. + + + + + Gets the database namespace. + + + The database namespace. + + + + + Gets the JavaScript function. + + + The JavaScript function. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets a value indicating whether the server should not take a global write lock before evaluating the JavaScript function. + + + A value indicating whether the server should not take a global write lock before evaluating the JavaScript function. + + + + + + + + + + + Represents a deserializer that deserializes the selected element and skips any others. + + The type of the value. + + + + Represents a Find operation. + + The type of the returned documents. + + + + Initializes a new instance of the class. + + The collection namespace. + The result serializer. + The message encoder settings. + + + + Gets or sets a value indicating whether the server is allowed to return partial results if any shards are unavailable. + + + true if the server is allowed to return partial results if any shards are unavailable; otherwise, false. + + + + + Gets or sets the size of a batch. + + + The size of a batch. + + + + + Gets or sets the collation. + + + The collation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets the comment. + + + The comment. + + + + + Gets or sets the type of the cursor. + + + The type of the cursor. + + + + + Gets or sets the filter. + + + The filter. + + + + + Gets or sets the size of the first batch. + + + The size of the first batch. + + + + + Gets or sets the hint. + + + The hint. + + + + + Gets or sets the limit. + + + The limit. + + + + + Gets or sets the max key value. + + + The max key value. + + + + + Gets or sets the maximum await time for TailableAwait cursors. + + + The maximum await time for TailableAwait cursors. + + + + + Gets or sets the max scan. + + + The max scan. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets the min key value. + + + The max min value. + + + + + Gets or sets any additional query modifiers. + + + The additional query modifiers. + + + + + Gets or sets a value indicating whether the server will not timeout the cursor. + + + true if the server will not timeout the cursor; otherwise, false. + + + + + Gets or sets a value indicating whether the OplogReplay bit will be set. + + + true if the OplogReplay bit will be set; otherwise, false. + + + + + Gets or sets the projection. + + + The projection. + + + + + Gets or sets the read concern. + + + The read concern. + + + + + Gets the result serializer. + + + The result serializer. + + + + + Gets or sets whether to only return the key values. + + + Whether to only return the key values. + + + + + Gets or sets whether the record Id should be added to the result document. + + + Whether the record Id should be added to the result documentr. + + + + + Gets or sets whether to return only a single batch. + + + Whether to return only a single batchThe single batch. + + + + + Gets or sets the number of documents skip. + + + The number of documents skip. + + + + + Gets or sets whether to use snapshot behavior. + + + Whether to use snapshot behavior. + + + + + Gets or sets the sort specification. + + + The sort specification. + + + + + + + + + + + Represents a group operation. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The key. + The initial aggregation result for each group. + The reduce function. + The filter. + The message encoder settings. + + + + Initializes a new instance of the class. + + The collection namespace. + The key function. + The initial aggregation result for each group. + The reduce function. + The filter. + The message encoder settings. + + + + Gets or sets the collation. + + + The collation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the filter. + + + The filter. + + + + + Gets or sets the finalize function. + + + The finalize function. + + + + + Gets the initial aggregation result for each group. + + + The initial aggregation result for each group. + + + + + Gets the key. + + + The key. + + + + + Gets the key function. + + + The key function. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the reduce function. + + + The reduce function. + + + + + Gets or sets the result serializer. + + + The result serializer. + + + + + + + + + + + Represents an insert operation using the insert opcode. + + The type of the document. + + + + Initializes a new instance of the class. + + The collection namespace. + The document source. + The serializer. + The message encoder settings. + + + + Gets or sets a value indicating whether to bypass document validation. + + + A value indicating whether to bypass document validation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets a value indicating whether the server should continue on error. + + + true if the server should continue on error; otherwise, false. + + + + + Gets the document source. + + + The document source. + + + + + Gets or sets the maximum number of documents in a batch. + + + The maximum number of documents in a batch. + + + + + Gets or sets the maximum size of a document. + + + The maximum size of a document. + + + + + Gets or sets the maximum size of a message. + + + The maximum size of a message. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the serializer. + + + The serializer. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + Represents a database read operation. + + The type of the result. + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Represents a database write operation. + + The type of the result. + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Represents the listDatabases command. + + + + + Initializes a new instance of the class. + + The message encoder settings. + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + + + + + + + Represents a map-reduce operation. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The map function. + The reduce function. + The result serializer. + The message encoder settings. + + + + Gets or sets the read concern. + + + The read concern. + + + + + Gets the result serializer. + + + The result serializer. + + + + + + + + + + + + + + + + + Represents a base class for map-reduce operations. + + + + + Initializes a new instance of the class. + + The collection namespace. + The map function. + The reduce function. + The message encoder settings. + + + + Gets or sets the collation. + + + The collation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets the filter. + + + The filter. + + + + + Gets or sets the finalize function. + + + The finalize function. + + + + + Gets or sets a value indicating whether objects emitted by the map function remain as JavaScript objects. + + + + Setting this value to true can result in faster execution, but requires more memory on the server, and if + there are too many emitted objects the map-reduce operation may fail. + + true if objects emitted by the map function remain as JavaScript objects; otherwise, false. + + + + + Gets or sets the maximum number of documents to pass to the map function. + + + The maximum number of documents to pass to the map function. + + + + + Gets the map function. + + + The map function. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the reduce function. + + + The reduce function. + + + + + Gets or sets the scope document. + + + The scode document defines global variables that are accessible from the map, reduce and finalize functions. + + + The scope document. + + + + + Gets or sets the sort specification. + + + The sort specification. + + + + + Gets or sets a value indicating whether to include extra information, such as timing, in the result. + + + true if extra information, such as timing, should be included in the result; otherwise, false. + + + + + Creates the command. + + The server version. + The command. + + + + Creates the output options. + + The output options. + + + + Represents the map-reduce output mode. + + + + + The output of the map-reduce operation replaces the output collection. + + + + + The output of the map-reduce operation is merged with the output collection. + If an existing document has the same key as the new result, overwrite the existing document. + + + + + The output of the map-reduce operation is merged with the output collection. + If an existing document has the same key as the new result, apply the reduce function to both + the new and the existing documents and overwrite the existing document with the result. + + + + + Represents a map-reduce operation that outputs its results to a collection. + + + + + Initializes a new instance of the class. + + The collection namespace. + The output collection namespace. + The map function. + The reduce function. + The message encoder settings. + + + + Gets or sets a value indicating whether to bypass document validation. + + + A value indicating whether to bypass document validation. + + + + + Gets or sets a value indicating whether the server should not lock the database for merge and reduce output modes. + + + true if the server should not lock the database for merge and reduce output modes; otherwise, false. + + + + + Gets the output collection namespace. + + + The output collection namespace. + + + + + Gets or sets the output mode. + + + The output mode. + + + + + Gets or sets a value indicating whether the output collection should be sharded. + + + true if the output collection should be sharded; otherwise, false. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + + + + + + + Represents extension methods for operations. + + + + + Executes a read operation using a channel source. + + The type of the result. + The read operation. + The channel source. + The read preference. + The cancellation token. + The result of the operation. + + + + Executes a write operation using a channel source. + + The type of the result. + The write operation. + The channel source. + The cancellation token. + The result of the operation. + + + + Executes a read operation using a channel source. + + The type of the result. + The read operation. + The channel source. + The read preference. + The cancellation token. + A Task whose result is the result of the operation. + + + + Executes a write operation using a channel source. + + The type of the result. + The write operation. + The channel source. + The cancellation token. + A Task whose result is the result of the operation. + + + + Represents a parallel scan operation. + + The type of the document. + + + + Initializes a new instance of the class. + + The collection namespace. + The number of cursors. + The serializer. + The message encoder settings. + + + + Gets or sets the size of a batch. + + + The size of a batch. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the number of cursors. + + + The number of cursors. + + + + + Gets or sets the read concern. + + + The read concern. + + + + + Gets the serializer. + + + The serializer. + + + + + + + + + + + Represents a read command operation. + + The type of the command result. + + + + Initializes a new instance of the class. + + The database namespace. + The command. + The result serializer. + The message encoder settings. + + + + + + + + + + Represents a rename collection operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The new collection namespace. + The message encoder settings. + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets a value indicating whether to drop the target collection first if it already exists. + + + true if the target collection should be dropped first if it already exists.; otherwise, false. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the new collection namespace. + + + The new collection namespace. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + Represents an update operation using the update opcode. + + + + + Initializes a new instance of the class. + + The collection namespace. + The request. + The message encoder settings. + + + + Gets or sets a value indicating whether to bypass document validation. + + + A value indicating whether to bypass document validation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets the maximum size of a document. + + + The maximum size of a document. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the request. + + + The request. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + Represents a request to update one or more documents. + + + + + Initializes a new instance of the class. + + The update type. + The filter. + The update. + + + + Gets or sets the collation. + + + + + Gets the filter. + + + + + Gets or sets a value indicating whether this update should affect all matching documents. + + + true if this update should affect all matching documents; otherwise, false. + + + + + Gets or sets a value indicating whether a document should be inserted if no matching document is found. + + + true if a document should be inserted if no matching document is found; otherwise, false. + + + + + Gets the update specification. + + + + + Gets the update type. + + + + + Represents a write command operation. + + The type of the command result. + + + + Initializes a new instance of the class. + + The database namespace. + The command. + The result serializer. + The message encoder settings. + + + + + + + + + + Monitors a server for state changes. + + + + + + Occurs when the server description changes. + + + + + Initializes this instance. + + + + + Instructs the monitor to refresh its description immediately. + + + + + Requests a heartbeat as soon as possible. + + + + + Represents a server monitor factory. + + + + + Creates a server monitor. + + The server identifier. + The end point. + A server monitor. + + + + + + + Represents the arguments to the event that occurs when the server description changes. + + + + + Initializes a new instance of the class. + + The old server description. + The new server description. + + + + Gets the old server description. + + + The old server description. + + + + + Gets the new server description. + + + The new server description. + + + + + Represents a server identifier. + + + + + Initializes a new instance of the class. + + The cluster identifier. + The end point. + + + + Gets the cluster identifier. + + + The cluster identifier. + + + + + Gets the end point. + + + The end point. + + + + + + + + + + + + + + + + + Represents a MongoDB server. + + + + + Occurs when the server description changes. + + + + + Gets the server description. + + + The server description. + + + + + Gets the end point. + + + The end point. + + + + + Gets the server identifier. + + + The server identifier. + + + + + Gets a channel to the server. + + The cancellation token. + A channel. + + + + Gets a channel to the server. + + The cancellation token. + A Task whose result is a channel. + + + + Represents a server that can be part of a cluster. + + + + + Gets a value indicating whether this instance is initialized. + + + true if this instance is initialized; otherwise, false. + + + + + Initializes this instance. + + + + + Invalidates this instance (sets the server type to Unknown and clears the connection pool). + + + + + Requests a heartbeat as soon as possible. + + + + + Represents a server factory. + + + + + Creates the server. + + The cluster identifier. + The end point. + A server. + + + + Represents a server in a MongoDB cluster. + + + + + Represents information about a server. + + + + + Initializes a new instance of the class. + + The server identifier. + The end point. + The average round trip time. + The canonical end point. + The election identifier. + The heartbeat exception. + The heartbeat interval. + The last update timestamp. + The last write timestamp. + The maximum batch count. + The maximum size of a document. + The maximum size of a message. + The maximum size of a wire document. + The replica set configuration. + The server state. + The replica set tags. + The server type. + The server version. + The wire version range. + + + + Gets the average round trip time. + + + The average round trip time. + + + + + Gets the canonical end point. This is the endpoint that the cluster knows this + server by. Currently, it only applies to a replica set config and will match + what is in the replica set configuration. + + + + + Gets the election identifier. + + + + + Gets the end point. + + + The end point. + + + + + Gets the most recent heartbeat exception. + + + The the most recent heartbeat exception (null if the most recent heartbeat succeeded). + + + + + Gets the heartbeat interval. + + + The heartbeat interval. + + + + + Gets the last update timestamp (when the ServerDescription itself was last updated). + + + The last update timestamp. + + + + + Gets the last write timestamp (from the lastWrite field of the isMaster result). + + + The last write timestamp. + + + + + Gets the maximum number of documents in a batch. + + + The maximum number of documents in a batch. + + + + + Gets the maximum size of a document. + + + The maximum size of a document. + + + + + Gets the maximum size of a message. + + + The maximum size of a message. + + + + + Gets the maximum size of a wire document. + + + The maximum size of a wire document. + + + + + Gets the replica set configuration. + + + The replica set configuration. + + + + + Gets the server identifier. + + + The server identifier. + + + + + Gets the server state. + + + The server state. + + + + + Gets the replica set tags. + + + The replica set tags (null if not a replica set or if the replica set has no tags). + + + + + Gets the server type. + + + The server type. + + + + + Gets the server version. + + + The server version. + + + + + Gets the wire version range. + + + The wire version range. + + + + + + + + + + + + + + + + + Returns a new instance of ServerDescription with some values changed. + + The average round trip time. + The canonical end point. + The election identifier. + The heartbeat exception. + The heartbeat interval. + The last update timestamp. + The last write timestamp. + The maximum batch count. + The maximum size of a document. + The maximum size of a message. + The maximum size of a wire document. + The replica set configuration. + The server state. + The replica set tags. + The server type. + The server version. + The wire version range. + + A new instance of ServerDescription. + + + + + + + + Represents the server state. + + + + + The server is disconnected. + + + + + The server is connected. + + + + + Represents the server type. + + + + + The server type is unknown. + + + + + The server is a standalone server. + + + + + The server is a shard router. + + + + + The server is a replica set primary. + + + + + The server is a replica set secondary. + + + + + Use ReplicaSetSecondary instead. + + + + + The server is a replica set arbiter. + + + + + The server is a replica set member of some other type. + + + + + The server is a replica set ghost member. + + + + + Represents extension methods on ServerType. + + + + + Determines whether this server type is a replica set member. + + The type of the server. + Whether this server type is a replica set member. + + + + Determines whether this server type is a writable server. + + The type of the server. + Whether this server type is a writable server. + + + + Infers the cluster type from the server type. + + The type of the server. + The cluster type. + + + + Instructions for handling the response from a command. + + + + + Return the response from the server. + + + + + Ignore the response from the server. + + + + + Represents a message encoder selector that gets the appropriate encoder from an encoder factory. + + + + + Get the appropriate encoder from an encoder factory. + + The encoder factory. + A message encoder. + + + + Represents a message encoder selector for ReplyMessages. + + The type of the document. + + + + Initializes a new instance of the class. + + The document serializer. + + + + + + + Represents a base class for binary message encoders. + + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + + + + Gets the encoding. + + + The encoding. + + + + + Creates a binary reader for this encoder. + + A binary reader. + + + + Creates a binary writer for this encoder. + + A binary writer. + + + + Represents a factory for binary message encoders. + + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + + + + + + + + + + + + + + + + + + + + + + + + + Represents a binary encoder for a Delete message. + + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a binary encoder for a GetMore message. + + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a binary encoder for an Insert message. + + The type of the documents. + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + The serializer. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a binary encoder for a KillCursors message. + + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a binary encoder for a Query message. + + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a binary encoder for a Reply message. + + The type of the documents. + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + The serializer. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a binary encoder for an Update message. + + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a base class for JSON message encoders. + + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + + + + Creates a JsonReader for this encoder. + + A JsonReader. + + + + Creates a JsonWriter for this encoder. + + A JsonWriter. + + + + Represents a JSON encoder for a Delete message. + + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a JSON encoder for a GetMore message. + + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a JSON encoder for an Insert message. + + The type of the documents. + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + The serializer. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a factory for JSON message encoders. + + + + + Initializes a new instance of the class. + + The text reader. + The encoder settings. + + + + Initializes a new instance of the class. + + The text writer. + The encoder settings. + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + + + + + + + + + + + + + + + + + + + + + + + + + Represents a JSON encoder for a KillCursors message. + + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a JSON encoder for a Query message. + + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a JSON encoder for a Reply message. + + The type of the documents. + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + The serializer. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a JSON encoder for an Update message. + + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents the names of different encoder settings. + + + + + The name of the FixOldBinarySubTypeOnInput setting. + + + + + The name of the FixOldBinarySubTypeOnOutput setting. + + + + + The name of the FixOldDateTimeMaxValueOnInput setting. + + + + + The name of the GuidRepresentation setting. + + + + + The name of the MaxDocumentSize setting. + + + + + The name of the MaxSerializationDepth setting. + + + + + The name of the ReadEncoding setting. + + + + + The name of the WriteEncoding setting. + + + + + The name of the Indent setting. + + + + + The name of the IndentChars setting. + + + + + The name of the NewLineChars setting. + + + + + The name of the OutputMode setting. + + + + + The name of the ShellVersion setting. + + + + + Represents settings for message encoders. + + + + + Adds a setting. + + The type of the value. + The name. + The value. + The settings. + + + + + + + Gets a setting, or a default value if the setting does not exist. + + The type of the value. + The name. + The default value. + The value of the setting, or a default value if the setting does not exist. + + + + Represents an encodable message. + + + + + Gets an encoder for the message from an encoder factory. + + The encoder factory. + A message encoder. + + + + Represents a message encoder. + + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a message encoder factory. + + + + + Gets an encoder for a Delete message. + + An encoder. + + + + Gets an encoder for a GetMore message. + + An encoder. + + + + Gets an encoder for an Insert message. + + The type of the document. + The serializer. + An encoder. + + + + Gets an encoder for a KillCursors message. + + An encoder. + + + + Gets an encoder for a Query message. + + An encoder. + + + + Gets an encoder for a Reply message. + + The type of the document. + The serializer. + An encoder. + + + + Gets an encoder for an Update message. + + An encoder. + + + + Represents the type of message. + + + + + OP_DELETE + + + + + OP_GETMORE + + + + + OP_INSERT + + + + + OP_KILLCURSORS + + + + + OP_QUERY + + + + + OP_REPLY + + + + + OP_UPDATE + + + + + Represents a base class for response messages. + + + + + Initializes a new instance of the class. + + The request identifier. + The identifier of the message this is a response to. + + + + + + + Gets the request identifier. + + + + + Gets the identifier of the message this is a response to. + + + + + Represents a Delete message. + + + + + Initializes a new instance of the class. + + The request identifier. + The collection namespace. + The query. + if set to true [is multi]. + + + + Gets the collection namespace. + + + + + Gets a value indicating whether to delete all matching documents. + + + + + + + + Gets the query. + + + + + + + + Represents a GetMore message. + + + + + Initializes a new instance of the class. + + The request identifier. + The collection namespace. + The cursor identifier. + The size of a batch. + + + + Gets the size of a batch. + + + + + Gets the collection namespace. + + + + + Gets the cursor identifier. + + + + + + + + + + + Represents an Insert message. + + The type of the document. + + + + Initializes a new instance of the class. + + The request identifier. + The collection namespace. + The serializer. + The document source. + The maximum batch count. + Maximum size of the message. + if set to true the server should continue on error. + + + + Gets the collection namespace. + + + + + Gets a value indicating whether the server should continue on error. + + + + + Gets the document source. + + + + + Gets the maximum number of documents in a batch. + + + + + Gets the maximum size of a message. + + + + + + + + Gets the serializer. + + + + + + + + Represents a KillCursors message. + + + + + Initializes a new instance of the class. + + The request identifier. + The cursor ids. + + + + Gets the cursor ids. + + + + + + + + + + + Represents a base class for messages. + + + + + Gets the type of the message. + + + + + + + + Represents a Query message. + + + + + Initializes a new instance of the class. + + The request identifier. + The collection namespace. + The query. + The fields. + The query validator. + The number of documents to skip. + The size of a batch. + if set to true it is OK if the server is not the primary. + if set to true the server is allowed to return partial results if any shards are unavailable. + if set to true the server should not timeout the cursor. + if set to true the OplogReplay bit will be set. + if set to true the query should return a tailable cursor. + if set to true the server should await data (used with tailable cursors). + A delegate that determines whether this message should be sent. + + + + Gets a value indicating whether the server should await data (used with tailable cursors). + + + + + Gets the size of a batch. + + + + + Gets the collection namespace. + + + + + Gets the fields. + + + + + + + + Gets a value indicating whether the server should not timeout the cursor. + + + + + Gets a value indicating whether the OplogReplay bit will be set. + + + true if the OplogReplay bit will be set; otherwise, false. + + + + + Gets a value indicating whether the server is allowed to return partial results if any shards are unavailable. + + + + + Gets the query. + + + + + Gets the query validator. + + + + + Gets the number of documents to skip. + + + + + Gets a value indicating whether it is OK if the server is not the primary. + + + + + Gets a value indicating whether the query should return a tailable cursor. + + + + + + + + Represents a Reply message. + + The type of the document. + + + + Initializes a new instance of the class. + + if set to true the server is await capable. + The cursor identifier. + if set to true the cursor was not found. + The documents. + The number of documents returned. + if set to true the query failed. + The query failure document. + The request identifier. + The identifier of the message this is a response to. + The serializer. + The position of the first document in this batch in the overall result. + + + + Gets a value indicating whether the server is await capable. + + + + + Gets the cursor identifier. + + + + + Gets a value indicating whether the cursor was not found. + + + + + Gets the documents. + + + + + + + + Gets the number of documents returned. + + + + + Gets a value indicating whether the query failed. + + + + + Gets the query failure document. + + + + + Gets the serializer. + + + + + Gets the position of the first document in this batch in the overall result. + + + + + + + + Represents a base class for request messages. + + + + + Gets the current global request identifier. + + + The current global request identifier. + + + + + Gets the next request identifier. + + The next request identifier. + + + + Initializes a new instance of the class. + + The request identifier. + A delegate that determines whether this message should be sent. + + + + Gets the request identifier. + + + The request identifier. + + + + + Gets a delegate that determines whether this message should be sent. + + + A delegate that determines whether this message be sent. + + + + + Gets or sets a value indicating whether this message was sent. + + + true if this message was sent; otherwise, false. + + + + + Represents an Update message. + + + + + Initializes a new instance of the class. + + The request identifier. + The collection namespace. + The query. + The update. + The update validator. + if set to true all matching documents should be updated. + if set to true a document should be inserted if no matching document is found. + + + + Gets the collection namespace. + + + + + Gets a value indicating whether all matching documents should be updated. + + + + + Gets a value indicating whether a document should be inserted if no matching document is found. + + + + + + + + Gets the query. + + + + + Gets the update. + + + + + Gets the update validator. + + + + + + + + Represents one result batch (returned from either a Query or a GetMore message) + + The type of the document. + + + + Initializes a new instance of the struct. + + The cursor identifier. + The documents. + + + + Gets the cursor identifier. + + + The cursor identifier. + + + + + Gets the documents. + + + The documents. + + + + + An election id from the server. + + + + + Initializes a new instance of the class. + + The identifier. + + + + Compares the current object with another object of the same type. + + An object to compare with this object. + + A value that indicates the relative order of the objects being compared. The return value has the following meanings: Value Meaning Less than zero This object is less than the parameter.Zero This object is equal to . Greater than zero This object is greater than . + + + + + Determines whether the specified , is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Indicates whether the current object is equal to another object of the same type. + + An object to compare with this object. + + true if the current object is equal to the parameter; otherwise, false. + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Represents a server selector that selects writable servers. + + + + + Gets a WritableServerSelector. + + + A server selector. + + + + + + + + + + + Represents a server selector that wraps a delegate. + + + + + Initializes a new instance of the class. + + The selector. + + + + + + + + + + Represents a selector that selects servers within an acceptable latency range. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The allowed latency range. + + + + + + + + + + Represents a selector that selects servers based on multiple partial selectors + + + + + Initializes a new instance of the class. + + The selectors. + + + + + + + + + + Represents a selector that selects servers based on an end point. + + + + + Initializes a new instance of the class. + + The end point. + + + + + + + + + + Represents a selector that selects servers. + + + + + Selects the servers. + + The cluster. + The servers. + The selected servers. + + + + Represents a selector that selects a random server. + + + + + Initializes a new instance of the class. + + + + + + + + + + + Represents a selector that selects servers based on a read preference. + + + + + Gets a ReadPreferenceServerSelector that selects the Primary. + + + A server selector. + + + + + Initializes a new instance of the class. + + The read preference. + + + + + + + + + + Represents a cluster. + + + + + Represents the cluster connection mode. + + + + + Determine the cluster type automatically. + + + + + Connect directly to a single server of any type. + + + + + Connect directly to a Standalone server. + + + + + Connect to a replica set. + + + + + Connect to one or more shard routers. + + + + + Represents information about a cluster. + + + + + Initializes a new instance of the class. + + The cluster identifier. + The connection mode. + The type. + The servers. + + + + Gets the cluster identifier. + + + + + Gets the connection mode. + + + + + Gets the servers. + + + + + Gets the cluster state. + + + + + Gets the cluster type. + + + + + + + + + + + + + + + + + Returns a new ClusterDescription with a changed ServerDescription. + + The server description. + A ClusterDescription. + + + + Returns a new ClusterDescription with a ServerDescription removed. + + The end point of the server description to remove. + A ClusterDescription. + + + + Returns a new ClusterDescription with a changed ClusterType. + + The value. + A ClusterDescription. + + + + Represents a cluster identifier. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The value. + + + + Gets the value. + + + The value. + + + + + + + + + + + + + + + + + Represents the state of a cluster. + + + + + The cluster is disconnected. + + + + + The cluster is connected. + + + + + Represents the type of a cluster. + + + + + The type of the cluster is unknown. + + + + + The cluster is a standalone cluster. + + + + + The cluster is a replica set. + + + + + The cluster is a sharded cluster. + + + + + Represents the data for the event that fires when a cluster description changes. + + + + + Initializes a new instance of the class. + + The old cluster description. + The new cluster description. + + + + Gets the old cluster description. + + + The old cluster description. + + + + + Gets the new cluster description. + + + The new cluster description. + + + + + Represents a MongoDB cluster. + + + + + Occurs when the cluster description has changed. + + + + + Gets the cluster identifier. + + + The cluster identifier. + + + + + Gets the cluster description. + + + The cluster description. + + + + + Gets the cluster settings. + + + The cluster settings. + + + + + Initializes the cluster. + + + + + Selects a server from the cluster. + + The server selector. + The cancellation token. + The selected server. + + + + Selects a server from the cluster. + + The server selector. + The cancellation token. + A Task representing the operation. The result of the Task is the selected server. + + + + Represents a cluster factory. + + + + + Creates a cluster. + + A cluster. + + + + Represents a multi server cluster. + + + + + Represents the config of a replica set (as reported by one of the members of the replica set). + + + + + Gets an empty replica set config. + + + An empty replica set config. + + + + + Initializes a new instance of the class. + + The members. + The name. + The primary. + The version. + + + + Gets the members. + + + The members. + + + + + Gets the name of the replica set. + + + The name of the replica set. + + + + + Gets the primary. + + + The primary. + + + + + Gets the replica set config version. + + + The replica set config version. + + + + + + + + + + + + + + Represents a standalone cluster. + + + + + Represents settings for an SSL stream. + + + + + Initializes a new instance of the class. + + Whether to check for certificate revocation. + The client certificates. + The client certificate selection callback. + The enabled protocols. + The server certificate validation callback. + + + + Gets a value indicating whether to check for certificate revocation. + + + true if certificate should be checked for revocation; otherwise, false. + + + + + Gets the client certificates. + + + The client certificates. + + + + + Gets the client certificate selection callback. + + + The client certificate selection callback. + + + + + Gets the enabled SSL protocols. + + + The enabled SSL protocols. + + + + + Gets the server certificate validation callback. + + + The server certificate validation callback. + + + + + Returns a new SsslStreamSettings instance with some settings changed. + + Whether to check certificate revocation. + The client certificates. + The client certificate selection callback. + The enabled protocols. + The server certificate validation callback. + A new SsslStreamSettings instance. + + + + Represents settings for a cluster. + + + + + Initializes a new instance of the class. + + The connection mode. + The end points. + Maximum size of the server selection wait queue. + Name of the replica set. + The server selection timeout. + The pre server selector. + The post server selector. + + + + Gets the connection mode. + + + The connection mode. + + + + + Gets the end points. + + + The end points. + + + + + Gets the maximum size of the server selection wait queue. + + + The maximum size of the server selection wait queue. + + + + + Gets the name of the replica set. + + + The name of the replica set. + + + + + Gets the server selection timeout. + + + The server selection timeout. + + + + + Gets the pre server selector. + + + The pre server selector. + + + + + Gets the post server selector. + + + The post server selector. + + + + + Returns a new ClusterSettings instance with some settings changed. + + The connection mode. + The end points. + Maximum size of the server selection wait queue. + Name of the replica set. + The server selection timeout. + The pre server selector. + The post server selector. + A new ClusterSettings instance. + + + + Represents a cluster builder. + + + + + Initializes a new instance of the class. + + + + + Builds the cluster. + + A cluster. + + + + Configures the cluster settings. + + The cluster settings configurator delegate. + A reconfigured cluster builder. + + + + Configures the connection settings. + + The connection settings configurator delegate. + A reconfigured cluster builder. + + + + Configures the connection pool settings. + + The connection pool settings configurator delegate. + A reconfigured cluster builder. + + + + Configures the server settings. + + The server settings configurator delegate. + A reconfigured cluster builder. + + + + Configures the SSL stream settings. + + The SSL stream settings configurator delegate. + A reconfigured cluster builder. + + + + Configures the TCP stream settings. + + The TCP stream settings configurator delegate. + A reconfigured cluster builder. + + + + Registers a stream factory wrapper. + + The stream factory wrapper. + A reconfigured cluster builder. + + + + Subscribes to events of type . + + The type of the event. + The handler. + A reconfigured cluster builder. + + + + Subscribes the specified subscriber. + + The subscriber. + A reconfigured cluster builder. + + + + Extension methods for a ClusterBuilder. + + + + + Configures a cluster builder from a connection string. + + The cluster builder. + The connection string. + A reconfigured cluster builder. + + + + Configures a cluster builder from a connection string. + + The cluster builder. + The connection string. + A reconfigured cluster builder. + + + + Configures the cluster to write performance counters. + + The cluster builder. + The name of the application. + if set to true install the performance counters first. + A reconfigured cluster builder. + + + + Configures the cluster to trace events to the specified . + + The builder. + The trace source. + A reconfigured cluster builder. + + + + Configures the cluster to trace command events to the specified . + + The builder. + The trace source. + A reconfigured cluster builder. + + + + Represents settings for a connection pool. + + + + + Initializes a new instance of the class. + + The maintenance interval. + The maximum number of connections. + The minimum number of connections. + Size of the wait queue. + The wait queue timeout. + + + + Gets the maintenance interval. + + + The maintenance interval. + + + + + Gets the maximum number of connections. + + + The maximum number of connections. + + + + + Gets the minimum number of connections. + + + The minimum number of connections. + + + + + Gets the size of the wait queue. + + + The size of the wait queue. + + + + + Gets the wait queue timeout. + + + The wait queue timeout. + + + + + Returns a new ConnectionPoolSettings instance with some settings changed. + + The maintenance interval. + The maximum connections. + The minimum connections. + Size of the wait queue. + The wait queue timeout. + A new ConnectionPoolSettings instance. + + + + Represents settings for a connection. + + + + + Initializes a new instance of the class. + + The authenticators. + The maximum idle time. + The maximum life time. + The application name. + + + + Gets the name of the application. + + + The name of the application. + + + + + Gets the authenticators. + + + The authenticators. + + + + + Gets the maximum idle time. + + + The maximum idle time. + + + + + Gets the maximum life time. + + + The maximum life time. + + + + + Returns a new ConnectionSettings instance with some settings changed. + + The authenticators. + The maximum idle time. + The maximum life time. + The application name. + A new ConnectionSettings instance. + + + + Represents settings for a TCP stream. + + + + + Initializes a new instance of the class. + + The address family. + The connect timeout. + The read timeout. + Size of the receive buffer. + Size of the send buffer. + The socket configurator. + The write timeout. + + + + Gets the address family. + + + The address family. + + + + + Gets the connect timeout. + + + The connect timeout. + + + + + Gets the read timeout. + + + The read timeout. + + + + + Gets the size of the receive buffer. + + + The size of the receive buffer. + + + + + Gets the size of the send buffer. + + + The size of the send buffer. + + + + + Gets the socket configurator. + + + The socket configurator. + + + + + Gets the write timeout. + + + The write timeout. + + + + + Returns a new TcpStreamSettings instance with some settings changed. + + The address family. + The connect timeout. + The read timeout. + Size of the receive buffer. + Size of the send buffer. + The socket configurator. + The write timeout. + A new TcpStreamSettings instance. + + + + Represents a connection string. + + + + + Initializes a new instance of the class. + + The connection string. + + + + Gets all the option names. + + + + + Gets all the unknown option names. + + + + + Gets the application name. + + + + + Gets the auth mechanism. + + + + + Gets the auth mechanism properties. + + + + + Gets the auth source. + + + + + Gets the connection mode. + + + + + Gets the connect timeout. + + + + + Gets the name of the database. + + + + + Gets the fsync value of the write concern. + + + + + Gets the heartbeat interval. + + + + + Gets the heartbeat timeout. + + + + + Gets the hosts. + + + + + Gets whether to use IPv6. + + + + + Gets the journal value of the write concern. + + + + + Gets the local threshold. + + + + + Gets the max idle time. + + + + + Gets the max life time. + + + + + Gets the max size of the connection pool. + + + + + Gets the max staleness. + + + + + Gets the min size of the connection pool. + + + + + Gets the password. + + + + + Gets the read concern level. + + + The read concern level. + + + + + Gets the read preference. + + + + + Gets the replica set name. + + + + + Gets the read preference tags. + + + + + Gets the server selection timeout. + + + + + Gets the socket timeout. + + + + + Gets whether to use SSL. + + + + + Gets whether to verify SSL certificates. + + + + + Gets the username. + + + + + Gets the UUID representation. + + + + + Gets the wait queue multiple. + + + + + Gets the wait queue size. + + + + + Gets the wait queue timeout. + + + + + Gets the w value of the write concern. + + + + + Gets the wtimeout value of the write concern. + + + + + Gets the option. + + The name. + The option with the specified name. + + + + + + + Represents settings for a server. + + + + + Gets the default heartbeat interval. + + + + + Gets the default heartbeat timeout. + + + + + Initializes a new instance of the class. + + The heartbeat interval. + The heartbeat timeout. + + + + Gets the heartbeat interval. + + + The heartbeat interval. + + + + + Gets the heartbeat timeout. + + + The heartbeat timeout. + + + + + Returns a new ServerSettings instance with some settings changed. + + The heartbeat interval. + The heartbeat timeout. + A new ServerSettings instance. + + + + + Occurs before a server is selected. + + + + + Initializes a new instance of the struct. + + The cluster description. + The server selector. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the cluster description. + + + + + Gets the operation identifier. + + + + + Gets the server selector. + + + + + + Occurs after a server is selected. + + + + + Initializes a new instance of the struct. + + The cluster description. + The server selector. + The selected server. + The duration of time it took to select the server. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the cluster description. + + + + + Gets the duration of time it took to select the server. + + + + + Gets the operation identifier. + + + + + Gets the server selector. + + + + + Gets the selected server. + + + + + + Occurs when selecting a server fails. + + + + + Initializes a new instance of the struct. + + The cluster description. + The server selector. + The exception. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the cluster description. + + + + + Gets the exception. + + + + + Gets the operation identifier. + + + + + Gets the server selector. + + + + + + Occurs when a cluster has changed. + + + + + Initializes a new instance of the struct. + + The old description. + The new description. + + + + Gets the cluster identifier. + + + + + Gets the old description. + + + + + Gets the new description. + + + + + + Occurs before a server is removed from the cluster. + + + + + Initializes a new instance of the struct. + + The server identifier. + The reason the server is being removed. + + + + Gets the cluster identifier. + + + + + Gets the reason the server is being removed. + + + + + Gets the server identifier. + + + + + + Occurs after a server has been removed from the cluster. + + + + + Initializes a new instance of the struct. + + The server identifier. + The reason. + The duration of time it took to remove the server. + + + + Gets the cluster identifier. + + + + + Gets the duration of time it took to remove the server. + + + + + Gets the reason the server was removed. + + + + + Gets the server identifier. + + + + + + Occurs after a cluster is closed. + + + + + Initializes a new instance of the struct. + + The cluster identifier. + The duration of time it took to close the cluster. + + + + Gets the cluster identifier. + + + + + Gets the duration of time it took to close the cluster. + + + + + + Occurs after a cluster is opened. + + + + + Initializes a new instance of the struct. + + The cluster identifier. + The cluster settings. + The duration of time it took to open the cluster. + + + + Gets the cluster identifier. + + + + + Gets the cluster settings. + + + + + Gets the duration of time it took to open the cluster. + + + + + + Occurs after a server is added to the cluster. + + + + + Initializes a new instance of the struct. + + The server identifier. + The duration of time it took to add the server. + + + + Gets the cluster identifier. + + + + + Gets the duration of time it took to add a server, + + + + + Gets the server identifier. + + + + + + Occurs before a server is added to the cluster. + + + + + Initializes a new instance of the struct. + + The cluster identifier. + The end point. + + + + Gets the cluster identifier. + + + + + Gets the end point. + + + + + + Occurs before a cluster is opened. + + + + + Initializes a new instance of the struct. + + The cluster identifier. + The cluster settings. + + + + Gets the cluster identifier. + + + + + Gets the cluster settings. + + + + + + Occurs before a cluster is closed. + + + + + Initializes a new instance of the struct. + + The cluster identifier. + + + + Gets the cluster identifier. + + + + + Occurs when a command has failed. + + + + + Initializes a new instance of the struct. + + Name of the command. + The exception. + The operation identifier. + The request identifier. + The connection identifier. + The duration. + + + + Gets the name of the command. + + + + + Gets the connection identifier. + + + + + Gets the duration. + + + + + Gets the exception. + + + + + Gets the operation identifier. + + + + + Gets the request identifier. + + + + + Occurs when a command has succeeded. + + + + + Initializes a new instance of the struct. + + Name of the command. + The reply. + The operation identifier. + The request identifier. + The connection identifier. + The duration. + + + + Gets the name of the command. + + + + + Gets the connection identifier. + + + + + Gets the duration. + + + + + Gets the operation identifier. + + + + + Gets the reply. + + + + + Gets the request identifier. + + + + + Occurs when a command has started. + + + + + Initializes a new instance of the class. + + Name of the command. + The command. + The database namespace. + The operation identifier. + The request identifier. + The connection identifier. + + + + Gets the command. + + + + + Gets the name of the command. + + + + + Gets the connection identifier. + + + + + Gets the database namespace. + + + + + Gets the operation identifier. + + + + + Gets the request identifier. + + + + + + Occurs after a connection is closed. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The duration of time it took to close the connection. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to close the connection. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs before a connection is closed. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs after a connection is opened. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The connection settings. + The duration of time it took to open the connection. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the connection settings. + + + + + Gets the duration of time it took to open the connection. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs before a connection is opened. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The connection settings. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the connection settings. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs when a connection fails to open. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The connection settings. + The exception. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the connection settings. + + + + + Gets the exception. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + Occurs after a message is received. + + + + + + Initializes a new instance of the struct. + + The connection identifier. + The id of the message we received a response to. + The length of the received message. + The duration of network time it took to receive the message. + The duration of deserialization time it took to receive the message. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to receive the message. + + + + + Gets the duration of deserialization time it took to receive the message. + + + + + Gets the duration of network time it took to receive the message. + + + + + Gets the length of the received message. + + + + + Gets the operation identifier. + + + + + Gets the id of the message we received a response to. + + + + + Gets the server identifier. + + + + + + Occurs before a message is received. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The id of the message we are receiving a response to. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the operation identifier. + + + + + Gets the id of the message we are receiving a response to. + + + + + Gets the server identifier. + + + + + + Occurs when a message was unable to be received. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The id of the message we were receiving a response to. + The exception. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the exception. + + + + + Gets the operation identifier. + + + + + Gets id of the message we were receiving a response to. + + + + + Gets the server identifier. + + + + + + Occurs before a message is sent. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The request ids. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the request ids. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs when a message could not be sent. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The request ids. + The exception. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the exception. + + + + + Gets the operation identifier. + + + + + Gets the request ids. + + + + + Gets the server identifier. + + + + + + Occurs after a message has been sent. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The request ids. + The length. + The duration of time spent on the network. + The duration of time spent serializing the messages. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to send the message. + + + + + Gets the duration of time spent on the network. + + + + + Gets the operation identifier. + + + + + Gets the duration of time spent serializing the messages. + + + + + Gets the combined length of the messages. + + + + + Gets the request ids. + + + + + Gets the server identifier. + + + + + An event subscriber that writes command events to a trace source. + + + + + Initializes a new instance of the class. + + The trace source. + + + + + + + An event subscriber that writes to a trace source. + + + + + Initializes a new instance of the class. + + The trace source. + + + + + + + + Represents an event subscriber that records certain events to Windows performance counters. + + + + + Installs the performance counters. + + + + + Initializes a new instance of the class. + + The name of the application. + + + + + + + A subscriber to events. + + + + + Tries to get an event handler for an event of type . + + The type of the event. + The handler. + true if this subscriber has provided an event handler; otherwise false. + + + + Subscribes methods with a single argument to events + of that single argument's type. + + + + + Initializes a new instance of the class. + + The instance. + Name of the method to match against. + The binding flags. + + + + + + + + Occurs after a server is closed. + + + + + Initializes a new instance of the struct. + + The server identifier. + The duration of time it took to close the server. + + + + Gets the cluster identifier. + + + + + Gets the duration of time it took to close the server. + + + + + Gets the server identifier. + + + + + + Occurs after a server's description has changed. + + + + + Initializes a new instance of the struct. + + The old description. + The new description. + + + + Gets the cluster identifier. + + + + + Gets the new description. + + + + + Gets the old description. + + + + + Gets the server identifier. + + + + + + Occurs when a heartbeat failed. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The exception. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the exception. + + + + + Gets the server identifier. + + + + + + Occurs after a server is opened. + + + + + Initializes a new instance of the struct. + + The server identifier. + The server settings. + The duration of time it took to open the server. + + + + Gets the cluster identifier. + + + + + Gets the duration of time it took to open the server. + + + + + Gets the server identifier. + + + + + Gets the server settings. + + + + + + Occurs before heartbeat is issued. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The duration of time it took to complete the heartbeat. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to complete the heartbeat. + + + + + Gets the server identifier. + + + + + + Occurs when a heartbeat succeeded. + + + + + Initializes a new instance of the struct. + + The connection identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the server identifier. + + + + + + Occurs before a server is opened. + + + + + Initializes a new instance of the struct. + + The server identifier. + The server settings. + + + + Gets the cluster identifier. + + + + + Gets the server identifier. + + + + + Gets the server settings. + + + + + + Occurs before a server is closed. + + + + + Initializes a new instance of the struct. + + The server identifier. + + + + Gets the cluster identifier. + + + + + Gets the server identifier. + + + + + + Occurs after a connection is checked in to the pool. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The duration of time it took to check in the connection. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to check in the connection. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs after a connection is checked out of the pool. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The duration of time it took to check out the connection. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to check out the connection. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs before a connection is checked in to the pool. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs before a connection is checking out of the pool. + + + + + Initializes a new instance of the struct. + + The server identifier. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs when a connection could not be checked out of the pool. + + + + + Initializes a new instance of the struct. + + The server identifier. + The exception. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the exception. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs before a connection is removed from the pool. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs after a connection is removed from the pool. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The duration of time it took to remove the connection from the pool. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to remove the connection from the pool. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs after the pool is opened. + + + + + Initializes a new instance of the struct. + + The server identifier. + The connection pool settings. + + + + Gets the cluster identifier. + + + + + Gets the connection pool settings. + + + + + Gets the server identifier. + + + + + + Occurs after the pool is closed. + + + + + Initializes a new instance of the struct. + + The server identifier. + + + + Gets the cluster identifier. + + + + + Gets the server identifier. + + + + + + Occurs after a connection is added to the pool. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The duration of time it took to add the connection to the pool. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to add the server to the pool. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs before a connection is added to the pool. + + + + + Initializes a new instance of the struct. + + The server identifier. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs before the pool is closed. + + + + + Initializes a new instance of the struct. + + The server identifier. + + + + Gets the cluster identifier. + + + + + Gets the server identifier. + + + + + + Occurs before the pool is opened. + + + + + Initializes a new instance of the struct. + + The server identifier. + The connection pool settings. + + + + Gets the cluster identifier. + + + + + Gets the connection pool settings. + + + + + Gets the server identifier. + + + + + Occurs when a connection fails. + + + + + + Initializes a new instance of the struct. + + The connection identifier. + The exception. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the exception. + + + The exception. + + + + + Gets the server identifier. + + + + + Subscriber for a single type of event. + + The type of the single event. + + + + Initializes a new instance of the class. + + The handler. + + + + + + + Represents a connection pool. + + + + + Gets the server identifier. + + + The server identifier. + + + + + Acquires a connection. + + The cancellation token. + A connection. + + + + Acquires a connection. + + The cancellation token. + A Task whose result is a connection. + + + + Clears the connection pool. + + + + + Initializes the connection pool. + + + + + Represents a connection pool factory. + + + + + Creates a connection pool. + + The server identifier. + The end point. + A connection pool. + + + + Represents the document validation action. + + + + + Validation failures result in an error. + + + + + Validation failures result in a warning. + + + + + Represents the document validation level. + + + + + Strict document validation. + + + + + Moderate document validation. + + + + + No document validation. + + + + + Represents helper methods for use with the struct. + + + + + Creates an instance of an optional parameter with a value. + + + This helper method can be used when the implicit conversion doesn't work (due to compiler limitations). + + The type of the optional parameter. + The value. + An instance of an optional parameter with a value. + + + + Creates an instance of an optional parameter with an enumerable value. + + The type of the items of the optional paramater. + The value. + An instance of an optional parameter with an enumerable value. + + + + Represents an optional parameter that might or might not have a value. + + The type of the parameter. + + + + Initializes a new instance of the struct with a value. + + The value of the parameter. + + + + Gets a value indicating whether the optional parameter has a value. + + + true if the optional parameter has a value; otherwise, false. + + + + + Gets the value of the optional parameter. + + + The value of the optional parameter. + + + + + Performs an implicit conversion from to an with a value. + + The value. + + The result of the conversion. + + + + + Returns a value indicating whether this optional parameter contains a value that is not equal to an existing value. + + The value. + True if this optional parameter contains a value that is not equal to an existing value. + + + + Returns either the value of this optional parameter if it has a value, otherwise a default value. + + The default value. + Either the value of this optional parameter if it has a value, otherwise a default value. + + + + Represents a read concern. + + + + + Gets a default read concern. + + + + + Gets a linearizable read concern. + + + + + Gets a local read concern. + + + + + Gets a majority read concern. + + + + + Creates a read concern from a document. + + The document. + A read concern. + + + + Initializes a new instance of the class. + + The level. + + + + Gets a value indicating whether this is the server's default read concern. + + + true if this instance is default; otherwise, false. + + + + + Gets the level. + + + + + + + + + + + + + + Converts this read concern to a BsonDocument suitable to be sent to the server. + + + A BsonDocument. + + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Returns a new instance of ReadConcern with some values changed. + + The level. + + A ReadConcern. + + + + + The leve of the read concern. + + + + + Reads data committed locally. + + + + + Reads data committed to a majority of nodes. + + + + + Avoids returning data from a "stale" primary + (one that has already been superseded by a new primary but doesn't know it yet). + It is important to note that readConcern level linearizable does not by itself + produce linearizable reads; they must be issued in conjunction with w:majority + writes to the same document(s) in order to be linearizable. + + + + + Represents the category for an error from the server. + + + + + An error without a category. + + + + + A duplicate key error. + + + + + An execution timeout error. + + + + + Represents a cursor for an operation that is not actually executed until MoveNextAsync is called for the first time. + + The type of the document. + + + + Initializes a new instance of the class. + + The delegate to execute the first time MoveNext is called. + The delegate to execute the first time MoveNextAsync is called. + + + + + + + + + + + + + + + + Represents an asynchronous cursor. + + The type of the document. + + + + Gets the current batch of documents. + + + The current batch of documents. + + + + + Moves to the next batch of documents. + + The cancellation token. + Whether any more documents are available. + + + + Moves to the next batch of documents. + + The cancellation token. + A Task whose result indicates whether any more documents are available. + + + + Represents extension methods for IAsyncCursor. + + + + + Determines whether the cursor contains any documents. + + The type of the document. + The cursor. + The cancellation token. + True if the cursor contains any documents. + + + + Determines whether the cursor contains any documents. + + The type of the document. + The cursor. + The cancellation token. + A Task whose result is true if the cursor contains any documents. + + + + Returns the first document of a cursor. + + The type of the document. + The cursor. + The cancellation token. + The first document. + + + + Returns the first document of a cursor. + + The type of the document. + The cursor. + The cancellation token. + A Task whose result is the first document. + + + + Returns the first document of a cursor, or a default value if the cursor contains no documents. + + The type of the document. + The cursor. + The cancellation token. + The first document of the cursor, or a default value if the cursor contains no documents. + + + + Returns the first document of the cursor, or a default value if the cursor contains no documents. + + The type of the document. + The cursor. + The cancellation token. + A task whose result is the first document of the cursor, or a default value if the cursor contains no documents. + + + + Calls a delegate for each document returned by the cursor. + + The type of the document. + The source. + The processor. + The cancellation token. + A Task that completes when all the documents have been processed. + + + + Calls a delegate for each document returned by the cursor. + + The type of the document. + The source. + The processor. + The cancellation token. + A Task that completes when all the documents have been processed. + + + + Calls a delegate for each document returned by the cursor. + + + If your delegate is going to take a long time to execute or is going to block + consider using a different overload of ForEachAsync that uses a delegate that + returns a Task instead. + + The type of the document. + The source. + The processor. + The cancellation token. + A Task that completes when all the documents have been processed. + + + + Calls a delegate for each document returned by the cursor. + + + If your delegate is going to take a long time to execute or is going to block + consider using a different overload of ForEachAsync that uses a delegate that + returns a Task instead. + + The type of the document. + The source. + The processor. + The cancellation token. + A Task that completes when all the documents have been processed. + + + + Returns the only document of a cursor. This method throws an exception if the cursor does not contain exactly one document. + + The type of the document. + The cursor. + The cancellation token. + The only document of a cursor. + + + + Returns the only document of a cursor. This method throws an exception if the cursor does not contain exactly one document. + + The type of the document. + The cursor. + The cancellation token. + A Task whose result is the only document of a cursor. + + + + Returns the only document of a cursor, or a default value if the cursor contains no documents. + This method throws an exception if the cursor contains more than one document. + + The type of the document. + The cursor. + The cancellation token. + The only document of a cursor, or a default value if the cursor contains no documents. + + + + Returns the only document of a cursor, or a default value if the cursor contains no documents. + This method throws an exception if the cursor contains more than one document. + + The type of the document. + The cursor. + The cancellation token. + A Task whose result is the only document of a cursor, or a default value if the cursor contains no documents. + + + + Wraps a cursor in an IEnumerable that can be enumerated one time. + + The type of the document. + The cursor. + The cancellation token. + An IEnumerable + + + + Returns a list containing all the documents returned by a cursor. + + The type of the document. + The source. + The cancellation token. + The list of documents. + + + + Returns a list containing all the documents returned by a cursor. + + The type of the document. + The source. + The cancellation token. + A Task whose value is the list of documents. + + + + Represents a collection namespace. + + + + + Creates a new instance of the class from a collection full name. + + The collection full name. + A CollectionNamespace. + + + + Determines whether the specified collection name is valid. + + The name of the collection. + Whether the specified collection name is valid. + + + + Initializes a new instance of the class. + + The name of the database. + The name of the collection. + + + + Initializes a new instance of the class. + + The database namespace. + The name of the collection. + + + + Gets the name of the collection. + + + The name of the collection. + + + + + Gets the database namespace. + + + The database namespace. + + + + + Gets the collection full name. + + + The collection full name. + + + + + + + + + + + + + + + + + Represents a database namespace. + + + + + Gets the admin database namespace. + + + The admin database namespace. + + + + + Determines whether the specified database name is valid. + + The database name. + True if the database name is valid. + + + + Initializes a new instance of the class. + + The name of the database. + + + + Gets the name of the database. + + + The name of the database. + + + + + + + + + + + + + + + + + Represents a MongoDB execution timeout exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + The inner exception. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Represents an operation that will return a cursor when executed. + + The type of the document. + + + + Executes the operation and returns a cursor to the results. + + The cancellation token. + A cursor. + + + + Executes the operation and returns a cursor to the results. + + The cancellation token. + A Task whose result is a cursor. + + + + Represents extension methods for IAsyncCursorSource. + + + + + Determines whether the cursor returned by a cursor source contains any documents. + + The type of the document. + The source. + The cancellation token. + True if the cursor contains any documents. + + + + Determines whether the cursor returned by a cursor source contains any documents. + + The type of the document. + The source. + The cancellation token. + A Task whose result is true if the cursor contains any documents. + + + + Returns the first document of a cursor returned by a cursor source. + + The type of the document. + The source. + The cancellation token. + The first document. + + + + Returns the first document of a cursor returned by a cursor source. + + The type of the document. + The source. + The cancellation token. + A Task whose result is the first document. + + + + Returns the first document of a cursor returned by a cursor source, or a default value if the cursor contains no documents. + + The type of the document. + The source. + The cancellation token. + The first document of the cursor, or a default value if the cursor contains no documents. + + + + Returns the first document of a cursor returned by a cursor source, or a default value if the cursor contains no documents. + + The type of the document. + The source. + The cancellation token. + A Task whose result is the first document of the cursor, or a default value if the cursor contains no documents. + + + + Calls a delegate for each document returned by the cursor. + + The type of the document. + The source. + The processor. + The cancellation token. + A Task that completes when all the documents have been processed. + + + + Calls a delegate for each document returned by the cursor. + + The type of the document. + The source. + The processor. + The cancellation token. + A Task that completes when all the documents have been processed. + + + + Calls a delegate for each document returned by the cursor. + + + If your delegate is going to take a long time to execute or is going to block + consider using a different overload of ForEachAsync that uses a delegate that + returns a Task instead. + + The type of the document. + The source. + The processor. + The cancellation token. + A Task that completes when all the documents have been processed. + + + + Calls a delegate for each document returned by the cursor. + + + If your delegate is going to take a long time to execute or is going to block + consider using a different overload of ForEachAsync that uses a delegate that + returns a Task instead. + + The type of the document. + The source. + The processor. + The cancellation token. + A Task that completes when all the documents have been processed. + + + + Returns the only document of a cursor returned by a cursor source. This method throws an exception if the cursor does not contain exactly one document. + + The type of the document. + The source. + The cancellation token. + The only document of a cursor. + + + + Returns the only document of a cursor returned by a cursor source. This method throws an exception if the cursor does not contain exactly one document. + + The type of the document. + The source. + The cancellation token. + A Task whose result is the only document of a cursor. + + + + Returns the only document of a cursor returned by a cursor source, or a default value if the cursor contains no documents. + This method throws an exception if the cursor contains more than one document. + + The type of the document. + The source. + The cancellation token. + The only document of a cursor, or a default value if the cursor contains no documents. + + + + Returns the only document of a cursor returned by a cursor source, or a default value if the cursor contains no documents. + This method throws an exception if the cursor contains more than one document. + + The type of the document. + The source. + The cancellation token. + A Task whose result is the only document of a cursor, or a default value if the cursor contains no documents. + + + + Wraps a cursor source in an IEnumerable. Each time GetEnumerator is called a new cursor is fetched from the cursor source. + + The type of the document. + The source. + The cancellation token. + An IEnumerable. + + + + Returns a list containing all the documents returned by the cursor returned by a cursor source. + + The type of the document. + The source. + The cancellation token. + The list of documents. + + + + Returns a list containing all the documents returned by the cursor returned by a cursor source. + + The type of the document. + The source. + The cancellation token. + A Task whose value is the list of documents. + + + + Represents a MongoDB client exception. + + + + + Initializes a new instance of the class. + + The error message. + + + + Initializes a new instance of the class. + + The error message. + The inner exception. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Represents a MongoDB cursor not found exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The cursor identifier. + The query. + + + + Initializes a new instance of the class. + + The information. + The context. + + + + Gets the cursor identifier. + + + The cursor identifier. + + + + + + + + Represents a MongoDB incompatible driver exception. + + + + + Initializes a new instance of the class. + + The cluster description. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Represents a MongoDB server exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + The inner exception. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Gets the connection identifier. + + + + + + + + Represents a MongoDB connection pool wait queue full exception. + + + + + Initializes a new instance of the class. + + The error message. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Represents a MongoDB node is recovering exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The result. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Gets the result from the server. + + + The result from the server. + + + + + + + + Represents a MongoDB not primary exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The result. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Gets the result from the server. + + + The result from the server. + + + + + + + + Represents a cursor that wraps another cursor with a transformation function on the documents. + + The type of from document. + The type of to document. + + + + + Initializes a new instance of the class. + + The wrapped. + The transformer. + + + + + + + + + + + + + + + + Represents a read preference. + + + + + Gets an instance of ReadPreference that represents a Nearest read preference. + + + An instance of ReadPreference that represents a Nearest read preference. + + + + + Gets an instance of ReadPreference that represents a Primary read preference. + + + An instance of ReadPreference that represents a Primary read preference. + + + + + Gets an instance of ReadPreference that represents a PrimaryPreferred read preference. + + + An instance of ReadPreference that represents a PrimaryPreferred read preference. + + + + + Gets an instance of ReadPreference that represents a Secondary read preference. + + + An instance of ReadPreference that represents a Secondary read preference. + + + + + Gets an instance of ReadPreference that represents a SecondaryPreferred read preference. + + + An instance of ReadPreference that represents a SecondaryPreferred read preference. + + + + + Initializes a new instance of the class. + + The read preference mode. + The tag sets. + The maximum staleness. + + + + Gets the maximum staleness. + + + The maximum staleness. + + + + + Gets the read preference mode. + + + The read preference mode. + + + + + Gets the tag sets. + + + The tag sets. + + + + + + + + + + + + + + + + + Returns a new instance of ReadPreference with some values changed. + + The read preference mode. + A new instance of ReadPreference. + + + + Returns a new instance of ReadPreference with some values changed. + + The tag sets. + A new instance of ReadPreference. + + + + Returns a new instance of ReadPreference with some values changed. + + The maximum staleness. + A new instance of ReadPreference. + + + + Represents the read preference mode. + + + + + Reads should be from the primary. + + + + + Reads should be from the primary if possible, otherwise from a secondary. + + + + + Reads should be from a secondary. + + + + + Reads should be from a secondary if possible, otherwise from the primary. + + + + + Reads should be from any server that is within the latency threshold window. + + + + + Represents a replica set member tag. + + + + + Initializes a new instance of the class. + + The name. + The value. + + + + Gets the name. + + + The name. + + + + + Gets the value. + + + The value. + + + + + + + + + + + + + + + + + Represents a replica set member tag set. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The tags. + + + + Gets a value indicating whether the tag set is empty. + + + true if the tag set is empty; otherwise, false. + + + + + Gets the tags. + + + The tags. + + + + + Determines whether the tag set contains all of the required tags. + + The required tags. + True if the tag set contains all of the required tags. + + + + + + + + + + + + + + + + Represents a MongoDB configuration exception. + + + + + Initializes a new instance of the class. + + The error message. + + + + Initializes a new instance of the class. + + The error message. + The inner exception. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Represents a MongoDB connection failed exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Represents the results of an operation performed with an acknowledged WriteConcern. + + + + + Initializes a new instance of the class. + + The response. + + + + Gets the number of documents affected. + + + + + Gets whether the result has a LastErrorMessage. + + + + + Gets the last error message (null if none). + + + + + Gets the _id of an upsert that resulted in an insert. + + + + + Gets whether the last command updated an existing document. + + + + + Gets the wrapped result. + + + + + Represents a MongoDB authentication exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + The inner exception. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Represents a MongoDB connection exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + The inner exception. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Gets the connection identifier. + + + + + + + + Represents a MongoDB duplicate key exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + The command result. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Represents a MongoDB exception. + + + + + Initializes a new instance of the class. + + The error message. + + + + Initializes a new instance of the class. + + The error message. + The inner exception. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Represents a MongoDB internal exception (almost surely the result of a bug). + + + + + Initializes a new instance of the class. + + The error message. + + + + Initializes a new instance of the class. + + The error message. + The inner exception. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Represents a MongoDB query exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The message. + The query. + The query result. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Gets the query. + + + The query. + + + + + Gets the query result. + + + The query result. + + + + + + + + Represents a MongoDB write concern exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + The command result. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Gets the write concern result. + + + The write concern result. + + + + + + + + Represents a MongoDB command exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The message. + The command. + + + + Initializes a new instance of the class. + + The connection identifier. + The message. + The command. + The command result. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Gets the error code. + + + The error code. + + + + + Gets the command. + + + The command. + + + + + Gets the error message. + + + The error message. + + + + + Gets the command result. + + + The command result. + + + + + + + + Represents a write concern. + + + + + Gets an instance of WriteConcern that represents an acknowledged write concern. + + + An instance of WriteConcern that represents an acknowledged write concern. + + + + + Gets an instance of WriteConcern that represents an unacknowledged write concern. + + + An instance of WriteConcern that represents an unacknowledged write concern. + + + + + Gets an instance of WriteConcern that represents a W1 write concern. + + + An instance of WriteConcern that represents a W1 write concern. + + + + + Gets an instance of WriteConcern that represents a W2 write concern. + + + An instance of WriteConcern that represents a W2 write concern. + + + + + Gets an instance of WriteConcern that represents a W3 write concern. + + + An instance of WriteConcern that represents a W3 write concern. + + + + + Gets an instance of WriteConcern that represents a majority write concern. + + + An instance of WriteConcern that represents a majority write concern. + + + + + Creates a write concern from a document. + + The document. + A write concern. + + + + Initializes a new instance of the class. + + The w value. + The wtimeout value. + The fsync value . + The journal value. + + + + Initializes a new instance of the class. + + The mode. + The wtimeout value. + The fsync value . + The journal value. + + + + Initializes a new instance of the class. + + The w value. + The wtimeout value. + The fsync value . + The journal value. + + + + Gets the fsync value. + + + The fsync value. + + + + + Gets a value indicating whether this instance is an acknowledged write concern. + + + true if this instance is an acknowledged write concern; otherwise, false. + + + + + Gets a value indicating whether this write concern will use the default on the server. + + + true if this instance is the default; otherwise, false. + + + + + Gets the journal value. + + + The journal value. + + + + + Gets the w value. + + + The w value. + + + + + Gets the wtimeout value. + + + The wtimeout value. + + + + + + + + + + + + + + Converts this write concern to a BsonDocument suitable to be sent to the server. + + + A BsonDocument. + + + + + + + + Returns a new instance of WriteConcern with some values changed. + + The w value. + The wtimeout value. + The fsync value. + The journal value. + A WriteConcern. + + + + Returns a new instance of WriteConcern with some values changed. + + The mode. + The wtimeout value. + The fsync value. + The journal value. + A WriteConcern. + + + + Returns a new instance of WriteConcern with some values changed. + + The w value. + The wtimeout value. + The fsync value. + The journal value. + A WriteConcern. + + + + Represents the base class for w values. + + + + + Parses the specified value. + + The value. + A WValue. + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from Nullable{Int32} to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + + + + Converts this WValue to a BsonValue suitable to be included in a BsonDocument representing a write concern. + + A BsonValue. + + + + Represents a numeric WValue. + + + + + Initializes a new instance of the class. + + The w value. + + + + Gets the value. + + + The value. + + + + + + + + + + + + + + + + + + + + Represents a mode string WValue. + + + + + Gets an instance of WValue that represents the majority mode. + + + An instance of WValue that represents the majority mode. + + + + + Initializes a new instance of the class. + + The mode. + + + + Gets the value. + + + The value. + + + + + + + + + + + + + + + + + + + diff --git a/IntegrationTests/bin/Debug/MongoDB.Driver.dll b/IntegrationTests/bin/Debug/MongoDB.Driver.dll new file mode 100644 index 0000000..d3174e4 Binary files /dev/null and b/IntegrationTests/bin/Debug/MongoDB.Driver.dll differ diff --git a/IntegrationTests/bin/Debug/MongoDB.Driver.xml b/IntegrationTests/bin/Debug/MongoDB.Driver.xml new file mode 100644 index 0000000..fb4ec02 --- /dev/null +++ b/IntegrationTests/bin/Debug/MongoDB.Driver.xml @@ -0,0 +1,16420 @@ + + + + MongoDB.Driver + + + + + Represents the granularity value for a $bucketAuto stage. + + + + + Gets the E6 granularity. + + + + + Gets the E12 granularity. + + + + + Gets the E24 granularity. + + + + + Gets the E48 granularity. + + + + + Gets the E96 granularity. + + + + + Gets the E192 granularity. + + + + + Gets the POWERSOF2 granularity. + + + + + Gets the R5 granularity. + + + + + Gets the R10 granularity. + + + + + Gets the R20 granularity. + + + + + Gets the R40 granularity. + + + + + Gets the R80 granularity. + + + + + Gets the 1-2-5 granularity. + + + + + Initializes a new instance of the struct. + + The value. + + + + Gets the value. + + + + + Represents options for the BucketAuto method. + + + + + Gets or sets the granularity. + + + + + Represents the result of the $bucketAuto stage. + + The type of the value. + + + + Initializes a new instance of the class. + + The inclusive lower boundary of the bucket. + The count. + + + + Initializes a new instance of the class. + + The minimum. + The maximum. + The count. + + + + Gets the inclusive lower boundary of the bucket. + + + The inclusive lower boundary of the bucket. + + + + + Gets the count. + + + The count. + + + + + Gets the maximum. + + + + + Gets the minimum. + + + + + Represents the _id value in the result of a $bucketAuto stage. + + The type of the values. + + + + Initializes a new instance of the class. + + The minimum. + The maximum. + + + + Gets the max value. + + + + + Gets the min value. + + + + + Represents options for the Bucket method. + + The type of the value. + + + + Gets or sets the default bucket. + + + + + Represents the result of the $bucket stage. + + The type of the value. + + + + Initializes a new instance of the class. + + The inclusive lower boundary of the bucket. + The count. + + + + Gets the inclusive lower boundary of the bucket. + + + The inclusive lower boundary of the bucket. + + + + + Gets the count. + + + The count. + + + + + Result type for the aggregate $count stage. + + + + + Initializes a new instance of the class. + + The count. + + + + Gets the count. + + + The count. + + + + + An aggregation expression. + + The type of the source. + The type of the result. + + + + Performs an implicit conversion from to . + + The expression. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The expression. + + The result of the conversion. + + + + + Renders the aggregation expression. + + The source serializer. + The serializer registry. + The rendered aggregation expression. + + + + A based aggregate expression. + + The type of the source. + The type of the result. + + + + + Initializes a new instance of the class. + + The expression. + + + + + + + A based aggregate expression. + + The type of the source. + The type of the result. + + + + + Initializes a new instance of the class. + + The expression. + The translation options. + + + + + + + Represents static methods for creating facets. + + + + + Creates a new instance of the class. + + The type of the input documents. + The type of the output documents. + The facet name. + The facet pipeline. + + A new instance of the class + + + + + Represents a facet to be passed to the Facet method. + + The type of the input documents. + + + + Initializes a new instance of the class. + + The facet name. + + + + Gets the facet name. + + + + + Gets the output serializer. + + + + + Gets the type of the output documents. + + + + + Renders the facet pipeline. + + The input serializer. + The serializer registry. + The rendered pipeline. + + + + Represents a facet to be passed to the Facet method. + + The type of the input documents. + The type of the otuput documents. + + + + Initializes a new instance of the class. + + The facet name. + The facet pipeline. + + + + + + + + + + Gets the facet pipeline. + + + + + + + + Options for the aggregate $facet stage. + + The type of the output documents. + + + + Gets or sets the output serializer. + + + + + Represents an abstract AggregateFacetResult with an arbitrary TOutput type. + + + + + Initializes a new instance of the class. + + The name of the facet. + + + + Gets the name of the facet. + + + + + Gets the output of the facet. + + The type of the output documents. + The output of the facet. + + + + Represents the result of a single facet. + + The type of the output. + + + + Initializes a new instance of the class. + + The name. + The output. + + + + Gets or sets the output. + + + The output. + + + + + Represents the results of a $facet stage with an arbitrary number of facets. + + + + + Initializes a new instance of the class. + + The facets. + + + + Gets the facets. + + + + + Represents options for the GraphLookup method. + + The type of from documents. + The type of the as field elements. + The type of the output documents. + + + + Gets or sets the TAsElement serialzier. + + + + + Gets or sets the TFrom serializer. + + + + + Gets or sets the maximum depth. + + + + + Gets or sets the output serializer. + + + + + Gets the filter to restrict the search with. + + + + + Options for the aggregate $lookup stage. + + The type of the foreign document. + The type of the result. + + + + Gets or sets the foreign document serializer. + + + + + Gets or sets the result serializer. + + + + + Result type for the aggregate $sortByCount stage. + + The type of the identifier. + + + + Initializes a new instance of the class. + + The identifier. + The count. + + + + Gets the count. + + + The count. + + + + + Gets the identifier. + + + The identifier. + + + + + Option for which expression to generate for certain string operations. + + + + + Translate to the byte variation. + + + + + Translate to the code points variation. This is only supported in >= MongoDB 3.4. + + + + + A static helper class containing various builders. + + The type of the document. + + + + Gets a . + + + + + Gets an . + + + + + Gets a . + + + + + Gets a . + + + + + Gets an . + + + + + Model for creating an index. + + The type of the document. + + + + Initializes a new instance of the class. + + The keys. + The options. + + + + Gets the keys. + + + + + Gets the options. + + + + + Options for creating a view. + + The type of the documents. + + + + Gets or sets the collation. + + + The collation. + + + + + Gets or sets the document serializer. + + + The document serializer. + + + + + Gets or sets the serializer registry. + + + The serializer registry. + + + + + Options for the Delete methods. + + + + + Gets or sets the collation. + + + + + Base class for an index keys definition. + + The type of the document. + + + + Renders the index keys definition to a . + + The document serializer. + The serializer registry. + A . + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + A based index keys definition. + + The type of the document. + + + + Initializes a new instance of the class. + + The document. + + + + Gets the document. + + + + + + + + A JSON based index keys definition. + + The type of the document. + + + + Initializes a new instance of the class. + + The json. + + + + Gets the json. + + + + + + + + Represents index option defaults. + + + + + Gets or sets the storage engine options. + + + + + Returns this instance represented as a BsonDocument. + + A BsonDocument. + + + + Options for inserting one document. + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + A model for a queryable to be executed using the aggregation framework. + + The type of the output. + + + + Gets the stages. + + + + + Gets the output serializer. + + + + + Gets the type of the output. + + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Compare two expressions to determine if they are equivalent. + + + + + Provides functionality to evaluate queries against MongoDB. + + + + + Gets the execution model. + + + The execution model. + + + + + Provides functionality to evaluate queries against MongoDB + wherein the type of the data is known. + + + The type of the data in the data source. + This type parameter is covariant. + That is, you can use either the type you specified or any type that is more + derived. For more information about covariance and contravariance, see Covariance + and Contravariance in Generics. + + + + + Represents the result of a sorting operation. + + + The type of the data in the data source. + This type parameter is covariant. + That is, you can use either the type you specified or any type that is more + derived. For more information about covariance and contravariance, see Covariance + and Contravariance in Generics. + + + + + An implementation of for MongoDB. + + + + + Gets the collection namespace. + + + + + Gets the collection document serializer. + + + + + Gets the execution model. + + The expression. + The execution model. + + + + Executes the strongly-typed query represented by a specified expression tree. + + The type of the result. + An expression tree that represents a LINQ query. + The cancellation token. + The value that results from executing the specified query. + + + + This static class holds methods that can be used to express MongoDB specific operations in LINQ queries. + + + + + Injects a low level FilterDefinition{TDocument} into a LINQ where clause. Can only be used in LINQ queries. + + The type of the document. + The filter. + + Throws an InvalidOperationException if called. + + + + + Enumerable Extensions for MongoDB. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Extension for . + + + + + Determines whether a sequence contains any elements. + + The type of the elements of . + A sequence to check for being empty. + The cancellation token. + + true if the source sequence contains any elements; otherwise, false. + + + + + Determines whether any element of a sequence satisfies a condition. + + The type of the elements of . + A sequence whose elements to test for a condition. + A function to test each element for a condition. + The cancellation token. + + true if any elements in the source sequence pass the test in the specified predicate; otherwise, false. + + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The average of the projected values. + + + + + Returns the number of elements in a sequence. + + The type of the elements of . + The that contains the elements to be counted. + The cancellation token. + + The number of elements in the input sequence. + + + + + Returns the number of elements in the specified sequence that satisfies a condition. + + The type of the elements of . + An that contains the elements to be counted. + A function to test each element for a condition. + The cancellation token. + + The number of elements in the sequence that satisfies the condition in the predicate function. + + + + + Returns distinct elements from a sequence by using the default equality comparer to compare values. + + The type of the elements of . + The to remove duplicates from. + + An that contains distinct elements from . + + + + + Returns the first element of a sequence. + + The type of the elements of . + The to return the first element of. + The cancellation token. + + The first element in . + + + + + Returns the first element of a sequence that satisfies a specified condition. + + The type of the elements of . + An to return an element from. + A function to test each element for a condition. + The cancellation token. + + The first element in that passes the test in . + + + + + Returns the first element of a sequence, or a default value if the sequence contains no elements. + + The type of the elements of . + The to return the first element of. + The cancellation token. + + default() if is empty; otherwise, the first element in . + + + + + Returns the first element of a sequence that satisfies a specified condition or a default value if no such element is found. + + The type of the elements of . + An to return an element from. + A function to test each element for a condition. + The cancellation token. + + default() if is empty or if no element passes the test specified by ; otherwise, the first element in that passes the test specified by . + + + + + Groups the elements of a sequence according to a specified key selector function. + + The type of the elements of . + The type of the key returned by the function represented in keySelector. + An whose elements to group. + A function to extract the key for each element. + + An that has a type argument of + and where each object contains a sequence of objects + and a key. + + + + + Groups the elements of a sequence according to a specified key selector function + and creates a result value from each group and its key. + + The type of the elements of . + The type of the key returned by the function represented in keySelector. + The type of the result value returned by resultSelector. + An whose elements to group. + A function to extract the key for each element. + A function to create a result value from each group. + + An that has a type argument of TResult and where + each element represents a projection over a group and its key. + + + + + Correlates the elements of two sequences based on key equality and groups the results. + + The type of the elements of the first sequence. + The type of the elements of the second sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first sequence to join. + The sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. + + An that contains elements of type obtained by performing a grouped join on two sequences. + + + + + Correlates the elements of two sequences based on key equality and groups the results. + + The type of the elements of the first sequence. + The type of the elements of the second sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first sequence to join. + The collection to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. + + An that contains elements of type obtained by performing a grouped join on two sequences. + + + + + Correlates the elements of two sequences based on matching keys. + + The type of the elements of the first sequence. + The type of the elements of the second sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first sequence to join. + The sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from two matching elements. + + An that has elements of type obtained by performing an inner join on two sequences. + + + + + Correlates the elements of two sequences based on matching keys. + + The type of the elements of the first sequence. + The type of the elements of the second sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first sequence to join. + The sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from two matching elements. + + An that has elements of type obtained by performing an inner join on two sequences. + + + + + Returns the number of elements in a sequence. + + The type of the elements of . + The that contains the elements to be counted. + The cancellation token. + + The number of elements in the input sequence. + + + + + Returns the number of elements in the specified sequence that satisfies a condition. + + The type of the elements of . + An that contains the elements to be counted. + A function to test each element for a condition. + The cancellation token. + + The number of elements in the sequence that satisfies the condition in the predicate function. + + + + + Returns the maximum value in a generic . + + The type of the elements of . + A sequence of values to determine the maximum of. + The cancellation token. + + The maximum value in the sequence. + + + + + Invokes a projection function on each element of a generic and returns the maximum resulting value. + + The type of the elements of . + The type of the value returned by the function represented by . + A sequence of values to determine the maximum of. + A projection function to apply to each element. + The cancellation token. + + The maximum value in the sequence. + + + + + Returns the minimum value in a generic . + + The type of the elements of . + A sequence of values to determine the minimum of. + The cancellation token. + + The minimum value in the sequence. + + + + + Invokes a projection function on each element of a generic and returns the minimum resulting value. + + The type of the elements of . + The type of the value returned by the function represented by . + A sequence of values to determine the minimum of. + A projection function to apply to each element. + The cancellation token. + + The minimum value in the sequence. + + + + + Filters the elements of an based on a specified type. + + The type to filter the elements of the sequence on. + An whose elements to filter. + + A collection that contains the elements from that have type . + + + + + Sorts the elements of a sequence in ascending order according to a key. + + The type of the elements of . + The type of the key returned by the function that is represented by keySelector. + A sequence of values to order. + A function to extract a key from an element. + + An whose elements are sorted according to a key. + + + + + Sorts the elements of a sequence in descending order according to a key. + + The type of the elements of . + The type of the key returned by the function that is represented by keySelector. + A sequence of values to order. + A function to extract a key from an element. + + An whose elements are sorted in descending order according to a key. + + + + + Returns a sample of the elements in the . + + The type of the elements of . + An to return a sample of. + The number of elements in the sample. + + A sample of the elements in the . + + + + + Projects each element of a sequence into a new form by incorporating the + element's index. + + The type of the elements of . + The type of the value returned by the function represented by selector. + A sequence of values to project. + A projection function to apply to each element. + + An whose elements are the result of invoking a + projection function on each element of source. + + + + + Projects each element of a sequence to an and combines the resulting sequences into one sequence. + + The type of the elements of . + The type of the elements of the sequence returned by the function represented by . + A sequence of values to project. + A projection function to apply to each element. + + An whose elements are the result of invoking a one-to-many projection function on each element of the input sequence. + + + + + Projects each element of a sequence to an and + invokes a result selector function on each element therein. The resulting values from + each intermediate sequence are combined into a single, one-dimensional sequence and returned. + + The type of the elements of . + The type of the intermediate elements collected by the function represented by . + The type of the elements of the resulting sequence. + A sequence of values to project. + A projection function to apply to each element of the input sequence. + A projection function to apply to each element of each intermediate sequence. + + An whose elements are the result of invoking the one-to-many projection function on each element of and then mapping each of those sequence elements and their corresponding element to a result element. + + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. + + The type of the elements of . + An to return the single element of. + The cancellation token. + + The single element of the input sequence. + + + + + Returns the only element of a sequence that satisfies a specified condition, and throws an exception if more than one such element exists. + + The type of the elements of . + An to return a single element from. + A function to test an element for a condition. + The cancellation token. + + The single element of the input sequence that satisfies the condition in . + + + + + Returns the only element of a sequence, or a default value if the sequence is empty; this method throws an exception if there is more than one element in the sequence. + + The type of the elements of . + An to return the single element of. + The cancellation token. + + The single element of the input sequence, or default() if the sequence contains no elements. + + + + + Returns the only element of a sequence that satisfies a specified condition or a default value if no such element exists; this method throws an exception if more than one element satisfies the condition. + + The type of the elements of . + An to return a single element from. + A function to test an element for a condition. + The cancellation token. + + The single element of the input sequence that satisfies the condition in , or default() if no such element is found. + + + + + Bypasses a specified number of elements in a sequence and then returns the + remaining elements. + + The type of the elements of source + An to return elements from. + The number of elements to skip before returning the remaining elements. + + An that contains elements that occur after the + specified index in the input sequence. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The sum of the projected values. + + + + + Returns a specified number of contiguous elements from the start of a sequence. + + The type of the elements of . + The sequence to return elements from. + The number of elements to return. + + An that contains the specified number of elements + from the start of source. + + + + + Performs a subsequent ordering of the elements in a sequence in ascending + order according to a key. + + The type of the elements of . + The type of the key returned by the function that is represented by keySelector. + A sequence of values to order. + A function to extract a key from an element. + + An whose elements are sorted according to a key. + + + + + Performs a subsequent ordering of the elements in a sequence in descending + order according to a key. + + The type of the elements of . + The type of the key returned by the function that is represented by keySelector. + A sequence of values to order. + A function to extract a key from an element. + + An whose elements are sorted in descending order according to a key. + + + + + Filters a sequence of values based on a predicate. + + The type of the elements of . + An to return elements from. + A function to test each element for a condition. + + An that contains elements from the input sequence + that satisfy the condition specified by predicate. + + + + + MongoDB only supports constants on the RHS for certain expressions, so we'll move them around + to make it easier to generate MongoDB syntax. + + + + + VB creates coalescing operations when dealing with nullable value comparisons, so we try and make this look like C# + + + + + VB uses a method for string comparisons, so we'll convert this into a BinaryExpression. + + + + + VB creates an IsNothing comparison using a method call. We'll translate this to a simple + null comparison. + + + + + VB introduces a Convert on the LHS with a Nothing comparison, so we make it look like + C# which does not have one with a comparison to null. + + + + + VB creates string index expressions using character comparison whereas C# uses ascii value comparison + we make VB's string index comparison look like C#. + + + + + An execution model. + + + + + Gets the type of the output. + + + + + This guy is going to replace calls like store.GetValue("d.y") with nestedStore.GetValue("y"). + + + + + Options for controlling translation from .NET expression trees into MongoDB expressions. + + + + + Gets or sets the string translation mode. + + + + + Represents an identity defined by an X509 certificate. + + + + + Initializes a new instance of the class. + + The username. + + + + Extension methods for adding stages to a pipeline. + + + + + Appends a stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + The pipeline. + The stage. + The output serializer. + A new pipeline with an additional stage. + + + + Changes the output type of the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + The pipeline. + The output serializer. + + A new pipeline with an additional stage. + + + + + Appends a $bucket stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the values. + The pipeline. + The group by expression. + The boundaries. + The options. + + A new pipeline with an additional stage. + + + + + Appends a $bucket stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the values. + The type of the output documents. + The pipeline. + The group by expression. + The boundaries. + The output projection. + The options. + + A new pipeline with an additional stage. + + + + + Appends a $bucket stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the values. + The pipeline. + The group by expression. + The boundaries. + The options. + The translation options. + + The fluent aggregate interface. + + + + + Appends a $bucket stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the values. + The type of the output documents. + The pipeline. + The group by expression. + The boundaries. + The output projection. + The options. + The translation options. + + The fluent aggregate interface. + + + + + Appends a $bucketAuto stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the values. + The pipeline. + The group by expression. + The number of buckets. + The options. + + A new pipeline with an additional stage. + + + + + Appends a $bucketAuto stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the values. + The type of the output documents. + The pipeline. + The group by expression. + The number of buckets. + The output projection. + The options. + + A new pipeline with an additional stage. + + + + + Appends a $bucketAuto stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the value. + The pipeline. + The group by expression. + The number of buckets. + The options (optional). + The translation options. + + The fluent aggregate interface. + + + + + Appends a $bucketAuto stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the value. + The type of the output documents. + The pipeline. + The group by expression. + The number of buckets. + The output projection. + The options (optional). + The translation options. + + The fluent aggregate interface. + + + + + Appends a $count stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The pipeline. + + A new pipeline with an additional stage. + + + + + Appends a $facet stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + The pipeline. + The facets. + The options. + + A new pipeline with an additional stage. + + + + + Appends a $facet stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The pipeline. + The facets. + + The fluent aggregate interface. + + + + + Appends a $facet stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The pipeline. + The facets. + + The fluent aggregate interface. + + + + + Appends a $facet stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + The pipeline. + The facets. + + The fluent aggregate interface. + + + + + Used to start creating a pipeline for {TInput} documents. + + The type of the output. + The inputSerializer serializer. + + The fluent aggregate interface. + + + + + Appends a $graphLookup stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field elements. + The type of the as field. + The type of the output documents. + The pipeline. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The options. + The fluent aggregate interface. + + + + Appends a $graphLookup stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field. + The type of the output documents. + The pipeline. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The options. + The stage. + + + + Appends a $graphLookup stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the from documents. + The pipeline. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The fluent aggregate interface. + + + + Appends a $graphLookup stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field. + The type of the output documents. + The pipeline. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The options. + The translation options. + The stage. + + + + Appends a $graphLookup stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field elements. + The type of the as field. + The type of the output documents. + The pipeline. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The options. + The translation options. + The stage. + + + + Appends a $group stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + The pipeline. + The group projection. + + A new pipeline with an additional stage. + + + + + Appends a group stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The pipeline. + The group projection. + + The fluent aggregate interface. + + + + + Appends a group stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the key. + The type of the output documents. + The pipeline. + The id. + The group projection. + The translation options. + + The fluent aggregate interface. + + + + + Appends a $limit stage to the pipeline. + + The type of the input documents. + The type of the output documents. + The pipeline. + The limit. + + A new pipeline with an additional stage. + + + + + Appends a $lookup stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the foreign collection documents. + The type of the output documents. + The pipeline. + The foreign collection. + The local field. + The foreign field. + The "as" field. + The options. + + A new pipeline with an additional stage. + + + + + Appends a lookup stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the foreign collection documents. + The type of the output documents. + The pipeline. + The foreign collection. + The local field. + The foreign field. + The "as" field. + The options. + + The fluent aggregate interface. + + + + + Appends a $match stage to the pipeline. + + The type of the input documents. + The type of the output documents. + The pipeline. + The filter. + + A new pipeline with an additional stage. + + + + + Appends a match stage to the pipeline. + + The type of the input documents. + The type of the output documents. + The pipeline. + The filter. + + The fluent aggregate interface. + + + + + Appends a $match stage to the pipeline to select documents of a certain type. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + The pipeline. + The output serializer. + + A new pipeline with an additional stage. + + + + + + Appends a $out stage to the pipeline. + + The type of the input documents. + The type of the output documents. + The pipeline. + The output collection. + + A new pipeline with an additional stage. + + + + + + Appends a $project stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + The pipeline. + The projection. + + A new pipeline with an additional stage. + + + + + + Appends a project stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The pipeline. + The projection. + + The fluent aggregate interface. + + + + + Appends a project stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + The pipeline. + The projection. + The translation options. + + The fluent aggregate interface. + + + + + Appends a $replaceRoot stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + The pipeline. + The new root. + + A new pipeline with an additional stage. + + + + + Appends a $replaceRoot stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + The pipeline. + The new root. + The translation options. + + The fluent aggregate interface. + + + + + Appends a $skip stage to the pipeline. + + The type of the input documents. + The type of the output documents. + The pipeline. + The number of documents to skip. + + A new pipeline with an additional stage. + + + + + Appends a $sort stage to the pipeline. + + The type of the input documents. + The type of the output documents. + The pipeline. + The sort definition. + + A new pipeline with an additional stage. + + + + + Appends a $sortByCount stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the values. + The pipeline. + The value expression. + + A new pipeline with an additional stage. + + + + + Appends a sortByCount stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the values. + The pipeline. + The value expression. + The translation options. + + The fluent aggregate interface. + + + + + Appends an $unwind stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + The pipeline. + The field. + The options. + + A new pipeline with an additional stage. + + + + + Appends an unwind stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The pipeline. + The field to unwind. + The options. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The pipeline. + The field to unwind. + The options. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + The pipeline. + The field to unwind. + The options. + + The fluent aggregate interface. + + + + + Represents a pipeline consisting of an existing pipeline with one additional stage appended. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + + + Initializes a new instance of the class. + + The pipeline. + The stage. + The output serializer. + + + + + + + + + + + + + Represents an empty pipeline. + + The type of the input documents. + + + + Initializes a new instance of the class. + + The output serializer. + + + + + + + + + + + + + Represents a pipeline consisting of an existing pipeline with one additional stage prepended. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + + + Initializes a new instance of the class. + + The stage. + The pipeline. + The output serializer. + + + + + + + + + + + + + Represents a pipeline with the output serializer replaced. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + + + + Initializes a new instance of the class. + + The pipeline. + The output serializer. + + + + + + + + + + + + + A rendered pipeline stage. + + + + + Gets the name of the pipeline operator. + + + The name of the pipeline operator. + + + + + Gets the document. + + + + + Gets the output serializer. + + + + + A rendered pipeline stage. + + The type of the output. + + + + Initializes a new instance of the class. + + Name of the pipeline operator. + The document. + The output serializer. + + + + + + + Gets the output serializer. + + + + + + + + + + + A pipeline stage. + + + + + Gets the type of the input. + + + + + Gets the name of the pipeline operator. + + + + + Gets the type of the output. + + + + + Renders the specified document serializer. + + The input serializer. + The serializer registry. + An + + + + Returns a that represents this instance. + + The input serializer. + The serializer registry. + + A that represents this instance. + + + + + Base class for pipeline stages. + + The type of the input. + The type of the output. + + + + Gets the type of the input. + + + + + + + + Gets the type of the output. + + + + + Renders the specified document serializer. + + The input serializer. + The serializer registry. + A + + + + + + + Returns a that represents this instance. + + The input serializer. + The serializer registry. + + A that represents this instance. + + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + + + + A based stage. + + The type of the input. + The type of the output. + + + + Initializes a new instance of the class. + + The document. + The output serializer. + + + + + + + + + + A JSON based pipeline stage. + + The type of the input. + The type of the output. + + + + Initializes a new instance of the class. + + The json. + The output serializer. + + + + Gets the json. + + + + + + + + Gets the output serializer. + + + + + + + + A rendered pipeline. + + The type of the output. + + + + Initializes a new instance of the class. + + The pipeline. + The output serializer. + + + + Gets the documents. + + + + + Gets the serializer. + + + + + Base class for a pipeline. + + The type of the input. + The type of the output. + + + + Gets the output serializer. + + + + + Gets the stages. + + + + + Renders the pipeline. + + The input serializer. + The serializer registry. + A + + + + + + + Returns a that represents this instance. + + The input serializer. + The serializer registry. + + A that represents this instance. + + + + + Creates a pipeline. + + The stages. + The output serializer. + A . + + + + Creates a pipeline. + + The stages. + The output serializer. + A . + + + + Creates a pipeline. + + The stages. + The output serializer. + A . + + + + Creates a pipeline. + + The stages. + A . + + + + Creates a pipeline. + + The stages. + A . + + + + Performs an implicit conversion from [] to . + + The stages. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The stages. + + The result of the conversion. + + + + + Performs an implicit conversion from [] to . + + The stages. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The stages. + + The result of the conversion. + + + + + A pipeline composed of instances of . + + The type of the input. + The type of the output. + + + + Initializes a new instance of the class. + + The stages. + The output serializer. + + + + + + + Gets the stages. + + + + + + + + + + + A pipeline composed of instances of . + + The type of the input. + The type of the output. + + + + Initializes a new instance of the class. + + The stages. + The output serializer. + + + + + + + Gets the serializer. + + + + + Gets the stages. + + + + + + + + + + + + + + Represents the details of a write error for a particular request. + + + + + Gets the index of the request that had an error. + + + + + Server connection mode. + + + + + Automatically determine how to connect. + + + + + Connect directly to a server. + + + + + Connect to a replica set. + + + + + Connect to one or more shard routers. + + + + + Connect to a standalone server. + + + + + Base class for filters. + + The type of the document. + + + + Gets an empty filter. An empty filter matches everything. + + + + + Renders the filter to a . + + The document serializer. + The serializer registry. + A . + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from a predicate expression to . + + The predicate. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + Implements the operator &. + + The LHS. + The RHS. + + The result of the operator. + + + + + Implements the operator |. + + The LHS. + The RHS. + + The result of the operator. + + + + + Implements the operator !. + + The op. + + The result of the operator. + + + + + A based filter. + + The type of the document. + + + + Initializes a new instance of the class. + + The document. + + + + Gets the document. + + + + + + + + + + + An based filter. + + The type of the document. + + + + Initializes a new instance of the class. + + The expression. + + + + Gets the expression. + + + + + + + + A JSON based filter. + + The type of the document. + + + + Initializes a new instance of the class. + + The json. + + + + Gets the json. + + + + + + + + An based filter. + + The type of the document. + + + + Initializes a new instance of the class. + + The object. + + + + Gets the object. + + + + + + + + Base class for implementors of . + + The type of the document. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Methods for building pipeline stages. + + + + + Creates a $bucket stage. + + The type of the input documents. + The type of the values. + The group by expression. + The boundaries. + The options. + The stage. + + + + Creates a $bucket stage. + + The type of the input documents. + The type of the values. + The type of the output documents. + The group by expression. + The boundaries. + The output projection. + The options. + The stage. + + + + Creates a $bucket stage. + + The type of the input documents. + The type of the values. + The group by expression. + The boundaries. + The options. + The translation options. + The stage. + + + + Creates a $bucket stage. + + The type of the input documents. + The type of the values. + The type of the output documents. + The group by expression. + The boundaries. + The output projection. + The options. + The translation options. + The stage. + + + + Creates a $bucketAuto stage. + + The type of the input documents. + The type of the values. + The group by expression. + The number of buckets. + The options. + The stage. + + + + Creates a $bucketAuto stage. + + The type of the input documents. + The type of the values. + The type of the output documents. + The group by expression. + The number of buckets. + The output projection. + The options. + The stage. + + + + Creates a $bucketAuto stage. + + The type of the input documents. + The type of the value. + The group by expression. + The number of buckets. + The options (optional). + The translation options. + The stage. + + + + Creates a $bucketAuto stage. + + The type of the input documents. + The type of the output documents. + The type of the output documents. + The group by expression. + The number of buckets. + The output projection. + The options (optional). + The translation options. + The stage. + + + + Creates a $count stage. + + The type of the input documents. + The stage. + + + + Creates a $facet stage. + + The type of the input documents. + The type of the output documents. + The facets. + The options. + The stage. + + + + Creates a $facet stage. + + The type of the input documents. + The facets. + The stage. + + + + Creates a $facet stage. + + The type of the input documents. + The facets. + The stage. + + + + Creates a $facet stage. + + The type of the input documents. + The type of the output documents. + The facets. + The stage. + + + + Creates a $graphLookup stage. + + The type of the input documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field elements. + The type of the as field. + The type of the output documents. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The options. + The stage. + + + + Creates a $graphLookup stage. + + The type of the input documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field. + The type of the output documents. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The options. + The stage. + + + + Creates a $graphLookup stage. + + The type of the input documents. + The type of the from documents. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The fluent aggregate interface. + + + + Creates a $graphLookup stage. + + The type of the input documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field. + The type of the output documents. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The options. + The translation options. + The stage. + + + + Creates a $graphLookup stage. + + The type of the input documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field elements. + The type of the as field. + The type of the output documents. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The options. + The translation options. + The stage. + + + + Creates a $group stage. + + The type of the input documents. + The type of the output documents. + The group projection. + The stage. + + + + Creates a $group stage. + + The type of the input documents. + The group projection. + The stage. + + + + Creates a $group stage. + + The type of the input documents. + The type of the values. + The type of the output documents. + The value field. + The group projection. + The translation options. + The stage. + + + + Creates a $limit stage. + + The type of the input documents. + The limit. + The stage. + + + + Creates a $lookup stage. + + The type of the input documents. + The type of the foreign collection documents. + The type of the output documents. + The foreign collection. + The local field. + The foreign field. + The "as" field. + The options. + The stage. + + + + Creates a $lookup stage. + + The type of the input documents. + The type of the foreign collection documents. + The type of the output documents. + The foreign collection. + The local field. + The foreign field. + The "as" field. + The options. + The stage. + + + + Creates a $match stage. + + The type of the input documents. + The filter. + The stage. + + + + Creates a $match stage. + + The type of the input documents. + The filter. + The stage. + + + + Create a $match stage that select documents of a sub type. + + The type of the input documents. + The type of the output documents. + The output serializer. + The stage. + + + + Creates a $out stage. + + The type of the input documents. + The output collection. + The stage. + + + + Creates a $project stage. + + The type of the input documents. + The type of the output documents. + The projection. + The stage. + + + + Creates a $project stage. + + The type of the input documents. + The projection. + The stage. + + + + Creates a $project stage. + + The type of the input documents. + The type of the output documents. + The projection. + The translation options. + The stage. + + + + Creates a $replaceRoot stage. + + The type of the input documents. + The type of the output documents. + The new root. + The stage. + + + + Creates a $replaceRoot stage. + + The type of the input documents. + The type of the output documents. + The new root. + The translation options. + The stage. + + + + Creates a $skip stage. + + The type of the input documents. + The skip. + The stage. + + + + Creates a $sort stage. + + The type of the input documents. + The sort. + The stage. + + + + Creates a $sortByCount stage. + + The type of the input documents. + The type of the values. + The value expression. + The stage. + + + + Creates a $sortByCount stage. + + The type of the input documents. + The type of the values. + The value. + The translation options. + The stage. + + + + Creates an $unwind stage. + + The type of the input documents. + The type of the output documents. + The field. + The options. + The stage. + + + + Creates an $unwind stage. + + The type of the input documents. + The field to unwind. + The options. + The stage. + + + + Creates an $unwind stage. + + The type of the input documents. + The field to unwind. + The options. + The stage. + + + + Creates an $unwind stage. + + The type of the input documents. + The type of the output documents. + The field to unwind. + The options. + The stage. + + + + Extension methods for projections. + + + + + Combines an existing projection with a projection that filters the contents of an array. + + The type of the document. + The type of the item. + The projection. + The field. + The filter. + + A combined projection. + + + + + Combines an existing projection with a projection that filters the contents of an array. + + The type of the document. + The type of the item. + The projection. + The field. + The filter. + + A combined projection. + + + + + Combines an existing projection with a projection that filters the contents of an array. + + The type of the document. + The type of the item. + The projection. + The field. + The filter. + + A combined projection. + + + + + Combines an existing projection with a projection that excludes a field. + + The type of the document. + The projection. + The field. + + A combined projection. + + + + + Combines an existing projection with a projection that excludes a field. + + The type of the document. + The projection. + The field. + + A combined projection. + + + + + Combines an existing projection with a projection that includes a field. + + The type of the document. + The projection. + The field. + + A combined projection. + + + + + Combines an existing projection with a projection that includes a field. + + The type of the document. + The projection. + The field. + + A combined projection. + + + + + Combines an existing projection with a text score projection. + + The type of the document. + The projection. + The field. + + A combined projection. + + + + + Combines an existing projection with an array slice projection. + + The type of the document. + The projection. + The field. + The skip. + The limit. + + A combined projection. + + + + + Combines an existing projection with an array slice projection. + + The type of the document. + The projection. + The field. + The skip. + The limit. + + A combined projection. + + + + + A builder for a projection. + + The type of the source. + + + + Creates a client side projection that is implemented solely by using a different serializer. + + The type of the projection. + The projection serializer. + A client side deserialization projection. + + + + Combines the specified projections. + + The projections. + + A combined projection. + + + + + Combines the specified projections. + + The projections. + + A combined projection. + + + + + Creates a projection that filters the contents of an array. + + The type of the item. + The field. + The filter. + + An array filtering projection. + + + + + Creates a projection that filters the contents of an array. + + The type of the item. + The field. + The filter. + + An array filtering projection. + + + + + Creates a projection that filters the contents of an array. + + The type of the item. + The field. + The filter. + + An array filtering projection. + + + + + Creates a projection that excludes a field. + + The field. + + An exclusion projection. + + + + + Creates a projection that excludes a field. + + The field. + + An exclusion projection. + + + + + Creates a projection based on the expression. + + The type of the result. + The expression. + + An expression projection. + + + + + Creates a projection that includes a field. + + The field. + + An inclusion projection. + + + + + Creates a projection that includes a field. + + The field. + + An inclusion projection. + + + + + Creates a text score projection. + + The field. + + A text score projection. + + + + + Creates an array slice projection. + + The field. + The skip. + The limit. + + An array slice projection. + + + + + Creates an array slice projection. + + The field. + The skip. + The limit. + + An array slice projection. + + + + + Extension methods for an index keys definition. + + + + + Combines an existing index keys definition with an ascending index key definition. + + The type of the document. + The keys. + The field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with an ascending index key definition. + + The type of the document. + The keys. + The field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a descending index key definition. + + The type of the document. + The keys. + The field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a descending index key definition. + + The type of the document. + The keys. + The field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a 2d index key definition. + + The type of the document. + The keys. + The field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a 2d index key definition. + + The type of the document. + The keys. + The field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a geo haystack index key definition. + + The type of the document. + The keys. + The field. + Name of the additional field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a geo haystack index key definition. + + The type of the document. + The keys. + The field. + Name of the additional field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a 2dsphere index key definition. + + The type of the document. + The keys. + The field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a 2dsphere index key definition. + + The type of the document. + The keys. + The field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a hashed index key definition. + + The type of the document. + The keys. + The field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a hashed index key definition. + + The type of the document. + The keys. + The field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a text index key definition. + + The type of the document. + The keys. + The field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a text index key definition. + + The type of the document. + The keys. + The field. + + A combined index keys definition. + + + + + A builder for an . + + The type of the document. + + + + Creates an ascending index key definition. + + The field. + An ascending index key definition. + + + + Creates an ascending index key definition. + + The field. + An ascending index key definition. + + + + Creates a combined index keys definition. + + The keys. + A combined index keys definition. + + + + Creates a combined index keys definition. + + The keys. + A combined index keys definition. + + + + Creates a descending index key definition. + + The field. + A descending index key definition. + + + + Creates a descending index key definition. + + The field. + A descending index key definition. + + + + Creates a 2d index key definition. + + The field. + A 2d index key definition. + + + + Creates a 2d index key definition. + + The field. + A 2d index key definition. + + + + Creates a geo haystack index key definition. + + The field. + Name of the additional field. + + A geo haystack index key definition. + + + + + Creates a geo haystack index key definition. + + The field. + Name of the additional field. + + A geo haystack index key definition. + + + + + Creates a 2dsphere index key definition. + + The field. + A 2dsphere index key definition. + + + + Creates a 2dsphere index key definition. + + The field. + A 2dsphere index key definition. + + + + Creates a hashed index key definition. + + The field. + A hashed index key definition. + + + + Creates a hashed index key definition. + + The field. + A hashed index key definition. + + + + Creates a text index key definition. + + The field. + A text index key definition. + + + + Creates a text index key definition. + + The field. + A text index key definition. + + + + Extension methods for SortDefinition. + + + + + Combines an existing sort with an ascending field. + + The type of the document. + The sort. + The field. + + A combined sort. + + + + + Combines an existing sort with an ascending field. + + The type of the document. + The sort. + The field. + + A combined sort. + + + + + Combines an existing sort with an descending field. + + The type of the document. + The sort. + The field. + + A combined sort. + + + + + Combines an existing sort with an descending field. + + The type of the document. + The sort. + The field. + + A combined sort. + + + + + Combines an existing sort with a descending sort on the computed relevance score of a text search. + The field name should be the name of the projected relevance score field. + + The type of the document. + The sort. + The field. + + A combined sort. + + + + + A builder for a . + + The type of the document. + + + + Creates an ascending sort. + + The field. + An ascending sort. + + + + Creates an ascending sort. + + The field. + An ascending sort. + + + + Creates a combined sort. + + The sorts. + A combined sort. + + + + Creates a combined sort. + + The sorts. + A combined sort. + + + + Creates a descending sort. + + The field. + A descending sort. + + + + Creates a descending sort. + + The field. + A descending sort. + + + + Creates a descending sort on the computed relevance score of a text search. + The name of the key should be the name of the projected relevence score field. + + The field. + A meta text score sort. + + + + A builder for a . + + The type of the document. + + + + Gets an empty filter. An empty filter matches everything. + + + + + Creates an all filter for an array field. + + The type of the item. + The field. + The values. + An all filter. + + + + Creates an all filter for an array field. + + The type of the item. + The field. + The values. + An all filter. + + + + Creates an and filter. + + The filters. + A filter. + + + + Creates an and filter. + + The filters. + An and filter. + + + + Creates an equality filter for an array field. + + The type of the item. + The field. + The value. + An equality filter. + + + + Creates an equality filter for an array field. + + The type of the item. + The field. + The value. + An equality filter. + + + + Creates a greater than filter for an array field. + + The type of the item. + The field. + The value. + A greater than filter. + + + + Creates a greater than filter for an array field. + + The type of the item. + The field. + The value. + A greater than filter. + + + + Creates a greater than or equal filter for an array field. + + The type of the item. + The field. + The value. + A greater than or equal filter. + + + + Creates a greater than or equal filter for an array field. + + The type of the item. + The field. + The value. + A greater than or equal filter. + + + + Creates a less than filter for an array field. + + The type of the item. + The field. + The value. + A less than filter. + + + + Creates a less than filter for an array field. + + The type of the item. + The field. + The value. + A less than filter. + + + + Creates a less than or equal filter for an array field. + + The type of the item. + The field. + The value. + A less than or equal filter. + + + + Creates a less than or equal filter for an array field. + + The type of the item. + The field. + The value. + A less than or equal filter. + + + + Creates an in filter for an array field. + + The type of the item. + The field. + The values. + An in filter. + + + + Creates an in filter for an array field. + + The type of the item. + The field. + The values. + An in filter. + + + + Creates a not equal filter for an array field. + + The type of the item. + The field. + The value. + A not equal filter. + + + + Creates a not equal filter for an array field. + + The type of the item. + The field. + The value. + A not equal filter. + + + + Creates a not in filter for an array field. + + The type of the item. + The field. + The values. + A not in filter. + + + + Creates a not in filter for an array field. + + The type of the item. + The field. + The values. + A not in filter. + + + + Creates a bits all clear filter. + + The field. + The bitmask. + A bits all clear filter. + + + + Creates a bits all clear filter. + + The field. + The bitmask. + A bits all clear filter. + + + + Creates a bits all set filter. + + The field. + The bitmask. + A bits all set filter. + + + + Creates a bits all set filter. + + The field. + The bitmask. + A bits all set filter. + + + + Creates a bits any clear filter. + + The field. + The bitmask. + A bits any clear filter. + + + + Creates a bits any clear filter. + + The field. + The bitmask. + A bits any clear filter. + + + + Creates a bits any set filter. + + The field. + The bitmask. + A bits any set filter. + + + + Creates a bits any set filter. + + The field. + The bitmask. + A bits any set filter. + + + + Creates an element match filter for an array field. + + The type of the item. + The field. + The filter. + An element match filter. + + + + Creates an element match filter for an array field. + + The type of the item. + The field. + The filter. + An element match filter. + + + + Creates an element match filter for an array field. + + The type of the item. + The field. + The filter. + An element match filter. + + + + Creates an equality filter. + + The type of the field. + The field. + The value. + An equality filter. + + + + Creates an equality filter. + + The type of the field. + The field. + The value. + An equality filter. + + + + Creates an exists filter. + + The field. + if set to true [exists]. + An exists filter. + + + + Creates an exists filter. + + The field. + if set to true [exists]. + An exists filter. + + + + Creates a geo intersects filter. + + The type of the coordinates. + The field. + The geometry. + A geo intersects filter. + + + + Creates a geo intersects filter. + + The type of the coordinates. + The field. + The geometry. + A geo intersects filter. + + + + Creates a geo within filter. + + The type of the coordinates. + The field. + The geometry. + A geo within filter. + + + + Creates a geo within filter. + + The type of the coordinates. + The field. + The geometry. + A geo within filter. + + + + Creates a geo within box filter. + + The field. + The lower left x. + The lower left y. + The upper right x. + The upper right y. + A geo within box filter. + + + + Creates a geo within box filter. + + The field. + The lower left x. + The lower left y. + The upper right x. + The upper right y. + A geo within box filter. + + + + Creates a geo within center filter. + + The field. + The x. + The y. + The radius. + A geo within center filter. + + + + Creates a geo within center filter. + + The field. + The x. + The y. + The radius. + A geo within center filter. + + + + Creates a geo within center sphere filter. + + The field. + The x. + The y. + The radius. + A geo within center sphere filter. + + + + Creates a geo within center sphere filter. + + The field. + The x. + The y. + The radius. + A geo within center sphere filter. + + + + Creates a geo within polygon filter. + + The field. + The points. + A geo within polygon filter. + + + + Creates a geo within polygon filter. + + The field. + The points. + A geo within polygon filter. + + + + Creates a greater than filter for a UInt32 field. + + The field. + The value. + A greater than filter. + + + + Creates a greater than filter for a UInt64 field. + + The field. + The value. + A greater than filter. + + + + Creates a greater than filter. + + The type of the field. + The field. + The value. + A greater than filter. + + + + Creates a greater than filter for a UInt32 field. + + The field. + The value. + A greater than filter. + + + + Creates a greater than filter for a UInt64 field. + + The field. + The value. + A greater than filter. + + + + Creates a greater than filter. + + The type of the field. + The field. + The value. + A greater than filter. + + + + Creates a greater than or equal filter for a UInt32 field. + + The field. + The value. + A greater than or equal filter. + + + + Creates a greater than or equal filter for a UInt64 field. + + The field. + The value. + A greater than or equal filter. + + + + Creates a greater than or equal filter. + + The type of the field. + The field. + The value. + A greater than or equal filter. + + + + Creates a greater than or equal filter for a UInt32 field. + + The field. + The value. + A greater than or equal filter. + + + + Creates a greater than or equal filter for a UInt64 field. + + The field. + The value. + A greater than or equal filter. + + + + Creates a greater than or equal filter. + + The type of the field. + The field. + The value. + A greater than or equal filter. + + + + Creates an in filter. + + The type of the field. + The field. + The values. + An in filter. + + + + Creates an in filter. + + The type of the field. + The field. + The values. + An in filter. + + + + Creates a less than filter for a UInt32 field. + + The field. + The value. + A less than filter. + + + + Creates a less than filter for a UInt64 field. + + The field. + The value. + A less than filter. + + + + Creates a less than filter. + + The type of the field. + The field. + The value. + A less than filter. + + + + Creates a less than filter for a UInt32 field. + + The field. + The value. + A less than filter. + + + + Creates a less than filter for a UInt64 field. + + The field. + The value. + A less than filter. + + + + Creates a less than filter. + + The type of the field. + The field. + The value. + A less than filter. + + + + Creates a less than or equal filter for a UInt32 field. + + The field. + The value. + A less than or equal filter. + + + + Creates a less than or equal filter for a UInt64 field. + + The field. + The value. + A less than or equal filter. + + + + Creates a less than or equal filter. + + The type of the field. + The field. + The value. + A less than or equal filter. + + + + Creates a less than or equal filter for a UInt32 field. + + The field. + The value. + A less than or equal filter. + + + + Creates a less than or equal filter for a UInt64 field. + + The field. + The value. + A less than or equal filter. + + + + Creates a less than or equal filter. + + The type of the field. + The field. + The value. + A less than or equal filter. + + + + Creates a modulo filter. + + The field. + The modulus. + The remainder. + A modulo filter. + + + + Creates a modulo filter. + + The field. + The modulus. + The remainder. + A modulo filter. + + + + Creates a not equal filter. + + The type of the field. + The field. + The value. + A not equal filter. + + + + Creates a not equal filter. + + The type of the field. + The field. + The value. + A not equal filter. + + + + Creates a near filter. + + The field. + The x. + The y. + The maximum distance. + The minimum distance. + A near filter. + + + + Creates a near filter. + + The field. + The x. + The y. + The maximum distance. + The minimum distance. + A near filter. + + + + Creates a near filter. + + The type of the coordinates. + The field. + The geometry. + The maximum distance. + The minimum distance. + A near filter. + + + + Creates a near filter. + + The type of the coordinates. + The field. + The geometry. + The maximum distance. + The minimum distance. + A near filter. + + + + Creates a near sphere filter. + + The field. + The x. + The y. + The maximum distance. + The minimum distance. + A near sphere filter. + + + + Creates a near sphere filter. + + The field. + The x. + The y. + The maximum distance. + The minimum distance. + A near sphere filter. + + + + Creates a near sphere filter. + + The type of the coordinates. + The field. + The geometry. + The maximum distance. + The minimum distance. + A near sphere filter. + + + + Creates a near sphere filter. + + The type of the coordinates. + The field. + The geometry. + The maximum distance. + The minimum distance. + A near sphere filter. + + + + Creates a not in filter. + + The type of the field. + The field. + The values. + A not in filter. + + + + Creates a not in filter. + + The type of the field. + The field. + The values. + A not in filter. + + + + Creates a not filter. + + The filter. + A not filter. + + + + Creates an OfType filter that matches documents of a derived type. + + The type of the matching derived documents. + An OfType filter. + + + + Creates an OfType filter that matches documents of a derived type and that also match a filter on the derived document. + + The type of the matching derived documents. + A filter on the derived document. + An OfType filter. + + + + Creates an OfType filter that matches documents of a derived type and that also match a filter on the derived document. + + The type of the matching derived documents. + A filter on the derived document. + An OfType filter. + + + + Creates an OfType filter that matches documents with a field of a derived typer. + + The type of the field. + The type of the matching derived field value. + The field. + An OfType filter. + + + + Creates an OfType filter that matches documents with a field of a derived type and that also match a filter on the derived field. + + The type of the field. + The type of the matching derived field value. + The field. + A filter on the derived field. + An OfType filter. + + + + Creates an OfType filter that matches documents with a field of a derived type. + + The type of the field. + The type of the matching derived field value. + The field. + An OfType filter. + + + + Creates an OfType filter that matches documents with a field of a derived type and that also match a filter on the derived field. + + The type of the field. + The type of the matching derived field value. + The field. + A filter on the derived field. + An OfType filter. + + + + Creates an or filter. + + The filters. + An or filter. + + + + Creates an or filter. + + The filters. + An or filter. + + + + Creates a regular expression filter. + + The field. + The regex. + A regular expression filter. + + + + Creates a regular expression filter. + + The field. + The regex. + A regular expression filter. + + + + Creates a size filter. + + The field. + The size. + A size filter. + + + + Creates a size filter. + + The field. + The size. + A size filter. + + + + Creates a size greater than filter. + + The field. + The size. + A size greater than filter. + + + + Creates a size greater than filter. + + The field. + The size. + A size greater than filter. + + + + Creates a size greater than or equal filter. + + The field. + The size. + A size greater than or equal filter. + + + + Creates a size greater than or equal filter. + + The field. + The size. + A size greater than or equal filter. + + + + Creates a size less than filter. + + The field. + The size. + A size less than filter. + + + + Creates a size less than filter. + + The field. + The size. + A size less than filter. + + + + Creates a size less than or equal filter. + + The field. + The size. + A size less than or equal filter. + + + + Creates a size less than or equal filter. + + The field. + The size. + A size less than or equal filter. + + + + Creates a text filter. + + The search. + The text search options. + A text filter. + + + + Creates a text filter. + + The search. + The language. + A text filter. + + + + Creates a type filter. + + The field. + The type. + A type filter. + + + + Creates a type filter. + + The field. + The type. + A type filter. + + + + Creates a type filter. + + The field. + The type. + A type filter. + + + + Creates a type filter. + + The field. + The type. + A type filter. + + + + Creates a filter based on the expression. + + The expression. + An expression filter. + + + + Extension methods for + + + + + Appends a $bucket stage to the pipeline. + + The type of the result. + The type of the value. + The aggregate. + The expression providing the value to group by. + The bucket boundaries. + The options. + The fluent aggregate interface. + + + + Appends a $bucket stage to the pipeline. + + The type of the result. + The type of the value. + The type of the new result. + The aggregate. + The expression providing the value to group by. + The bucket boundaries. + The output projection. + The options. + The fluent aggregate interface. + + + + Appends a $bucketAuto stage to the pipeline. + + The type of the result. + The type of the value. + The aggregate. + The expression providing the value to group by. + The number of buckets. + The options (optional). + The fluent aggregate interface. + + + + Appends a $bucketAuto stage to the pipeline. + + The type of the result. + The type of the value. + The type of the new result. + The aggregate. + The expression providing the value to group by. + The number of buckets. + The output projection. + The options (optional). + The fluent aggregate interface. + + + + Appends a $facet stage to the pipeline. + + The type of the result. + The aggregate. + The facets. + The fluent aggregate interface. + + + + Appends a $facet stage to the pipeline. + + The type of the result. + The aggregate. + The facets. + The fluent aggregate interface. + + + + Appends a $facet stage to the pipeline. + + The type of the result. + The type of the new result. + The aggregate. + The facets. + + The fluent aggregate interface. + + + + + Appends a $graphLookup stage to the pipeline. + + The type of the result. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field. + The type of the new result (must be same as TResult with an additional as field). + The aggregate. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The options. + The fluent aggregate interface. + + + + Appends a $graphLookup stage to the pipeline. + + The type of the result. + The type of the from documents. + The aggregate. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The fluent aggregate interface. + + + + Appends a $graphLookup stage to the pipeline. + + The type of the result. + The type of the new result (must be same as TResult with an additional as field). + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field. + The aggregate. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The options. + The fluent aggregate interface. + + + + Appends a $graphLookup stage to the pipeline. + + The type of the result. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field elements. + The type of the as field. + The type of the new result (must be same as TResult with an additional as field). + The aggregate. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The options. + The fluent aggregate interface. + + + + Appends a group stage to the pipeline. + + The type of the result. + The aggregate. + The group projection. + + The fluent aggregate interface. + + + + + Appends a group stage to the pipeline. + + The type of the result. + The type of the key. + The type of the new result. + The aggregate. + The id. + The group projection. + + The fluent aggregate interface. + + + + + Appends a lookup stage to the pipeline. + + The type of the result. + The aggregate. + Name of the foreign collection. + The local field. + The foreign field. + The field in the result to place the foreign matches. + The fluent aggregate interface. + + + + Appends a lookup stage to the pipeline. + + The type of the result. + The type of the foreign collection. + The type of the new result. + The aggregate. + The foreign collection. + The local field. + The foreign field. + The field in the result to place the foreign matches. + The options. + The fluent aggregate interface. + + + + Appends a match stage to the pipeline. + + The type of the result. + The aggregate. + The filter. + + The fluent aggregate interface. + + + + + Appends a project stage to the pipeline. + + The type of the result. + The aggregate. + The projection. + + The fluent aggregate interface. + + + + + Appends a project stage to the pipeline. + + The type of the result. + The type of the new result. + The aggregate. + The projection. + + The fluent aggregate interface. + + + + + Appends a $replaceRoot stage to the pipeline. + + The type of the result. + The type of the new result. + The aggregate. + The new root. + + The fluent aggregate interface. + + + + + Appends an ascending sort stage to the pipeline. + + The type of the result. + The aggregate. + The field to sort by. + + The fluent aggregate interface. + + + + + Appends a sortByCount stage to the pipeline. + + The type of the result. + The type of the key. + The aggregate. + The id. + + The fluent aggregate interface. + + + + + Appends a descending sort stage to the pipeline. + + The type of the result. + The aggregate. + The field to sort by. + + The fluent aggregate interface. + + + + + Modifies the current sort stage by appending an ascending field specification to it. + + The type of the result. + The aggregate. + The field to sort by. + + The fluent aggregate interface. + + + + + Modifies the current sort stage by appending a descending field specification to it. + + The type of the result. + The aggregate. + The field to sort by. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The type of the result. + The aggregate. + The field to unwind. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The type of the result. + The aggregate. + The field to unwind. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The type of the result. + The type of the new result. + The aggregate. + The field to unwind. + The new result serializer. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The type of the result. + The type of the new result. + The aggregate. + The field to unwind. + The options. + + The fluent aggregate interface. + + + + + Returns the first document of the aggregate result. + + The type of the result. + The aggregate. + The cancellation token. + + The fluent aggregate interface. + + + + + Returns the first document of the aggregate result. + + The type of the result. + The aggregate. + The cancellation token. + + The fluent aggregate interface. + + + + + Returns the first document of the aggregate result, or the default value if the result set is empty. + + The type of the result. + The aggregate. + The cancellation token. + + The fluent aggregate interface. + + + + + Returns the first document of the aggregate result, or the default value if the result set is empty. + + The type of the result. + The aggregate. + The cancellation token. + + The fluent aggregate interface. + + + + + Returns the only document of the aggregate result. Throws an exception if the result set does not contain exactly one document. + + The type of the result. + The aggregate. + The cancellation token. + + The fluent aggregate interface. + + + + + Returns the only document of the aggregate result. Throws an exception if the result set does not contain exactly one document. + + The type of the result. + The aggregate. + The cancellation token. + + The fluent aggregate interface. + + + + + Returns the only document of the aggregate result, or the default value if the result set is empty. Throws an exception if the result set contains more than one document. + + The type of the result. + The aggregate. + The cancellation token. + + The fluent aggregate interface. + + + + + Returns the only document of the aggregate result, or the default value if the result set is empty. Throws an exception if the result set contains more than one document. + + The type of the result. + The aggregate. + The cancellation token. + + The fluent aggregate interface. + + + + + Options for an aggregate operation. + + + + + Gets or sets a value indicating whether to allow disk use. + + + + + Gets or sets the size of a batch. + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets the collation. + + + + + Gets or sets the maximum time. + + + + + Gets or sets the translation options. + + + + + Gets or sets a value indicating whether to use a cursor. + + + + + Options for a bulk write operation. + + + + + Initializes a new instance of the class. + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets a value indicating whether the requests are fulfilled in order. + + + + + Represents a registry of already created clusters. + + + + + Gets the default cluster registry. + + + The default cluster registry. + + + + + Unregisters and disposes the cluster. + + The cluster. + + + + Options for a count operation. + + + + + Gets or sets the collation. + + + + + Gets or sets the hint. + + + + + Gets or sets the limit. + + + + + Gets or sets the maximum time. + + + + + Gets or sets the skip. + + + + + Options for creating an index. + + + + + Gets or sets a value indicating whether to create the index in the background. + + + + + Gets or sets the precision, in bits, used with geohash indexes. + + + + + Gets or sets the size of a geohash bucket. + + + + + Gets or sets the collation. + + + + + Gets or sets the default language. + + + + + Gets or sets when documents expire (used with TTL indexes). + + + + + Gets or sets the language override. + + + + + Gets or sets the max value for 2d indexes. + + + + + Gets or sets the min value for 2d indexes. + + + + + Gets or sets the index name. + + + + + Gets or sets a value indicating whether the index is a sparse index. + + + + + Gets or sets the index version for 2dsphere indexes. + + + + + Gets or sets the storage engine options. + + + + + Gets or sets the index version for text indexes. + + + + + Gets or sets a value indicating whether the index is a unique index. + + + + + Gets or sets the version of the index. + + + + + Gets or sets the weights for text indexes. + + + + + Options for creating an index. + + The type of the document. + + + + Gets or sets the partial filter expression. + + + + + Fluent interface for aggregate. + + + This interface is not guaranteed to remain stable. Implementors should use + . + + The type of the result of the pipeline. + + + + Gets the database. + + + + + Gets the options. + + + + + Gets the stages. + + + + + Appends the stage to the pipeline. + + The type of the result of the stage. + The stage. + The fluent aggregate interface. + + + + Changes the result type of the pipeline. + + The type of the new result. + The new result serializer. + The fluent aggregate interface. + + + + Appends a $bucket stage to the pipeline. + + The type of the value. + The expression providing the value to group by. + The bucket boundaries. + The options. + The fluent aggregate interface. + + + + Appends a $bucket stage to the pipeline with a custom projection. + + The type of the value. + The type of the new result. + The expression providing the value to group by. + The bucket boundaries. + The output projection. + The options. + The fluent aggregate interface. + + + + Appends a $bucketAuto stage to the pipeline. + + The type of the value. + The expression providing the value to group by. + The number of buckets. + The options (optional). + The fluent aggregate interface. + + + + Appends a $bucketAuto stage to the pipeline with a custom projection. + + The type of the value. + The type of the new result. + The expression providing the value to group by. + The number of buckets. + The output projection. + The options (optional). + The fluent aggregate interface. + + + + Appends a count stage to the pipeline. + + The fluent aggregate interface. + + + + Appends a $facet stage to the pipeline. + + The type of the new result. + The facets. + The options. + + The fluent aggregate interface. + + + + + Appends a $graphLookup stage to the pipeline. + + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field elements. + The type of the as field. + The type of the new result (must be same as TResult with an additional as field). + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The options. + The fluent aggregate interface. + + + + Appends a group stage to the pipeline. + + The type of the result of the stage. + The group projection. + The fluent aggregate interface. + + + + Appends a limit stage to the pipeline. + + The limit. + The fluent aggregate interface. + + + + Appends a lookup stage to the pipeline. + + The type of the foreign document. + The type of the new result. + Name of the other collection. + The local field. + The foreign field. + The field in to place the foreign results. + The options. + The fluent aggregate interface. + + + + Appends a match stage to the pipeline. + + The filter. + The fluent aggregate interface. + + + + Appends a match stage to the pipeline that matches derived documents and changes the result type to the derived type. + + The type of the derived documents. + The new result serializer. + The fluent aggregate interface. + + + + Appends an out stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection. + + Name of the collection. + The cancellation token. + A cursor. + + + + Appends an out stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection. + + Name of the collection. + The cancellation token. + A Task whose result is a cursor. + + + + Appends a project stage to the pipeline. + + The type of the result of the stage. + The projection. + + The fluent aggregate interface. + + + + + Appends a $replaceRoot stage to the pipeline. + + The type of the new result. + The new root. + The fluent aggregate interface. + + + + Appends a skip stage to the pipeline. + + The number of documents to skip. + The fluent aggregate interface. + + + + Appends a sort stage to the pipeline. + + The sort specification. + The fluent aggregate interface. + + + + Appends a sortByCount stage to the pipeline. + + The type of the identifier. + The identifier. + The fluent aggregate interface. + + + + Appends an unwind stage to the pipeline. + + The type of the result of the stage. + The field. + The new result serializer. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The type of the new result. + The field. + The options. + The fluent aggregate interface. + + + + Fluent interface for aggregate. + + The type of the result. + + + + Combines the current sort definition with an additional sort definition. + + The new sort. + The fluent aggregate interface. + + + + Fluent interface for find. + + + This interface is not guaranteed to remain stable. Implementors should use + . + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + + + Gets or sets the filter. + + + + + Gets the options. + + + + + A simplified type of projection that changes the result type by using a different serializer. + + The type of the result. + The result serializer. + The fluent find interface. + + + + Counts the number of documents. + + The cancellation token. + The count. + + + + Counts the number of documents. + + The cancellation token. + A Task whose result is the count. + + + + Limits the number of documents. + + The limit. + The fluent find interface. + + + + Projects the the result. + + The type of the projection. + The projection. + The fluent find interface. + + + + Skips the the specified number of documents. + + The skip. + The fluent find interface. + + + + Sorts the the documents. + + The sort. + The fluent find interface. + + + + Fluent interface for find. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + + + Extension methods for + + + + + Projects the result. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The projection. + The fluent find interface. + + + + Projects the result. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The type of the new projection. + The fluent find. + The projection. + The fluent find interface. + + + + Sorts the results by an ascending field. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The field. + The fluent find interface. + + + + Sorts the results by a descending field. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The field. + The fluent find interface. + + + + Adds an ascending field to the existing sort. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The field. + The fluent find interface. + + + + Adds a descending field to the existing sort. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The field. + The fluent find interface. + + + + Get the first result. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The cancellation token. + A Task whose result is the first result. + + + + Get the first result. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The cancellation token. + A Task whose result is the first result. + + + + Get the first result or null. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The cancellation token. + A Task whose result is the first result or null. + + + + Get the first result or null. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The cancellation token. + A Task whose result is the first result or null. + + + + Gets a single result. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The cancellation token. + A Task whose result is the single result. + + + + Gets a single result. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The cancellation token. + A Task whose result is the single result. + + + + Gets a single result or null. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The cancellation token. + A Task whose result is the single result or null. + + + + Gets a single result or null. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The cancellation token. + A Task whose result is the single result or null. + + + + Extension methods for . + + + + + Begins a fluent aggregation interface. + + The type of the document. + The collection. + The options. + + A fluent aggregate interface. + + + + + Creates a queryable source of documents. + + The type of the document. + The collection. + The aggregate options + A queryable source of documents. + + + + Counts the number of documents in the collection. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + + The number of documents in the collection. + + + + + Counts the number of documents in the collection. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + + The number of documents in the collection. + + + + + Deletes multiple documents. + + The type of the document. + The collection. + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Deletes multiple documents. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Deletes multiple documents. + + The type of the document. + The collection. + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Deletes multiple documents. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The type of the document. + The collection. + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The type of the document. + The collection. + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Gets the distinct values for a specified field. + + The type of the document. + The type of the result. + The collection. + The field. + The filter. + The options. + The cancellation token. + + The distinct values for the specified field. + + + + + Gets the distinct values for a specified field. + + The type of the document. + The type of the result. + The collection. + The field. + The filter. + The options. + The cancellation token. + + The distinct values for the specified field. + + + + + Gets the distinct values for a specified field. + + The type of the document. + The type of the result. + The collection. + The field. + The filter. + The options. + The cancellation token. + + The distinct values for the specified field. + + + + + Gets the distinct values for a specified field. + + The type of the document. + The type of the result. + The collection. + The field. + The filter. + The options. + The cancellation token. + + The distinct values for the specified field. + + + + + Gets the distinct values for a specified field. + + The type of the document. + The type of the result. + The collection. + The field. + The filter. + The options. + The cancellation token. + + The distinct values for the specified field. + + + + + Gets the distinct values for a specified field. + + The type of the document. + The type of the result. + The collection. + The field. + The filter. + The options. + The cancellation token. + + The distinct values for the specified field. + + + + + Begins a fluent find interface. + + The type of the document. + The collection. + The filter. + The options. + + A fluent find interface. + + + + + Begins a fluent find interface. + + The type of the document. + The collection. + The filter. + The options. + + A fluent interface. + + + + + Finds the documents matching the filter. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + A Task whose result is a cursor. + + + + Finds the documents matching the filter. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + A Task whose result is a cursor. + + + + Finds the documents matching the filter. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + A Task whose result is a cursor. + + + + Finds the documents matching the filter. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + A Task whose result is a cursor. + + + + Finds a single document and deletes it atomically. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + + The deleted document if one was deleted. + + + + + Finds a single document and deletes it atomically. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + + The deleted document if one was deleted. + + + + + Finds a single document and deletes it atomically. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The collection. + The filter. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and deletes it atomically. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + + The deleted document if one was deleted. + + + + + Finds a single document and deletes it atomically. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + + The deleted document if one was deleted. + + + + + Finds a single document and deletes it atomically. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The collection. + The filter. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The type of the document. + The collection. + The filter. + The replacement. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The type of the document. + The collection. + The filter. + The replacement. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The collection. + The filter. + The replacement. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The type of the document. + The collection. + The filter. + The replacement. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The type of the document. + The collection. + The filter. + The replacement. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The collection. + The filter. + The replacement. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and updates it atomically. + + The type of the document. + The collection. + The filter. + The update. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and updates it atomically. + + The type of the document. + The collection. + The filter. + The update. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and updates it atomically. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The collection. + The filter. + The update. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and updates it atomically. + + The type of the document. + The collection. + The filter. + The update. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and updates it atomically. + + The type of the document. + The collection. + The filter. + The update. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and updates it atomically. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The collection. + The filter. + The update. + The options. + The cancellation token. + + The returned document. + + + + + Replaces a single document. + + The type of the document. + The collection. + The filter. + The replacement. + The options. + The cancellation token. + + The result of the replacement. + + + + + Replaces a single document. + + The type of the document. + The collection. + The filter. + The replacement. + The options. + The cancellation token. + + The result of the replacement. + + + + + Updates many documents. + + The type of the document. + The collection. + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Updates many documents. + + The type of the document. + The collection. + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Updates a single document. + + The type of the document. + The collection. + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Updates a single document. + + The type of the document. + The collection. + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + An interface representing methods used to create, delete and modify indexes. + + + This interface is not guaranteed to remain stable. Implementors should use + . + + The type of the document. + + + + Gets the namespace of the collection. + + + + + Gets the document serializer. + + + + + Gets the collection settings. + + + + + Creates an index. + + The keys. + The options. + The cancellation token. + + The name of the index that was created. + + + + + Creates an index. + + The keys. + The options. + The cancellation token. + + A task whose result is the name of the index that was created. + + + + + Creates multiple indexes. + + The models defining each of the indexes. + The cancellation token. + + An of the names of the indexes that were created. + + + + + Creates multiple indexes. + + The models defining each of the indexes. + The cancellation token. + + A task whose result is an of the names of the indexes that were created. + + + + + Drops all the indexes. + + The cancellation token. + + + + Drops all the indexes. + + The cancellation token. + A task. + + + + Drops an index by its name. + + The name. + The cancellation token. + + + + Drops an index by its name. + + The name. + The cancellation token. + A task. + + + + Lists the indexes. + + The cancellation token. + A cursor. + + + + Lists the indexes. + + The cancellation token. + A Task whose result is a cursor. + + + + Options for inserting many documents. + + + + + Initializes a new instance of the class. + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets a value indicating whether the requests are fulfilled in order. + + + + + Options for a list collections operation. + + + + + Gets or sets the filter. + + + + + Represents the options for a map-reduce operation. + + The type of the document. + The type of the result. + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets the collation. + + + + + Gets or sets the filter. + + + + + Gets or sets the finalize function. + + + + + Gets or sets the java script mode. + + + + + Gets or sets the limit. + + + + + Gets or sets the maximum time. + + + + + Gets or sets the output options. + + + + + Gets or sets the result serializer. + + + + + Gets or sets the scope. + + + + + Gets or sets the sort. + + + + + Gets or sets whether to include timing information. + + + + + Represents the output options for a map-reduce operation. + + + + + An inline map-reduce output options. + + + + + A merge map-reduce output options. + + The name of the collection. + The name of the database. + Whether the output collection should be sharded. + Whether the server should not lock the database for the duration of the merge. + A merge map-reduce output options. + + + + A reduce map-reduce output options. + + The name of the collection. + The name of the database. + Whether the output collection should be sharded. + Whether the server should not lock the database for the duration of the reduce. + A reduce map-reduce output options. + + + + A replace map-reduce output options. + + The name of the collection. + Name of the database. + Whether the output collection should be sharded. + A replace map-reduce output options. + + + + Base class for implementors of . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Base class for implementors of . + + The type of the document. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Base class for implementors of . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Base class for implementors of . + + The type of the document. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Base class for implementors of . + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A rendered command. + + The type of the result. + + + + Initializes a new instance of the class. + + The document. + The result serializer. + + + + Gets the document. + + + + + Gets the result serializer. + + + + + Base class for commands. + + The type of the result. + + + + Renders the command to a . + + The serializer registry. + A . + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + A based command. + + The type of the result. + + + + Initializes a new instance of the class. + + The document. + The result serializer. + + + + Gets the document. + + + + + Gets the result serializer. + + + + + + + + A JSON based command. + + The type of the result. + + + + Initializes a new instance of the class. + + The json. + The result serializer. + + + + Gets the json. + + + + + Gets the result serializer. + + + + + + + + An based command. + + The type of the result. + + + + Initializes a new instance of the class. + + The object. + The result serializer. + + + + Gets the object. + + + + + Gets the result serializer. + + + + + + + + Options for the $unwind aggregation stage. + + The type of the result. + + + + Gets or sets the field with which to include the array index. + + + + + Gets or sets whether to preserve null and empty arrays. + + + + + Gets or sets the result serializer. + + + + + Represents text search options. + + + + + Gets or sets whether a text search should be case sensitive. + + + + + Gets or sets whether a text search should be diacritic sensitive. + + + + + Gets or sets the language for a text search. + + + + + Extension methods for UpdateDefinition. + + + + + Combines an existing update with an add to set operator. + + The type of the document. + The type of the item. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with an add to set operator. + + The type of the document. + The type of the item. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with an add to set operator. + + The type of the document. + The type of the item. + The update. + The field. + The values. + + A combined update. + + + + + Combines an existing update with an add to set operator. + + The type of the document. + The type of the item. + The update. + The field. + The values. + + A combined update. + + + + + Combines an existing update with a bitwise and operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a bitwise and operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a bitwise or operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a bitwise or operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a bitwise xor operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a bitwise xor operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a current date operator. + + The type of the document. + The update. + The field. + The type. + + A combined update. + + + + + Combines an existing update with a current date operator. + + The type of the document. + The update. + The field. + The type. + + A combined update. + + + + + Combines an existing update with an increment operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with an increment operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a max operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a max operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a min operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a min operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a multiply operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a multiply operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a pop operator. + + The type of the document. + The update. + The field. + + A combined update. + + + + + Combines an existing update with a pop operator. + + The type of the document. + The update. + The field. + + A combined update. + + + + + Combines an existing update with a pop operator. + + The type of the document. + The update. + The field. + + A combined update. + + + + + Combines an existing update with a pop operator. + + The type of the document. + The update. + The field. + + A combined update. + + + + + Combines an existing update with a pull operator. + + The type of the document. + The type of the item. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a pull operator. + + The type of the document. + The type of the item. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a pull operator. + + The type of the document. + The type of the item. + The update. + The field. + The values. + + A combined update. + + + + + Combines an existing update with a pull operator. + + The type of the document. + The type of the item. + The update. + The field. + The values. + + A combined update. + + + + + Combines an existing update with a pull operator. + + The type of the document. + The type of the item. + The update. + The field. + The filter. + + A combined update. + + + + + Combines an existing update with a pull operator. + + The type of the document. + The type of the item. + The update. + The field. + The filter. + + A combined update. + + + + + Combines an existing update with a pull operator. + + The type of the document. + The type of the item. + The update. + The field. + The filter. + + A combined update. + + + + + Combines an existing update with a push operator. + + The type of the document. + The type of the item. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a push operator. + + The type of the document. + The type of the item. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a push operator. + + The type of the document. + The type of the item. + The update. + The field. + The values. + The slice. + The position. + The sort. + + A combined update. + + + + + Combines an existing update with a push operator. + + The type of the document. + The type of the item. + The update. + The field. + The values. + The slice. + The position. + The sort. + + A combined update. + + + + + Combines an existing update with a field renaming operator. + + The type of the document. + The update. + The field. + The new name. + + A combined update. + + + + + Combines an existing update with a field renaming operator. + + The type of the document. + The update. + The field. + The new name. + + A combined update. + + + + + Combines an existing update with a set operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a set operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a set on insert operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a set on insert operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with an unset operator. + + The type of the document. + The update. + The field. + + A combined update. + + + + + Combines an existing update with an unset operator. + + The type of the document. + The update. + The field. + + A combined update. + + + + + The type to use for a $currentDate operator. + + + + + A date. + + + + + A timestamp. + + + + + A builder for an . + + The type of the document. + + + + Creates an add to set operator. + + The type of the item. + The field. + The value. + An add to set operator. + + + + Creates an add to set operator. + + The type of the item. + The field. + The value. + An add to set operator. + + + + Creates an add to set operator. + + The type of the item. + The field. + The values. + An add to set operator. + + + + Creates an add to set operator. + + The type of the item. + The field. + The values. + An add to set operator. + + + + Creates a bitwise and operator. + + The type of the field. + The field. + The value. + A bitwise and operator. + + + + Creates a bitwise and operator. + + The type of the field. + The field. + The value. + A bitwise and operator. + + + + Creates a bitwise or operator. + + The type of the field. + The field. + The value. + A bitwise or operator. + + + + Creates a bitwise or operator. + + The type of the field. + The field. + The value. + A bitwise or operator. + + + + Creates a bitwise xor operator. + + The type of the field. + The field. + The value. + A bitwise xor operator. + + + + Creates a bitwise xor operator. + + The type of the field. + The field. + The value. + A bitwise xor operator. + + + + Creates a combined update. + + The updates. + A combined update. + + + + Creates a combined update. + + The updates. + A combined update. + + + + Creates a current date operator. + + The field. + The type. + A current date operator. + + + + Creates a current date operator. + + The field. + The type. + A current date operator. + + + + Creates an increment operator. + + The type of the field. + The field. + The value. + An increment operator. + + + + Creates an increment operator. + + The type of the field. + The field. + The value. + An increment operator. + + + + Creates a max operator. + + The type of the field. + The field. + The value. + A max operator. + + + + Creates a max operator. + + The type of the field. + The field. + The value. + A max operator. + + + + Creates a min operator. + + The type of the field. + The field. + The value. + A min operator. + + + + Creates a min operator. + + The type of the field. + The field. + The value. + A min operator. + + + + Creates a multiply operator. + + The type of the field. + The field. + The value. + A multiply operator. + + + + Creates a multiply operator. + + The type of the field. + The field. + The value. + A multiply operator. + + + + Creates a pop operator. + + The field. + A pop operator. + + + + Creates a pop first operator. + + The field. + A pop first operator. + + + + Creates a pop operator. + + The field. + A pop operator. + + + + Creates a pop first operator. + + The field. + A pop first operator. + + + + Creates a pull operator. + + The type of the item. + The field. + The value. + A pull operator. + + + + Creates a pull operator. + + The type of the item. + The field. + The value. + A pull operator. + + + + Creates a pull operator. + + The type of the item. + The field. + The values. + A pull operator. + + + + Creates a pull operator. + + The type of the item. + The field. + The values. + A pull operator. + + + + Creates a pull operator. + + The type of the item. + The field. + The filter. + A pull operator. + + + + Creates a pull operator. + + The type of the item. + The field. + The filter. + A pull operator. + + + + Creates a pull operator. + + The type of the item. + The field. + The filter. + A pull operator. + + + + Creates a push operator. + + The type of the item. + The field. + The value. + A push operator. + + + + Creates a push operator. + + The type of the item. + The field. + The value. + A push operator. + + + + Creates a push operator. + + The type of the item. + The field. + The values. + The slice. + The position. + The sort. + A push operator. + + + + Creates a push operator. + + The type of the item. + The field. + The values. + The slice. + The position. + The sort. + A push operator. + + + + Creates a field renaming operator. + + The field. + The new name. + A field rename operator. + + + + Creates a field renaming operator. + + The field. + The new name. + A field rename operator. + + + + Creates a set operator. + + The type of the field. + The field. + The value. + A set operator. + + + + Creates a set operator. + + The type of the field. + The field. + The value. + A set operator. + + + + Creates a set on insert operator. + + The type of the field. + The field. + The value. + A set on insert operator. + + + + Creates a set on insert operator. + + The type of the field. + The field. + The value. + A set on insert operator. + + + + Creates an unset operator. + + The field. + An unset operator. + + + + Creates an unset operator. + + The field. + An unset operator. + + + + A filtered mongo collection. The filter will be and'ed with all filters. + + The type of the document. + + + + Gets the filter. + + + + + Options for renaming a collection. + + + + + Gets or sets a value indicating whether to drop the target collection first if it already exists. + + + + + Options for creating a collection. + + + + + Gets or sets the collation. + + + + + Gets or sets a value indicating whether to automatically create an index on the _id. + + + + + Gets or sets a value indicating whether the collection is capped. + + + + + Gets or sets the index option defaults. + + + The index option defaults. + + + + + Gets or sets the maximum number of documents (used with capped collections). + + + + + Gets or sets the maximum size of the collection (used with capped collections). + + + + + Gets or sets whether padding should not be used. + + + + + Gets or sets the serializer registry. + + + + + Gets or sets the storage engine options. + + + + + Gets or sets a value indicating whether to use power of 2 sizes. + + + + + Gets or sets the validation action. + + + The validation action. + + + + + Gets or sets the validation level. + + + The validation level. + + + + + Options for creating a collection. + + The type of the document. + + + + Coerces a generic CreateCollectionOptions{TDocument} from a non-generic CreateCollectionOptions. + + The options. + The generic options. + + + + Gets or sets the document serializer. + + + + + Gets or sets the validator. + + + The validator. + + + + + Options for the distinct command. + + + + + Gets or sets the collation. + + + + + Gets or sets the maximum time. + + + + + Options for a find operation. + + + + + Initializes a new instance of the class. + + + + + Gets or sets a value indicating whether to allow partial results when some shards are unavailable. + + + + + Gets or sets the size of a batch. + + + + + Gets or sets the collation. + + + + + Gets or sets the comment. + + + + + Gets or sets the type of the cursor. + + + + + Gets or sets the maximum await time for TailableAwait cursors. + + + + + Gets or sets the maximum time. + + + + + Gets or sets the modifiers. + + + + + Gets or sets whether a cursor will time out. + + + + + Gets or sets whether the OplogReplay bit will be set. + + + + + Options for finding documents. + + + + + Options for finding documents. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + + + Gets or sets how many documents to return. + + + + + Gets or sets the projection. + + + + + Gets or sets how many documents to skip before returning the rest. + + + + + Gets or sets the sort. + + + + + Options for finding documents. + + The type of the document and the result. + + + + Options for a findAndModify command to delete an object. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + + + Gets or sets the collation. + + + + + Gets or sets the maximum time. + + + + + Gets or sets the projection. + + + + + Gets or sets the sort. + + + + + Options for a findAndModify command to delete an object. + + The type of the document and the result. + + + + Options for a findAndModify command to replace an object. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + + + Initializes a new instance of the class. + + + + + Gets or sets the collation. + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets a value indicating whether to insert the document if it doesn't already exist. + + + + + Gets or sets the maximum time. + + + + + Gets or sets the projection. + + + + + Gets or sets which version of the document to return. + + + + + Gets or sets the sort. + + + + + Options for a findAndModify command to replace an object. + + The type of the document and the result. + + + + Options for a findAndModify command to update an object. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + + + Initializes a new instance of the class. + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets the collation. + + + + + Gets or sets a value indicating whether to insert the document if it doesn't already exist. + + + + + Gets or sets the maximum time. + + + + + Gets or sets the projection. + + + + + Gets or sets which version of the document to return. + + + + + Gets or sets the sort. + + + + + Options for a findAndModify command to update an object. + + The type of the document and the result. + + + + Represents a serializer helper for GeoJsonObjects. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The type. + The derived members. + + + + Deserializes a base member. + + The context. + The element name. + The flag. + The arguments. + + + + Serializes the members. + + The type of the value. + The context. + The value. + The delegate to serialize the derived members. + + + + Represents a serializer for a GeoJson2DGeographicCoordinates value. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJson2DProjectedCoordinates value. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJson3DCoordinates value. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJson3DGeographicCoordinates value. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJson3DProjectedCoordinates value. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonBoundingBox value. + + The type of the coordinates. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonCoordinateReferenceSystem value. + + + + + Gets the actual type. + + The context. + The actual type. + + + + Represents a serializer for a GeoJsonCoordinates value. + + + + + Gets the actual type. + + The context. + The actual type. + + + + Represents a serializer for a GeoJsonFeatureCollection value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonFeature value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonGeometryCollection value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonGeometry value. + + The type of the coordinates. + + + + Gets the actual type. + + The context. + The actual type. + + + + Represents a serializer for a GeoJsonLinearRingCoordinates value. + + The type of the coordinates. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonLineStringCoordinates value. + + The type of the coordinates. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonLineString value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonLinkedCoordinateReferenceSystem value. + + + + + Initializes a new instance of the class. + + + + + Deserializes a class. + + The deserialization context. + The deserialization args. + An object. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonMultiLineStringCoordinates value. + + The type of the coordinates. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonMultiPointCoordinates value. + + The type of the coordinates. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonMultiPoint value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonMultiLineString value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonMultiPolygonCoordinates value. + + The type of the coordinates. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonMultiPolygon value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonNamedCoordinateReferenceSystem value. + + + + + Initializes a new instance of the class. + + + + + Deserializes a class. + + The deserialization context. + The deserialization args. + An object. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJson object. + + The type of the coordinates. + + + + Gets the actual type. + + The context. + The actual type. + + + + Represents a serializer for a GeoJsonPoint value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonPolygonCoordinates value. + + The type of the coordinates. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonPolygon value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJson2DCoordinates value. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + A static class containing helper methods to create GeoJson objects. + + + + + Creates a GeoJson bounding box. + + The type of the coordinates. + The min. + The max. + A GeoJson bounding box. + + + + Creates a GeoJson Feature object. + + The type of the coordinates. + The geometry. + A GeoJson Feature object. + + + + Creates a GeoJson Feature object. + + The type of the coordinates. + The additional args. + The geometry. + A GeoJson Feature object. + + + + Creates a GeoJson FeatureCollection object. + + The type of the coordinates. + The additional args. + The features. + A GeoJson FeatureCollection object. + + + + Creates a GeoJson FeatureCollection object. + + The type of the coordinates. + The features. + A GeoJson FeatureCollection object. + + + + Creates a GeoJson 2D geographic position (longitude, latitude). + + The longitude. + The latitude. + A GeoJson 2D geographic position. + + + + Creates a GeoJson 3D geographic position (longitude, latitude, altitude). + + The longitude. + The latitude. + The altitude. + A GeoJson 3D geographic position. + + + + Creates a GeoJson GeometryCollection object. + + The type of the coordinates. + The additional args. + The geometries. + A GeoJson GeometryCollection object. + + + + Creates a GeoJson GeometryCollection object. + + The type of the coordinates. + The geometries. + A GeoJson GeometryCollection object. + + + + Creates the coordinates of a GeoJson linear ring. + + The type of the coordinates. + The positions. + The coordinates of a GeoJson linear ring. + + + + Creates a GeoJson LineString object. + + The type of the coordinates. + The additional args. + The positions. + A GeoJson LineString object. + + + + Creates a GeoJson LineString object. + + The type of the coordinates. + The positions. + A GeoJson LineString object. + + + + Creates the coordinates of a GeoJson LineString. + + The type of the coordinates. + The positions. + The coordinates of a GeoJson LineString. + + + + Creates a GeoJson MultiLineString object. + + The type of the coordinates. + The additional args. + The line strings. + A GeoJson MultiLineString object. + + + + Creates a GeoJson MultiLineString object. + + The type of the coordinates. + The line strings. + A GeoJson MultiLineString object. + + + + Creates a GeoJson MultiPoint object. + + The type of the coordinates. + The additional args. + The positions. + A GeoJson MultiPoint object. + + + + Creates a GeoJson MultiPoint object. + + The type of the coordinates. + The positions. + A GeoJson MultiPoint object. + + + + Creates a GeoJson MultiPolygon object. + + The type of the coordinates. + The additional args. + The polygons. + A GeoJson MultiPolygon object. + + + + Creates a GeoJson MultiPolygon object. + + The type of the coordinates. + The polygons. + A GeoJson MultiPolygon object. + + + + Creates a GeoJson Point object. + + The type of the coordinates. + The additional args. + The coordinates. + A GeoJson Point object. + + + + Creates a GeoJson Point object. + + The type of the coordinates. + The coordinates. + A GeoJson Point object. + + + + Creates a GeoJson Polygon object. + + The type of the coordinates. + The additional args. + The positions. + A GeoJson Polygon object. + + + + Creates a GeoJson Polygon object. + + The type of the coordinates. + The additional args. + The coordinates. + A GeoJson Polygon object. + + + + Creates a GeoJson Polygon object. + + The type of the coordinates. + The coordinates. + A GeoJson Polygon object. + + + + Creates a GeoJson Polygon object. + + The type of the coordinates. + The positions. + A GeoJson Polygon object. + + + + Creates the coordinates of a GeoJson Polygon object. + + The type of the coordinates. + The positions. + The coordinates of a GeoJson Polygon object. + + + + Creates the coordinates of a GeoJson Polygon object. + + The type of the coordinates. + The exterior. + The holes. + The coordinates of a GeoJson Polygon object. + + + + Creates a GeoJson 2D position (x, y). + + The x. + The y. + A GeoJson 2D position. + + + + Creates a GeoJson 3D position (x, y, z). + + The x. + The y. + The z. + A GeoJson 3D position. + + + + Creates a GeoJson 2D projected position (easting, northing). + + The easting. + The northing. + A GeoJson 2D projected position. + + + + Creates a GeoJson 3D projected position (easting, northing, altitude). + + The easting. + The northing. + The altitude. + A GeoJson 3D projected position. + + + + Represents a GeoJson bounding box. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The min. + The max. + + + + Gets the max. + + + + + Gets the min. + + + + + Represents a GeoJson coordinate reference system (see subclasses). + + + + + Gets the type of the GeoJson coordinate reference system. + + + + + Represents a GeoJson Feature object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The geometry. + + + + Initializes a new instance of the class. + + The additional args. + The geometry. + + + + Gets the geometry. + + + + + Gets the id. + + + + + Gets the properties. + + + + + Gets the type of the GeoJson object. + + + + + Represents additional arguments for a GeoJson Feature object. + + The type of the coordinates. + + + + Gets or sets the id. + + + + + Gets or sets the properties. + + + + + Represents a GeoJson FeatureCollection. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The features. + + + + Initializes a new instance of the class. + + The additional args. + The features. + + + + Gets the features. + + + + + Gets the type of the GeoJson object. + + + + + Represents a GeoJson Geometry object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The additional args. + + + + Represents a GeoJson GeometryCollection object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The geometries. + + + + Initializes a new instance of the class. + + The additional args. + The geometries. + + + + Gets the geometries. + + + + + Gets the type of the GeoJson object. + + + + + Represents the coordinates of a GeoJson linear ring. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The positions. + + + + Represents a GeoJson LineString object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The coordinates. + + + + Initializes a new instance of the class. + + The additional args. + The coordinates. + + + + Gets the coordinates. + + + + + Gets the type of the GeoJson object. + + + + + Represents the coordinates of a GeoJson LineString object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The positions. + + + + Gets the positions. + + + + + Represents a GeoJson linked coordinate reference system. + + + + + Initializes a new instance of the class. + + The href. + + + + Initializes a new instance of the class. + + The href. + Type of the href. + + + + Gets the href. + + + + + Gets the type of the href. + + + + + Gets the type of the GeoJson coordinate reference system. + + + + + Represents a GeoJson MultiLineString object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The coordinates. + + + + Initializes a new instance of the class. + + The additional args. + The coordinates. + + + + Gets the coordinates. + + + + + Gets the type of the GeoJson object. + + + + + Represents the coordinates of a GeoJson MultiLineString object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The line strings. + + + + Gets the LineStrings. + + + + + Represents a GeoJson MultiPoint object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The coordinates. + + + + Initializes a new instance of the class. + + The additional args. + The coordinates. + + + + Gets the coordinates. + + + + + Gets the type of the GeoJson object. + + + + + Represents the coordinates of a GeoJson MultiPoint object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The positions. + + + + Gets the positions. + + + + + Represents the coordinates of a GeoJson MultiPolygon object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The polygons. + + + + Gets the Polygons. + + + + + Represents a GeoJson MultiPolygon object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The coordinates. + + + + Initializes a new instance of the class. + + The additional args. + The coordinates. + + + + Gets the coordinates. + + + + + Gets the type of the GeoJson object. + + + + + Represents a GeoJson named coordinate reference system. + + + + + Initializes a new instance of the class. + + The name. + + + + Gets the name. + + + + + Gets the type of the GeoJson coordinate reference system. + + + + + Represents a GeoJson object (see subclasses). + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The additional args. + + + + Gets the bounding box. + + + + + Gets the coordinate reference system. + + + + + Gets the extra members. + + + + + Gets the type of the GeoJson object. + + + + + Represents additional args provided when creating a GeoJson object. + + The type of the coordinates. + + + + Gets or sets the bounding box. + + + + + Gets or sets the coordinate reference system. + + + + + Gets or sets the extra members. + + + + + Represents the type of a GeoJson object. + + + + + A Feature. + + + + + A FeatureCollection. + + + + + A GeometryCollection. + + + + + A LineString. + + + + + A MultiLineString. + + + + + A MultiPoint. + + + + + A MultiPolygon. + + + + + A Point. + + + + + A Polygon. + + + + + Represents a GeoJson Point object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The coordinates. + + + + Initializes a new instance of the class. + + The additional args. + The coordinates. + + + + Gets the coordinates. + + + + + Gets the type of the GeoJson object. + + + + + Represents a GeoJson Polygon object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The coordinates. + + + + Initializes a new instance of the class. + + The additional args. + The coordinates. + + + + Gets the coordinates. + + + + + Gets the type of the GeoJson object. + + + + + Represents the coordinates of a GeoJson Polygon object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The exterior. + + + + Initializes a new instance of the class. + + The exterior. + The holes. + + + + Gets the exterior. + + + + + Gets the holes. + + + + + Represents a GeoJson position in some coordinate system (see subclasses). + + + + + Gets the coordinate values. + + + + + Determines whether two instances are equal. + + The LHS. + The RHS. + + true if the left hand side is equal to the right hand side; otherwise, false. + + + + + Determines whether two instances are not equal. + + The LHS. + The RHS. + + true if the left hand side is not equal to the right hand side; otherwise, false. + + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + + + + + Represents a GeoJson 2D position (x, y). + + + + + Initializes a new instance of the class. + + The x coordinate. + The y coordinate. + + + + Gets the coordinate values. + + + + + Gets the X coordinate. + + + + + Gets the Y coordinate. + + + + + Represents a GeoJson 3D position (x, y, z). + + + + + Initializes a new instance of the class. + + The x coordinate. + The y coordinate. + The z coordinate. + + + + Gets the coordinate values. + + + + + Gets the X coordinate. + + + + + Gets the Y coordinate. + + + + + Gets the Z coordinate. + + + + + Represents a GeoJson 2D geographic position (longitude, latitude). + + + + + Initializes a new instance of the class. + + The longitude. + The latitude. + + + + Gets the coordinate values. + + + + + Gets the longitude. + + + + + Gets the latitude. + + + + + Represents a GeoJson 3D geographic position (longitude, latitude, altitude). + + + + + Initializes a new instance of the class. + + The longitude. + The latitude. + The altitude. + + + + Gets the coordinate values. + + + + + Gets the longitude. + + + + + Gets the latitude. + + + + + Gets the altitude. + + + + + Represents a GeoJson 2D projected position (easting, northing). + + + + + Initializes a new instance of the class. + + The easting. + The northing. + + + + Gets the coordinate values. + + + + + Gets the easting. + + + + + Gets the northing. + + + + + Represents a GeoJson 3D projected position (easting, northing, altitude). + + + + + Initializes a new instance of the class. + + The easting. + The northing. + The altitude. + + + + Gets the coordinate values. + + + + + Gets the easting. + + + + + Gets the northing. + + + + + Gets the altitude. + + + + + The client interface to MongoDB. + + + This interface is not guaranteed to remain stable. Implementors should use + . + + + + + Gets the cluster. + + + The cluster. + + + + + Gets the settings. + + + + + Drops the database with the specified name. + + The name of the database to drop. + The cancellation token. + + + + Drops the database with the specified name. + + The name of the database to drop. + The cancellation token. + A task. + + + + Gets a database. + + The name of the database. + The database settings. + An implementation of a database. + + + + Lists the databases on the server. + + The cancellation token. + A cursor. + + + + Lists the databases on the server. + + The cancellation token. + A Task whose result is a cursor. + + + + Returns a new IMongoClient instance with a different read concern setting. + + The read concern. + A new IMongoClient instance with a different read concern setting. + + + + Returns a new IMongoClient instance with a different read preference setting. + + The read preference. + A new IMongoClient instance with a different read preference setting. + + + + Returns a new IMongoClient instance with a different write concern setting. + + The write concern. + A new IMongoClient instance with a different write concern setting. + + + + Represents a typed collection in MongoDB. + + + This interface is not guaranteed to remain stable. Implementors should use + . + + The type of the documents stored in the collection. + + + + Gets the namespace of the collection. + + + + + Gets the database. + + + + + Gets the document serializer. + + + + + Gets the index manager. + + + + + Gets the settings. + + + + + Runs an aggregation pipeline. + + The type of the result. + The pipeline. + The options. + The cancellation token. + A cursor. + + + + Runs an aggregation pipeline. + + The type of the result. + The pipeline. + The options. + The cancellation token. + A Task whose result is a cursor. + + + + Performs multiple write operations. + + The requests. + The options. + The cancellation token. + The result of writing. + + + + Performs multiple write operations. + + The requests. + The options. + The cancellation token. + The result of writing. + + + + Counts the number of documents in the collection. + + The filter. + The options. + The cancellation token. + + The number of documents in the collection. + + + + + Counts the number of documents in the collection. + + The filter. + The options. + The cancellation token. + + The number of documents in the collection. + + + + + Deletes multiple documents. + + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Deletes multiple documents. + + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Deletes multiple documents. + + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Deletes multiple documents. + + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Gets the distinct values for a specified field. + + The type of the result. + The field. + The filter. + The options. + The cancellation token. + A cursor. + + + + Gets the distinct values for a specified field. + + The type of the result. + The field. + The filter. + The options. + The cancellation token. + A Task whose result is a cursor. + + + + Finds the documents matching the filter. + + The type of the projection (same as TDocument if there is no projection). + The filter. + The options. + The cancellation token. + A cursor. + + + + Finds the documents matching the filter. + + The type of the projection (same as TDocument if there is no projection). + The filter. + The options. + The cancellation token. + A Task whose result is a cursor. + + + + Finds a single document and deletes it atomically. + + The type of the projection (same as TDocument if there is no projection). + The filter. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and deletes it atomically. + + The type of the projection (same as TDocument if there is no projection). + The filter. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The type of the projection (same as TDocument if there is no projection). + The filter. + The replacement. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The type of the projection (same as TDocument if there is no projection). + The filter. + The replacement. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and updates it atomically. + + The type of the projection (same as TDocument if there is no projection). + The filter. + The update. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and updates it atomically. + + The type of the projection (same as TDocument if there is no projection). + The filter. + The update. + The options. + The cancellation token. + + The returned document. + + + + + Inserts a single document. + + The document. + The options. + The cancellation token. + + + + Inserts a single document. + + The document. + The cancellation token. + + The result of the insert operation. + + + + + Inserts a single document. + + The document. + The options. + The cancellation token. + + The result of the insert operation. + + + + + Inserts many documents. + + The documents. + The options. + The cancellation token. + + + + Inserts many documents. + + The documents. + The options. + The cancellation token. + + The result of the insert operation. + + + + + Executes a map-reduce command. + + The type of the result. + The map function. + The reduce function. + The options. + The cancellation token. + A cursor. + + + + Executes a map-reduce command. + + The type of the result. + The map function. + The reduce function. + The options. + The cancellation token. + A Task whose result is a cursor. + + + + Returns a filtered collection that appears to contain only documents of the derived type. + All operations using this filtered collection will automatically use discriminators as necessary. + + The type of the derived document. + A filtered collection. + + + + Replaces a single document. + + The filter. + The replacement. + The options. + The cancellation token. + + The result of the replacement. + + + + + Replaces a single document. + + The filter. + The replacement. + The options. + The cancellation token. + + The result of the replacement. + + + + + Updates many documents. + + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Updates many documents. + + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Updates a single document. + + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Updates a single document. + + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Returns a new IMongoCollection instance with a different read concern setting. + + The read concern. + A new IMongoCollection instance with a different read concern setting. + + + + Returns a new IMongoCollection instance with a different read preference setting. + + The read preference. + A new IMongoCollection instance with a different read preference setting. + + + + Returns a new IMongoCollection instance with a different write concern setting. + + The write concern. + A new IMongoCollection instance with a different write concern setting. + + + + Representats a database in MongoDB. + + + This interface is not guaranteed to remain stable. Implementors should use + . + + + + + Gets the client. + + + + + Gets the namespace of the database. + + + + + Gets the settings. + + + + + Creates the collection with the specified name. + + The name. + The options. + The cancellation token. + + + + Creates the collection with the specified name. + + The name. + The options. + The cancellation token. + A task. + + + + Creates a view. + + The type of the input documents. + The type of the pipeline result documents. + The name of the view. + The name of the collection that the view is on. + The pipeline. + The options. + The cancellation token. + + + + Creates a view. + + The type of the input documents. + The type of the pipeline result documents. + The name of the view. + The name of the collection that the view is on. + The pipeline. + The options. + The cancellation token. + A task. + + + + Drops the collection with the specified name. + + The name of the collection to drop. + The cancellation token. + + + + Drops the collection with the specified name. + + The name of the collection to drop. + The cancellation token. + A task. + + + + Gets a collection. + + The document type. + The name of the collection. + The settings. + An implementation of a collection. + + + + Lists all the collections on the server. + + The options. + The cancellation token. + A cursor. + + + + Lists all the collections on the server. + + The options. + The cancellation token. + A Task whose result is a cursor. + + + + Renames the collection. + + The old name. + The new name. + The options. + The cancellation token. + + + + Renames the collection. + + The old name. + The new name. + The options. + The cancellation token. + A task. + + + + Runs a command. + + The result type of the command. + The command. + The read preference. + The cancellation token. + + The result of the command. + + + + + Runs a command. + + The result type of the command. + The command. + The read preference. + The cancellation token. + + The result of the command. + + + + + Returns a new IMongoDatabase instance with a different read concern setting. + + The read concern. + A new IMongoDatabase instance with a different read concern setting. + + + + Returns a new IMongoDatabase instance with a different read preference setting. + + The read preference. + A new IMongoDatabase instance with a different read preference setting. + + + + Returns a new IMongoDatabase instance with a different write concern setting. + + The write concern. + A new IMongoDatabase instance with a different write concern setting. + + + + The result of a delete operation. + + + + + Gets the deleted count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets a value indicating whether the result is acknowleded. + + + + + Initializes a new instance of the class. + + + + + The result of an acknowledged delete operation. + + + + + Initializes a new instance of the class. + + The deleted count. + + + + + + + + + + The result of an unacknowledged delete operation. + + + + + Gets the instance. + + + + + + + + + + + Model for inserting a single document. + + The type of the document. + + + + Initializes a new instance of the class. + + The document. + + + + Gets the document. + + + + + Gets the type of the model. + + + + + Model for replacing a single document. + + The type of the document. + + + + Initializes a new instance of the class. + + The filter. + The replacement. + + + + Gets or sets the collation. + + + + + Gets the filter. + + + + + Gets or sets a value indicating whether to insert the document if it doesn't already exist. + + + + + Gets the replacement. + + + + + Gets the type of the model. + + + + + The cursor type. + + + + + A non-tailable cursor. This is sufficient for a vast majority of uses. + + + + + A tailable cursor. + + + + + A tailable cursor with a built-in server sleep. + + + + + Which version of the document to return when executing a FindAndModify command. + + + + + Return the document before the modification. + + + + + Return the document after the modification. + + + + + A rendered projection. + + The type of the projection. + + + + Initializes a new instance of the class. + + The document. + The projection serializer. + + + + Gets the document. + + + + + Gets the serializer. + + + + + Base class for projections whose projection type is not yet known. + + The type of the source. + + + + Renders the projection to a . + + The source serializer. + The serializer registry. + A . + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + Base class for projections. + + The type of the source. + The type of the projection. + + + + Renders the projection to a . + + The source serializer. + The serializer registry. + A . + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The projection. + + The result of the conversion. + + + + + A based projection whose projection type is not yet known. + + The type of the source. + + + + Initializes a new instance of the class. + + The document. + + + + Gets the document. + + + + + + + + A based projection. + + The type of the source. + The type of the projection. + + + + Initializes a new instance of the class. + + The document. + The projection serializer. + + + + Gets the document. + + + + + Gets the projection serializer. + + + + + + + + A find based projection. + + The type of the source. + The type of the projection. + + + + Initializes a new instance of the class. + + The expression. + + + + Gets the expression. + + + + + + + + A JSON based projection whose projection type is not yet known. + + The type of the source. + + + + Initializes a new instance of the class. + + The json. + + + + Gets the json. + + + + + + + + A JSON based projection. + + The type of the source. + The type of the projection. + + + + Initializes a new instance of the class. + + The json. + The projection serializer. + + + + Gets the json. + + + + + Gets the projection serializer. + + + + + + + + An based projection whose projection type is not yet known. + + The type of the source. + + + + Initializes a new instance of the class. + + The object. + + + + Gets the object. + + + + + + + + An based projection. + + The type of the source. + The type of the projection. + + + + Initializes a new instance of the class. + + The object. + The projection serializer. + + + + Gets the object. + + + + + Gets the projection serializer. + + + + + + + + A client side only projection that is implemented solely by deserializing using a different serializer. + + The type of the source. + The type of the projection. + + + + Initializes a new instance of the class. + + The projection serializer. + + + + Gets the result serializer. + + + The result serializer. + + + + + + + + A rendered field. + + + + + Initializes a new instance of the class. + + The field name. + The field serializer. + + + + Gets the field name. + + + + + Gets the field serializer. + + + + + A rendered field. + + The type of the field. + + + + Initializes a new instance of the class. + + The field name. + The field serializer. + + + + Initializes a new instance of the class. + + The field name. + The field serializer. + The value serializer. + The underlying serializer. + + + + Gets the field name. + + + + + Gets the field serializer. + + + + + Gets the underlying serializer. + + + + + Gets the value serializer. + + + + + Base class for field names. + + The type of the document. + + + + Renders the field to a . + + The document serializer. + The serializer registry. + A . + + + + Performs an implicit conversion from to . + + Name of the field. + + The result of the conversion. + + + + + Base class for field names. + + The type of the document. + The type of the field. + + + + Renders the field to a . + + The document serializer. + The serializer registry. + A . + + + + Performs an implicit conversion from to . + + Name of the field. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The field. + + The result of the conversion. + + + + + An based field. + + The type of the document. + + + + Initializes a new instance of the class. + + The expression. + + + + Gets the expression. + + + + + + + + An based field. + + The type of the document. + The type of the field. + + + + Initializes a new instance of the class. + + The expression. + + + + Gets the expression. + + + + + + + + A based field name. + + The type of the document. + + + + Initializes a new instance of the class. + + Name of the field. + + + + + + + A based field name. + + The type of the document. + The type of the field. + + + + Initializes a new instance of the class. + + Name of the field. + The field serializer. + + + + + + + The direction of the sort. + + + + + Ascending. + + + + + Descending. + + + + + Base class for sorts. + + The type of the document. + + + + Renders the sort to a . + + The document serializer. + The serializer registry. + A . + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + A based sort. + + The type of the document. + + + + Initializes a new instance of the class. + + The document. + + + + Gets the document. + + + + + + + + A JSON based sort. + + The type of the document. + + + + Initializes a new instance of the class. + + The json. + + + + Gets the json. + + + + + + + + An based sort. + + The type of the document. + + + + Initializes a new instance of the class. + + The object. + + + + Gets the object. + + + + + + + + Base class for updates. + + The type of the document. + + + + Renders the update to a . + + The document serializer. + The serializer registry. + A . + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + A based update. + + The type of the document. + + + + Initializes a new instance of the class. + + The document. + + + + Gets the document. + + + + + + + + A JSON based update. + + The type of the document. + + + + Initializes a new instance of the class. + + The json. + + + + Gets the json. + + + + + + + + An based update. + + The type of the document. + + + + Initializes a new instance of the class. + + The object. + + + + Gets the object. + + + + + + + + Options for updating a single document. + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets the collation. + + + + + Gets or sets a value indicating whether to insert the document if it doesn't already exist. + + + + + Model for updating a single document. + + The type of the document. + + + + Initializes a new instance of the class. + + The filter. + The update. + + + + Gets or sets the collation. + + + + + Gets the filter. + + + + + Gets or sets a value indicating whether to insert the document if it doesn't already exist. + + + + + Gets the update. + + + + + + + + Model for updating many documents. + + The type of the document. + + + + Initializes a new instance of the class. + + The filter. + The update. + + + + Gets or sets the collation. + + + + + Gets the filter. + + + + + Gets or sets a value indicating whether to insert the document if it doesn't already exist. + + + + + Gets the update. + + + + + + + + Model for deleting many documents. + + The type of the document. + + + + Initializes a new instance of the class. + + The filter. + + + + Gets or sets the collation. + + + + + Gets the filter. + + + + + Gets the type of the model. + + + + + Model for deleting a single document. + + The type of the document. + + + + Initializes a new instance of the class. + + The filter. + + + + Gets or sets the collation. + + + + + Gets the filter. + + + + + Gets the type of the model. + + + + + The result of an update operation. + + + + + Gets a value indicating whether the result is acknowleded. + + + + + Gets a value indicating whether the modified count is available. + + + The modified count is only available when all servers have been upgraded to 2.6 or above. + + + + + Gets the matched count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the modified count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the upserted id, if one exists. If IsAcknowledged is false, this will throw an exception. + + + + + Initializes a new instance of the class. + + + + + The result of an acknowledged update operation. + + + + + Initializes a new instance of the class. + + The matched count. + The modified count. + The upserted id. + + + + + + + + + + + + + + + + + + + The result of an unacknowledged update operation. + + + + + Gets the instance. + + + + + + + + + + + + + + + + + + + + The result of an update operation. + + + + + Gets a value indicating whether the result is acknowleded. + + + + + Gets a value indicating whether the modified count is available. + + + The modified count is only available when all servers have been upgraded to 2.6 or above. + + + + + Gets the matched count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the modified count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the upserted id, if one exists. If IsAcknowledged is false, this will throw an exception. + + + + + Initializes a new instance of the class. + + + + + The result of an acknowledgede update operation. + + + + + Initializes a new instance of the class. + + The matched count. + The modified count. + The upserted id. + + + + + + + + + + + + + + + + + + + The result of an acknowledgede update operation. + + + + + Gets the instance. + + + + + + + + + + + + + + + + + + + + Represents the details of a write concern error. + + + + + Gets the error code. + + + + + Gets the error information. + + + + + Gets the error message. + + + + + Represents the result of a bulk write operation. + + + + + Initializes a new instance of the class. + + The request count. + + + + Gets the number of documents that were deleted. + + + + + Gets the number of documents that were inserted. + + + + + Gets a value indicating whether the bulk write operation was acknowledged. + + + + + Gets a value indicating whether the modified count is available. + + + The modified count is only available when all servers have been upgraded to 2.6 or above. + + + + + Gets the number of documents that were matched. + + + + + Gets the number of documents that were actually modified during an update. + + + + + Gets the request count. + + + + + Gets a list with information about each request that resulted in an upsert. + + + + + Represents the result of a bulk write operation. + + The type of the document. + + + + Initializes a new instance of the class. + + The request count. + The processed requests. + + + + Gets the processed requests. + + + + + Result from an acknowledged write concern. + + + + + Initializes a new instance of the class. + + The request count. + The matched count. + The deleted count. + The inserted count. + The modified count. + The processed requests. + The upserts. + + + + + + + + + + + + + + + + + + + + + + + + + Result from an unacknowledged write concern. + + + + + Initializes a new instance of the class. + + The request count. + The processed requests. + + + + + + + + + + + + + + + + + + + + + + + + + Represents the information about one Upsert. + + + + + Gets the id. + + + + + Gets the index. + + + + + Represents a bulk write exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The write errors. + The write concern error. + + + + Initializes a new instance of the MongoQueryException class (this overload supports deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Gets the write concern error. + + + + + Gets the write errors. + + + + + Gets the object data. + + The information. + The context. + + + + Represents a bulk write exception. + + The type of the document. + + + + Initializes a new instance of the class. + + The connection identifier. + The result. + The write errors. + The write concern error. + The unprocessed requests. + + + + Initializes a new instance of the MongoQueryException class (this overload supports deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Gets the result of the bulk write operation. + + + + + Gets the unprocessed requests. + + + + + Gets the object data. + + The information. + The context. + + + + + + + Initializes a new instance of the MongoClient class. + + + + + Initializes a new instance of the MongoClient class. + + The settings. + + + + Initializes a new instance of the MongoClient class. + + The URL. + + + + Initializes a new instance of the MongoClient class. + + The connection string. + + + + Gets the cluster. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The settings for a MongoDB client. + + + + + Creates a new instance of MongoClientSettings. Usually you would use a connection string instead. + + + + + Gets or sets the application name. + + + + + Gets or sets the cluster configurator. + + + + + Gets or sets the connection mode. + + + + + Gets or sets the connect timeout. + + + + + Gets or sets the credentials. + + + + + Gets or sets the representation to use for Guids. + + + + + Gets a value indicating whether the settings have been frozen to prevent further changes. + + + + + Gets or sets the heartbeat interval. + + + + + Gets or sets the heartbeat timeout. + + + + + Gets or sets a value indicating whether to use IPv6. + + + + + Gets or sets the local threshold. + + + + + Gets or sets the max connection idle time. + + + + + Gets or sets the max connection life time. + + + + + Gets or sets the max connection pool size. + + + + + Gets or sets the min connection pool size. + + + + + Gets or sets the read concern. + + + + + Gets or sets the Read Encoding. + + + + + Gets or sets the read preferences. + + + + + Gets or sets the name of the replica set. + + + + + Gets or sets the address of the server (see also Servers if using more than one address). + + + + + Gets or sets the list of server addresses (see also Server if using only one address). + + + + + Gets or sets the server selection timeout. + + + + + Gets or sets the socket timeout. + + + + + Gets or sets the SSL settings. + + + + + Gets or sets a value indicating whether to use SSL. + + + + + Gets or sets a value indicating whether to verify an SSL certificate. + + + + + Gets or sets the wait queue size. + + + + + Gets or sets the wait queue timeout. + + + + + Gets or sets the WriteConcern to use. + + + + + Gets or sets the Write Encoding. + + + + + Determines whether two instances are equal. + + The LHS. + The RHS. + + true if the left hand side is equal to the right hand side; otherwise, false. + + + + + Determines whether two instances are not equal. + + The LHS. + The RHS. + + true if the left hand side is not equal to the right hand side; otherwise, false. + + + + + Gets a MongoClientSettings object intialized with values from a MongoURL. + + The MongoURL. + A MongoClientSettings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Freezes the settings. + + The frozen settings. + + + + Returns a frozen copy of the settings. + + A frozen copy of the settings. + + + + Gets the hash code. + + The hash code. + + + + Returns a string representation of the settings. + + A string representation of the settings. + + + + The settings used to access a collection. + + + + + Initializes a new instance of the MongoCollectionSettings class. + + + + + Gets or sets a value indicating whether the driver should assign Id values when missing. + + + + + Gets or sets the representation used for Guids. + + + + + Gets a value indicating whether the settings have been frozen to prevent further changes. + + + + + Gets or sets the read concern. + + + + + Gets or sets the Read Encoding. + + + + + Gets or sets the read preference to use. + + + + + Gets the serializer registry. + + + + + Gets or sets the WriteConcern to use. + + + + + Gets or sets the Write Encoding. + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Compares two MongoCollectionSettings instances. + + The other instance. + True if the two instances are equal. + + + + Freezes the settings. + + The frozen settings. + + + + Returns a frozen copy of the settings. + + A frozen copy of the settings. + + + + Gets the hash code. + + The hash code. + + + + Returns a string representation of the settings. + + A string representation of the settings. + + + + Represents a list of credentials and the rules about how credentials can be used together. + + + + + Creates a new instance of the MongoCredentialStore class. + + The credentials. + + + + Determines whether two instances are equal. + + The LHS. + The RHS. + + true if the left hand side is equal to the right hand side; otherwise, false. + + + + + Determines whether two instances are not equal. + + The LHS. + The RHS. + + true if the left hand side is not equal to the right hand side; otherwise, false. + + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Gets the enumerator. + + + + + + Gets the hashcode for the credential store. + + The hashcode. + + + + Returns a string representation of the credential store. + + A string representation of the credential store. + + + + Returns an enumerator that iterates through a collection. + + + An object that can be used to iterate through the collection. + + + + + The settings used to access a database. + + + + + Creates a new instance of MongoDatabaseSettings. + + + + + Gets or sets the representation to use for Guids. + + + + + Gets a value indicating whether the settings have been frozen to prevent further changes. + + + + + Gets or sets the read concern. + + + + + Gets or sets the Read Encoding. + + + + + Gets or sets the read preference. + + + + + Gets the serializer registry. + + + + + Gets or sets the WriteConcern to use. + + + + + Gets or sets the Write Encoding. + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Compares two MongoDatabaseSettings instances. + + The other instance. + True if the two instances are equal. + + + + Freezes the settings. + + The frozen settings. + + + + Returns a frozen copy of the settings. + + A frozen copy of the settings. + + + + Gets the hash code. + + The hash code. + + + + Returns a string representation of the settings. + + A string representation of the settings. + + + + Represents a DBRef (a convenient way to refer to a document). + + + + + Creates a MongoDBRef. + + The name of the collection that contains the document. + The Id of the document. + + + + Creates a MongoDBRef. + + The name of the database that contains the document. + The name of the collection that contains the document. + The Id of the document. + + + + Gets the name of the database that contains the document. + + + + + Gets the name of the collection that contains the document. + + + + + Gets the Id of the document. + + + + + Determines whether two specified MongoDBRef objects have different values. + + The first value to compare, or null. + The second value to compare, or null. + True if the value of lhs is different from the value of rhs; otherwise, false. + + + + Determines whether two specified MongoDBRef objects have the same value. + + The first value to compare, or null. + The second value to compare, or null. + True if the value of lhs is the same as the value of rhs; otherwise, false. + + + + Determines whether two specified MongoDBRef objects have the same value. + + The first value to compare, or null. + The second value to compare, or null. + True if the value of lhs is the same as the value of rhs; otherwise, false. + + + + Determines whether this instance and another specified MongoDBRef object have the same value. + + The MongoDBRef object to compare to this instance. + True if the value of the rhs parameter is the same as this instance; otherwise, false. + + + + Determines whether this instance and a specified object, which must also be a MongoDBRef object, have the same value. + + The MongoDBRef object to compare to this instance. + True if obj is a MongoDBRef object and its value is the same as this instance; otherwise, false. + + + + Returns the hash code for this MongoDBRef object. + + A 32-bit signed integer hash code. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents a serializer for MongoDBRefs. + + + + + Initializes a new instance of the class. + + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents an identity defined outside of mongodb. + + + + + Initializes a new instance of the class. + + The username. + + + + Initializes a new instance of the class. + + The source. + The username. + + + + Represents an identity in MongoDB. + + + + + Initializes a new instance of the class. + + The source. + The username. + Whether to allow null usernames. + + + + Gets the source. + + + + + Gets the username. + + + + + Compares two MongoIdentity values. + + The first MongoIdentity. + The other MongoIdentity. + True if the two MongoIdentity values are equal (or both null). + + + + Compares two MongoIdentity values. + + The first MongoIdentity. + The other MongoIdentity. + True if the two MongoIdentity values are not equal (or one is null and the other is not). + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Determines whether the specified instance is equal to this instance. + + The right-hand side. + + true if the specified instance is equal to this instance; otherwise, false. + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + + + + + Evidence used as proof of a MongoIdentity. + + + + + Initializes a new instance of the class. + + + + + Compares two MongoIdentityEvidences. + + The first MongoIdentityEvidence. + The other MongoIdentityEvidence. + True if the two MongoIdentityEvidences are equal (or both null). + + + + Compares two MongoIdentityEvidences. + + The first MongoIdentityEvidence. + The other MongoIdentityEvidence. + True if the two MongoIdentityEvidences are not equal (or one is null and the other is not). + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + + + + + Represents an identity defined inside mongodb. + + + + + Initializes a new instance of the class. + + Name of the database. + The username. + + + + Represents URL style connection strings. This is the recommended connection string style, but see also + MongoConnectionStringBuilder if you wish to use .NET style connection strings. + + + + + Creates a new instance of MongoUrlBuilder. + + + + + Creates a new instance of MongoUrlBuilder. + + The initial settings. + + + + Gets or sets the application name. + + + + + Gets or sets the authentication mechanism. + + + + + Gets or sets the authentication mechanism properties. + + + + + Gets or sets the authentication source. + + + + + Gets the actual wait queue size (either WaitQueueSize or WaitQueueMultiple x MaxConnectionPoolSize). + + + + + Gets or sets the connection mode. + + + + + Gets or sets the connect timeout. + + + + + Gets or sets the optional database name. + + + + + Gets or sets the FSync component of the write concern. + + + + + Gets or sets the representation to use for Guids. + + + + + Gets or sets the heartbeat interval. + + + + + Gets or sets the heartbeat timeout. + + + + + Gets or sets a value indicating whether to use IPv6. + + + + + Gets or sets the Journal component of the write concern. + + + + + Gets or sets the local threshold. + + + + + Gets or sets the max connection idle time. + + + + + Gets or sets the max connection life time. + + + + + Gets or sets the max connection pool size. + + + + + Gets or sets the min connection pool size. + + + + + Gets or sets the password. + + + + + Gets or sets the read concern level. + + + + + Gets or sets the read preference. + + + + + Gets or sets the name of the replica set. + + + + + Gets or sets the address of the server (see also Servers if using more than one address). + + + + + Gets or sets the list of server addresses (see also Server if using only one address). + + + + + Gets or sets the server selection timeout. + + + + + Gets or sets the socket timeout. + + + + + Gets or sets the username. + + + + + Gets or sets a value indicating whether to use SSL. + + + + + Gets or sets a value indicating whether to verify an SSL certificate. + + + + + Gets or sets the W component of the write concern. + + + + + Gets or sets the wait queue multiple (the actual wait queue size will be WaitQueueMultiple x MaxConnectionPoolSize). + + + + + Gets or sets the wait queue size. + + + + + Gets or sets the wait queue timeout. + + + + + Gets or sets the WTimeout component of the write concern. + + + + + Returns a WriteConcern value based on this instance's settings and a default enabled value. + + The default enabled value. + A WriteConcern. + + + + Parses a URL and sets all settings to match the URL. + + The URL. + + + + Creates a new instance of MongoUrl based on the settings in this MongoUrlBuilder. + + A new instance of MongoUrl. + + + + Returns the canonical URL based on the settings in this MongoUrlBuilder. + + The canonical URL. + + + + Evidence of a MongoIdentity via a shared secret. + + + + + Initializes a new instance of the class. + + The password. + + + + Initializes a new instance of the class. + + The password. + + + + Gets the password. + + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + + + + + Computes the MONGODB-CR password digest. + + The username. + + + + + Computes the hash value of the secured string + + + + + Represents a setting that may or may not have been set. + + The type of the value. + + + + Gets the value of the setting. + + + + + Gets a value indicating whether the setting has been set. + + + + + Resets the setting to the unset state. + + + + + Gets a canonical string representation for this setting. + + A canonical string representation for this setting. + + + + Represents the settings for using SSL. + + + + + Gets or sets a value indicating whether to check for certificate revocation. + + + + + Gets or sets the client certificates. + + + + + Gets or sets the client certificate selection callback. + + + + + Gets or sets the enabled SSL protocols. + + + + + Gets or sets the server certificate validation callback. + + + + + Determines whether two instances are equal. + + The LHS. + The RHS. + + true if the left hand side is equal to the right hand side; otherwise, false. + + + + + Determines whether two instances are not equal. + + The LHS. + The RHS. + + true if the left hand side is not equal to the right hand side; otherwise, false. + + + + + Clones an SslSettings. + + The cloned SslSettings. + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Freezes the settings. + + The frozen settings. + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + + + + + Returns a string representation of the settings. + + A string representation of the settings. + + + + Various static utility methods. + + + + + Gets the MD5 hash of a string. + + The string to get the MD5 hash of. + The MD5 hash. + + + + Creates a TimeSpan from microseconds. + + The microseconds. + The TimeSpan. + + + + Converts a string to camel case by lower casing the first letter (only the first letter is modified). + + The string to camel case. + The camel cased string. + + + + Should only be used when the safety of the data cannot be guaranteed. For instance, + when the secure string is a password used in a plain text protocol. + + The secure string. + The CLR string. + + + + Default values for various Mongo settings. + + + + + Gets or sets whether the driver should assign a value to empty Ids on Insert. + + + + + Gets or sets the default authentication mechanism. + + + + + Gets the actual wait queue size (either WaitQueueSize or WaitQueueMultiple x MaxConnectionPoolSize). + + + + + Gets or sets the connect timeout. + + + + + Gets or sets the representation to use for Guids (this is an alias for BsonDefaults.GuidRepresentation). + + + + + Gets or sets the default local threshold. + + + + + Gets or sets the maximum batch count. + + + + + Gets or sets the max connection idle time. + + + + + Gets or sets the max connection life time. + + + + + Gets or sets the max connection pool size. + + + + + Gets or sets the max document size + + + + + Gets or sets the max message length. + + + + + Gets or sets the min connection pool size. + + + + + Gets or sets the operation timeout. + + + + + Gets or sets the Read Encoding. + + + + + Gets or sets the server selection timeout. + + + + + Gets or sets the socket timeout. + + + + + Gets or sets the TCP receive buffer size. + + + + + Gets or sets the TCP send buffer size. + + + + + Gets or sets the wait queue multiple (the actual wait queue size will be WaitQueueMultiple x MaxConnectionPoolSize, see also WaitQueueSize). + + + + + Gets or sets the wait queue size (see also WaitQueueMultiple). + + + + + Gets or sets the wait queue timeout. + + + + + Gets or sets the Write Encoding. + + + + + Credential to access a MongoDB database. + + + + + Initializes a new instance of the class. + + Mechanism to authenticate with. + The identity. + The evidence. + + + + Gets the evidence. + + + + + Gets the identity. + + + + + Gets the mechanism to authenticate with. + + + + + Gets the password. + + + + + Gets the source. + + + + + Gets the username. + + + + + Compares two MongoCredentials. + + The first MongoCredential. + The other MongoCredential. + True if the two MongoCredentials are equal (or both null). + + + + Compares two MongoCredentials. + + The first MongoCredential. + The other MongoCredential. + True if the two MongoCredentials are not equal (or one is null and the other is not). + + + + Creates a default credential. + + Name of the database. + The username. + The password. + A default credential. + + + + Creates a default credential. + + Name of the database. + The username. + The password. + A default credential. + + + + Creates a GSSAPI credential. + + The username. + A credential for GSSAPI. + This overload is used primarily on linux. + + + + Creates a GSSAPI credential. + + The username. + The password. + A credential for GSSAPI. + + + + Creates a GSSAPI credential. + + The username. + The password. + A credential for GSSAPI. + + + + Creates a credential used with MONGODB-CR. + + Name of the database. + The username. + The password. + A credential for MONGODB-CR. + + + + Creates a credential used with MONGODB-CR. + + Name of the database. + The username. + The password. + A credential for MONGODB-CR. + + + + Creates a credential used with MONGODB-CR. + + The username. + A credential for MONGODB-X509. + + + + Creates a PLAIN credential. + + Name of the database. + The username. + The password. + A credential for PLAIN. + + + + Creates a PLAIN credential. + + Name of the database. + The username. + The password. + A credential for PLAIN. + + + + Gets the mechanism property. + + The type of the mechanism property. + The key. + The default value. + The mechanism property if one was set; otherwise the default value. + + + + Compares this MongoCredential to another MongoCredential. + + The other credential. + True if the two credentials are equal. + + + + Compares this MongoCredential to another MongoCredential. + + The other credential. + True if the two credentials are equal. + + + + Gets the hashcode for the credential. + + The hashcode. + + + + Returns a string representation of the credential. + + A string representation of the credential. + + + + Creates a new MongoCredential with the specified mechanism property. + + The key. + The value. + A new MongoCredential with the specified mechanism property. + + + + The address of a MongoDB server. + + + + + Initializes a new instance of MongoServerAddress. + + The server's host name. + + + + Initializes a new instance of MongoServerAddress. + + The server's host name. + The server's port number. + + + + Parses a string representation of a server address. + + The string representation of a server address. + A new instance of MongoServerAddress initialized with values parsed from the string. + + + + Tries to parse a string representation of a server address. + + The string representation of a server address. + The server address (set to null if TryParse fails). + True if the string is parsed succesfully. + + + + Gets the server's host name. + + + + + Gets the server's port number. + + + + + Compares two server addresses. + + The first address. + The other address. + True if the two addresses are equal (or both are null). + + + + Compares two server addresses. + + The first address. + The other address. + True if the two addresses are not equal (or one is null and the other is not). + + + + Compares two server addresses. + + The other server address. + True if the two server addresses are equal. + + + + Compares two server addresses. + + The other server address. + True if the two server addresses are equal. + + + + Gets the hash code for this object. + + The hash code. + + + + Returns a string representation of the server address. + + A string representation of the server address. + + + + Represents an immutable URL style connection string. See also MongoUrlBuilder. + + + + + Creates a new instance of MongoUrl. + + The URL containing the settings. + + + + Gets the application name. + + + + + Gets the authentication mechanism. + + + + + Gets the authentication mechanism properties. + + + + + Gets the authentication source. + + + + + Gets the actual wait queue size (either WaitQueueSize or WaitQueueMultiple x MaxConnectionPoolSize). + + + + + Gets the connection mode. + + + + + Gets the connect timeout. + + + + + Gets the optional database name. + + + + + Gets the FSync component of the write concern. + + + + + Gets the representation to use for Guids. + + + + + Gets a value indicating whether this instance has authentication settings. + + + + + Gets the heartbeat interval. + + + + + Gets the heartbeat timeout. + + + + + Gets a value indicating whether to use IPv6. + + + + + Gets the Journal component of the write concern. + + + + + Gets the local threshold. + + + + + Gets the max connection idle time. + + + + + Gets the max connection life time. + + + + + Gets the max connection pool size. + + + + + Gets the min connection pool size. + + + + + Gets the password. + + + + + Gets the read concern level. + + + + + Gets the read preference. + + + + + Gets the name of the replica set. + + + + + Gets the address of the server (see also Servers if using more than one address). + + + + + Gets the list of server addresses (see also Server if using only one address). + + + + + Gets the server selection timeout. + + + + + Gets the socket timeout. + + + + + Gets the URL (in canonical form). + + + + + Gets the username. + + + + + Gets a value indicating whether to use SSL. + + + + + Gets a value indicating whether to verify an SSL certificate. + + + + + Gets the W component of the write concern. + + + + + Gets the wait queue multiple (the actual wait queue size will be WaitQueueMultiple x MaxConnectionPoolSize). + + + + + Gets the wait queue size. + + + + + Gets the wait queue timeout. + + + + + Gets the WTimeout component of the write concern. + + + + + Compares two MongoUrls. + + The first URL. + The other URL. + True if the two URLs are equal (or both null). + + + + Compares two MongoUrls. + + The first URL. + The other URL. + True if the two URLs are not equal (or one is null and the other is not). + + + + Clears the URL cache. When a URL is parsed it is stored in the cache so that it doesn't have to be + parsed again. There is rarely a need to call this method. + + + + + Creates an instance of MongoUrl (might be an existing existence if the same URL has been used before). + + The URL containing the settings. + An instance of MongoUrl. + + + + Compares two MongoUrls. + + The other URL. + True if the two URLs are equal. + + + + Compares two MongoUrls. + + The other URL. + True if the two URLs are equal. + + + + Gets the credential. + + The credential (or null if the URL has not authentication settings). + + + + Gets the hash code. + + The hash code. + + + + Returns a WriteConcern value based on this instance's settings and a default enabled value. + + The default enabled value. + A WriteConcern. + + + + Returns the canonical URL based on the settings in this MongoUrlBuilder. + + The canonical URL. + + + + Evidence of a MongoIdentity via an external mechanism. For example, on windows this may + be the current process' user or, on linux, via kinit. + + + + + Initializes a new instance of the class. + + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + + + + + Represents a write exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The write error. + The write concern error. + The inner exception. + + + + Initializes a new instance of the MongoQueryException class (this overload supports deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Gets the write concern error. + + + + + Gets the write error. + + + + + Gets the object data. + + The information. + The context. + + + + Represents the details of a write error. + + + + + Gets the category. + + + + + Gets the error code. + + + + + Gets the error details. + + + + + Gets the error message. + + + + + Base class for a write model. + + The type of the document. + + + + Gets the type of the model. + + + + + The type of a write model. + + + + + A model to insert a single document. + + + + + A model to delete a single document. + + + + + A model to delete multiple documents. + + + + + A model to replace a single document. + + + + + A model to update a single document. + + + + + A model to update many documents. + + + + diff --git a/IntegrationTests/bin/Debug/MongoDbGenericRepository.dll b/IntegrationTests/bin/Debug/MongoDbGenericRepository.dll new file mode 100644 index 0000000..a7c922a Binary files /dev/null and b/IntegrationTests/bin/Debug/MongoDbGenericRepository.dll differ diff --git a/IntegrationTests/bin/Debug/MongoDbGenericRepository.dll.config b/IntegrationTests/bin/Debug/MongoDbGenericRepository.dll.config new file mode 100644 index 0000000..c23472f --- /dev/null +++ b/IntegrationTests/bin/Debug/MongoDbGenericRepository.dll.config @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/IntegrationTests/bin/Debug/MongoDbGenericRepository.pdb b/IntegrationTests/bin/Debug/MongoDbGenericRepository.pdb new file mode 100644 index 0000000..21eba16 Binary files /dev/null and b/IntegrationTests/bin/Debug/MongoDbGenericRepository.pdb differ diff --git a/IntegrationTests/bin/Debug/System.Runtime.InteropServices.RuntimeInformation.dll b/IntegrationTests/bin/Debug/System.Runtime.InteropServices.RuntimeInformation.dll new file mode 100644 index 0000000..360e92a Binary files /dev/null and b/IntegrationTests/bin/Debug/System.Runtime.InteropServices.RuntimeInformation.dll differ diff --git a/IntegrationTests/bin/Debug/nunit.framework.dll b/IntegrationTests/bin/Debug/nunit.framework.dll new file mode 100644 index 0000000..2451b3f Binary files /dev/null and b/IntegrationTests/bin/Debug/nunit.framework.dll differ diff --git a/IntegrationTests/bin/Debug/nunit.framework.xml b/IntegrationTests/bin/Debug/nunit.framework.xml new file mode 100644 index 0000000..788ba07 --- /dev/null +++ b/IntegrationTests/bin/Debug/nunit.framework.xml @@ -0,0 +1,19434 @@ + + + + nunit.framework + + + + + The different targets a test action attribute can be applied to + + + + + Default target, which is determined by where the action attribute is attached + + + + + Target a individual test case + + + + + Target a suite of test cases + + + + + DefaultTestAssemblyBuilder loads a single assembly and builds a TestSuite + containing test fixtures present in the assembly. + + + + + The default suite builder used by the test assembly builder. + + + + + Initializes a new instance of the class. + + + + + Build a suite of tests from a provided assembly + + The assembly from which tests are to be built + A dictionary of options to use in building the suite + + A TestSuite containing the tests found in the assembly + + + + + Build a suite of tests given the filename of an assembly + + The filename of the assembly from which tests are to be built + A dictionary of options to use in building the suite + + A TestSuite containing the tests found in the assembly + + + + + FrameworkController provides a facade for use in loading, browsing + and running tests without requiring a reference to the NUnit + framework. All calls are encapsulated in constructors for + this class and its nested classes, which only require the + types of the Common Type System as arguments. + + The controller supports four actions: Load, Explore, Count and Run. + They are intended to be called by a driver, which should allow for + proper sequencing of calls. Load must be called before any of the + other actions. The driver may support other actions, such as + reload on run, by combining these calls. + + + + + Construct a FrameworkController using the default builder and runner. + + The AssemblyName or path to the test assembly + A prefix used for all test ids created under this controller. + A Dictionary of settings to use in loading and running the tests + + + + Construct a FrameworkController using the default builder and runner. + + The test assembly + A prefix used for all test ids created under this controller. + A Dictionary of settings to use in loading and running the tests + + + + Construct a FrameworkController, specifying the types to be used + for the runner and builder. This constructor is provided for + purposes of development. + + The full AssemblyName or the path to the test assembly + A prefix used for all test ids created under this controller. + A Dictionary of settings to use in loading and running the tests + The Type of the test runner + The Type of the test builder + + + + Construct a FrameworkController, specifying the types to be used + for the runner and builder. This constructor is provided for + purposes of development. + + The test assembly + A prefix used for all test ids created under this controller. + A Dictionary of settings to use in loading and running the tests + The Type of the test runner + The Type of the test builder + + + + Gets the ITestAssemblyBuilder used by this controller instance. + + The builder. + + + + Gets the ITestAssemblyRunner used by this controller instance. + + The runner. + + + + Gets the AssemblyName or the path for which this FrameworkController was created + + + + + Gets the Assembly for which this + + + + + Gets a dictionary of settings for the FrameworkController + + + + + Loads the tests in the assembly + + + + + + Returns info about the tests in an assembly + + A string containing the XML representation of the filter to use + The XML result of exploring the tests + + + + Runs the tests in an assembly + + A string containing the XML representation of the filter to use + The XML result of the test run + + + + Runs the tests in an assembly synchronously reporting back the test results through the callback + or through the return value + + The callback that receives the test results + A string containing the XML representation of the filter to use + The XML result of the test run + + + + Runs the tests in an assembly asynchronously reporting back the test results through the callback + + The callback that receives the test results + A string containing the XML representation of the filter to use + + + + Stops the test run + + True to force the stop, false for a cooperative stop + + + + Counts the number of test cases in the loaded TestSuite + + A string containing the XML representation of the filter to use + The number of tests + + + + Inserts environment element + + Target node + The new node + + + + Inserts settings element + + Target node + Settings dictionary + The new node + + + + FrameworkControllerAction is the base class for all actions + performed against a FrameworkController. + + + + + LoadTestsAction loads a test into the FrameworkController + + + + + LoadTestsAction loads the tests in an assembly. + + The controller. + The callback handler. + + + + ExploreTestsAction returns info about the tests in an assembly + + + + + Initializes a new instance of the class. + + The controller for which this action is being performed. + Filter used to control which tests are included (NYI) + The callback handler. + + + + CountTestsAction counts the number of test cases in the loaded TestSuite + held by the FrameworkController. + + + + + Construct a CountsTestAction and perform the count of test cases. + + A FrameworkController holding the TestSuite whose cases are to be counted + A string containing the XML representation of the filter to use + A callback handler used to report results + + + + RunTestsAction runs the loaded TestSuite held by the FrameworkController. + + + + + Construct a RunTestsAction and run all tests in the loaded TestSuite. + + A FrameworkController holding the TestSuite to run + A string containing the XML representation of the filter to use + A callback handler used to report results + + + + RunAsyncAction initiates an asynchronous test run, returning immediately + + + + + Construct a RunAsyncAction and run all tests in the loaded TestSuite. + + A FrameworkController holding the TestSuite to run + A string containing the XML representation of the filter to use + A callback handler used to report results + + + + StopRunAction stops an ongoing run. + + + + + Construct a StopRunAction and stop any ongoing run. If no + run is in process, no error is raised. + + The FrameworkController for which a run is to be stopped. + True the stop should be forced, false for a cooperative stop. + >A callback handler used to report results + A forced stop will cause threads and processes to be killed as needed. + + + + The ITestAssemblyBuilder interface is implemented by a class + that is able to build a suite of tests given an assembly or + an assembly filename. + + + + + Build a suite of tests from a provided assembly + + The assembly from which tests are to be built + A dictionary of options to use in building the suite + A TestSuite containing the tests found in the assembly + + + + Build a suite of tests given the filename of an assembly + + The filename of the assembly from which tests are to be built + A dictionary of options to use in building the suite + A TestSuite containing the tests found in the assembly + + + + The ITestAssemblyRunner interface is implemented by classes + that are able to execute a suite of tests loaded + from an assembly. + + + + + Gets the tree of loaded tests, or null if + no tests have been loaded. + + + + + Gets the tree of test results, if the test + run is completed, otherwise null. + + + + + Indicates whether a test has been loaded + + + + + Indicates whether a test is currently running + + + + + Indicates whether a test run is complete + + + + + Loads the tests found in an Assembly, returning an + indication of whether or not the load succeeded. + + File name of the assembly to load + Dictionary of options to use in loading the test + An ITest representing the loaded tests + + + + Loads the tests found in an Assembly, returning an + indication of whether or not the load succeeded. + + The assembly to load + Dictionary of options to use in loading the test + An ITest representing the loaded tests + + + + Count Test Cases using a filter + + The filter to apply + The number of test cases found + + + + Explore the test cases using a filter + + The filter to apply + Test Assembly with test cases that matches the filter + + + + Run selected tests and return a test result. The test is run synchronously, + and the listener interface is notified as it progresses. + + Interface to receive ITestListener notifications. + A test filter used to select tests to be run + + + + Run selected tests asynchronously, notifying the listener interface as it progresses. + + Interface to receive EventListener notifications. + A test filter used to select tests to be run + + + + Wait for the ongoing run to complete. + + Time to wait in milliseconds + True if the run completed, otherwise false + + + + Signal any test run that is in process to stop. Return without error if no test is running. + + If true, kill any test-running threads + + + + Implementation of ITestAssemblyRunner + + + + + Initializes a new instance of the class. + + The builder. + + + + Gets the default level of parallel execution (worker threads) + + + + + The tree of tests that was loaded by the builder + + + + + The test result, if a run has completed + + + + + Indicates whether a test is loaded + + + + + Indicates whether a test is running + + + + + Indicates whether a test run is complete + + + + + Our settings, specified when loading the assembly + + + + + The top level WorkItem created for the assembly as a whole + + + + + The TestExecutionContext for the top level WorkItem + + + + + Loads the tests found in an Assembly + + File name of the assembly to load + Dictionary of option settings for loading the assembly + True if the load was successful + + + + Loads the tests found in an Assembly + + The assembly to load + Dictionary of option settings for loading the assembly + True if the load was successful + + + + Count Test Cases using a filter + + The filter to apply + The number of test cases found + + + + Explore the test cases using a filter + + The filter to apply + Test Assembly with test cases that matches the filter + + + + Run selected tests and return a test result. The test is run synchronously, + and the listener interface is notified as it progresses. + + Interface to receive EventListener notifications. + A test filter used to select tests to be run + + + + + Run selected tests asynchronously, notifying the listener interface as it progresses. + + Interface to receive EventListener notifications. + A test filter used to select tests to be run + + RunAsync is a template method, calling various abstract and + virtual methods to be overridden by derived classes. + + + + + Wait for the ongoing run to complete. + + Time to wait in milliseconds + True if the run completed, otherwise false + + + + Signal any test run that is in process to stop. Return without error if no test is running. + + If true, kill any tests that are currently running + + + + Initiate the test run. + + + + + Create the initial TestExecutionContext used to run tests + + The ITestListener specified in the RunAsync call + + + + Handle the the Completed event for the top level work item + + + + + The Assert class contains a collection of static methods that + implement the most common assertions used in NUnit. + + + The Assert class contains a collection of static methods that + implement the most common assertions used in NUnit. + + + + + Verifies that the first int is greater than the second + int. If it is not, then an + is thrown. + + The first value, expected to be greater + The second value, expected to be less + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the first int is greater than the second + int. If it is not, then an + is thrown. + + The first value, expected to be greater + The second value, expected to be less + + + + Verifies that the first value is greater than the second + value. If it is not, then an + is thrown. + + The first value, expected to be greater + The second value, expected to be less + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the first value is greater than the second + value. If it is not, then an + is thrown. + + The first value, expected to be greater + The second value, expected to be less + + + + Verifies that the first value is greater than the second + value. If it is not, then an + is thrown. + + The first value, expected to be greater + The second value, expected to be less + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the first value is greater than the second + value. If it is not, then an + is thrown. + + The first value, expected to be greater + The second value, expected to be less + + + + Verifies that the first value is greater than the second + value. If it is not, then an + is thrown. + + The first value, expected to be greater + The second value, expected to be less + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the first value is greater than the second + value. If it is not, then an + is thrown. + + The first value, expected to be greater + The second value, expected to be less + + + + Verifies that the first value is greater than the second + value. If it is not, then an + is thrown. + + The first value, expected to be greater + The second value, expected to be less + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the first value is greater than the second + value. If it is not, then an + is thrown. + + The first value, expected to be greater + The second value, expected to be less + + + + Verifies that the first value is greater than the second + value. If it is not, then an + is thrown. + + The first value, expected to be greater + The second value, expected to be less + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the first value is greater than the second + value. If it is not, then an + is thrown. + + The first value, expected to be greater + The second value, expected to be less + + + + Verifies that the first value is greater than the second + value. If it is not, then an + is thrown. + + The first value, expected to be greater + The second value, expected to be less + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the first value is greater than the second + value. If it is not, then an + is thrown. + + The first value, expected to be greater + The second value, expected to be less + + + + Verifies that the first value is greater than the second + value. If it is not, then an + is thrown. + + The first value, expected to be greater + The second value, expected to be less + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the first value is greater than the second + value. If it is not, then an + is thrown. + + The first value, expected to be greater + The second value, expected to be less + + + + Verifies that the first value is less than the second + value. If it is not, then an + is thrown. + + The first value, expected to be less + The second value, expected to be greater + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the first value is less than the second + value. If it is not, then an + is thrown. + + The first value, expected to be less + The second value, expected to be greater + + + + Verifies that the first value is less than the second + value. If it is not, then an + is thrown. + + The first value, expected to be less + The second value, expected to be greater + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the first value is less than the second + value. If it is not, then an + is thrown. + + The first value, expected to be less + The second value, expected to be greater + + + + Verifies that the first value is less than the second + value. If it is not, then an + is thrown. + + The first value, expected to be less + The second value, expected to be greater + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the first value is less than the second + value. If it is not, then an + is thrown. + + The first value, expected to be less + The second value, expected to be greater + + + + Verifies that the first value is less than the second + value. If it is not, then an + is thrown. + + The first value, expected to be less + The second value, expected to be greater + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the first value is less than the second + value. If it is not, then an + is thrown. + + The first value, expected to be less + The second value, expected to be greater + + + + Verifies that the first value is less than the second + value. If it is not, then an + is thrown. + + The first value, expected to be less + The second value, expected to be greater + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the first value is less than the second + value. If it is not, then an + is thrown. + + The first value, expected to be less + The second value, expected to be greater + + + + Verifies that the first value is less than the second + value. If it is not, then an + is thrown. + + The first value, expected to be less + The second value, expected to be greater + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the first value is less than the second + value. If it is not, then an + is thrown. + + The first value, expected to be less + The second value, expected to be greater + + + + Verifies that the first value is less than the second + value. If it is not, then an + is thrown. + + The first value, expected to be less + The second value, expected to be greater + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the first value is less than the second + value. If it is not, then an + is thrown. + + The first value, expected to be less + The second value, expected to be greater + + + + Verifies that the first value is less than the second + value. If it is not, then an + is thrown. + + The first value, expected to be less + The second value, expected to be greater + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the first value is less than the second + value. If it is not, then an + is thrown. + + The first value, expected to be less + The second value, expected to be greater + + + + Verifies that the first value is greater than or equal to the second + value. If it is not, then an + is thrown. + + The first value, expected to be greater + The second value, expected to be less + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the first value is greater than or equal to the second + value. If it is not, then an + is thrown. + + The first value, expected to be greater + The second value, expected to be less + + + + Verifies that the first value is greater than or equal to the second + value. If it is not, then an + is thrown. + + The first value, expected to be greater + The second value, expected to be less + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the first value is greater than or equal to the second + value. If it is not, then an + is thrown. + + The first value, expected to be greater + The second value, expected to be less + + + + Verifies that the first value is greater than or equal to the second + value. If it is not, then an + is thrown. + + The first value, expected to be greater + The second value, expected to be less + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the first value is greater than or equal to the second + value. If it is not, then an + is thrown. + + The first value, expected to be greater + The second value, expected to be less + + + + Verifies that the first value is greater than or equal to the second + value. If it is not, then an + is thrown. + + The first value, expected to be greater + The second value, expected to be less + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the first value is greater than or equal to the second + value. If it is not, then an + is thrown. + + The first value, expected to be greater + The second value, expected to be less + + + + Verifies that the first value is greater than or equal to the second + value. If it is not, then an + is thrown. + + The first value, expected to be greater + The second value, expected to be less + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the first value is greater than or equal to the second + value. If it is not, then an + is thrown. + + The first value, expected to be greater + The second value, expected to be less + + + + Verifies that the first value is greater than or equal to the second + value. If it is not, then an + is thrown. + + The first value, expected to be greater + The second value, expected to be less + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the first value is greater than or equal to the second + value. If it is not, then an + is thrown. + + The first value, expected to be greater + The second value, expected to be less + + + + Verifies that the first value is greater than or equal to the second + value. If it is not, then an + is thrown. + + The first value, expected to be greater + The second value, expected to be less + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the first value is greater than or equal to the second + value. If it is not, then an + is thrown. + + The first value, expected to be greater + The second value, expected to be less + + + + Verifies that the first value is greater than or equal to the second + value. If it is not, then an + is thrown. + + The first value, expected to be greater + The second value, expected to be less + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the first value is greater than or equal to the second + value. If it is not, then an + is thrown. + + The first value, expected to be greater + The second value, expected to be less + + + + Verifies that the first value is less than or equal to the second + value. If it is not, then an + is thrown. + + The first value, expected to be less + The second value, expected to be greater + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the first value is less than or equal to the second + value. If it is not, then an + is thrown. + + The first value, expected to be less + The second value, expected to be greater + + + + Verifies that the first value is less than or equal to the second + value. If it is not, then an + is thrown. + + The first value, expected to be less + The second value, expected to be greater + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the first value is less than or equal to the second + value. If it is not, then an + is thrown. + + The first value, expected to be less + The second value, expected to be greater + + + + Verifies that the first value is less than or equal to the second + value. If it is not, then an + is thrown. + + The first value, expected to be less + The second value, expected to be greater + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the first value is less than or equal to the second + value. If it is not, then an + is thrown. + + The first value, expected to be less + The second value, expected to be greater + + + + Verifies that the first value is less than or equal to the second + value. If it is not, then an + is thrown. + + The first value, expected to be less + The second value, expected to be greater + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the first value is less than or equal to the second + value. If it is not, then an + is thrown. + + The first value, expected to be less + The second value, expected to be greater + + + + Verifies that the first value is less than or equal to the second + value. If it is not, then an + is thrown. + + The first value, expected to be less + The second value, expected to be greater + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the first value is less than or equal to the second + value. If it is not, then an + is thrown. + + The first value, expected to be less + The second value, expected to be greater + + + + Verifies that the first value is less than or equal to the second + value. If it is not, then an + is thrown. + + The first value, expected to be less + The second value, expected to be greater + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the first value is less than or equal to the second + value. If it is not, then an + is thrown. + + The first value, expected to be less + The second value, expected to be greater + + + + Verifies that the first value is less than or equal to the second + value. If it is not, then an + is thrown. + + The first value, expected to be less + The second value, expected to be greater + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the first value is less than or equal to the second + value. If it is not, then an + is thrown. + + The first value, expected to be less + The second value, expected to be greater + + + + Verifies that the first value is less than or equal to the second + value. If it is not, then an + is thrown. + + The first value, expected to be less + The second value, expected to be greater + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the first value is less than or equal to the second + value. If it is not, then an + is thrown. + + The first value, expected to be less + The second value, expected to be greater + + + + Asserts that a condition is true. If the condition is false the method throws + an . + + The evaluated condition + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that a condition is true. If the condition is false the method throws + an . + + The evaluated condition + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that a condition is true. If the condition is false the method throws + an . + + The evaluated condition + + + + Asserts that a condition is true. If the condition is false the method throws + an . + + The evaluated condition + + + + Asserts that a condition is true. If the condition is false the method throws + an . + + The evaluated condition + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that a condition is true. If the condition is false the method throws + an . + + The evaluated condition + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that a condition is true. If the condition is false the method throws + an . + + The evaluated condition + + + + Asserts that a condition is true. If the condition is false the method throws + an . + + The evaluated condition + + + + Asserts that a condition is false. If the condition is true the method throws + an . + + The evaluated condition + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that a condition is false. If the condition is true the method throws + an . + + The evaluated condition + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that a condition is false. If the condition is true the method throws + an . + + The evaluated condition + + + + Asserts that a condition is false. If the condition is true the method throws + an . + + The evaluated condition + + + + Asserts that a condition is false. If the condition is true the method throws + an . + + The evaluated condition + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that a condition is false. If the condition is true the method throws + an . + + The evaluated condition + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that a condition is false. If the condition is true the method throws + an . + + The evaluated condition + + + + Asserts that a condition is false. If the condition is true the method throws + an . + + The evaluated condition + + + + Verifies that the object that is passed in is not equal to null + If the object is null then an + is thrown. + + The object that is to be tested + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the object that is passed in is not equal to null + If the object is null then an + is thrown. + + The object that is to be tested + + + + Verifies that the object that is passed in is not equal to null + If the object is null then an + is thrown. + + The object that is to be tested + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the object that is passed in is not equal to null + If the object is null then an + is thrown. + + The object that is to be tested + + + + Verifies that the object that is passed in is equal to null + If the object is not null then an + is thrown. + + The object that is to be tested + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the object that is passed in is equal to null + If the object is not null then an + is thrown. + + The object that is to be tested + + + + Verifies that the object that is passed in is equal to null + If the object is not null then an + is thrown. + + The object that is to be tested + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the object that is passed in is equal to null + If the object is not null then an + is thrown. + + The object that is to be tested + + + + Verifies that the double that is passed in is an NaN value. + If the object is not NaN then an + is thrown. + + The value that is to be tested + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the double that is passed in is an NaN value. + If the object is not NaN then an + is thrown. + + The value that is to be tested + + + + Verifies that the double that is passed in is an NaN value. + If the object is not NaN then an + is thrown. + + The value that is to be tested + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that the double that is passed in is an NaN value. + If the object is not NaN then an + is thrown. + + The value that is to be tested + + + + Assert that a string is empty - that is equal to string.Empty + + The string to be tested + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Assert that a string is empty - that is equal to string.Empty + + The string to be tested + + + + Assert that an array, list or other collection is empty + + An array, list or other collection implementing ICollection + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Assert that an array, list or other collection is empty + + An array, list or other collection implementing ICollection + + + + Assert that a string is not empty - that is not equal to string.Empty + + The string to be tested + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Assert that a string is not empty - that is not equal to string.Empty + + The string to be tested + + + + Assert that an array, list or other collection is not empty + + An array, list or other collection implementing ICollection + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Assert that an array, list or other collection is not empty + + An array, list or other collection implementing ICollection + + + + Asserts that an int is zero. + + The number to be examined + + + + Asserts that an int is zero. + + The number to be examined + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that an unsigned int is zero. + + The number to be examined + + + + Asserts that an unsigned int is zero. + + The number to be examined + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that a Long is zero. + + The number to be examined + + + + Asserts that a Long is zero. + + The number to be examined + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that an unsigned Long is zero. + + The number to be examined + + + + Asserts that an unsigned Long is zero. + + The number to be examined + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that a decimal is zero. + + The number to be examined + + + + Asserts that a decimal is zero. + + The number to be examined + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that a double is zero. + + The number to be examined + + + + Asserts that a double is zero. + + The number to be examined + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that a float is zero. + + The number to be examined + + + + Asserts that a float is zero. + + The number to be examined + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that an int is not zero. + + The number to be examined + + + + Asserts that an int is not zero. + + The number to be examined + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that an unsigned int is not zero. + + The number to be examined + + + + Asserts that an unsigned int is not zero. + + The number to be examined + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that a Long is not zero. + + The number to be examined + + + + Asserts that a Long is not zero. + + The number to be examined + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that an unsigned Long is not zero. + + The number to be examined + + + + Asserts that an unsigned Long is not zero. + + The number to be examined + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that a decimal is zero. + + The number to be examined + + + + Asserts that a decimal is zero. + + The number to be examined + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that a double is zero. + + The number to be examined + + + + Asserts that a double is zero. + + The number to be examined + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that a float is zero. + + The number to be examined + + + + Asserts that a float is zero. + + The number to be examined + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that an int is positive. + + The number to be examined + + + + Asserts that an int is positive. + + The number to be examined + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that an unsigned int is positive. + + The number to be examined + + + + Asserts that an unsigned int is positive. + + The number to be examined + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that a Long is positive. + + The number to be examined + + + + Asserts that a Long is positive. + + The number to be examined + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that an unsigned Long is positive. + + The number to be examined + + + + Asserts that an unsigned Long is positive. + + The number to be examined + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that a decimal is positive. + + The number to be examined + + + + Asserts that a decimal is positive. + + The number to be examined + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that a double is positive. + + The number to be examined + + + + Asserts that a double is positive. + + The number to be examined + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that a float is positive. + + The number to be examined + + + + Asserts that a float is positive. + + The number to be examined + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that an int is negative. + + The number to be examined + + + + Asserts that an int is negative. + + The number to be examined + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that an unsigned int is negative. + + The number to be examined + + + + Asserts that an unsigned int is negative. + + The number to be examined + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that a Long is negative. + + The number to be examined + + + + Asserts that a Long is negative. + + The number to be examined + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that an unsigned Long is negative. + + The number to be examined + + + + Asserts that an unsigned Long is negative. + + The number to be examined + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that a decimal is negative. + + The number to be examined + + + + Asserts that a decimal is negative. + + The number to be examined + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that a double is negative. + + The number to be examined + + + + Asserts that a double is negative. + + The number to be examined + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that a float is negative. + + The number to be examined + + + + Asserts that a float is negative. + + The number to be examined + The message to display in case of failure + Array of objects to be used in formatting the message + + + + We don't actually want any instances of this object, but some people + like to inherit from it to add other static methods. Hence, the + protected constructor disallows any instances of this object. + + + + + DO NOT USE! Use Assert.AreEqual(...) instead. + The Equals method throws an InvalidOperationException. This is done + to make sure there is no mistake by calling this function. + + + + + + + DO NOT USE! + The ReferenceEquals method throws an InvalidOperationException. This is done + to make sure there is no mistake by calling this function. + + + + + + + Throws a with the message and arguments + that are passed in. This allows a test to be cut short, with a result + of success returned to NUnit. + + The message to initialize the with. + Arguments to be used in formatting the message + + + + Throws a with the message and arguments + that are passed in. This allows a test to be cut short, with a result + of success returned to NUnit. + + The message to initialize the with. + + + + Throws a with the message and arguments + that are passed in. This allows a test to be cut short, with a result + of success returned to NUnit. + + + + + Throws an with the message and arguments + that are passed in. This is used by the other Assert functions. + + The message to initialize the with. + Arguments to be used in formatting the message + + + + Throws an with the message that is + passed in. This is used by the other Assert functions. + + The message to initialize the with. + + + + Throws an . + This is used by the other Assert functions. + + + + + Issues a warning using the message and arguments provided. + + The message to display. + Arguments to be used in formatting the message + + + + Issues a warning using the message provided. + + The message to display. + + + + Throws an with the message and arguments + that are passed in. This causes the test to be reported as ignored. + + The message to initialize the with. + Arguments to be used in formatting the message + + + + Throws an with the message that is + passed in. This causes the test to be reported as ignored. + + The message to initialize the with. + + + + Throws an . + This causes the test to be reported as ignored. + + + + + Throws an with the message and arguments + that are passed in. This causes the test to be reported as inconclusive. + + The message to initialize the with. + Arguments to be used in formatting the message + + + + Throws an with the message that is + passed in. This causes the test to be reported as inconclusive. + + The message to initialize the with. + + + + Throws an . + This causes the test to be reported as Inconclusive. + + + + + Asserts that an object is contained in a collection. + + The expected object + The collection to be examined + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that an object is contained in a collection. + + The expected object + The collection to be examined + + + + Wraps code containing a series of assertions, which should all + be executed, even if they fail. Failed results are saved and + reported at the end of the code block. + + A TestDelegate to be executed in Multiple Assertion mode. + + + + Verifies that two doubles are equal considering a delta. If the + expected value is infinity then the delta value is ignored. If + they are not equal then an is + thrown. + + The expected value + The actual value + The maximum acceptable difference between the + the expected and the actual + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that two doubles are equal considering a delta. If the + expected value is infinity then the delta value is ignored. If + they are not equal then an is + thrown. + + The expected value + The actual value + The maximum acceptable difference between the + the expected and the actual + + + + Verifies that two doubles are equal considering a delta. If the + expected value is infinity then the delta value is ignored. If + they are not equal then an is + thrown. + + The expected value + The actual value + The maximum acceptable difference between the + the expected and the actual + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that two doubles are equal considering a delta. If the + expected value is infinity then the delta value is ignored. If + they are not equal then an is + thrown. + + The expected value + The actual value + The maximum acceptable difference between the + the expected and the actual + + + + Verifies that two objects are equal. Two objects are considered + equal if both are null, or if both have the same value. NUnit + has special semantics for some object types. + If they are not equal an is thrown. + + The value that is expected + The actual value + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that two objects are equal. Two objects are considered + equal if both are null, or if both have the same value. NUnit + has special semantics for some object types. + If they are not equal an is thrown. + + The value that is expected + The actual value + + + + Verifies that two objects are not equal. Two objects are considered + equal if both are null, or if both have the same value. NUnit + has special semantics for some object types. + If they are equal an is thrown. + + The value that is expected + The actual value + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that two objects are not equal. Two objects are considered + equal if both are null, or if both have the same value. NUnit + has special semantics for some object types. + If they are equal an is thrown. + + The value that is expected + The actual value + + + + Asserts that two objects refer to the same object. If they + are not the same an is thrown. + + The expected object + The actual object + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that two objects refer to the same object. If they + are not the same an is thrown. + + The expected object + The actual object + + + + Asserts that two objects do not refer to the same object. If they + are the same an is thrown. + + The expected object + The actual object + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that two objects do not refer to the same object. If they + are the same an is thrown. + + The expected object + The actual object + + + + Helper for Assert.AreEqual(double expected, double actual, ...) + allowing code generation to work consistently. + + The expected value + The actual value + The maximum acceptable difference between the + the expected and the actual + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Verifies that an async delegate throws a particular exception when called. + + A constraint to be satisfied by the exception + A TestSnippet delegate + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Verifies that an async delegate throws a particular exception when called. + + A constraint to be satisfied by the exception + A TestSnippet delegate + + + + Verifies that an async delegate throws a particular exception when called. + + The exception Type expected + A TestDelegate + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Verifies that an async delegate throws a particular exception when called. + + The exception Type expected + A TestDelegate + + + + Verifies that an async delegate throws a particular exception when called. + + Type of the expected exception + A TestDelegate + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Verifies that an async delegate throws a particular exception when called. + + Type of the expected exception + A TestDelegate + + + + Verifies that an async delegate throws an exception when called + and returns it. + + A TestDelegate + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Verifies that an async delegate throws an exception when called + and returns it. + + A TestDelegate + + + + Verifies that an async delegate throws an exception of a certain Type + or one derived from it when called and returns it. + + The expected Exception Type + A TestDelegate + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Verifies that an async delegate throws an exception of a certain Type + or one derived from it when called and returns it. + + The expected Exception Type + A TestDelegate + + + + Verifies that an async delegate throws an exception of a certain Type + or one derived from it when called and returns it. + + A TestDelegate + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Verifies that an async delegate throws an exception of a certain Type + or one derived from it when called and returns it. + + A TestDelegate + + + + Verifies that an async delegate does not throw an exception + + A TestDelegate + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Verifies that an async delegate does not throw an exception. + + A TestDelegate + + + + Verifies that a delegate throws a particular exception when called. + + A constraint to be satisfied by the exception + A TestSnippet delegate + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Verifies that a delegate throws a particular exception when called. + + A constraint to be satisfied by the exception + A TestSnippet delegate + + + + Verifies that a delegate throws a particular exception when called. + + The exception Type expected + A TestDelegate + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Verifies that a delegate throws a particular exception when called. + + The exception Type expected + A TestDelegate + + + + Verifies that a delegate throws a particular exception when called. + + Type of the expected exception + A TestDelegate + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Verifies that a delegate throws a particular exception when called. + + Type of the expected exception + A TestDelegate + + + + Verifies that a delegate throws an exception when called + and returns it. + + A TestDelegate + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Verifies that a delegate throws an exception when called + and returns it. + + A TestDelegate + + + + Verifies that a delegate throws an exception of a certain Type + or one derived from it when called and returns it. + + The expected Exception Type + A TestDelegate + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Verifies that a delegate throws an exception of a certain Type + or one derived from it when called and returns it. + + The expected Exception Type + A TestDelegate + + + + Verifies that a delegate throws an exception of a certain Type + or one derived from it when called and returns it. + + A TestDelegate + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Verifies that a delegate throws an exception of a certain Type + or one derived from it when called and returns it. + + A TestDelegate + + + + Verifies that a delegate does not throw an exception + + A TestDelegate + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Verifies that a delegate does not throw an exception. + + A TestDelegate + + + + Asserts that a condition is true. If the condition is false the method throws + an . + + The evaluated condition + The message to display if the condition is false + Arguments to be used in formatting the message + + + + Asserts that a condition is true. If the condition is false the method throws + an . + + The evaluated condition + + + + Asserts that a condition is true. If the condition is false the method throws + an . + + The evaluated condition + A function to build the message included with the Exception + + + + Asserts that a condition is true. If the condition is false the method throws + an . + + A lambda that returns a Boolean + The message to display if the condition is false + Arguments to be used in formatting the message + + + + Asserts that a condition is true. If the condition is false the method throws + an . + + A lambda that returns a Boolean + + + + Asserts that a condition is true. If the condition is false the method throws + an . + + A lambda that returns a Boolean + A function to build the message included with the Exception + + + + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and throwing an assertion exception on failure. + + The Type being compared. + An ActualValueDelegate returning the value to be tested + A Constraint expression to be applied + + + + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and throwing an assertion exception on failure. + + The Type being compared. + An ActualValueDelegate returning the value to be tested + A Constraint expression to be applied + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and throwing an assertion exception on failure. + + The Type being compared. + An ActualValueDelegate returning the value to be tested + A Constraint expression to be applied + A function to build the message included with the Exception + + + + Asserts that the code represented by a delegate throws an exception + that satisfies the constraint provided. + + A TestDelegate to be executed + A ThrowsConstraint used in the test + + + + Asserts that the code represented by a delegate throws an exception + that satisfies the constraint provided. + + A TestDelegate to be executed + A ThrowsConstraint used in the test + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Asserts that the code represented by a delegate throws an exception + that satisfies the constraint provided. + + A TestDelegate to be executed + A ThrowsConstraint used in the test + A function to build the message included with the Exception + + + + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and throwing an assertion exception on failure. + + The Type being compared. + The actual value to test + A Constraint to be applied + + + + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and throwing an assertion exception on failure. + + The Type being compared. + The actual value to test + A Constraint expression to be applied + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and throwing an assertion exception on failure. + + The Type being compared. + The actual value to test + A Constraint expression to be applied + A function to build the message included with the Exception + + + + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and throwing an assertion exception on failure. + Used as a synonym for That in rare cases where a private setter + causes a Visual Basic compilation error. + + The actual value to test + A Constraint to be applied + + + + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and throwing an assertion exception on failure. + Used as a synonym for That in rare cases where a private setter + causes a Visual Basic compilation error. + + + This method is provided for use by VB developers needing to test + the value of properties with private setters. + + The actual value to test + A Constraint expression to be applied + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Asserts that an object may be assigned a value of a given Type. + + The expected Type. + The object under examination + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that an object may be assigned a value of a given Type. + + The expected Type. + The object under examination + + + + Asserts that an object may be assigned a value of a given Type. + + The expected Type. + The object under examination + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that an object may be assigned a value of a given Type. + + The expected Type. + The object under examination + + + + Asserts that an object may not be assigned a value of a given Type. + + The expected Type. + The object under examination + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that an object may not be assigned a value of a given Type. + + The expected Type. + The object under examination + + + + Asserts that an object may not be assigned a value of a given Type. + + The expected Type. + The object under examination + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that an object may not be assigned a value of a given Type. + + The expected Type. + The object under examination + + + + Asserts that an object is an instance of a given type. + + The expected Type + The object being examined + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that an object is an instance of a given type. + + The expected Type + The object being examined + + + + Asserts that an object is an instance of a given type. + + The expected Type + The object being examined + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that an object is an instance of a given type. + + The expected Type + The object being examined + + + + Asserts that an object is not an instance of a given type. + + The expected Type + The object being examined + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that an object is not an instance of a given type. + + The expected Type + The object being examined + + + + Asserts that an object is not an instance of a given type. + + The expected Type + The object being examined + The message to display in case of failure + Array of objects to be used in formatting the message + + + + Asserts that an object is not an instance of a given type. + + The expected Type + The object being examined + + + + Delegate used by tests that execute code and + capture any thrown exception. + + + + + Delegate used by tests that execute async code and + capture any thrown exception. + + + + + AssertionHelper is an optional base class for user tests, + allowing the use of shorter names in making asserts. + + + + + Asserts that a condition is true. If the condition is false the method throws + an . Works Identically to + . + + The evaluated condition + The message to display if the condition is false + Arguments to be used in formatting the message + + + + Asserts that a condition is true. If the condition is false the method throws + an . Works Identically to . + + The evaluated condition + + + + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and throwing an assertion exception on failure. + + A Constraint expression to be applied + An ActualValueDelegate returning the value to be tested + + + + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and throwing an assertion exception on failure. + + An ActualValueDelegate returning the value to be tested + A Constraint expression to be applied + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Asserts that the code represented by a delegate throws an exception + that satisfies the constraint provided. + + A TestDelegate to be executed + A ThrowsConstraint used in the test + + + + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and throwing an assertion exception on failure. + + A Constraint to be applied + The actual value to test + + + + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and throwing an assertion exception on failure. + + A Constraint expression to be applied + The actual value to test + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Returns a ListMapper based on a collection. + + The original collection + + + + + Returns a ConstraintExpression that negates any + following constraint. + + + + + Returns a ConstraintExpression that negates any + following constraint. + + + + + Returns a ConstraintExpression, which will apply + the following constraint to all members of a collection, + succeeding if all of them succeed. + + + + + Returns a ConstraintExpression, which will apply + the following constraint to all members of a collection, + succeeding if at least one of them succeeds. + + + + + Returns a ConstraintExpression, which will apply + the following constraint to all members of a collection, + succeeding if all of them fail. + + + + + Returns a ConstraintExpression, which will apply + the following constraint to all members of a collection, + succeeding only if a specified number of them succeed. + + + + + Returns a new PropertyConstraintExpression, which will either + test for the existence of the named property on the object + being tested or apply any following constraint to that property. + + + + + Returns a new ConstraintExpression, which will apply the following + constraint to the Length property of the object being tested. + + + + + Returns a new ConstraintExpression, which will apply the following + constraint to the Count property of the object being tested. + + + + + Returns a new ConstraintExpression, which will apply the following + constraint to the Message property of the object being tested. + + + + + Returns a new ConstraintExpression, which will apply the following + constraint to the InnerException property of the object being tested. + + + + + Returns a new AttributeConstraint checking for the + presence of a particular attribute on an object. + + + + + Returns a new AttributeConstraint checking for the + presence of a particular attribute on an object. + + + + + Returns a constraint that tests for null + + + + + Returns a constraint that tests for True + + + + + Returns a constraint that tests for False + + + + + Returns a constraint that tests for a positive value + + + + + Returns a constraint that tests for a negative value + + + + + Returns a constraint that tests for equality with zero + + + + + Returns a constraint that tests for NaN + + + + + Returns a constraint that tests for empty + + + + + Returns a constraint that tests whether a collection + contains all unique items. + + + + + Returns a constraint that tests whether an object graph is serializable in binary format. + + + + + Returns a constraint that tests whether an object graph is serializable in xml format. + + + + + Returns a constraint that tests two items for equality + + + + + Returns a constraint that tests that two references are the same object + + + + + Returns a constraint that tests whether the + actual value is greater than the supplied argument + + + + + Returns a constraint that tests whether the + actual value is greater than or equal to the supplied argument + + + + + Returns a constraint that tests whether the + actual value is greater than or equal to the supplied argument + + + + + Returns a constraint that tests whether the + actual value is less than the supplied argument + + + + + Returns a constraint that tests whether the + actual value is less than or equal to the supplied argument + + + + + Returns a constraint that tests whether the + actual value is less than or equal to the supplied argument + + + + + Returns a constraint that tests whether the actual + value is of the exact type supplied as an argument. + + + + + Returns a constraint that tests whether the actual + value is of the exact type supplied as an argument. + + + + + Returns a constraint that tests whether the actual value + is of the type supplied as an argument or a derived type. + + + + + Returns a constraint that tests whether the actual value + is of the type supplied as an argument or a derived type. + + + + + Returns a constraint that tests whether the actual value + is assignable from the type supplied as an argument. + + + + + Returns a constraint that tests whether the actual value + is assignable from the type supplied as an argument. + + + + + Returns a constraint that tests whether the actual value + is assignable from the type supplied as an argument. + + + + + Returns a constraint that tests whether the actual value + is assignable from the type supplied as an argument. + + + + + Returns a constraint that tests whether the actual value + is a collection containing the same elements as the + collection supplied as an argument. + + + + + Returns a constraint that tests whether the actual value + is a subset of the collection supplied as an argument. + + + + + Returns a constraint that tests whether the actual value + is a superset of the collection supplied as an argument. + + + + + Returns a constraint that tests whether a collection is ordered + + + + + Returns a new CollectionContainsConstraint checking for the + presence of a particular object in the collection. + + + + + Returns a new CollectionContainsConstraint checking for the + presence of a particular object in the collection. + + + + + Returns a new ContainsConstraint. This constraint + will, in turn, make use of the appropriate second-level + constraint, depending on the type of the actual argument. + This overload is only used if the item sought is a string, + since any other type implies that we are looking for a + collection member. + + + + + Returns a constraint that succeeds if the actual + value contains the substring supplied as an argument. + + + + + Returns a constraint that succeeds if the actual + value contains the substring supplied as an argument. + + + + + Returns a constraint that fails if the actual + value contains the substring supplied as an argument. + + + + + Returns a constraint that succeeds if the actual + value starts with the substring supplied as an argument. + + + + + Returns a constraint that succeeds if the actual + value starts with the substring supplied as an argument. + + + + + Returns a constraint that succeeds if the actual + value starts with the substring supplied as an argument. + + + + + Returns a constraint that fails if the actual + value starts with the substring supplied as an argument. + + + + + Returns a constraint that succeeds if the actual + value ends with the substring supplied as an argument. + + + + + Returns a constraint that succeeds if the actual + value ends with the substring supplied as an argument. + + + + + Returns a constraint that succeeds if the actual + value ends with the substring supplied as an argument. + + + + + Returns a constraint that fails if the actual + value ends with the substring supplied as an argument. + + + + + Returns a constraint that succeeds if the actual + value matches the regular expression supplied as an argument. + + + + + Returns a constraint that succeeds if the actual + value matches the regular expression supplied as an argument. + + + + + Returns a constraint that succeeds if the actual + value matches the regular expression supplied as an argument. + + + + + Returns a constraint that fails if the actual + value matches the pattern supplied as an argument. + + + + + Returns a constraint that tests whether the path provided + is the same as an expected path after canonicalization. + + + + + Returns a constraint that tests whether the path provided + is a subpath of the expected path after canonicalization. + + + + + Returns a constraint that tests whether the path provided + is the same path or under an expected path after canonicalization. + + + + + Returns a constraint that tests whether the actual value falls + within a specified range. + + + + + DefaultFloatingPointToleranceAttribute sets the tolerance used + by default when checking the equality of floating point values. + + + + + Construct specifying an amount + + + + + + Apply changes to the TestExecutionContext + + The TestExecutionContext + + + + The NonTestAssemblyAttribute may be used by third-party frameworks + or other software that references the nunit framework but does not + contain tests. Applying the attribute indicates that the assembly + is not a test assembly and may prevent errors if certain runners + attempt to load the assembly. Note that recognition of the attribute + depends on each individual runner. + + + + + ParallelizableAttribute is used to mark tests that may be run in parallel. + + + + + Construct a NonParallelizableAttribute. + + + + + AfterCommand is a DelegatingTestCommand that performs some + specific action after the inner command is run. + + + + + Construct an AfterCommand + + + + + Execute the command + + + + + Set this to perform action after the inner command. + + + + + BeforeTestCommand is a DelegatingTestCommand that performs some + specific action before the inner command is run. + + + + + Construct a BeforeCommand + + + + + Execute the command + + + + + Action to perform before the inner command. + + + + + OneTimeTearDownCommand performs any teardown actions + specified for a suite and calls Dispose on the user + test object, if any. + + + + + Construct a OneTimeTearDownCommand + + The command wrapped by this command + + + + EmptyTestCommand is a TestCommand that does nothing. It simply + returns the current result from the context when executed. We + use it to avoid testing for null when executing a chain of + DelegatingTestCommands. + + + + + Construct a NullCommand for a test + + + + + Execute the command + + + + + TestActionAfterCommand handles the AfterTest method of a single + TestActionItem, provided the items BeforeTest has been run. + + + + + Initializes a new instance of the class. + + The inner command. + The TestActionItem to run before the inner command. + + + + TestActionBeforeCommand handles the BeforeTest method of a single + TestActionItem, relying on the item to remember it has been run. + + + + + Initializes a new instance of the class. + + The inner command. + The TestActionItem to run before the inner command. + + + + TestActionCommand handles a single ITestAction applied + to a test. It runs the BeforeTest method, then runs the + test and finally runs the AfterTest method. + + + + + Initializes a new instance of the class. + + The inner command. + + + + Runs the test, saving a TestResult in the supplied TestExecutionContext. + + The context in which the test should run. + A TestResult + + + + Perform the before test action + + + + + Perform the after test action + + + + + ConstructFixtureCommand constructs the user test object if necessary. + + + + + Constructs a OneTimeSetUpCommand for a suite + + The inner command to which the command applies + + + + TimeoutCommand creates a timer in order to cancel + a test if it exceeds a specified time and adjusts + the test result if it did time out. + + + + + Initializes a new instance of the class. + + The inner command + Timeout value + + + + OneTimeSetUpCommand runs any one-time setup methods for a suite, + constructing the user test object if necessary. + + + + + Constructs a OneTimeSetUpCommand for a suite + + The inner command to which the command applies + A SetUpTearDownList for use by the command + + + + OneTimeTearDownCommand performs any teardown actions + specified for a suite and calls Dispose on the user + test object, if any. + + + + + Construct a OneTimeTearDownCommand + + The command wrapped by this command + A SetUpTearDownList for use by the command + + + + ContextSettingsCommand applies specified changes to the + TestExecutionContext prior to running a test. No special + action is needed after the test runs, since the prior + context will be restored automatically. + + + + + DelegatingTestCommand wraps an inner TestCommand. + Derived classes may do what they like before or + after running the inner command. + + + + TODO: Documentation needed for field + + + + TODO: Documentation needed for constructor + + + + + + TODO: Documentation needed for class + + + + + Initializes a new instance of the class. + + The inner command. + The max time allowed in milliseconds + + + + SetUpTearDownCommand runs SetUp methods for a suite, + runs the test and then runs TearDown methods. + + + + + Initializes a new instance of the class. + + The inner command. + List of setup/teardown items + + + + SetUpTearDownItem holds the setup and teardown methods + for a single level of the inheritance hierarchy. + + + + + Construct a SetUpTearDownNode + + A list of setup methods for this level + A list teardown methods for this level + + + + Returns true if this level has any methods at all. + This flag is used to discard levels that do nothing. + + + + + Run SetUp on this level. + + The execution context to use for running. + + + + Run TearDown for this level. + + + + + + TODO: Documentation needed for class + + + + + Initializes a new instance of the class. + + The test being skipped. + + + + Overridden to simply set the CurrentResult to the + appropriate Skipped state. + + The execution context for the test + A TestResult + + + + TestActionCommand handles a single ITestAction applied + to a test. It runs the BeforeTest method, then runs the + test and finally runs the AfterTest method. + + + + + Initializes a new instance of the class. + + The inner command. + The TestAction with which to wrap the inner command. + + + + TestActionItem wraps a single execution of an ITestAction. + It's primary purpose is to track whether the BeforeTest + method has been called and suppress calling the + AfterTest method if it has not. This is necessary when + ITestActions are used before and after a CompositeWorkItem, + since the OneTimeSetUpCommand and OneTimeTearDownCommand + are separate command chains. By sharing a TestActionItem + between the setup and teardown chains, the two calls can + be coordinated. + + + + + Construct a TestActionItem + + The ITestAction to be included + + + + Get flag indicating if the BeforeTest entry was already called. + + + + + Run the BeforeTest method of the action and remember that it has been run. + + The test to which the action applies + + + + Run the AfterTest action, but only if the BeforeTest + action was actually run. + + The test to which the action applies + + + + TestCommand is the abstract base class for all test commands + in the framework. A TestCommand represents a single stage in + the execution of a test, e.g.: SetUp/TearDown, checking for + Timeout, verifying the returned result from a method, etc. + + TestCommands may decorate other test commands so that the + execution of a lower-level command is nested within that + of a higher level command. All nested commands are executed + synchronously, as a single unit. Scheduling test execution + on separate threads is handled at a higher level, using the + task dispatcher. + + + + + Construct a TestCommand for a test. + + The test to be executed + + + + Gets the test associated with this command. + + + + + Runs the test in a specified context, returning a TestResult. + + The TestExecutionContext to be used for running the test. + A TestResult + + + + TestMethodCommand is the lowest level concrete command + used to run actual test cases. + + + + + Initializes a new instance of the class. + + The test. + + + + Runs the test, saving a TestResult in the execution context, as + well as returning it. If the test has an expected result, it + is asserts on that value. Since failed tests and errors throw + an exception, this command must be wrapped in an outer command, + will handle that exception and records the failure. This role + is usually played by the SetUpTearDown command. + + The execution context + + + + TheoryResultCommand adjusts the result of a Theory so that + it fails if all the results were inconclusive. + + + + + Constructs a TheoryResultCommand + + The command to be wrapped by this one + + + + WorkItemBuilder class knows how to build a tree of work items from a tree of tests + + + + + Creates a work item. + + The test for which this WorkItem is being created. + The filter to be used in selecting any child Tests. + True if child work items should be created and added. + + + + + Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other. + + + A signed integer that indicates the relative values of and , as shown in the following table.Value Meaning Less than zero is less than .Zero equals .Greater than zero is greater than . + + The first object to compare.The second object to compare. + + + + EventListenerTextWriter sends text output to the currently active + ITestEventListener in the form of a TestOutput object. If no event + listener is active in the context, or if there is no context, + the output is forwarded to the supplied default writer. + + + + + Construct an EventListenerTextWriter + + The name of the stream to use for events + The default writer to use if no listener is available + + + + Get the Encoding for this TextWriter + + + + + Write formatted string + + + + + Write formatted string + + + + + Write formatted string + + + + + Write an object + + + + + Write a string + + + + + Write a decimal + + + + + Write a double + + + + + Write formatted string + + + + + Write a ulong + + + + + Write a long + + + + + Write a uint + + + + + Write an int + + + + + Write a char + + + + + Write a boolean + + + + + Write chars + + + + + Write chars + + + + + Write a float + + + + + Write a string with newline + + + + + Write an object with newline + + + + + Write formatted string with newline + + + + + Write formatted string with newline + + + + + Write formatted string with newline + + + + + Write a decimal with newline + + + + + Write a formatted string with newline + + + + + Write a double with newline + + + + + Write a uint with newline + + + + + Write a ulong with newline + + + + + Write a long with newline + + + + + Write an int with newline + + + + + Write a bool with newline + + + + + Write chars with newline + + + + + Write chars with newline + + + + + Write a char with newline + + + + + Write a float with newline + + + + + Write newline + + + + + A CompositeWorkItem represents a test suite and + encapsulates the execution of the suite as well + as all its child tests. + + + + + List of Child WorkItems + + + + + Construct a CompositeWorkItem for executing a test suite + using a filter to select child tests. + + The TestSuite to be executed + A filter used to select child tests + + + + Method that actually performs the work. Overridden + in CompositeWorkItem to do one-time setup, run all child + items and then dispatch the one-time teardown work item. + + + + + + + + + + Cancel (abort or stop) a CompositeWorkItem and all of its children + + true if the CompositeWorkItem and all of its children should be aborted, false if it should allow all currently running tests to complete + + + + OneTimeTearDownWorkItem represents the cleanup + and one-time teardown phase of a CompositeWorkItem + + + + + Construct a OneTimeTearDownWOrkItem wrapping a CompositeWorkItem + + The CompositeWorkItem being wrapped + + + + The WorkItem name, overridden to indicate this is the teardown. + + + + + + + + + + PerformWork is not used in CompositeWorkItem + + + + + The EventPumpState enum represents the state of an + EventPump. + + + + + The pump is stopped + + + + + The pump is pumping events with no stop requested + + + + + The pump is pumping events but a stop has been requested + + + + + EventPump pulls events out of an EventQueue and sends + them to a listener. It is used to send events back to + the client without using the CallContext of the test + runner thread. + + + + + The downstream listener to which we send events + + + + + The queue that holds our events + + + + + Thread to do the pumping + + + + + The current state of the eventpump + + + + + Constructor + + The EventListener to receive events + The event queue to pull events from + + + + Gets or sets the current state of the pump + + + + + Gets or sets the name of this EventPump + (used only internally and for testing). + + + + + Dispose stops the pump + Disposes the used WaitHandle, too. + + + + + Start the pump + + + + + Tell the pump to stop after emptying the queue. + + + + + Our thread proc for removing items from the event + queue and sending them on. Note that this would + need to do more locking if any other thread were + removing events from the queue. + + + + + NUnit.Core.Event is the abstract base for all stored events. + An Event is the stored representation of a call to the + ITestListener interface and is used to record such calls + or to queue them for forwarding on another thread or at + a later time. + + + + + The Send method is implemented by derived classes to send the event to the specified listener. + + The listener. + + + + TestStartedEvent holds information needed to call the TestStarted method. + + + + + Initializes a new instance of the class. + + The test. + + + + Calls TestStarted on the specified listener. + + The listener. + + + + TestFinishedEvent holds information needed to call the TestFinished method. + + + + + Initializes a new instance of the class. + + The result. + + + + Calls TestFinished on the specified listener. + + The listener. + + + + TestOutputEvent holds information needed to call the TestOutput method. + + + + + Initializes a new instance of the class. + + The output object. + + + + Calls TestOutput on the specified listener. + + The listener. + + + + Implements a queue of work items each of which + is queued as a WaitCallback. + + + + + Gets the count of items in the queue. + + + + + Enqueues the specified event + + The event to enqueue. + + + + Removes the first element from the queue and returns it (or null). + + + If true and the queue is empty, the calling thread is blocked until + either an element is enqueued, or is called. + + + + + If the queue not empty + the first element. + + + otherwise, if ==false + or has been called + null. + + + + + + + Stop processing of the queue + + + + + An IWorkItemDispatcher handles execution of work items. + + + + + Start execution, performing any initialization. Sets + the top level work item and dispatches it. + + + + + Dispatch a single work item for execution. The first + work item dispatched is saved as the top-level + work item and used when stopping the run. + + The item to dispatch + + + + Cancel the ongoing run completely. + If no run is in process, the call has no effect. + + true if the IWorkItemDispatcher should abort all currently running WorkItems, false if it should allow all currently running WorkItems to complete + + + + ParallelWorkItemDispatcher handles execution of work items by + queuing them for worker threads to process. + + + + + Construct a ParallelWorkItemDispatcher + + Number of workers to use + + + + Enumerates all the shifts supported by the dispatcher + + + + + Enumerates all the Queues supported by the dispatcher + + + + + Start execution, setting the top level work, + enqueuing it and starting a shift to execute it. + + + + + Dispatch a single work item for execution. The first + work item dispatched is saved as the top-level + work item and used when stopping the run. + + The item to dispatch + + + + Cancel the ongoing run completely. + If no run is in process, the call has no effect. + + + + + Save the state of the queues + + + + + Try to restore a saved queue state + True if the state was restored, otherwise false + + + + QueuingEventListener uses an EventQueue to store any + events received on its EventListener interface. + + + + + The EventQueue created and filled by this listener + + + + + Construct a QueuingEventListener + + + + + A test has started + + The test that is starting + + + + A test case finished + + Result of the test case + + + + Called when a test produces output for immediate display + + A TestOutput object containing the text to display + + + + A SimpleWorkItem represents a single test case and is + marked as completed immediately upon execution. This + class is also used for skipped or ignored test suites. + + + + + Construct a simple work item for a test. + + The test to be executed + The filter used to select this test + + + + Method that performs actually performs the work. + + + + + Creates a test command for use in running this test. + + A TestCommand + + + + SimpleWorkItemDispatcher handles execution of WorkItems by + directly executing them. It is provided so that a dispatcher + is always available in the context, thereby simplifying the + code needed to run child tests. + + + + + Start execution, creating the execution thread, + setting the top level work and dispatching it. + + + + + Dispatch a single work item for execution by + executing it directly. + The item to dispatch + + + + + Cancel (abort or stop) the ongoing run. + If no run is in process, the call has no effect. + + true if the run should be aborted, false if it should allow its currently running test to complete + + + + A TestWorker pulls work items from a queue + and executes them. + + + + + Event handler for TestWorker events + + The TestWorker sending the event + The WorkItem that caused the event + + + + Event signaled immediately before executing a WorkItem + + + + + Event signaled immediately after executing a WorkItem + + + + + Construct a new TestWorker. + + The queue from which to pull work items + The name of this worker + + + + The WorkItemQueue from which this worker pulls WorkItems + + + + + The name of this worker - also used for the thread + + + + + Indicates whether the worker thread is running + + + + + Our ThreadProc, which pulls and runs tests in a loop + + + + + Start processing work items. + + + + + Stop the thread, either immediately or after finishing the current WorkItem + + true if the thread should be aborted, false if it should allow the currently running test to complete + + + + The TextCapture class intercepts console output and writes it + to the current execution context, if one is present on the thread. + If no execution context is found, the output is written to a + default destination, normally the original destination of the + intercepted output. + + + + + Construct a TextCapture object + + The default destination for non-intercepted output + + + + Gets the Encoding in use by this TextWriter + + + + + Writes a single character + + The char to write + + + + Writes a string + + The string to write + + + + Writes a string followed by a line terminator + + The string to write + + + + A WorkItem may be an individual test case, a fixture or + a higher level grouping of tests. All WorkItems inherit + from the abstract WorkItem class, which uses the template + pattern to allow derived classes to perform work in + whatever way is needed. + + A WorkItem is created with a particular TestExecutionContext + and is responsible for re-establishing that context in the + current thread before it begins or resumes execution. + + + + + Construct a WorkItem for a particular test. + + The test that the WorkItem will run + Filter used to include or exclude child items + + + + Construct a work Item that wraps another work Item. + Wrapper items are used to represent independently + dispatched tasks, which form part of the execution + of a single test, such as OneTimeTearDown. + + The WorkItem being wrapped + + + + Initialize the TestExecutionContext. This must be done + before executing the WorkItem. + + + Originally, the context was provided in the constructor + but delaying initialization of the context until the item + is about to be dispatched allows changes in the parent + context during OneTimeSetUp to be reflected in the child. + + The TestExecutionContext to use + + + + Event triggered when the item is complete + + + + + Gets the current state of the WorkItem + + + + + The test being executed by the work item + + + + + The name of the work item - defaults to the Test name. + + + + + Filter used to include or exclude child tests + + + + + The execution context + + + + + The worker executing this item. + + + + + The test result + + + + + Gets the ParallelScope associated with the test, if any, + otherwise returning ParallelScope.Default; + + + + + Execute the current work item, including any + child work items. + + + + + Marks the WorkItem as NotRunnable. + + Reason for test being NotRunnable. + + + + Cancel (abort or stop) a WorkItem + + true if the WorkItem should be aborted, false if it should run to completion + + + + Method that performs actually performs the work. It should + set the State to WorkItemState.Complete when done. + + + + + Method called by the derived class when all work is complete + + + + + Builds the set up tear down list. + + Unsorted array of setup MethodInfos. + Unsorted array of teardown MethodInfos. + A list of SetUpTearDownItems + + + + Changes the result of the test, logging the old and new states + + The new ResultState + The new message + + + + WorkItemQueueState indicates the current state of a WorkItemQueue + + + + + The queue is paused + + + + + The queue is running + + + + + The queue is stopped + + + + + A WorkItemQueue holds work items that are ready to + be run, either initially or after some dependency + has been satisfied. + + + + + Initializes a new instance of the class. + + The name of the queue. + Flag indicating whether this is a parallel queue + "ApartmentState to use for items on this queue + + + + Gets the name of the work item queue. + + + + + Gets a flag indicating whether this queue is used for parallel execution + + + + + Gets the target ApartmentState for work items on this queue + + + + + Gets the total number of items processed so far + + + + + Gets the maximum number of work items. + + + + + Gets the current state of the queue + + + + + Get a bool indicating whether the queue is empty. + + + + + Enqueue a WorkItem to be processed + + The WorkItem to process + + + + Dequeue a WorkItem for processing + + A WorkItem or null if the queue has stopped + + + + Start or restart processing of items from the queue + + + + + Signal the queue to stop + + + + + Pause the queue for restarting later + + + + + Save the current inner queue and create new ones for use by + a non-parallel fixture with parallel children. + + + + + Restore the inner queue that was previously saved + + + + + The current state of a work item + + + + + Ready to run or continue + + + + + Work Item is executing + + + + + Complete + + + + + The dispatcher needs to do different things at different, + non-overlapped times. For example, non-parallel tests may + not be run at the same time as parallel tests. We model + this using the metaphor of a working shift. The WorkShift + class associates one or more WorkItemQueues with one or + more TestWorkers. + + Work in the queues is processed until all queues are empty + and all workers are idle. Both tests are needed because a + worker that is busy may end up adding more work to one of + the queues. At that point, the shift is over and another + shift may begin. This cycle continues until all the tests + have been run. + + + + + Construct a WorkShift + + + + + Event that fires when the shift has ended + + + + + The Name of this shift + + + + + Gets a flag indicating whether the shift is currently active + + + + + Gets a list of the queues associated with this shift. + + Used for testing + + + + Gets the list of workers associated with this shift. + + + + + Gets a bool indicating whether this shift has any work to do + + + + + Add a WorkItemQueue to the shift, starting it if the + shift is currently active. + + + + + Assign a worker to the shift. + + + + + + Start or restart processing for the shift + + + + + End the shift, pausing all queues and raising + the EndOfShift event. + + + + + Shut down the shift. + + + + + Cancel (abort or stop) the shift without completing all work + + true if the WorkShift should be aborted, false if it should allow its currently running tests to complete + + + + TestCaseTimeoutException is thrown when a test running directly + on a TestWorker thread is cancelled due to timeout. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The message. + + + + Initializes a new instance of the class. + + The message. + The inner. + + + + Serialization Constructor + + + + + AssemblyHelper provides static methods for working + with assemblies. + + + + + Gets the path from which an assembly was loaded. + For builds where this is not possible, returns + the name of the assembly. + + The assembly. + The path. + + + + Gets the path to the directory from which an assembly was loaded. + + The assembly. + The path. + + + + Gets the AssemblyName of an assembly. + + The assembly + An AssemblyName + + + + Loads an assembly given a string, which may be the + path to the assembly or the AssemblyName + + + + + + + Gets the assembly path from code base. + + Public for testing purposes + The code base. + + + + + CombinatorialStrategy creates test cases by using all possible + combinations of the parameter data. + + + + + Gets the test cases generated by the CombiningStrategy. + + The test cases. + + + + Provides data from fields marked with the DatapointAttribute or the + DatapointsAttribute. + + + + + Determine whether any data is available for a parameter. + + A ParameterInfo representing one + argument to a parameterized test + + True if any data is available, otherwise false. + + + + + Return an IEnumerable providing data for use with the + supplied parameter. + + A ParameterInfo representing one + argument to a parameterized test + + An IEnumerable providing the required data + + + + + Built-in SuiteBuilder for all types of test classes. + + + + + Checks to see if the provided Type is a fixture. + To be considered a fixture, it must be a non-abstract + class with one or more attributes implementing the + IFixtureBuilder interface or one or more methods + marked as tests. + + The fixture type to check + True if the fixture can be built, false if not + + + + Build a TestSuite from TypeInfo provided. + + The fixture type to build + A TestSuite built from that type + + + + We look for attributes implementing IFixtureBuilder at one level + of inheritance at a time. Attributes on base classes are not used + unless there are no fixture builder attributes at all on the derived + class. This is by design. + + The type being examined for attributes + A list of the attributes found. + + + + Class to build ether a parameterized or a normal NUnitTestMethod. + There are four cases that the builder must deal with: + 1. The method needs no params and none are provided + 2. The method needs params and they are provided + 3. The method needs no params but they are provided in error + 4. The method needs params but they are not provided + This could have been done using two different builders, but it + turned out to be simpler to have just one. The BuildFrom method + takes a different branch depending on whether any parameters are + provided, but all four cases are dealt with in lower-level methods + + + + + Determines if the method can be used to build an NUnit test + test method of some kind. The method must normally be marked + with an identifying attribute for this to be true. + + Note that this method does not check that the signature + of the method for validity. If we did that here, any + test methods with invalid signatures would be passed + over in silence in the test run. Since we want such + methods to be reported, the check for validity is made + in BuildFrom rather than here. + + An IMethodInfo for the method being used as a test method + True if the builder can create a test case from this method + + + + Build a Test from the provided MethodInfo. Depending on + whether the method takes arguments and on the availability + of test case data, this method may return a single test + or a group of tests contained in a ParameterizedMethodSuite. + + The method for which a test is to be built + A Test representing one or more method invocations + + + + Determines if the method can be used to build an NUnit test + test method of some kind. The method must normally be marked + with an identifying attribute for this to be true. + + Note that this method does not check that the signature + of the method for validity. If we did that here, any + test methods with invalid signatures would be passed + over in silence in the test run. Since we want such + methods to be reported, the check for validity is made + in BuildFrom rather than here. + + An IMethodInfo for the method being used as a test method + The test suite being built, to which the new test would be added + True if the builder can create a test case from this method + + + + Build a Test from the provided MethodInfo. Depending on + whether the method takes arguments and on the availability + of test case data, this method may return a single test + or a group of tests contained in a ParameterizedMethodSuite. + + The method for which a test is to be built + The test fixture being populated, or null + A Test representing one or more method invocations + + + + Builds a ParameterizedMethodSuite containing individual test cases. + + The method for which a test is to be built. + The list of test cases to include. + A ParameterizedMethodSuite populated with test cases + + + + Build a simple, non-parameterized TestMethod for this method. + + The MethodInfo for which a test is to be built + The test suite for which the method is being built + A TestMethod. + + + + Class that can build a tree of automatic namespace + suites from a group of fixtures. + + + + + NamespaceDictionary of all test suites we have created to represent + namespaces. Used to locate namespace parent suites for fixtures. + + + + + The root of the test suite being created by this builder. + + + + + Initializes a new instance of the class. + + The root suite. + + + + Gets the root entry in the tree created by the NamespaceTreeBuilder. + + The root suite. + + + + Adds the specified fixtures to the tree. + + The fixtures to be added. + + + + Adds the specified fixture to the tree. + + The fixture to be added. + + + + NUnitTestCaseBuilder is a utility class used by attributes + that build test cases. + + + + + Constructs an + + + + + Builds a single NUnitTestMethod, either as a child of the fixture + or as one of a set of test cases under a ParameterizedTestMethodSuite. + + The MethodInfo from which to construct the TestMethod + The suite or fixture to which the new test will be added + The ParameterSet to be used, or null + + + + + Helper method that checks the signature of a TestMethod and + any supplied parameters to determine if the test is valid. + + Currently, NUnitTestMethods are required to be public, + non-abstract methods, either static or instance, + returning void. They may take arguments but the _values must + be provided or the TestMethod is not considered runnable. + + Methods not meeting these criteria will be marked as + non-runnable and the method will return false in that case. + + The TestMethod to be checked. If it + is found to be non-runnable, it will be modified. + Parameters to be used for this test, or null + True if the method signature is valid, false if not + + The return value is no longer used internally, but is retained + for testing purposes. + + + + + NUnitTestFixtureBuilder is able to build a fixture given + a class marked with a TestFixtureAttribute or an unmarked + class containing test methods. In the first case, it is + called by the attribute and in the second directly by + NUnitSuiteBuilder. + + + + + Build a TestFixture from type provided. A non-null TestSuite + must always be returned, since the method is generally called + because the user has marked the target class as a fixture. + If something prevents the fixture from being used, it should + be returned nonetheless, labelled as non-runnable. + + An ITypeInfo for the fixture to be used. + A TestSuite object or one derived from TestSuite. + + + + Overload of BuildFrom called by tests that have arguments. + Builds a fixture using the provided type and information + in the ITestFixtureData object. + + The TypeInfo for which to construct a fixture. + An object implementing ITestFixtureData or null. + + + + + Method to add test cases to the newly constructed fixture. + + The fixture to which cases should be added + + + + Method to create a test case from a MethodInfo and add + it to the fixture being built. It first checks to see if + any global TestCaseBuilder addin wants to build the + test case. If not, it uses the internal builder + collection maintained by this fixture builder. + + The default implementation has no test case builders. + Derived classes should add builders to the collection + in their constructor. + + The method for which a test is to be created + The test suite being built. + A newly constructed Test + + + + PairwiseStrategy creates test cases by combining the parameter + data so that all possible pairs of data items are used. + + + + The number of test cases that cover all possible pairs of test function + parameters values is significantly less than the number of test cases + that cover all possible combination of test function parameters values. + And because different studies show that most of software failures are + caused by combination of no more than two parameters, pairwise testing + can be an effective ways to test the system when it's impossible to test + all combinations of parameters. + + + The PairwiseStrategy code is based on "jenny" tool by Bob Jenkins: + http://burtleburtle.net/bob/math/jenny.html + + + + + + FleaRand is a pseudo-random number generator developed by Bob Jenkins: + http://burtleburtle.net/bob/rand/talksmall.html#flea + + + + + Initializes a new instance of the FleaRand class. + + The seed. + + + + FeatureInfo represents coverage of a single value of test function + parameter, represented as a pair of indices, Dimension and Feature. In + terms of unit testing, Dimension is the index of the test parameter and + Feature is the index of the supplied value in that parameter's list of + sources. + + + + + Initializes a new instance of FeatureInfo class. + + Index of a dimension. + Index of a feature. + + + + A FeatureTuple represents a combination of features, one per test + parameter, which should be covered by a test case. In the + PairwiseStrategy, we are only trying to cover pairs of features, so the + tuples actually may contain only single feature or pair of features, but + the algorithm itself works with triplets, quadruples and so on. + + + + + Initializes a new instance of FeatureTuple class for a single feature. + + Single feature. + + + + Initializes a new instance of FeatureTuple class for a pair of features. + + First feature. + Second feature. + + + + TestCase represents a single test case covering a list of features. + + + + + Initializes a new instance of TestCaseInfo class. + + A number of features in the test case. + + + + PairwiseTestCaseGenerator class implements an algorithm which generates + a set of test cases which covers all pairs of possible values of test + function. + + + + The algorithm starts with creating a set of all feature tuples which we + will try to cover (see method). This set + includes every single feature and all possible pairs of features. We + store feature tuples in the 3-D collection (where axes are "dimension", + "feature", and "all combinations which includes this feature"), and for + every two feature (e.g. "A" and "B") we generate both ("A", "B") and + ("B", "A") pairs. This data structure extremely reduces the amount of + time needed to calculate coverage for a single test case (this + calculation is the most time-consuming part of the algorithm). + + + Then the algorithm picks one tuple from the uncovered tuple, creates a + test case that covers this tuple, and then removes this tuple and all + other tuples covered by this test case from the collection of uncovered + tuples. + + + Picking a tuple to cover + + + There are no any special rules defined for picking tuples to cover. We + just pick them one by one, in the order they were generated. + + + Test generation + + + Test generation starts from creating a completely random test case which + covers, nevertheless, previously selected tuple. Then the algorithm + tries to maximize number of tuples which this test covers. + + + Test generation and maximization process repeats seven times for every + selected tuple and then the algorithm picks the best test case ("seven" + is a magic number which provides good results in acceptable time). + + Maximizing test coverage + + To maximize tests coverage, the algorithm walks thru the list of mutable + dimensions (mutable dimension is a dimension that are not included in + the previously selected tuple). Then for every dimension, the algorithm + walks thru the list of features and checks if this feature provides + better coverage than randomly selected feature, and if yes keeps this + feature. + + + This process repeats while it shows progress. If the last iteration + doesn't improve coverage, the process ends. + + + In addition, for better results, before start every iteration, the + algorithm "scrambles" dimensions - so for every iteration dimension + probes in a different order. + + + + + + Creates a set of test cases for specified dimensions. + + + An array which contains information about dimensions. Each element of + this array represents a number of features in the specific dimension. + + + A set of test cases. + + + + + Gets the test cases generated by this strategy instance. + + A set of test cases. + + + + The ParameterDataProvider class implements IParameterDataProvider + and hosts one or more individual providers. + + + + + Construct with a collection of individual providers + + + + + Determine whether any data is available for a parameter. + + An IParameterInfo representing one + argument to a parameterized test + True if any data is available, otherwise false. + + + + Return an IEnumerable providing data for use with the + supplied parameter. + + An IParameterInfo representing one + argument to a parameterized test + An IEnumerable providing the required data + + + + ParameterDataSourceProvider supplies individual argument _values for + single parameters using attributes implementing IParameterDataSource. + + + + + Determine whether any data is available for a parameter. + + A ParameterInfo representing one + argument to a parameterized test + + True if any data is available, otherwise false. + + + + + Return an IEnumerable providing data for use with the + supplied parameter. + + An IParameterInfo representing one + argument to a parameterized test + + An IEnumerable providing the required data + + + + + SequentialStrategy creates test cases by using all of the + parameter data sources in parallel, substituting null + when any of them run out of data. + + + + + Gets the test cases generated by the CombiningStrategy. + + The test cases. + + + + Waits for pending asynchronous operations to complete, if appropriate, + and returns a proper result of the invocation by unwrapping task results + + The raw result of the method invocation + The unwrapped result, if necessary + + + + ClassName filter selects tests based on the class FullName + + + + + Construct a FullNameFilter for a single name + + The name the filter will recognize. + + + + Match a test against a single value. + + + + + Gets the element name + + Element name + + + + A base class for multi-part filters + + + + + Constructs an empty CompositeFilter + + + + + Constructs a CompositeFilter from an array of filters + + + + + + Adds a filter to the list of filters + + The filter to be added + + + + Return a list of the composing filters. + + + + + Checks whether the CompositeFilter is matched by a test. + + The test to be matched + + + + Checks whether the CompositeFilter is matched by a test. + + The test to be matched + + + + Checks whether the CompositeFilter is explicit matched by a test. + + The test to be matched + + + + Adds an XML node + + Parent node + True if recursive + The added XML node + + + + Gets the element name + + Element name + + + + FullName filter selects tests based on their FullName + + + + + Construct a FullNameFilter for a single name + + The name the filter will recognize. + + + + Match a test against a single value. + + + + + Gets the element name + + Element name + + + + FullName filter selects tests based on their FullName + + + + + Construct a MethodNameFilter for a single name + + The name the filter will recognize. + + + + Match a test against a single value. + + + + + Gets the element name + + Element name + + + + ClassName filter selects tests based on the class FullName + + + + + Construct a NamespaceFilter for a single namespace + + The namespace the filter will recognize. + + + + Match a test against a single value. + + + + + Gets the element name + + Element name + + + + PropertyFilter is able to select or exclude tests + based on their properties. + + + + + + Construct a PropertyFilter using a property name and expected value + + A property name + The expected value of the property + + + + Check whether the filter matches a test + + The test to be matched + + + + + Adds an XML node + + Parent node + True if recursive + The added XML node + + + + Gets the element name + + Element name + + + + TestName filter selects tests based on their Name + + + + + Construct a TestNameFilter for a single name + + The name the filter will recognize. + + + + Match a test against a single value. + + + + + Gets the element name + + Element name + + + + Combines multiple filters so that a test must pass all + of them in order to pass this filter. + + + + + Constructs an empty AndFilter + + + + + Constructs an AndFilter from an array of filters + + + + + + Checks whether the AndFilter is matched by a test + + The test to be matched + True if all the component filters pass, otherwise false + + + + Checks whether the AndFilter is matched by a test + + The test to be matched + True if all the component filters match, otherwise false + + + + Checks whether the AndFilter is explicit matched by a test. + + The test to be matched + True if all the component filters explicit match, otherwise false + + + + Gets the element name + + Element name + + + + CategoryFilter is able to select or exclude tests + based on their categories. + + + + + + Construct a CategoryFilter using a single category name + + A category name + + + + Check whether the filter matches a test + + The test to be matched + + + + + Gets the element name + + Element name + + + + IdFilter selects tests based on their id + + + + + Construct an IdFilter for a single value + + The id the filter will recognize. + + + + Match a test against a single value. + + + + + Gets the element name + + Element name + + + + NotFilter negates the operation of another filter + + + + + Construct a not filter on another filter + + The filter to be negated + + + + Gets the base filter + + + + + Determine if a particular test passes the filter criteria. The default + implementation checks the test itself, its parents and any descendants. + + Derived classes may override this method or any of the Match methods + to change the behavior of the filter. + + The test to which the filter is applied + True if the test passes the filter, otherwise false + + + + Check whether the filter matches a test + + The test to be matched + True if it matches, otherwise false + + + + Determine if a test matches the filter explicitly. That is, it must + be a direct match of the test itself or one of it's children. + + The test to which the filter is applied + True if the test matches the filter explicitly, otherwise false + + + + Adds an XML node + + Parent node + True if recursive + The added XML node + + + + Combines multiple filters so that a test must pass one + of them in order to pass this filter. + + + + + Constructs an empty OrFilter + + + + + Constructs an AndFilter from an array of filters + + + + + + Checks whether the OrFilter is matched by a test + + The test to be matched + True if any of the component filters pass, otherwise false + + + + Checks whether the OrFilter is matched by a test + + The test to be matched + True if any of the component filters match, otherwise false + + + + Checks whether the OrFilter is explicit matched by a test + + The test to be matched + True if any of the component filters explicit match, otherwise false + + + + Gets the element name + + Element name + + + + ValueMatchFilter selects tests based on some value, which + is expected to be contained in the test. + + + + + Returns the value matched by the filter - used for testing + + + + + Indicates whether the value is a regular expression + + + + + Construct a ValueMatchFilter for a single value. + + The value to be included. + + + + Match the input provided by the derived class + + The value to be matchedT + True for a match, false otherwise. + + + + Adds an XML node + + Parent node + True if recursive + The added XML node + + + + Gets the element name + + Element name + + + + GenericMethodHelper is able to deduce the Type arguments for + a generic method from the actual arguments provided. + + + + + Construct a GenericMethodHelper for a method + + MethodInfo for the method to examine + + + + Return the type arguments for the method, deducing them + from the arguments actually provided. + + The arguments to the method + An array of type arguments. + + + + InvalidTestFixtureException is thrown when an appropriate test + fixture constructor using the provided arguments cannot be found. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The message. + + + + Initializes a new instance of the class. + + The message. + The inner. + + + + Serialization Constructor + + + + + CultureDetector is a helper class used by NUnit to determine + whether a test should be run based on the current culture. + + + + + Default constructor uses the current culture. + + + + + Construct a CultureDetector for a particular culture for testing. + + The culture to be used + + + + Test to determine if one of a collection of cultures + is being used currently. + + + + + + + Tests to determine if the current culture is supported + based on a culture attribute. + + The attribute to examine + + + + + Test to determine if the a particular culture or comma- + delimited set of cultures is in use. + + Name of the culture or comma-separated list of culture ids + True if the culture is in use on the system + + + + Return the last failure reason. Results are not + defined if called before IsSupported( Attribute ) + is called. + + + + + ExceptionHelper provides static methods for working with exceptions + + + + + Rethrows an exception, preserving its stack trace + + The exception to rethrow + + + + Builds up a message, using the Message field of the specified exception + as well as any InnerExceptions. + + The exception. + A combined message string. + + + + Builds up a message, using the Message field of the specified exception + as well as any InnerExceptions. Excludes exception names, creating more readable message + + The exception. + A combined message string. + + + + Builds up a message, using the Message field of the specified exception + as well as any InnerExceptions. + + The exception. + A combined stack trace. + + + + Gets the stack trace of the exception. + + The exception. + A string representation of the stack trace. + + + + TextMessageWriter writes constraint descriptions and messages + in displayable form as a text stream. It tailors the display + of individual message components to form the standard message + format of NUnit assertion failure messages. + + + + + Prefix used for the expected value line of a message + + + + + Prefix used for the actual value line of a message + + + + + Length of a message prefix + + + + + Construct a TextMessageWriter + + + + + Construct a TextMessageWriter, specifying a user message + and optional formatting arguments. + + + + + + + Gets or sets the maximum line length for this writer + + + + + Method to write single line message with optional args, usually + written to precede the general failure message, at a given + indentation level. + + The indentation level of the message + The message to be written + Any arguments used in formatting the message + + + + Display Expected and Actual lines for a constraint. This + is called by MessageWriter's default implementation of + WriteMessageTo and provides the generic two-line display. + + The result of the constraint that failed + + + + Gets the unique type name between expected and actual. + + The expected value + The actual value causing the failure + Output of the unique type name for expected + Output of the unique type name for actual + + + + Display Expected and Actual lines for given _values. This + method may be called by constraints that need more control over + the display of actual and expected _values than is provided + by the default implementation. + + The expected value + The actual value causing the failure + + + + Display Expected and Actual lines for given _values, including + a tolerance value on the expected line. + + The expected value + The actual value causing the failure + The tolerance within which the test was made + + + + Display the expected and actual string _values on separate lines. + If the mismatch parameter is >=0, an additional line is displayed + line containing a caret that points to the mismatch point. + + The expected string value + The actual string value + The point at which the strings don't match or -1 + If true, case is ignored in string comparisons + If true, clip the strings to fit the max line length + + + + Writes the text for an actual value. + + The actual value. + + + + Writes the text for a generalized value. + + The value. + + + + Writes the text for a collection value, + starting at a particular point, to a max length + + The collection containing elements to write. + The starting point of the elements to write + The maximum number of elements to write + + + + Write the generic 'Expected' line for a constraint + + The constraint that failed + + + + Write the generic 'Expected' line for a given value + + The expected value + + + + Write the generic 'Expected' line for a given value + and tolerance. + + The expected value + The tolerance within which the test was made + + + + Write the generic 'Actual' line for a constraint + + The ConstraintResult for which the actual value is to be written + + + + Write the generic 'Actual' line for a given value + + The actual value causing a failure + + + + InvalidTestFixtureException is thrown when an appropriate test + fixture constructor using the provided arguments cannot be found. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The message. + + + + Initializes a new instance of the class. + + The message. + The inner. + + + + Serialization Constructor + + + + + Interface for logging within the engine + + + + + Logs the specified message at the error level. + + The message. + + + + Logs the specified message at the error level. + + The message. + The arguments. + + + + Logs the specified message at the warning level. + + The message. + + + + Logs the specified message at the warning level. + + The message. + The arguments. + + + + Logs the specified message at the info level. + + The message. + + + + Logs the specified message at the info level. + + The message. + The arguments. + + + + Logs the specified message at the debug level. + + The message. + + + + Logs the specified message at the debug level. + + The message. + The arguments. + + + + InternalTrace provides facilities for tracing the execution + of the NUnit framework. Tests and classes under test may make use + of Console writes, System.Diagnostics.Trace or various loggers and + NUnit itself traps and processes each of them. For that reason, a + separate internal trace is needed. + + Note: + InternalTrace uses a global lock to allow multiple threads to write + trace messages. This can easily make it a bottleneck so it must be + used sparingly. Keep the trace Level as low as possible and only + insert InternalTrace writes where they are needed. + TODO: add some buffering and a separate writer thread as an option. + TODO: figure out a way to turn on trace in specific classes only. + + + + + Gets a flag indicating whether the InternalTrace is initialized + + + + + Initialize the internal trace facility using the name of the log + to be written to and the trace level. + + The log name + The trace level + + + + Initialize the internal trace using a provided TextWriter and level + + A TextWriter + The InternalTraceLevel + + + + Get a named Logger + + + + + + Get a logger named for a particular Type. + + + + + InternalTraceLevel is an enumeration controlling the + level of detailed presented in the internal log. + + + + + Use the default settings as specified by the user. + + + + + Do not display any trace messages + + + + + Display Error messages only + + + + + Display Warning level and higher messages + + + + + Display informational and higher messages + + + + + Display debug messages and higher - i.e. all messages + + + + + Display debug messages and higher - i.e. all messages + + + + + A trace listener that writes to a separate file per domain + and process using it. + + + + + Construct an InternalTraceWriter that writes to a file. + + Path to the file to use + + + + Construct an InternalTraceWriter that writes to a + TextWriter provided by the caller. + + + + + + Returns the character encoding in which the output is written. + + The character encoding in which the output is written. + + + + Writes a character to the text string or stream. + + The character to write to the text stream. + + + + Writes a string to the text string or stream. + + The string to write. + + + + Writes a string followed by a line terminator to the text string or stream. + + The string to write. If is null, only the line terminator is written. + + + + Releases the unmanaged resources used by the and optionally releases the managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Clears all buffers for the current writer and causes any buffered data to be written to the underlying device. + + + + + Provides internal logging to the NUnit framework + + + + + Initializes a new instance of the class. + + The name. + The log level. + The writer where logs are sent. + + + + Logs the message at error level. + + The message. + + + + Logs the message at error level. + + The message. + The message arguments. + + + + Logs the message at warm level. + + The message. + + + + Logs the message at warning level. + + The message. + The message arguments. + + + + Logs the message at info level. + + The message. + + + + Logs the message at info level. + + The message. + The message arguments. + + + + Logs the message at debug level. + + The message. + + + + Logs the message at debug level. + + The message. + The message arguments. + + + + The MethodWrapper class wraps a MethodInfo so that it may + be used in a platform-independent manner. + + + + + Construct a MethodWrapper for a Type and a MethodInfo. + + + + + Construct a MethodInfo for a given Type and method name. + + + + + Gets the Type from which this method was reflected. + + + + + Gets the MethodInfo for this method. + + + + + Gets the name of the method. + + + + + Gets a value indicating whether the method is abstract. + + + + + Gets a value indicating whether the method is public. + + + + + Gets a value indicating whether the method contains unassigned generic type parameters. + + + + + Gets a value indicating whether the method is a generic method. + + + + + Gets a value indicating whether the MethodInfo represents the definition of a generic method. + + + + + Gets the return Type of the method. + + + + + Gets the parameters of the method. + + + + + + Returns the Type arguments of a generic method or the Type parameters of a generic method definition. + + + + + Replaces the type parameters of the method with the array of types provided and returns a new IMethodInfo. + + The type arguments to be used + A new IMethodInfo with the type arguments replaced + + + + Returns an array of custom attributes of the specified type applied to this method + + + + + Gets a value indicating whether one or more attributes of the specified type are defined on the method. + + + + + Invokes the method, converting any TargetInvocationException to an NUnitException. + + The object on which to invoke the method + The argument list for the method + The return value from the invoked method + + + + Override ToString() so that error messages in NUnit's own tests make sense + + + + + Thrown when an assertion failed. Here to preserve the inner + exception and hence its stack trace. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The error message that explains + the reason for the exception + + + + Initializes a new instance of the class. + + The error message that explains + the reason for the exception + The exception that caused the + current exception + + + + Serialization Constructor + + + + + OSPlatform represents a particular operating system platform + + + + + Platform ID for Unix as defined by Microsoft .NET 2.0 and greater + + + + + Platform ID for Unix as defined by Mono + + + + + Platform ID for XBox as defined by .NET and Mono + + + + + Platform ID for MacOSX as defined by .NET and Mono + + + + + Get the OSPlatform under which we are currently running + + + + + Gets the actual OS Version, not the incorrect value that might be + returned for Win 8.1 and Win 10 + + + If an application is not manifested as Windows 8.1 or Windows 10, + the version returned from Environment.OSVersion will not be 6.3 and 10.0 + respectively, but will be 6.2 and 6.3. The correct value can be found in + the registry. + + The original version + The correct OS version + + + + Product Type Enumeration used for Windows + + + + + Product type is unknown or unspecified + + + + + Product type is Workstation + + + + + Product type is Domain Controller + + + + + Product type is Server + + + + + Construct from a platform ID and version + + + + + Construct from a platform ID, version and product type + + + + + Get the platform ID of this instance + + + + + Get the Version of this instance + + + + + Get the Product Type of this instance + + + + + Return true if this is a windows platform + + + + + Return true if this is a Unix or Linux platform + + + + + Return true if the platform is Win32S + + + + + Return true if the platform is Win32Windows + + + + + Return true if the platform is Win32NT + + + + + Return true if the platform is Windows CE + + + + + Return true if the platform is Xbox + + + + + Return true if the platform is MacOSX + + + + + Return true if the platform is Windows 95 + + + + + Return true if the platform is Windows 98 + + + + + Return true if the platform is Windows ME + + + + + Return true if the platform is NT 3 + + + + + Return true if the platform is NT 4 + + + + + Return true if the platform is NT 5 + + + + + Return true if the platform is Windows 2000 + + + + + Return true if the platform is Windows XP + + + + + Return true if the platform is Windows 2003 Server + + + + + Return true if the platform is NT 6 + + + + + Return true if the platform is NT 6.0 + + + + + Return true if the platform is NT 6.1 + + + + + Return true if the platform is NT 6.2 + + + + + Return true if the platform is NT 6.3 + + + + + Return true if the platform is Vista + + + + + Return true if the platform is Windows 2008 Server (original or R2) + + + + + Return true if the platform is Windows 2008 Server (original) + + + + + Return true if the platform is Windows 2008 Server R2 + + + + + Return true if the platform is Windows 2012 Server (original or R2) + + + + + Return true if the platform is Windows 2012 Server (original) + + + + + Return true if the platform is Windows 2012 Server R2 + + + + + Return true if the platform is Windows 7 + + + + + Return true if the platform is Windows 8 + + + + + Return true if the platform is Windows 8.1 + + + + + Return true if the platform is Windows 10 + + + + + Return true if the platform is Windows Server. This is named Windows + Server 10 to distinguish it from previous versions of Windows Server. + + + + + The ParameterWrapper class wraps a ParameterInfo so that it may + be used in a platform-independent manner. + + + + + Construct a ParameterWrapper for a given method and parameter + + + + + + + Gets a value indicating whether the parameter is optional + + + + + Gets an IMethodInfo representing the method for which this is a parameter. + + + + + Gets the underlying ParameterInfo + + + + + Gets the Type of the parameter + + + + + Returns an array of custom attributes of the specified type applied to this method + + + + + Gets a value indicating whether one or more attributes of the specified type are defined on the parameter. + + + + + PlatformHelper class is used by the PlatformAttribute class to + determine whether a platform is supported. + + + + + Comma-delimited list of all supported OS platform constants + + + + + Comma-delimited list of all supported Runtime platform constants + + + + + Default constructor uses the operating system and + common language runtime of the system. + + + + + Construct a PlatformHelper for a particular operating + system and common language runtime. Used in testing. + + RuntimeFramework to be used + OperatingSystem to be used + + + + Test to determine if one of a collection of platforms + is being used currently. + + + + + + + Tests to determine if the current platform is supported + based on a platform attribute. + + The attribute to examine + + + + + Tests to determine if the current platform is supported + based on a platform attribute. + + The attribute to examine + + + + + Test to determine if the a particular platform or comma- + delimited set of platforms is in use. + + Name of the platform or comma-separated list of platform ids + True if the platform is in use on the system + + + + Return the last failure reason. Results are not + defined if called before IsSupported( Attribute ) + is called. + + + + + A PropertyBag represents a collection of name value pairs + that allows duplicate entries with the same key. Methods + are provided for adding a new pair as well as for setting + a key to a single value. All keys are strings but _values + may be of any type. Null _values are not permitted, since + a null entry represents the absence of the key. + + + + + Adds a key/value pair to the property set + + The key + The value + + + + Sets the value for a key, removing any other + _values that are already in the property set. + + + + + + + Gets a single value for a key, using the first + one if multiple _values are present and returning + null if the value is not found. + + + + + + + Gets a flag indicating whether the specified key has + any entries in the property set. + + The key to be checked + + True if their are _values present, otherwise false + + + + + Gets a collection containing all the keys in the property set + + + + + + Gets or sets the list of _values for a particular key + + + + + Returns an XmlNode representing the current PropertyBag. + + Not used + An XmlNode representing the PropertyBag + + + + Returns an XmlNode representing the PropertyBag after + adding it as a child of the supplied parent node. + + The parent node. + Not used + + + + + The PropertyNames class provides static constants for the + standard property ids that NUnit uses on tests. + + + + + The FriendlyName of the AppDomain in which the assembly is running + + + + + The selected strategy for joining parameter data into test cases + + + + + The process ID of the executing assembly + + + + + The stack trace from any data provider that threw + an exception. + + + + + The reason a test was not run + + + + + The author of the tests + + + + + The ApartmentState required for running the test + + + + + The categories applying to a test + + + + + The Description of a test + + + + + The number of threads to be used in running tests + + + + + The maximum time in ms, above which the test is considered to have failed + + + + + The ParallelScope associated with a test + + + + + The number of times the test should be repeated + + + + + Indicates that the test should be run on a separate thread + + + + + The culture to be set for a test + + + + + The UI culture to be set for a test + + + + + The type that is under test + + + + + The timeout value for the test + + + + + The test will be ignored until the given date + + + + + The optional Order the test will run in + + + + + Randomizer returns a set of random _values in a repeatable + way, to allow re-running of tests if necessary. It extends + the .NET Random class, providing random values for a much + wider range of types. + + The class is used internally by the framework to generate + test case data and is also exposed for use by users through + the TestContext.Random property. + + + For consistency with the underlying Random Type, methods + returning a single value use the prefix "Next..." Those + without an argument return a non-negative value up to + the full positive range of the Type. Overloads are provided + for specifying a maximum or a range. Methods that return + arrays or strings use the prefix "Get..." to avoid + confusion with the single-value methods. + + + + + Initial seed used to create randomizers for this run + + + + + Get a Randomizer for a particular member, returning + one that has already been created if it exists. + This ensures that the same _values are generated + each time the tests are reloaded. + + + + + Get a randomizer for a particular parameter, returning + one that has already been created if it exists. + This ensures that the same values are generated + each time the tests are reloaded. + + + + + Create a new Randomizer using the next seed + available to ensure that each randomizer gives + a unique sequence of values. + + + + + + Default constructor + + + + + Construct based on seed value + + + + + + Returns a random unsigned int. + + + + + Returns a random unsigned int less than the specified maximum. + + + + + Returns a random unsigned int within a specified range. + + + + + Returns a non-negative random short. + + + + + Returns a non-negative random short less than the specified maximum. + + + + + Returns a non-negative random short within a specified range. + + + + + Returns a random unsigned short. + + + + + Returns a random unsigned short less than the specified maximum. + + + + + Returns a random unsigned short within a specified range. + + + + + Returns a random long. + + + + + Returns a random long less than the specified maximum. + + + + + Returns a non-negative random long within a specified range. + + + + + Returns a random ulong. + + + + + Returns a random ulong less than the specified maximum. + + + + + Returns a non-negative random long within a specified range. + + + + + Returns a random Byte + + + + + Returns a random Byte less than the specified maximum. + + + + + Returns a random Byte within a specified range + + + + + Returns a random SByte + + + + + Returns a random sbyte less than the specified maximum. + + + + + Returns a random sbyte within a specified range + + + + + Returns a random bool + + + + + Returns a random bool based on the probability a true result + + + + + Returns a random double between 0.0 and the specified maximum. + + + + + Returns a random double within a specified range. + + + + + Returns a random float. + + + + + Returns a random float between 0.0 and the specified maximum. + + + + + Returns a random float within a specified range. + + + + + Returns a random enum value of the specified Type as an object. + + + + + Returns a random enum value of the specified Type. + + + + + Default characters for random functions. + + Default characters are the English alphabet (uppercase & lowercase), arabic numerals, and underscore + + + + Generate a random string based on the characters from the input string. + + desired length of output string. + string representing the set of characters from which to construct the resulting string + A random string of arbitrary length + + + + Generate a random string based on the characters from the input string. + + desired length of output string. + A random string of arbitrary length + Uses DefaultStringChars as the input character set + + + + Generate a random string based on the characters from the input string. + + A random string of the default length + Uses DefaultStringChars as the input character set + + + + Returns a random decimal. + + + + + Returns a random decimal between positive zero and the specified maximum. + + + + + Returns a random decimal within a specified range, which is not + permitted to exceed decimal.MaxVal in the current implementation. + + + A limitation of this implementation is that the range from min + to max must not exceed decimal.MaxVal. + + + + + Helper methods for inspecting a type by reflection. + + Many of these methods take ICustomAttributeProvider as an + argument to avoid duplication, even though certain attributes can + only appear on specific types of members, like MethodInfo or Type. + + In the case where a type is being examined for the presence of + an attribute, interface or named member, the Reflect methods + operate with the full name of the member being sought. This + removes the necessity of the caller having a reference to the + assembly that defines the item being sought and allows the + NUnit core to inspect assemblies that reference an older + version of the NUnit framework. + + + + + Examine a fixture type and return an array of methods having a + particular attribute. The array is order with base methods first. + + The type to examine + The attribute Type to look for + Specifies whether to search the fixture type inheritance chain + The array of methods found + + + + Examine a fixture type and return true if it has a method with + a particular attribute. + + The type to examine + The attribute Type to look for + True if found, otherwise false + + + + Invoke the default constructor on a Type + + The Type to be constructed + An instance of the Type + + + + Invoke a constructor on a Type with arguments + + The Type to be constructed + Arguments to the constructor + An instance of the Type + + + + Returns an array of types from an array of objects. + Used because the compact framework doesn't support + Type.GetTypeArray() + + An array of objects + An array of Types + + + + Invoke a parameterless method returning void on an object. + + A MethodInfo for the method to be invoked + The object on which to invoke the method + + + + Invoke a method, converting any TargetInvocationException to an NUnitException. + + A MethodInfo for the method to be invoked + The object on which to invoke the method + The argument list for the method + The return value from the invoked method + + + + The TestResult class represents the result of a test. + + + + + Error message for when child tests have errors + + + + + Error message for when child tests have warnings + + + + + Error message for when child tests are ignored + + + + + The minimum duration for tests + + + + + Aggregate assertion count + + + + + ReaderWriterLock + + + + + Construct a test result given a Test + + The test to be used + + + + Gets the test with which this result is associated. + + + + + Gets the ResultState of the test result, which + indicates the success or failure of the test. + + + + + Gets the name of the test result + + + + + Gets the full name of the test result + + + + + Gets or sets the elapsed time for running the test in seconds + + + + + Gets or sets the time the test started running. + + + + + Gets or sets the time the test finished running. + + + + + Adds a test attachment to the test result + + The TestAttachment object to attach + + + + Gets the collection of files attached to the test + + + + + Gets the message associated with a test + failure or with not running the test + + + + + Gets any stacktrace associated with an + error or failure. + + + + + Gets or sets the count of asserts executed + when running the test. + + + + + Gets the number of test cases that failed + when running the test and all its children. + + + + + Gets the number of test cases that had warnings + when running the test and all its children. + + + + + Gets the number of test cases that passed + when running the test and all its children. + + + + + Gets the number of test cases that were skipped + when running the test and all its children. + + + + + Gets the number of test cases that were inconclusive + when running the test and all its children. + + + + + Indicates whether this result has any child results. + + + + + Gets the collection of child results. + + + + + Gets a TextWriter, which will write output to be included in the result. + + + + + Gets any text output written to this result. + + + + + Gets a list of assertion results associated with the test. + + + + + Returns the Xml representation of the result. + + If true, descendant results are included + An XmlNode representing the result + + + + Adds the XML representation of the result as a child of the + supplied parent node.. + + The parent node. + If true, descendant results are included + + + + + Gets a count of pending failures (from Multiple Assert) + + + + + Gets the worst assertion status (highest enum) in all the assertion results + + + + + Set the result of the test + + The ResultState to use in the result + + + + Set the result of the test + + The ResultState to use in the result + A message associated with the result state + + + + Set the result of the test + + The ResultState to use in the result + A message associated with the result state + Stack trace giving the location of the command + + + + Set the test result based on the type of exception thrown + + The exception that was thrown + + + + Set the test result based on the type of exception thrown + + The exception that was thrown + The FailureSite to use in the result + + + + RecordTearDownException appends the message and stacktrace + from an exception arising during teardown of the test + to any previously recorded information, so that any + earlier failure information is not lost. Note that + calling Assert.Ignore, Assert.Inconclusive, etc. during + teardown is treated as an error. If the current result + represents a suite, it may show a teardown error even + though all contained tests passed. + + The Exception to be recorded + + + + Determine result after test has run to completion. + + + + + Record an assertion result + + + + + Record an assertion result + + + + + Record an assertion result + + + + + Adds a reason element to a node and returns it. + + The target node. + The new reason element. + + + + Adds a failure element to a node and returns it. + + The target node. + The new failure element. + + + + Adds an attachments element to a node and returns it. + + The target node. + The new attachments element. + + + + Creates a failure message incorporating failures + from a Multiple Assert block for use by runners + that don't know about AssertionResults. + + Message as a string + + + + Enumeration identifying a common language + runtime implementation. + + + + Any supported runtime framework + + + Microsoft .NET Framework + + + Microsoft Shared Source CLI + + + Mono + + + MonoTouch + + + + RuntimeFramework represents a particular version + of a common language runtime implementation. + + + + + DefaultVersion is an empty Version, used to indicate that + NUnit should select the CLR version to use for the test. + + + + + Construct from a runtime type and version. If the version has + two parts, it is taken as a framework version. If it has three + or more, it is taken as a CLR version. In either case, the other + version is deduced based on the runtime type and provided version. + + The runtime type of the framework + The version of the framework + + + + Static method to return a RuntimeFramework object + for the framework that is currently in use. + + + + + The type of this runtime framework + + + + + The framework version for this runtime framework + + + + + The CLR version for this runtime framework + + + + + Return true if any CLR version may be used in + matching this RuntimeFramework object. + + + + + Returns the Display name for this framework + + + + + Parses a string representing a RuntimeFramework. + The string may be just a RuntimeType name or just + a Version or a hyphenated RuntimeType-Version or + a Version prefixed by 'versionString'. + + + + + + + Overridden to return the short name of the framework + + + + + + Returns true if the current framework matches the + one supplied as an argument. Two frameworks match + if their runtime types are the same or either one + is RuntimeType.Any and all specified version components + are equal. Negative (i.e. unspecified) version + components are ignored. + + The RuntimeFramework to be matched. + True on match, otherwise false + + + + StackFilter class is used to remove internal NUnit + entries from a stack trace so that the resulting + trace provides better information about the test. + + + + + Single instance of our default filter + + + + + Construct a stack filter instance + + Regex pattern used to delete lines from the top of the stack + Regex pattern used to delete lines from the bottom of the stack + + + + Construct a stack filter instance + + Regex pattern used to delete lines from the top of the stack + + + + Construct a stack filter instance + + + + + Filters a raw stack trace and returns the result. + + The original stack trace + A filtered stack trace + + + + Provides methods to support legacy string comparison methods. + + + + + Compares two strings for equality, ignoring case if requested. + + The first string. + The second string.. + if set to true, the case of the letters in the strings is ignored. + Zero if the strings are equivalent, a negative number if strA is sorted first, a positive number if + strB is sorted first + + + + Compares two strings for equality, ignoring case if requested. + + The first string. + The second string.. + if set to true, the case of the letters in the strings is ignored. + True if the strings are equivalent, false if not. + + + + The TestCaseParameters class encapsulates method arguments and + other selected parameters needed for constructing + a parameterized test case. + + + + + The expected result to be returned + + + + + Default Constructor creates an empty parameter set + + + + + Construct a non-runnable ParameterSet, specifying + the provider exception that made it invalid. + + + + + Construct a parameter set with a list of arguments + + + + + + Construct a ParameterSet from an object implementing ITestCaseData + + + + + + The expected result of the test, which + must match the method return type. + + + + + Gets a value indicating whether an expected result was specified. + + + + + Helper class used to save and restore certain static or + singleton settings in the environment that affect tests + or which might be changed by the user tests. + + + + + Link to a prior saved context + + + + + Indicates that a stop has been requested + + + + + The event listener currently receiving notifications + + + + + The number of assertions for the current test + + + + + The current culture + + + + + The current UI culture + + + + + The current test result + + + + + The current Principal. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + An existing instance of TestExecutionContext. + + + + Gets and sets the current context. + + + + + Gets or sets the current test + + + + + The time the current test started execution + + + + + The time the current test started in Ticks + + + + + Gets or sets the current test result + + + + + Gets a TextWriter that will send output to the current test result. + + + + + The current test object - that is the user fixture + object on which tests are being executed. + + + + + Get or set indicator that run should stop on the first error + + + + + Gets an enum indicating whether a stop has been requested. + + + + + The current test event listener + + + + + The current WorkItemDispatcher. Made public for + use by nunitlite.tests + + + + + The ParallelScope to be used by tests running in this context. + For builds with out the parallel feature, it has no effect. + + + + + Default tolerance value used for floating point equality + when no other tolerance is specified. + + + + + The worker that spawned the context. + For builds without the parallel feature, it is null. + + + + + Gets the RandomGenerator specific to this Test + + + + + Gets the assert count. + + The assert count. + + + + The current nesting level of multiple assert blocks + + + + + Gets or sets the test case timeout value + + + + + Gets a list of ITestActions set by upstream tests + + + + + Saves or restores the CurrentCulture + + + + + Saves or restores the CurrentUICulture + + + + + Gets or sets the current for the Thread. + + + + + The current head of the ValueFormatter chain, copied from MsgUtils.ValueFormatter + + + + + If true, all tests must run on the same thread. No new thread may be spawned. + + + + + Record any changes in the environment made by + the test code in the execution context so it + will be passed on to lower level tests. + + + + + Set up the execution environment to match a context. + Note that we may be running on the same thread where the + context was initially created or on a different thread. + + + + + Increments the assert count by one. + + + + + Increments the assert count by a specified amount. + + + + + Adds a new ValueFormatterFactory to the chain of formatters + + The new factory + + + + Obtain lifetime service object + + + + + + An IsolatedContext is used when running code + that may effect the current result in ways that + should not impact the final result of the test. + A new TestExecutionContext is created with an + initially clear result, which is discarded on + exiting the context. + + + using (new TestExecutionContext.IsolatedContext()) + { + // Code that should not impact the result + } + + + + + Save the original current TestExecutionContext and + make a new isolated context current. + + + + + Restore the original TestExecutionContext. + + + + + Enumeration indicating whether the tests are + running normally or being cancelled. + + + + + Running normally with no stop requested + + + + + A graceful stop has been requested + + + + + A forced stop has been requested + + + + + Interface to be implemented by filters applied to tests. + The filter applies when running the test, after it has been + loaded, since this is the only time an ITest exists. + + + + + Unique Empty filter. + + + + + Indicates whether this is the EmptyFilter + + + + + Indicates whether this is a top-level filter, + not contained in any other filter. + + + + + Determine if a particular test passes the filter criteria. The default + implementation checks the test itself, its parents and any descendants. + + Derived classes may override this method or any of the Match methods + to change the behavior of the filter. + + The test to which the filter is applied + True if the test passes the filter, otherwise false + + + + Determine if a test matches the filter explicitly. That is, it must + be a direct match of the test itself or one of it's children. + + The test to which the filter is applied + True if the test matches the filter explicitly, otherwise false + + + + Determine whether the test itself matches the filter criteria, without + examining either parents or descendants. This is overridden by each + different type of filter to perform the necessary tests. + + The test to which the filter is applied + True if the filter matches the any parent of the test + + + + Determine whether any ancestor of the test matches the filter criteria + + The test to which the filter is applied + True if the filter matches the an ancestor of the test + + + + Determine whether any descendant of the test matches the filter criteria. + + The test to be matched + True if at least one descendant matches the filter criteria + + + + Create a TestFilter instance from an xml representation. + + + + + Create a TestFilter from it's TNode representation + + + + + Nested class provides an empty filter - one that always + returns true when called. It never matches explicitly. + + + + + Adds an XML node + + True if recursive + The added XML node + + + + Adds an XML node + + Parent node + True if recursive + The added XML node + + + + The TestCaseParameters class encapsulates method arguments and + other selected parameters needed for constructing + a parameterized test case. + + + + + Default Constructor creates an empty parameter set + + + + + Construct a non-runnable ParameterSet, specifying + the provider exception that made it invalid. + + + + + Construct a parameter set with a list of arguments + + + + + + Construct a ParameterSet from an object implementing ITestCaseData + + + + + + Type arguments used to create a generic fixture instance + + + + + TestListener provides an implementation of ITestListener that + does nothing. It is used only through its NULL property. + + + + + Called when a test has just started + + The test that is starting + + + + Called when a test case has finished + + The result of the test + + + + Called when a test produces output for immediate display + + A TestOutput object containing the text to display + + + + Construct a new TestListener - private so it may not be used. + + + + + Get a listener that does nothing + + + + + TestNameGenerator is able to create test names according to + a coded pattern. + + + + + Default pattern used to generate names + + + + + Construct a TestNameGenerator + + + + + Construct a TestNameGenerator + + The pattern used by this generator. + + + + Get the display name for a TestMethod and it's arguments + + A TestMethod + The display name + + + + Get the display name for a TestMethod and it's arguments + + A TestMethod + Arguments to be used + The display name + + + + TestParameters is the abstract base class for all classes + that know how to provide data for constructing a test. + + + + + Default Constructor creates an empty parameter set + + + + + Construct a parameter set with a list of arguments + + + + + + Construct a non-runnable ParameterSet, specifying + the provider exception that made it invalid. + + + + + Construct a ParameterSet from an object implementing ITestData + + + + + + The RunState for this set of parameters. + + + + + The arguments to be used in running the test, + which must match the method signature. + + + + + A name to be used for this test case in lieu + of the standard generated name containing + the argument list. + + + + + Gets the property dictionary for this test + + + + + Applies ParameterSet _values to the test itself. + + A test. + + + + The original arguments provided by the user, + used for display purposes. + + + + + TestProgressReporter translates ITestListener events into + the async callbacks that are used to inform the client + software about the progress of a test run. + + + + + Initializes a new instance of the class. + + The callback handler to be used for reporting progress. + + + + Called when a test has just started + + The test that is starting + + + + Called when a test has finished. Sends a result summary to the callback. + to + + The result of the test + + + + Called when a test produces output for immediate display + + A TestOutput object containing the text to display + + + + Returns the parent test item for the targer test item if it exists + + + parent test item + + + + Makes a string safe for use as an attribute, replacing + characters characters that can't be used with their + corresponding xml representations. + + The string to be used + A new string with the _values replaced + + + + ParameterizedFixtureSuite serves as a container for the set of test + fixtures created from a given Type using various parameters. + + + + + Initializes a new instance of the class. + + The ITypeInfo for the type that represents the suite. + + + + Gets a string representing the type of test + + + + + + ParameterizedMethodSuite holds a collection of individual + TestMethods with their arguments applied. + + + + + Construct from a MethodInfo + + + + + + Gets a string representing the type of test + + + + + + SetUpFixture extends TestSuite and supports + Setup and TearDown methods. + + + + + Initializes a new instance of the class. + + The type. + + + + The Test abstract class represents a test within the framework. + + + + + Static value to seed ids. It's started at 1000 so any + uninitialized ids will stand out. + + + + + Used to cache the declaring type for this MethodInfo + + + + + Method property backing field + + + + + Constructs a test given its name + + The name of the test + + + + Constructs a test given the path through the + test hierarchy to its parent and a name. + + The parent tests full name + The name of the test + + + + TODO: Documentation needed for constructor + + + + + + Construct a test from a MethodInfo + + + + + + Gets or sets the id of the test + + + + + + Gets or sets the name of the test + + + + + Gets or sets the fully qualified name of the test + + + + + + Gets the name of the class where this test was declared. + Returns null if the test is not associated with a class. + + + + + Gets the name of the method implementing this test. + Returns null if the test is not implemented as a method. + + + + + The arguments to use in creating the test or empty array if none required. + + + + + Gets the TypeInfo of the fixture used in running this test + or null if no fixture type is associated with it. + + + + + Gets a MethodInfo for the method implementing this test. + Returns null if the test is not implemented as a method. + + + + + Whether or not the test should be run + + + + + Gets the name used for the top-level element in the + XML representation of this test + + + + + Gets a string representing the type of test. Used as an attribute + value in the XML representation of a test and has no other + function in the framework. + + + + + Gets a count of test cases represented by + or contained under this test. + + + + + Gets the properties for this test + + + + + Returns true if this is a TestSuite + + + + + Gets a bool indicating whether the current test + has any descendant tests. + + + + + Gets the parent as a Test object. + Used by the core to set the parent. + + + + + Gets this test's child tests + + A list of child tests + + + + Gets or sets a fixture object for running this test. + + + + + Static prefix used for ids in this AppDomain. + Set by FrameworkController. + + + + + Gets or Sets the Int value representing the seed for the RandomGenerator + + + + + + The SetUp methods. + + + + + The teardown methods + + + + + Creates a TestResult for this test. + + A TestResult suitable for this type of test. + + + + Modify a newly constructed test by applying any of NUnit's common + attributes, based on a supplied ICustomAttributeProvider, which is + usually the reflection element from which the test was constructed, + but may not be in some instances. The attributes retrieved are + saved for use in subsequent operations. + + An object implementing ICustomAttributeProvider + + + + Mark the test as Invalid (not runnable) specifying a reason + + The reason the test is not runnable + + + + Get custom attributes applied to a test + + + + + Add standard attributes and members to a test node. + + + + + + + Returns the Xml representation of the test + + If true, include child tests recursively + + + + + Returns an XmlNode representing the current result after + adding it as a child of the supplied parent node. + + The parent node. + If true, descendant results are included + + + + + Compares this test to another test for sorting purposes + + The other test + Value of -1, 0 or +1 depending on whether the current test is less than, equal to or greater than the other test + + + + TestAssembly is a TestSuite that represents the execution + of tests in a managed assembly. + + + + + Initializes a new instance of the class + specifying the Assembly and the path from which it was loaded. + + The assembly this test represents. + The path used to load the assembly. + + + + Initializes a new instance of the class + for a path which could not be loaded. + + The path used to load the assembly. + + + + Copy-constructor style to create a filtered copy of the test assemblies + test cases + + + + + + + Gets the Assembly represented by this instance. + + + + + Gets the name used for the top-level element in the + XML representation of this test + + + + + Get custom attributes specified on the assembly + + + + + TestFixture is a surrogate for a user test fixture class, + containing one or more tests. + + + + + Initializes a new instance of the class. + + Type of the fixture. + Arguments used to instantiate the test fixture, or null if none used + + + + The TestMethod class represents a Test implemented as a method. + + + + + The ParameterSet used to create this test method + + + + + Initializes a new instance of the class. + + The method to be used as a test. + + + + Initializes a new instance of the class. + + The method to be used as a test. + The suite or fixture to which the new test will be added + + + + The arguments to use in executing the test method, or empty array if none are provided. + + + + + Overridden to return a TestCaseResult. + + A TestResult for this test. + + + + Gets a bool indicating whether the current test + has any descendant tests. + + + + + Returns a TNode representing the current result after + adding it as a child of the supplied parent node. + + The parent node. + If true, descendant results are included + + + + + Gets this test's child tests + + A list of child tests + + + + Gets the name used for the top-level element in the + XML representation of this test + + + + + Returns the name of the method + + + + + TestSuite represents a composite test, which contains other tests. + + + + + Our collection of child tests + + + + + Initializes a new instance of the class. + + The name of the suite. + + + + Initializes a new instance of the class. + + Name of the parent suite. + The name of the suite. + + + + Initializes a new instance of the class. + + Type of the fixture. + Arguments used to instantiate the test fixture, or null if none used. + + + + Initializes a new instance of the class. + + Type of the fixture. + + + + Copy constructor style to create a filtered copy of the given test suite + + Test Suite to copy + Filter to be applied + + + + Sorts tests under this suite. + + + + + Adds a test to the suite. + + The test. + + + + Gets this test's child tests + + The list of child tests + + + + Gets a count of test cases represented by + or contained under this test. + + + + + + The arguments to use in creating the fixture, or empty array if none are provided. + + + + + Set to true to suppress sorting this suite's contents + + + + + OneTimeSetUp methods for this suite + + + + + OneTimeTearDown methods for this suite + + + + + Overridden to return a TestSuiteResult. + + A TestResult for this test. + + + + Gets a bool indicating whether the current test + has any descendant tests. + + + + + Gets the name used for the top-level element in the + XML representation of this test + + + + + Returns an XmlNode representing the current result after + adding it as a child of the supplied parent node. + + The parent node. + If true, descendant results are included + + + + + Check that setup and teardown methods marked by certain attributes + meet NUnit's requirements and mark the tests not runnable otherwise. + + A list of methodinfos to check + + + + ThreadUtility provides a set of static methods convenient + for working with threads. + + + + + Pre-Task compatibility + + + + + Abort a thread, helping to dislodging it if it is blocked in native code + + The thread to abort + The native thread id (if known), otherwise 0. + If provided, allows the thread to be killed if it's in a message pump native blocking wait. + This must have previously been captured by calling from the running thread itself. + + + + Do our best to kill a thread + + The thread to kill + The native thread id (if known), otherwise 0. + If provided, allows the thread to be killed if it's in a message pump native blocking wait. + This must have previously been captured by calling from the running thread itself. + + + + Do our best to kill a thread, passing state info + + The thread to kill + Info for the ThreadAbortException handler + The native thread id (if known), otherwise 0. + If provided, allows the thread to be killed if it's in a message pump native blocking wait. + This must have previously been captured by calling from the running thread itself. + + + + Schedule a threadpool thread to check on the aborting thread in case it's in a message pump native blocking wait + + + + + Captures the current thread's native id. If provided to later, allows the thread to be killed if it's in a message pump native blocking wait. + + + + + Sends a message to the thread to dislodge it from native code and allow a return to managed code, where a ThreadAbortException can be generated. + The message is meaningless (WM_CLOSE without a window handle) but it will end any blocking message wait. + + + + + TypeHelper provides static methods that operate on Types. + + + + + A special value, which is used to indicate that BestCommonType() method + was unable to find a common type for the specified arguments. + + + + + Gets the display name for a Type as used by NUnit. + + The Type for which a display name is needed. + The display name for the Type + + + + Gets the display name for a Type as used by NUnit. + + The Type for which a display name is needed. + The arglist provided. + The display name for the Type + + + + Returns the best fit for a common type to be used in + matching actual arguments to a methods Type parameters. + + The first type. + The second type. + Either type1 or type2, depending on which is more general. + + + + Determines whether the specified type is numeric. + + The type to be examined. + + true if the specified type is numeric; otherwise, false. + + + + + Convert an argument list to the required parameter types. + Currently, only widening numeric conversions are performed. + + An array of args to be converted + A ParameterInfo[] whose types will be used as targets + + + + Determines whether this instance can deduce type args for a generic type from the supplied arguments. + + The type to be examined. + The arglist. + The type args to be used. + + true if this the provided args give sufficient information to determine the type args to be used; otherwise, false. + + + + + Return the interfaces implemented by a Type. + + The Type to be examined. + An array of Types for the interfaces. + + + + The TypeWrapper class wraps a Type so it may be used in + a platform-independent manner. + + + + + Construct a TypeWrapper for a specified Type. + + + + + Gets the underlying Type on which this TypeWrapper is based. + + + + + Gets the base type of this type as an ITypeInfo + + + + + Gets the Name of the Type + + + + + Gets the FullName of the Type + + + + + Gets the assembly in which the type is declared + + + + + Gets the namespace of the Type + + + + + Gets a value indicating whether the type is abstract. + + + + + Gets a value indicating whether the Type is a generic Type + + + + + Returns true if the Type wrapped is T + + + + + Gets a value indicating whether the Type has generic parameters that have not been replaced by specific Types. + + + + + Gets a value indicating whether the Type is a generic Type definition + + + + + Gets a value indicating whether the type is sealed. + + + + + Gets a value indicating whether this type represents a static class. + + + + + Get the display name for this type + + + + + Get the display name for an object of this type, constructed with the specified args. + + + + + Returns a new ITypeInfo representing an instance of this generic Type using the supplied Type arguments + + + + + Returns a Type representing a generic type definition from which this Type can be constructed. + + + + + Returns an array of custom attributes of the specified type applied to this type + + + + + Returns a value indicating whether the type has an attribute of the specified type. + + + + + + + + Returns a flag indicating whether this type has a method with an attribute of the specified type. + + + + + + + Returns an array of IMethodInfos for methods of this Type + that match the specified flags. + + + + + Gets the public constructor taking the specified argument Types + + + + + Returns a value indicating whether this Type has a public constructor taking the specified argument Types. + + + + + Construct an object of this Type, using the specified arguments. + + + + + Override ToString() so that error messages in NUnit's own tests make sense + + + + + Represents the result of running a single test case. + + + + + Construct a TestCaseResult based on a TestMethod + + A TestMethod to which the result applies. + + + + Gets the number of test cases that failed + when running the test and all its children. + + + + + Gets the number of test cases that had warnings + when running the test and all its children. + + + + + Gets the number of test cases that passed + when running the test and all its children. + + + + + Gets the number of test cases that were skipped + when running the test and all its children. + + + + + Gets the number of test cases that were inconclusive + when running the test and all its children. + + + + + Indicates whether this result has any child results. + + + + + Gets the collection of child results. + + + + + Represents the result of running a test suite + + + + + Construct a TestSuiteResult base on a TestSuite + + The TestSuite to which the result applies + + + + Gets the number of test cases that failed + when running the test and all its children. + + + + + Gets the number of test cases that passed + when running the test and all its children. + + + + + Gets the number of test cases that passed + when running the test and all its children. + + + + + Gets the number of test cases that were skipped + when running the test and all its children. + + + + + Gets the number of test cases that were inconclusive + when running the test and all its children. + + + + + Indicates whether this result has any child results. + + + + + Gets the collection of child results. + + + + + Adds a child result to this result, setting this result's + ResultState to Failure if the child result failed. + + The result to be added + + + + The TestAttachment class represents a file attached to a TestResult, + with an optional description. + + + + + Absolute file path to attachment file + + + + + User specifed description of attachment. May be null. + + + + + Creates a TestAttachment class to represent a file attached to a test result. + + Absolute file path to attachment file + User specifed description of attachment. May be null. + + + + The AssertionResult class represents the result of a single assertion. + + + + + Construct an AssertionResult + + + + The pass/fail status of the assertion + + + The message produced by the assertion, or null + + + The stacktrace associated with the assertion, or null + + + + ToString Override + + + + + Override GetHashCode + + + + + Override Equals + + + + + + AssertionStatus enumeration represents the possible outcomes of an assertion. + The order of definition is significant, higher level values override lower + ones in determining the overall result of a test. + + + + + An assumption failed + + + + + The assertion succeeded + + + + + A warning message was issued + + + + + The assertion failed + + + + + An unexpected exception was thrown + + + + + The IApplyToContext interface is implemented by attributes + that want to make changes to the execution context before + a test is run. + + + + + Apply changes to the execution context + + The execution context + + + + The IApplyToTest interface is implemented by self-applying + attributes that modify the state of a test in some way. + + + + + Modifies a test as defined for the specific attribute. + + The test to modify + + + + ICommandWrapper is implemented by attributes and other + objects able to wrap a TestCommand with another command. + + + Attributes or other objects should implement one of the + derived interfaces, rather than this one, since they + indicate in which part of the command chain the wrapper + should be applied. + + + + + Wrap a command and return the result. + + The command to be wrapped + The wrapped command + + + + Objects implementing this interface are used to wrap + the TestMethodCommand itself. They apply after SetUp + has been run and before TearDown. + + + + + Objects implementing this interface are used to wrap + the entire test, including SetUp and TearDown. + + + + + Any ITest that implements this interface is at a level that the implementing + class should be disposed at the end of the test run + + + + + The IFixtureBuilder interface is exposed by a class that knows how to + build a TestFixture from one or more Types. In general, it is exposed + by an attribute, but may be implemented in a helper class used by the + attribute in some cases. + + + + + Build one or more TestFixtures from type provided. At least one + non-null TestSuite must always be returned, since the method is + generally called because the user has marked the target class as + a fixture. If something prevents the fixture from being used, it + will be returned nonetheless, labelled as non-runnable. + + The type info of the fixture to be used. + A TestSuite object or one derived from TestSuite. + + + + IImplyFixture is an empty marker interface used by attributes like + TestAttribute that cause the class where they are used to be treated + as a TestFixture even without a TestFixtureAttribute. + + Marker interfaces are not usually considered a good practice, but + we use it here to avoid cluttering the attribute hierarchy with + classes that don't contain any extra implementation. + + + + + The IMethodInfo class is used to encapsulate information + about a method in a platform-independent manner. + + + + + Gets the Type from which this method was reflected. + + + + + Gets the MethodInfo for this method. + + + + + Gets the name of the method. + + + + + Gets a value indicating whether the method is abstract. + + + + + Gets a value indicating whether the method is public. + + + + + Gets a value indicating whether the method contains unassigned generic type parameters. + + + + + Gets a value indicating whether the method is a generic method. + + + + + Gets a value indicating whether the MethodInfo represents the definition of a generic method. + + + + + Gets the return Type of the method. + + + + + Gets the parameters of the method. + + + + + + Returns the Type arguments of a generic method or the Type parameters of a generic method definition. + + + + + Replaces the type parameters of the method with the array of types provided and returns a new IMethodInfo. + + The type arguments to be used + A new IMethodInfo with the type arguments replaced + + + + Invokes the method, converting any TargetInvocationException to an NUnitException. + + The object on which to invoke the method + The argument list for the method + The return value from the invoked method + + + + The IDataPointProvider interface is used by extensions + that provide data for a single test parameter. + + + + + Determine whether any data is available for a parameter. + + An IParameterInfo representing one + argument to a parameterized test + True if any data is available, otherwise false. + + + + Return an IEnumerable providing data for use with the + supplied parameter. + + An IParameterInfo representing one + argument to a parameterized test + An IEnumerable providing the required data + + + + The IParameterDataSource interface is implemented by types + that can provide data for a test method parameter. + + + + + Gets an enumeration of data items for use as arguments + for a test method parameter. + + The parameter for which data is needed + An enumeration containing individual data items + + + + The IParameterInfo interface is an abstraction of a .NET parameter. + + + + + Gets a value indicating whether the parameter is optional + + + + + Gets an IMethodInfo representing the method for which this is a parameter + + + + + Gets the underlying .NET ParameterInfo + + + + + Gets the Type of the parameter + + + + + A PropertyBag represents a collection of name/value pairs + that allows duplicate entries with the same key. Methods + are provided for adding a new pair as well as for setting + a key to a single value. All keys are strings but _values + may be of any type. Null _values are not permitted, since + a null entry represents the absence of the key. + + The entries in a PropertyBag are of two kinds: those that + take a single value and those that take multiple _values. + However, the PropertyBag has no knowledge of which entries + fall into each category and the distinction is entirely + up to the code using the PropertyBag. + + When working with multi-valued properties, client code + should use the Add method to add name/value pairs and + indexing to retrieve a list of all _values for a given + key. For example: + + bag.Add("Tag", "one"); + bag.Add("Tag", "two"); + Assert.That(bag["Tag"], + Is.EqualTo(new string[] { "one", "two" })); + + When working with single-valued properties, client code + should use the Set method to set the value and Get to + retrieve the value. The GetSetting methods may also be + used to retrieve the value in a type-safe manner while + also providing default. For example: + + bag.Set("Priority", "low"); + bag.Set("Priority", "high"); // replaces value + Assert.That(bag.Get("Priority"), + Is.EqualTo("high")); + Assert.That(bag.GetSetting("Priority", "low"), + Is.EqualTo("high")); + + + + + Adds a key/value pair to the property bag + + The key + The value + + + + Sets the value for a key, removing any other + _values that are already in the property set. + + + + + + + Gets a single value for a key, using the first + one if multiple _values are present and returning + null if the value is not found. + + + + + Gets a flag indicating whether the specified key has + any entries in the property set. + + The key to be checked + True if their are _values present, otherwise false + + + + Gets or sets the list of _values for a particular key + + The key for which the _values are to be retrieved or set + + + + Gets a collection containing all the keys in the property set + + + + + The IReflectionInfo interface is implemented by NUnit wrapper objects that perform reflection. + + + + + Returns an array of custom attributes of the specified type applied to this object + + + + + Returns a value indicating whether an attribute of the specified type is defined on this object. + + + + + The ISimpleTestBuilder interface is exposed by a class that knows how to + build a single TestMethod from a suitable MethodInfo Types. In general, + it is exposed by an attribute, but may be implemented in a helper class + used by the attribute in some cases. + + + + + Build a TestMethod from the provided MethodInfo. + + The method to be used as a test + The TestSuite to which the method will be added + A TestMethod object + + + + The ISuiteBuilder interface is exposed by a class that knows how to + build a suite from one or more Types. + + + + + Examine the type and determine if it is suitable for + this builder to use in building a TestSuite. + + Note that returning false will cause the type to be ignored + in loading the tests. If it is desired to load the suite + but label it as non-runnable, ignored, etc., then this + method must return true. + + The type of the fixture to be used + True if the type can be used to build a TestSuite + + + + Build a TestSuite from type provided. + + The type of the fixture to be used + A TestSuite + + + + Common interface supported by all representations + of a test. Only includes informational fields. + The Run method is specifically excluded to allow + for data-only representations of a test. + + + + + Gets the id of the test + + + + + Gets the name of the test + + + + + Gets the type of the test + + + + + Gets the fully qualified name of the test + + + + + Gets the name of the class containing this test. Returns + null if the test is not associated with a class. + + + + + Gets the name of the method implementing this test. + Returns null if the test is not implemented as a method. + + + + + Gets the Type of the test fixture, if applicable, or + null if no fixture type is associated with this test. + + + + + Gets an IMethod for the method implementing this test. + Returns null if the test is not implemented as a method. + + + + + Gets the RunState of the test, indicating whether it can be run. + + + + + Count of the test cases ( 1 if this is a test case ) + + + + + Gets the properties of the test + + + + + Gets the parent test, if any. + + The parent test or null if none exists. + + + + Returns true if this is a test suite + + + + + Gets a bool indicating whether the current test + has any descendant tests. + + + + + Gets this test's child tests + + A list of child tests + + + + Gets a fixture object for running this test. + + + + + The arguments to use in creating the test or empty array if none are required. + + + + + The ITestCaseBuilder interface is exposed by a class that knows how to + build a test case from certain methods. + + + This interface is not the same as the ITestCaseBuilder interface in NUnit 2.x. + We have reused the name because the two products don't interoperate at all. + + + + + Examine the method and determine if it is suitable for + this builder to use in building a TestCase to be + included in the suite being populated. + + Note that returning false will cause the method to be ignored + in loading the tests. If it is desired to load the method + but label it as non-runnable, ignored, etc., then this + method must return true. + + The test method to examine + The suite being populated + True is the builder can use this method + + + + Build a TestCase from the provided MethodInfo for + inclusion in the suite being constructed. + + The method to be used as a test case + The test suite being populated, or null + A TestCase or null + + + + The ITestCaseData interface is implemented by a class + that is able to return complete testcases for use by + a parameterized test method. + + + + + Gets the expected result of the test case + + + + + Returns true if an expected result has been set + + + + + The ITestData interface is implemented by a class that + represents a single instance of a parameterized test. + + + + + Gets the name to be used for the test + + + + + Gets the RunState for this test case. + + + + + Gets the argument list to be provided to the test + + + + + Gets the property dictionary for the test case + + + + + Interface to be implemented by filters applied to tests. + The filter applies when running the test, after it has been + loaded, since this is the only time an ITest exists. + + + + + Determine if a particular test passes the filter criteria. Pass + may examine the parents and/or descendants of a test, depending + on the semantics of the particular filter + + The test to which the filter is applied + True if the test passes the filter, otherwise false + + + + Determine if a test matches the filter explicitly. That is, it must + be a direct match of the test itself or one of it's children. + + The test to which the filter is applied + True if the test matches the filter explicitly, otherwise false + + + + The ITestCaseData interface is implemented by a class + that is able to return the data required to create an + instance of a parameterized test fixture. + + + + + Get the TypeArgs if separately set + + + + + The ITestListener interface is used internally to receive + notifications of significant events while a test is being + run. The events are propagated to clients by means of an + AsyncCallback. NUnit extensions may also monitor these events. + + + + + Called when a test has just started + + The test that is starting + + + + Called when a test has finished + + The result of the test + + + + Called when a test produces output for immediate display + + A TestOutput object containing the text to display + + + + The ITestBuilder interface is exposed by a class that knows how to + build one or more TestMethods from a MethodInfo. In general, it is exposed + by an attribute, which has additional information available to provide + the necessary test parameters to distinguish the test cases built. + + + + + Build one or more TestMethods from the provided MethodInfo. + + The method to be used as a test + The TestSuite to which the method will be added + A TestMethod object + + + + The ITestResult interface represents the result of a test. + + + + + Gets the ResultState of the test result, which + indicates the success or failure of the test. + + + + + Gets the name of the test result + + + + + Gets the full name of the test result + + + + + Gets the elapsed time for running the test in seconds + + + + + Gets or sets the time the test started running. + + + + + Gets or sets the time the test finished running. + + + + + Gets the message associated with a test + failure or with not running the test + + + + + Gets any stacktrace associated with an + error or failure. Not available in + the Compact Framework 1.0. + + + + + Gets the number of asserts executed + when running the test and all its children. + + + + + Gets the number of test cases that failed + when running the test and all its children. + + + + + Gets the number of test cases that had warnings + when running the test and all its children. + + + + + Gets the number of test cases that passed + when running the test and all its children. + + + + + Gets the number of test cases that were skipped + when running the test and all its children. + + + + + Gets the number of test cases that were inconclusive + when running the test and all its children. + + + + + Indicates whether this result has any child results. + Accessing HasChildren should not force creation of the + Children collection in classes implementing this interface. + + + + + Gets the collection of child results. + + + + + Gets the Test to which this result applies. + + + + + Gets any text output written to this result. + + + + + Gets a list of AssertionResults associated with the test + + + + + Gets the collection of files attached to the test + + + + + The ITypeInfo interface is an abstraction of a .NET Type + + + + + Gets the underlying Type on which this ITypeInfo is based + + + + + Gets the base type of this type as an ITypeInfo + + + + + Returns true if the Type wrapped is equal to the argument + + + + + Gets the Name of the Type + + + + + Gets the FullName of the Type + + + + + Gets the assembly in which the type is declared + + + + + Gets the Namespace of the Type + + + + + Gets a value indicating whether the type is abstract. + + + + + Gets a value indicating whether the Type is a generic Type + + + + + Gets a value indicating whether the Type has generic parameters that have not been replaced by specific Types. + + + + + Gets a value indicating whether the Type is a generic Type definition + + + + + Gets a value indicating whether the type is sealed. + + + + + Gets a value indicating whether this type is a static class. + + + + + Get the display name for this typeInfo. + + + + + Get the display name for an object of this type, constructed with specific arguments + + + + + Returns a Type representing a generic type definition from which this Type can be constructed. + + + + + Returns a new ITypeInfo representing an instance of this generic Type using the supplied Type arguments + + + + + Returns a value indicating whether this type has a method with a specified public attribute + + + + + Returns an array of IMethodInfos for methods of this Type + that match the specified flags. + + + + + Gets the public constructor taking the specified argument Types + + + + + Returns a value indicating whether this Type has a public constructor taking the specified argument Types. + + + + + Construct an object of this Type, using the specified arguments. + + + + + An object implementing IXmlNodeBuilder is able to build + an XML representation of itself and any children. + + + + + Returns a TNode representing the current object. + + If true, children are included where applicable + A TNode representing the result + + + + Returns a TNode representing the current object after + adding it as a child of the supplied parent node. + + The parent node. + If true, children are included, where applicable + + + + + The ResultState class represents the outcome of running a test. + It contains two pieces of information. The Status of the test + is an enum indicating whether the test passed, failed, was + skipped or was inconclusive. The Label provides a more + detailed breakdown for use by client runners. + + + + + Initializes a new instance of the class. + + The TestStatus. + + + + Initializes a new instance of the class. + + The TestStatus. + The label. + + + + Initializes a new instance of the class. + + The TestStatus. + The stage at which the result was produced + + + + Initializes a new instance of the class. + + The TestStatus. + The label. + The stage at which the result was produced + + + + The result is inconclusive + + + + + The test has been skipped. + + + + + The test has been ignored. + + + + + The test was skipped because it is explicit + + + + + The test succeeded + + + + + The test issued a warning + + + + + The test failed + + + + + The test encountered an unexpected exception + + + + + The test was cancelled by the user + + + + + The test was not runnable. + + + + + A suite failed because one or more child tests failed or had errors + + + + + A suite failed in its OneTimeSetUp + + + + + A suite had an unexpected exception in its OneTimeSetUp + + + + + A suite had an unexpected exception in its OneTimeDown + + + + + Gets the TestStatus for the test. + + The status. + + + + Gets the label under which this test result is + categorized, if any. + + + + + Gets the stage of test execution in which + the failure or other result took place. + + + + + Get a new ResultState, which is the same as the current + one but with the FailureSite set to the specified value. + + The FailureSite to use + A new ResultState + + + + Test whether this ResultState has the same Status and Label + as another one. In other words, the whether two are equal + ignoring the Site. + + + + + + + Determines whether the specified , is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + The FailureSite enum indicates the stage of a test + in which an error or failure occurred. + + + + + Failure in the test itself + + + + + Failure in the SetUp method + + + + + Failure in the TearDown method + + + + + Failure of a parent test + + + + + Failure of a child test + + + + + The RunState enum indicates whether a test can be executed. + + + + + The test is not runnable. + + + + + The test is runnable. + + + + + The test can only be run explicitly + + + + + The test has been skipped. This value may + appear on a Test when certain attributes + are used to skip the test. + + + + + The test has been ignored. May appear on + a Test, when the IgnoreAttribute is used. + + + + + The TestOutput class holds a unit of output from + a test to a specific output stream + + + + + Construct with text, output destination type and + the name of the test that produced the output. + + Text to be output + Name of the stream or channel to which the text should be written + FullName of test that produced the output + + + + Return string representation of the object for debugging + + + + + + Get the text + + + + + Get the output type + + + + + Get the name of the test that created the output + + + + + Convert the TestOutput object to an XML string + + + + + The TestStatus enum indicates the result of running a test + + + + + The test was inconclusive + + + + + The test has skipped + + + + + The test succeeded + + + + + There was a warning + + + + + The test failed + + + + + TNode represents a single node in the XML representation + of a Test or TestResult. It replaces System.Xml.XmlNode and + System.Xml.Linq.XElement, providing a minimal set of methods + for operating on the XML in a platform-independent manner. + + + + + Constructs a new instance of TNode + + The name of the node + + + + Constructs a new instance of TNode with a value + + The name of the node + The text content of the node + + + + Constructs a new instance of TNode with a value + + The name of the node + The text content of the node + Flag indicating whether to use CDATA when writing the text + + + + Gets the name of the node + + + + + Gets the value of the node + + + + + Gets a flag indicating whether the value should be output using CDATA. + + + + + Gets the dictionary of attributes + + + + + Gets a list of child nodes + + + + + Gets the first ChildNode + + + + + Gets the XML representation of this node. + + + + + Create a TNode from it's XML text representation + + The XML text to be parsed + A TNode + + + + Adds a new element as a child of the current node and returns it. + + The element name. + The newly created child element + + + + Adds a new element with a value as a child of the current node and returns it. + + The element name + The text content of the new element + The newly created child element + + + + Adds a new element with a value as a child of the current node and returns it. + The value will be output using a CDATA section. + + The element name + The text content of the new element + The newly created child element + + + + Adds an attribute with a specified name and value to the XmlNode. + + The name of the attribute. + The value of the attribute. + + + + Finds a single descendant of this node matching an xpath + specification. The format of the specification is + limited to what is needed by NUnit and its tests. + + + + + + + Finds all descendants of this node matching an xpath + specification. The format of the specification is + limited to what is needed by NUnit and its tests. + + + + + Writes the XML representation of the node to an XmlWriter + + + + + + Class used to represent a list of XmlResults + + + + + Class used to represent the attributes of a node + + + + + Gets or sets the value associated with the specified key. + Overridden to return null if attribute is not found. + + The key. + Value of the attribute or null + + + + CombiningStrategy is the abstract base for classes that + know how to combine values provided for individual test + parameters to create a set of test cases. + + + + + Gets the test cases generated by the CombiningStrategy. + + The test cases. + + + + Provides static methods to express conditions + that must be met for the test to succeed. If + any test fails, a warning is issued. + + + + + DO NOT USE! + The Equals method throws an InvalidOperationException. This is done + to make sure there is no mistake by calling this function. + + The left object. + The right object. + Not applicable + + + + DO NOT USE! + The ReferenceEquals method throws an InvalidOperationException. This is done + to make sure there is no mistake by calling this function. + + The left object. + The right object. + + + + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and issuing a warning on failure. + + The Type being compared. + An ActualValueDelegate returning the value to be tested + A Constraint expression to be applied + + + + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and issuing a warning on failure. + + The Type being compared. + An ActualValueDelegate returning the value to be tested + A Constraint expression to be applied + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and issuing a warning on failure. + + The Type being compared. + An ActualValueDelegate returning the value to be tested + A Constraint expression to be applied + A function to build the message included with the Exception + + + + Asserts that a condition is true. If the condition is false a warning is issued. + + The evaluated condition + The message to display if the condition is false + Arguments to be used in formatting the message + + + + Asserts that a condition is true. If the condition is false a warning is issued. + + The evaluated condition + + + + Asserts that a condition is true. If the condition is false a warning is issued. + + The evaluated condition + A function to build the message included with the Exception + + + + Asserts that a condition is true. If the condition is false the method throws + an . + + A lambda that returns a Boolean + The message to display if the condition is false + Arguments to be used in formatting the message + + + + Asserts that a condition is true. If the condition is false the method throws + an . + + A lambda that returns a Boolean + + + + Asserts that a condition is true. If the condition is false the method throws + an . + + A lambda that returns a Boolean + A function to build the message included with the Exception + + + + Asserts that the code represented by a delegate throws an exception + that satisfies the constraint provided. + + A TestDelegate to be executed + A ThrowsConstraint used in the test + + + + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and issuing a warning on failure. + + The Type being compared. + The actual value to test + A Constraint to be applied + + + + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and issuing a warning on failure. + + The Type being compared. + The actual value to test + A Constraint expression to be applied + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and issuing a warning on failure. + + The Type being compared. + The actual value to test + A Constraint to be applied + A function to build the message included with the Exception + + + + Apply a constraint to an actual value, succeeding if the constraint + fails and issuing a warning on success. + + The Type being compared. + An ActualValueDelegate returning the value to be tested + A Constraint expression to be applied + + + + Apply a constraint to an actual value, succeeding if the constraint + fails and issuing a warning on success. + + The Type being compared. + An ActualValueDelegate returning the value to be tested + A Constraint expression to be applied + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Apply a constraint to an actual value, succeeding if the constraint + fails and issuing a warning on failure. + + The Type being compared. + An ActualValueDelegate returning the value to be tested + A Constraint expression to be applied + A function to build the message included with the Exception + + + + Asserts that a condition is true. If the condition is false a warning is issued. + + The evaluated condition + The message to display if the condition is false + Arguments to be used in formatting the message + + + + Asserts that a condition is true. If the condition is false a warning is issued. + + The evaluated condition + + + + Asserts that a condition is true. If the condition is false a warning is issued. + + The evaluated condition + A function to build the message included with the Exception + + + + Asserts that a condition is false. If the condition is true a warning is issued. + + A lambda that returns a Boolean + The message to display if the condition is true + Arguments to be used in formatting the message + + + + Asserts that a condition is false. If the condition is true a warning is issued. + + A lambda that returns a Boolean + + + + Asserts that a condition is false. If the condition is true a warning is issued. + + A lambda that returns a Boolean + A function to build the message included with the Exception + + + + Apply a constraint to an actual value, succeeding if the constraint + fails and issuing a warning if it succeeds. + + The Type being compared. + The actual value to test + A Constraint to be applied + + + + Apply a constraint to an actual value, succeeding if the constraint + fails and issuing a warning if it succeeds. + + The Type being compared. + The actual value to test + A Constraint expression to be applied + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and issuing a warning on failure. + + The Type being compared. + The actual value to test + A Constraint to be applied + A function to build the message included with the Exception + + + + Provides static methods to express the assumptions + that must be met for a test to give a meaningful + result. If an assumption is not met, the test + should produce an inconclusive result. + + + + + DO NOT USE! + The Equals method throws an InvalidOperationException. This is done + to make sure there is no mistake by calling this function. + + The left object. + The right object. + Not applicable + + + + DO NOT USE! + The ReferenceEquals method throws an InvalidOperationException. This is done + to make sure there is no mistake by calling this function. + + The left object. + The right object. + + + + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and throwing an InconclusiveException on failure. + + The Type being compared. + An ActualValueDelegate returning the value to be tested + A Constraint expression to be applied + + + + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and throwing an InconclusiveException on failure. + + The Type being compared. + An ActualValueDelegate returning the value to be tested + A Constraint expression to be applied + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and throwing an InconclusiveException on failure. + + The Type being compared. + An ActualValueDelegate returning the value to be tested + A Constraint expression to be applied + A function to build the message included with the Exception + + + + Asserts that a condition is true. If the condition is false the method throws + an . + + The evaluated condition + The message to display if the condition is false + Arguments to be used in formatting the message + + + + Asserts that a condition is true. If the condition is false the + method throws an . + + The evaluated condition + + + + Asserts that a condition is true. If the condition is false the method throws + an . + + The evaluated condition + A function to build the message included with the Exception + + + + Asserts that a condition is true. If the condition is false the method throws + an . + + A lambda that returns a Boolean + The message to display if the condition is false + Arguments to be used in formatting the message + + + + Asserts that a condition is true. If the condition is false the method throws + an . + + A lambda that returns a Boolean + + + + Asserts that a condition is true. If the condition is false the method throws + an . + + A lambda that returns a Boolean + A function to build the message included with the Exception + + + + Asserts that the code represented by a delegate throws an exception + that satisfies the constraint provided. + + A TestDelegate to be executed + A ThrowsConstraint used in the test + + + + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and throwing an InconclusiveException on failure. + + The Type being compared. + The actual value to test + A Constraint to be applied + + + + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and throwing an InconclusiveException on failure. + + The Type being compared. + The actual value to test + A Constraint expression to be applied + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and throwing an InconclusiveException on failure. + + The Type being compared. + The actual value to test + A Constraint to be applied + A function to build the message included with the Exception + + + + Marks a test that must run in a particular threading apartment state, causing it + to run in a separate thread if necessary. + + + + + Construct an ApartmentAttribute + + The apartment state that this test must be run under. You must pass in a valid apartment state. + + + + Provides the Author of a test or test fixture. + + + + + Initializes a new instance of the class. + + The name of the author. + + + + Initializes a new instance of the class. + + The name of the author. + The email address of the author. + + + + Attribute used to apply a category to a test + + + + + The name of the category + + + + + Construct attribute for a given category based on + a name. The name may not contain the characters ',', + '+', '-' or '!'. However, this is not checked in the + constructor since it would cause an error to arise at + as the test was loaded without giving a clear indication + of where the problem is located. The error is handled + in NUnitFramework.cs by marking the test as not + runnable. + + The name of the category + + + + Protected constructor uses the Type name as the name + of the category. + + + + + The name of the category + + + + + Modifies a test by adding a category to it. + + The test to modify + + + + Marks a test to use a combinatorial join of any argument + data provided. Since this is the default, the attribute is + optional. + + + + + Default constructor + + + + + Marks a test to use a particular CombiningStrategy to join + any parameter data provided. Since this is the default, the + attribute is optional. + + + + + Construct a CombiningStrategyAttribute incorporating an + ICombiningStrategy and an IParameterDataProvider. + + Combining strategy to be used in combining data + An IParameterDataProvider to supply data + + + + Construct a CombiningStrategyAttribute incorporating an object + that implements ICombiningStrategy and an IParameterDataProvider. + This constructor is provided for CLS compliance. + + Combining strategy to be used in combining data + An IParameterDataProvider to supply data + + + + Construct one or more TestMethods from a given MethodInfo, + using available parameter data. + + The MethodInfo for which tests are to be constructed. + The suite to which the tests will be added. + One or more TestMethods + + + + Modify the test by adding the name of the combining strategy + to the properties. + + The test to modify + + + + CultureAttribute is used to mark a test fixture or an + individual method as applying to a particular Culture only. + + + + + Constructor with no cultures specified, for use + with named property syntax. + + + + + Constructor taking one or more cultures + + Comma-deliminted list of cultures + + + + Causes a test to be skipped if this CultureAttribute is not satisfied. + + The test to modify + + + + Tests to determine if the current culture is supported + based on the properties of this attribute. + + True, if the current culture is supported + + + + Test to determine if the a particular culture or comma- + delimited set of cultures is in use. + + Name of the culture or comma-separated list of culture ids + True if the culture is in use on the system + + + + Test to determine if one of a collection of cultures + is being used currently. + + + + + + + The abstract base class for all data-providing attributes + defined by NUnit. Used to select all data sources for a + method, class or parameter. + + + + + Default constructor + + + + + Used to mark a field for use as a datapoint when executing a theory + within the same fixture that requires an argument of the field's Type. + + + + + Used to mark a field, property or method providing a set of datapoints to + be used in executing any theories within the same fixture that require an + argument of the Type provided. The data source may provide an array of + the required Type or an . + Synonymous with DatapointSourceAttribute. + + + + + Used to mark a field, property or method providing a set of datapoints to + be used in executing any theories within the same fixture that require an + argument of the Type provided. The data source may provide an array of + the required Type or an . + Synonymous with DatapointsAttribute. + + + + + Attribute used to provide descriptive text about a + test case or fixture. + + + + + Construct a description Attribute + + The text of the description + + + + ExplicitAttribute marks a test or test fixture so that it will + only be run if explicitly executed from the gui or command line + or if it is included by use of a filter. The test will not be + run simply because an enclosing suite is run. + + + + + Default constructor + + + + + Constructor with a reason + + The reason test is marked explicit + + + + Modifies a test by marking it as explicit. + + The test to modify + + + + Attribute used to mark a test that is to be ignored. + Ignored tests result in a warning message when the + tests are run. + + + + + Constructs the attribute giving a reason for ignoring the test + + The reason for ignoring the test + + + + The date in the future to stop ignoring the test as a string in UTC time. + For example for a date and time, "2014-12-25 08:10:00Z" or for just a date, + "2014-12-25". If just a date is given, the Ignore will expire at midnight UTC. + + + Once the ignore until date has passed, the test will be marked + as runnable. Tests with an ignore until date will have an IgnoreUntilDate + property set which will appear in the test results. + + The string does not contain a valid string representation of a date and time. + + + + Modifies a test by marking it as Ignored. + + The test to modify + + + + Abstract base for Attributes that are used to include tests + in the test run based on environmental settings. + + + + + Constructor with no included items specified, for use + with named property syntax. + + + + + Constructor taking one or more included items + + Comma-delimited list of included items + + + + Name of the item that is needed in order for + a test to run. Multiple items may be given, + separated by a comma. + + + + + Name of the item to be excluded. Multiple items + may be given, separated by a comma. + + + + + The reason for including or excluding the test + + + + + SingleThreadedAttribute applies to a test fixture and indicates + that all the child tests must be run on the same thread as the + OneTimeSetUp and OneTimeTearDown. It sets a flag in the + TestExecutionContext and forces all tests to be run sequentially + on the current thread. Any ParallelScope setting is ignored. + + + + + Apply changes to the TestExecutionContext + + The TestExecutionContext + + + + TestAssemblyDirectoryResolveAttribute is used to mark a test assembly as needing a + special assembly resolution hook that will explicitly search the test assembly's + directory for dependent assemblies. This works around a conflict between mixed-mode + assembly initialization and tests running in their own AppDomain in some cases. + + + + + LevelOfParallelismAttribute is used to set the number of worker threads + that may be allocated by the framework for running tests. + + + + + Construct a LevelOfParallelismAttribute. + + The number of worker threads to be created by the framework. + + + + Summary description for MaxTimeAttribute. + + + + + Construct a MaxTimeAttribute, given a time in milliseconds. + + The maximum elapsed time in milliseconds + + + + The abstract base class for all custom attributes defined by NUnit. + + + + + Default constructor + + + + + Attribute used to identify a method that is called once + to perform setup before any child tests are run. + + + + + Attribute used to identify a method that is called once + after all the child tests have run. The method is + guaranteed to be called, even if an exception is thrown. + + + + + Defines the order that the test will run in + + + + + Defines the order that the test will run in + + + + + Defines the order that the test will run in + + + + + + Modifies a test as defined for the specific attribute. + + The test to modify + + + + Marks a test to use a pairwise join of any argument + data provided. Arguments will be combined in such a + way that all possible pairs of arguments are used. + + + + + Default constructor + + + + + ParallelizableAttribute is used to mark tests that may be run in parallel. + + + + + Construct a ParallelizableAttribute using default ParallelScope.Self. + + + + + Construct a ParallelizableAttribute with a specified scope. + + The ParallelScope associated with this attribute. + + + + Overridden to check for invalid combinations of settings + + + + + + Modify the context to be used for child tests + + The current TestExecutionContext + + + + The ParallelScope enumeration permits specifying the degree to + which a test and its descendants may be run in parallel. + + + + + No ParallelScope was specified on the test + + + + + The test may be run in parallel with others at the same level. + Valid on classes and methods but not assemblies. + + + + + Test may not be run in parallel with any others. Valid on + classes and methods but not assemblies. + + + + + Mask used to extract the flags that apply to the item on which a + ParallelizableAttribute has been placed, as opposed to descendants. + + + + + Descendants of the test may be run in parallel with one another. + Valid on assemblies and classes but not on methods. + + + + + Descendants of the test down to the level of TestFixtures may be + run in parallel with one another. Valid on assemblies and classes + but not on methods. + + + + + Mask used to extract all the flags that impact descendants of a + test and place them in the TestExecutionContext. + + + + + The test and its descendants may be run in parallel with others at + the same level. Valid on classes and methods but not assemblies. + + + + + PlatformAttribute is used to mark a test fixture or an + individual method as applying to a particular platform only. + + + + + Constructor with no platforms specified, for use + with named property syntax. + + + + + Constructor taking one or more platforms + + Comma-delimited list of platforms + + + + Causes a test to be skipped if this PlatformAttribute is not satisfied. + + The test to modify + + + + PropertyAttribute is used to attach information to a test as a name/value pair.. + + + + + Construct a PropertyAttribute with a name and string value + + The name of the property + The property value + + + + Construct a PropertyAttribute with a name and int value + + The name of the property + The property value + + + + Construct a PropertyAttribute with a name and double value + + The name of the property + The property value + + + + Constructor for derived classes that set the + property dictionary directly. + + + + + Constructor for use by derived classes that use the + name of the type as the property name. Derived classes + must ensure that the Type of the property value is + a standard type supported by the BCL. Any custom + types will cause a serialization Exception when + in the client. + + + + + Gets the property dictionary for this attribute + + + + + Modifies a test by adding properties to it. + + The test to modify + + + + RandomAttribute is used to supply a set of random _values + to a single parameter of a parameterized test. + + + + + Construct a random set of values appropriate for the Type of the + parameter on which the attribute appears, specifying only the count. + + + + + + Construct a set of ints within a specified range + + + + + Construct a set of unsigned ints within a specified range + + + + + Construct a set of longs within a specified range + + + + + Construct a set of unsigned longs within a specified range + + + + + Construct a set of shorts within a specified range + + + + + Construct a set of unsigned shorts within a specified range + + + + + Construct a set of doubles within a specified range + + + + + Construct a set of floats within a specified range + + + + + Construct a set of bytes within a specified range + + + + + Construct a set of sbytes within a specified range + + + + + Get the collection of _values to be used as arguments. + + + + + RangeAttribute is used to supply a range of _values to an + individual parameter of a parameterized test. + + + + + Construct a range of ints using default step of 1 + + + + + + + Construct a range of ints specifying the step size + + + + + + + + Construct a range of unsigned ints using default step of 1 + + + + + + + Construct a range of unsigned ints specifying the step size + + + + + + + + Construct a range of longs using a default step of 1 + + + + + + + Construct a range of longs + + + + + + + + Construct a range of unsigned longs using default step of 1 + + + + + + + Construct a range of unsigned longs specifying the step size + + + + + + + + Construct a range of doubles + + + + + + + + Construct a range of floats + + + + + + + + RepeatAttribute may be applied to test case in order + to run it multiple times. + + + + + Construct a RepeatAttribute + + The number of times to run the test + + + + Wrap a command and return the result. + + The command to be wrapped + The wrapped command + + + + The test command for the RepeatAttribute + + + + + Initializes a new instance of the class. + + The inner command. + The number of repetitions + + + + Runs the test, saving a TestResult in the supplied TestExecutionContext. + + The context in which the test should run. + A TestResult + + + + Marks a test that must run in the MTA, causing it + to run in a separate thread if necessary. + + On methods, you may also use MTAThreadAttribute + to serve the same purpose. + + + + + Construct a RequiresMTAAttribute + + + + + Marks a test that must run in the STA, causing it + to run in a separate thread if necessary. + + + + + Construct a RequiresSTAAttribute + + + + + Marks a test that must run on a separate thread. + + + + + Construct a RequiresThreadAttribute + + + + + Construct a RequiresThreadAttribute, specifying the apartment + + + + + RepeatAttribute may be applied to test case in order + to run it multiple times. + + + + + Construct a RepeatAttribute + + The number of times to run the test + + + + Wrap a command and return the result. + + The command to be wrapped + The wrapped command + + + + The test command for the RetryAttribute + + + + + Initializes a new instance of the class. + + The inner command. + The number of repetitions + + + + Runs the test, saving a TestResult in the supplied TestExecutionContext. + + The context in which the test should run. + A TestResult + + + + Marks a test to use a Sequential join of any argument + data provided. Arguments will be combined into test cases, + taking the next value of each argument until all are used. + + + + + Default constructor + + + + + Summary description for SetCultureAttribute. + + + + + Construct given the name of a culture + + + + + + Summary description for SetUICultureAttribute. + + + + + Construct given the name of a culture + + + + + + Attribute used to identify a method that is called + immediately before each test is run. + + + + + Attribute used to identify a class that contains + or + methods for all the test fixtures under a given namespace. + + + + + Build a SetUpFixture from type provided. Normally called for a Type + on which the attribute has been placed. + + The type info of the fixture to be used. + A SetUpFixture object as a TestSuite. + + + + Attribute used to identify a method that is called + immediately after each test is run. The method is + guaranteed to be called, even if an exception is thrown. + + + + + Provide actions to execute before and after tests. + + + + + Executed before each test is run + + The test that is going to be run. + + + + Executed after each test is run + + The test that has just been run. + + + + Provides the target for the action attribute + + + + + Adding this attribute to a method within a + class makes the method callable from the NUnit test runner. There is a property + called Description which is optional which you can provide a more detailed test + description. This class cannot be inherited. + + + + [TestFixture] + public class Fixture + { + [Test] + public void MethodToTest() + {} + + [Test(Description = "more detailed description")] + public void TestDescriptionMethod() + {} + } + + + + + + Descriptive text for this test + + + + + The author of this test + + + + + The type that this test is testing + + + + + Modifies a test by adding a description, if not already set. + + The test to modify + + + + Gets or sets the expected result. + + The result. + + + + Returns true if an expected result has been set + + + + + Construct a TestMethod from a given method. + + The method for which a test is to be constructed. + The suite to which the test will be added. + A TestMethod + + + + TestCaseAttribute is used to mark parameterized test cases + and provide them with their arguments. + + + + + Construct a TestCaseAttribute with a list of arguments. + This constructor is not CLS-Compliant + + + + + + Construct a TestCaseAttribute with a single argument + + + + + + Construct a TestCaseAttribute with a two arguments + + + + + + + Construct a TestCaseAttribute with a three arguments + + + + + + + + Gets or sets the name of the test. + + The name of the test. + + + + Gets or sets the RunState of this test case. + + + + + Gets the list of arguments to a test case + + + + + Gets the properties of the test case + + + + + Gets or sets the expected result. + + The result. + + + + Returns true if the expected result has been set + + + + + Gets or sets the description. + + The description. + + + + The author of this test + + + + + The type that this test is testing + + + + + Gets or sets the reason for ignoring the test + + + + + Gets or sets a value indicating whether this is explicit. + + + true if explicit; otherwise, false. + + + + + Gets or sets the reason for not running the test. + + The reason. + + + + Gets or sets the ignore reason. When set to a non-null + non-empty value, the test is marked as ignored. + + The ignore reason. + + + + Comma-delimited list of platforms to run the test for + + + + + Comma-delimited list of platforms to not run the test for + + + + + Gets and sets the category for this test case. + May be a comma-separated list of categories. + + + + + Performs several special conversions allowed by NUnit in order to + permit arguments with types that cannot be used in the constructor + of an Attribute such as TestCaseAttribute or to simplify their use. + + The arguments to be converted + The ParameterInfo array for the method + + + + Construct one or more TestMethods from a given MethodInfo, + using available parameter data. + + The MethodInfo for which tests are to be constructed. + The suite to which the tests will be added. + One or more TestMethods + + + + TestCaseSourceAttribute indicates the source to be used to + provide test cases for a test method. + + + + + Construct with the name of the method, property or field that will provide data + + The name of a static method, property or field that will provide data. + + + + Construct with a Type and name + + The Type that will provide data + The name of a static method, property or field that will provide data. + A set of parameters passed to the method, works only if the Source Name is a method. + If the source name is a field or property has no effect. + + + + Construct with a Type and name + + The Type that will provide data + The name of a static method, property or field that will provide data. + + + + Construct with a name + + The name of a static method, property or field that will provide data. + A set of parameters passed to the method, works only if the Source Name is a method. + If the source name is a field or property has no effect. + + + + Construct with a Type + + The type that will provide data + + + + A set of parameters passed to the method, works only if the Source Name is a method. + If the source name is a field or property has no effect. + + + + + The name of a the method, property or fiend to be used as a source + + + + + A Type to be used as a source + + + + + Gets or sets the category associated with every fixture created from + this attribute. May be a single category or a comma-separated list. + + + + + Construct one or more TestMethods from a given MethodInfo, + using available parameter data. + + The IMethod for which tests are to be constructed. + The suite to which the tests will be added. + One or more TestMethods + + + + Returns a set of ITestCaseDataItems for use as arguments + to a parameterized test method. + + The method for which data is needed. + + + + + TestFixtureAttribute is used to mark a class that represents a TestFixture. + + + + + Default constructor + + + + + Construct with a object[] representing a set of arguments. + In .NET 2.0, the arguments may later be separated into + type arguments and constructor arguments. + + + + + + Gets or sets the name of the test. + + The name of the test. + + + + Gets or sets the RunState of this test fixture. + + + + + The arguments originally provided to the attribute + + + + + Properties pertaining to this fixture + + + + + Get or set the type arguments. If not set + explicitly, any leading arguments that are + Types are taken as type arguments. + + + + + Descriptive text for this fixture + + + + + The author of this fixture + + + + + The type that this fixture is testing + + + + + Gets or sets the ignore reason. May set RunState as a side effect. + + The ignore reason. + + + + Gets or sets the reason for not running the fixture. + + The reason. + + + + Gets or sets the ignore reason. When set to a non-null + non-empty value, the test is marked as ignored. + + The ignore reason. + + + + Gets or sets a value indicating whether this is explicit. + + + true if explicit; otherwise, false. + + + + + Gets and sets the category for this fixture. + May be a comma-separated list of categories. + + + + + Build a fixture from type provided. Normally called for a Type + on which the attribute has been placed. + + The type info of the fixture to be used. + A an IEnumerable holding one TestFixture object. + + + + Attribute used to identify a method that is + called before any tests in a fixture are run. + + + + + TestCaseSourceAttribute indicates the source to be used to + provide test fixture instances for a test class. + + + + + Error message string is public so the tests can use it + + + + + Construct with the name of the method, property or field that will provide data + + The name of a static method, property or field that will provide data. + + + + Construct with a Type and name + + The Type that will provide data + The name of a static method, property or field that will provide data. + + + + Construct with a Type + + The type that will provide data + + + + The name of a the method, property or fiend to be used as a source + + + + + A Type to be used as a source + + + + + Gets or sets the category associated with every fixture created from + this attribute. May be a single category or a comma-separated list. + + + + + Construct one or more TestFixtures from a given Type, + using available parameter data. + + The TypeInfo for which fixtures are to be constructed. + One or more TestFixtures as TestSuite + + + + Returns a set of ITestFixtureData items for use as arguments + to a parameterized test fixture. + + The type for which data is needed. + + + + + Attribute used to identify a method that is called after + all the tests in a fixture have run. The method is + guaranteed to be called, even if an exception is thrown. + + + + + Indicates which class the test or test fixture is testing + + + + + Initializes a new instance of the class. + + The type that is being tested. + + + + Initializes a new instance of the class. + + The type that is being tested. + + + + Adding this attribute to a method within a + class makes the method callable from the NUnit test runner. There is a property + called Description which is optional which you can provide a more detailed test + description. This class cannot be inherited. + + + + [TestFixture] + public class Fixture + { + [Test] + public void MethodToTest() + {} + + [Test(Description = "more detailed description")] + public void TestDescriptionMethod() + {} + } + + + + + + Construct the attribute, specifying a combining strategy and source of parameter data. + + + + + Used on a method, marks the test with a timeout value in milliseconds. + The test will be run in a separate thread and is cancelled if the timeout + is exceeded. Used on a class or assembly, sets the default timeout + for all contained test methods. + + + + + Construct a TimeoutAttribute given a time in milliseconds + + The timeout value in milliseconds + + + + ValuesAttribute is used to provide literal arguments for + an individual parameter of a test. + + + + + The collection of data to be returned. Must + be set by any derived attribute classes. + We use an object[] so that the individual + elements may have their type changed in GetData + if necessary + + + + + Constructs for use with an Enum parameter. Will pass every enum + value in to the test. + + + + + Construct with one argument + + + + + + Construct with two arguments + + + + + + + Construct with three arguments + + + + + + + + Construct with an array of arguments + + + + + + Get the collection of _values to be used as arguments + + + + + ValueSourceAttribute indicates the source to be used to + provide data for one parameter of a test method. + + + + + Construct with the name of the factory - for use with languages + that don't support params arrays. + + The name of a static method, property or field that will provide data. + + + + Construct with a Type and name - for use with languages + that don't support params arrays. + + The Type that will provide data + The name of a static method, property or field that will provide data. + + + + The name of a the method, property or fiend to be used as a source + + + + + A Type to be used as a source + + + + + Gets an enumeration of data items for use as arguments + for a test method parameter. + + The parameter for which data is needed + + An enumeration containing individual data items + + + + + A set of Assert methods operating on one or more collections + + + + + DO NOT USE! Use CollectionAssert.AreEqual(...) instead. + The Equals method throws an InvalidOperationException. This is done + to make sure there is no mistake by calling this function. + + + + + + + DO NOT USE! + The ReferenceEquals method throws an InvalidOperationException. This is done + to make sure there is no mistake by calling this function. + + + + + + + Asserts that all items contained in collection are of the type specified by expectedType. + + IEnumerable containing objects to be considered + System.Type that all objects in collection must be instances of + + + + Asserts that all items contained in collection are of the type specified by expectedType. + + IEnumerable containing objects to be considered + System.Type that all objects in collection must be instances of + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Asserts that all items contained in collection are not equal to null. + + IEnumerable containing objects to be considered + + + + Asserts that all items contained in collection are not equal to null. + + IEnumerable of objects to be considered + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Ensures that every object contained in collection exists within the collection + once and only once. + + IEnumerable of objects to be considered + + + + Ensures that every object contained in collection exists within the collection + once and only once. + + IEnumerable of objects to be considered + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Asserts that expected and actual are exactly equal. The collections must have the same count, + and contain the exact same objects in the same order. + + The first IEnumerable of objects to be considered + The second IEnumerable of objects to be considered + + + + Asserts that expected and actual are exactly equal. The collections must have the same count, + and contain the exact same objects in the same order. + If comparer is not null then it will be used to compare the objects. + + The first IEnumerable of objects to be considered + The second IEnumerable of objects to be considered + The IComparer to use in comparing objects from each IEnumerable + + + + Asserts that expected and actual are exactly equal. The collections must have the same count, + and contain the exact same objects in the same order. + + The first IEnumerable of objects to be considered + The second IEnumerable of objects to be considered + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Asserts that expected and actual are exactly equal. The collections must have the same count, + and contain the exact same objects in the same order. + If comparer is not null then it will be used to compare the objects. + + The first IEnumerable of objects to be considered + The second IEnumerable of objects to be considered + The IComparer to use in comparing objects from each IEnumerable + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Asserts that expected and actual are equivalent, containing the same objects but the match may be in any order. + + The first IEnumerable of objects to be considered + The second IEnumerable of objects to be considered + + + + Asserts that expected and actual are equivalent, containing the same objects but the match may be in any order. + + The first IEnumerable of objects to be considered + The second IEnumerable of objects to be considered + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Asserts that expected and actual are not exactly equal. + + The first IEnumerable of objects to be considered + The second IEnumerable of objects to be considered + + + + Asserts that expected and actual are not exactly equal. + If comparer is not null then it will be used to compare the objects. + + The first IEnumerable of objects to be considered + The second IEnumerable of objects to be considered + The IComparer to use in comparing objects from each IEnumerable + + + + Asserts that expected and actual are not exactly equal. + + The first IEnumerable of objects to be considered + The second IEnumerable of objects to be considered + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Asserts that expected and actual are not exactly equal. + If comparer is not null then it will be used to compare the objects. + + The first IEnumerable of objects to be considered + The second IEnumerable of objects to be considered + The IComparer to use in comparing objects from each IEnumerable + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Asserts that expected and actual are not equivalent. + + The first IEnumerable of objects to be considered + The second IEnumerable of objects to be considered + + + + Asserts that expected and actual are not equivalent. + + The first IEnumerable of objects to be considered + The second IEnumerable of objects to be considered + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Asserts that collection contains actual as an item. + + IEnumerable of objects to be considered + Object to be found within collection + + + + Asserts that collection contains actual as an item. + + IEnumerable of objects to be considered + Object to be found within collection + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Asserts that collection does not contain actual as an item. + + IEnumerable of objects to be considered + Object that cannot exist within collection + + + + Asserts that collection does not contain actual as an item. + + IEnumerable of objects to be considered + Object that cannot exist within collection + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Asserts that the superset does not contain the subset + + The IEnumerable subset to be considered + The IEnumerable superset to be considered + + + + Asserts that the superset does not contain the subset + + The IEnumerable subset to be considered + The IEnumerable superset to be considered + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Asserts that the superset contains the subset. + + The IEnumerable subset to be considered + The IEnumerable superset to be considered + + + + Asserts that the superset contains the subset. + + The IEnumerable subset to be considered + The IEnumerable superset to be considered + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Asserts that the subset does not contain the superset + + The IEnumerable superset to be considered + The IEnumerable subset to be considered + + + + Asserts that the subset does not contain the superset + + The IEnumerable superset to be considered + The IEnumerable subset to be considered + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Asserts that the subset contains the superset. + + The IEnumerable superset to be considered + The IEnumerable subset to be considered + + + + Asserts that the subset contains the superset. + + The IEnumerable superset to be considered + The IEnumerable subset to be considered + The message that will be displayed on failure + Arguments to be used in formatting the message + + + + Assert that an array, list or other collection is empty + + An array, list or other collection implementing IEnumerable + The message to be displayed on failure + Arguments to be used in formatting the message + + + + Assert that an array,list or other collection is empty + + An array, list or other collection implementing IEnumerable + + + + Assert that an array, list or other collection is empty + + An array, list or other collection implementing IEnumerable + The message to be displayed on failure + Arguments to be used in formatting the message + + + + Assert that an array,list or other collection is empty + + An array, list or other collection implementing IEnumerable + + + + Assert that an array, list or other collection is ordered + + An array, list or other collection implementing IEnumerable + The message to be displayed on failure + Arguments to be used in formatting the message + + + + Assert that an array, list or other collection is ordered + + An array, list or other collection implementing IEnumerable + + + + Assert that an array, list or other collection is ordered + + An array, list or other collection implementing IEnumerable + A custom comparer to perform the comparisons + The message to be displayed on failure + Arguments to be used in formatting the message + + + + Assert that an array, list or other collection is ordered + + An array, list or other collection implementing IEnumerable + A custom comparer to perform the comparisons + + + + AllItemsConstraint applies another constraint to each + item in a collection, succeeding if they all succeed. + + + + + Construct an AllItemsConstraint on top of an existing constraint + + + + + + The display name of this Constraint for use by ToString(). + The default value is the name of the constraint with + trailing "Constraint" removed. Derived classes may set + this to another name in their constructors. + + + + + Apply the item constraint to each item in the collection, + failing if any item fails. + + + + + + + AndConstraint succeeds only if both members succeed. + + + + + Create an AndConstraint from two other constraints + + The first constraint + The second constraint + + + + Gets text describing a constraint + + + + + Apply both member constraints to an actual value, succeeding + succeeding only if both of them succeed. + + The actual value + True if the constraints both succeeded + + + + Write the actual value for a failing constraint test to a + MessageWriter. The default implementation simply writes + the raw value of actual, leaving it to the writer to + perform any formatting. + + The writer on which the actual value is displayed + + + + AssignableFromConstraint is used to test that an object + can be assigned from a given Type. + + + + + Construct an AssignableFromConstraint for the type provided + + + + + + Apply the constraint to an actual value, returning true if it succeeds + + The actual argument + True if the constraint succeeds, otherwise false. + + + + AssignableToConstraint is used to test that an object + can be assigned to a given Type. + + + + + Construct an AssignableToConstraint for the type provided + + + + + + Apply the constraint to an actual value, returning true if it succeeds + + The actual argument + True if the constraint succeeds, otherwise false. + + + + AttributeConstraint tests that a specified attribute is present + on a Type or other provider and that the value of the attribute + satisfies some other constraint. + + + + + Constructs an AttributeConstraint for a specified attribute + Type and base constraint. + + + + + + + Determines whether the Type or other provider has the + expected attribute and if its value matches the + additional constraint specified. + + + + + Returns a string representation of the constraint. + + + + + AttributeExistsConstraint tests for the presence of a + specified attribute on a Type. + + + + + Constructs an AttributeExistsConstraint for a specific attribute Type + + + + + + The Description of what this constraint tests, for + use in messages and in the ConstraintResult. + + + + + Tests whether the object provides the expected attribute. + + A Type, MethodInfo, or other ICustomAttributeProvider + True if the expected attribute is present, otherwise false + + + + BinaryConstraint is the abstract base of all constraints + that combine two other constraints in some fashion. + + + + + The first constraint being combined + + + + + The second constraint being combined + + + + + Construct a BinaryConstraint from two other constraints + + The first constraint + The second constraint + + + + BinarySerializableConstraint tests whether + an object is serializable in binary format. + + + + + The Description of what this constraint tests, for + use in messages and in the ConstraintResult. + + + + + Test whether the constraint is satisfied by a given value + + The value to be tested + True for success, false for failure + + + + Returns the string representation + + + + + CollectionConstraint is the abstract base class for + constraints that operate on collections. + + + + + Construct an empty CollectionConstraint + + + + + Construct a CollectionConstraint + + + + + + Determines whether the specified enumerable is empty. + + The enumerable. + + true if the specified enumerable is empty; otherwise, false. + + + + + Test whether the constraint is satisfied by a given value + + The value to be tested + True for success, false for failure + + + + Protected method to be implemented by derived classes + + + + + + + CollectionContainsConstraint is used to test whether a collection + contains an expected object as a member. + + + + + Construct a CollectionContainsConstraint + + + + + + The display name of this Constraint for use by ToString(). + The default value is the name of the constraint with + trailing "Constraint" removed. Derived classes may set + this to another name in their constructors. + + + + + The Description of what this constraint tests, for + use in messages and in the ConstraintResult. + + + + + Gets the expected object + + + + + Test whether the expected item is contained in the collection + + + + + + + Flag the constraint to use the supplied predicate function + + The comparison function to use. + Self. + + + + CollectionEquivalentConstraint is used to determine whether two + collections are equivalent. + + + + + Construct a CollectionEquivalentConstraint + + + + + + The display name of this Constraint for use by ToString(). + The default value is the name of the constraint with + trailing "Constraint" removed. Derived classes may set + this to another name in their constructors. + + + + + The Description of what this constraint tests, for + use in messages and in the ConstraintResult. + + + + + Test whether two collections are equivalent + + + + + + + Flag the constraint to use the supplied predicate function + + The comparison function to use. + Self. + + + + CollectionItemsEqualConstraint is the abstract base class for all + collection constraints that apply some notion of item equality + as a part of their operation. + + + + + Construct an empty CollectionConstraint + + + + + Construct a CollectionConstraint + + + + + + Flag the constraint to ignore case and return self. + + + + + Flag the constraint to use the supplied IComparer object. + + The IComparer object to use. + Self. + + + + Flag the constraint to use the supplied IComparer object. + + The IComparer object to use. + Self. + + + + Flag the constraint to use the supplied Comparison object. + + The IComparer object to use. + Self. + + + + Flag the constraint to use the supplied IEqualityComparer object. + + The IComparer object to use. + Self. + + + + Flag the constraint to use the supplied IEqualityComparer object. + + The IComparer object to use. + Self. + + + + Compares two collection members for equality + + + + + Return a new CollectionTally for use in making tests + + The collection to be included in the tally + + + + CollectionOrderedConstraint is used to test whether a collection is ordered. + + + + + Construct a CollectionOrderedConstraint + + + + + The display name of this Constraint for use by ToString(). + The default value is the name of the constraint with + trailing "Constraint" removed. Derived classes may set + this to another name in their constructors. + + + + + If used performs a default ascending comparison + + + + + If used performs a reverse comparison + + + + + Modifies the constraint to use an and returns self. + + + + + Modifies the constraint to use an and returns self. + + + + + Modifies the constraint to use a and returns self. + + + + + Modifies the constraint to test ordering by the value of + a specified property and returns self. + + + + + Then signals a break between two ordering steps + + + + + The Description of what this constraint tests, for + use in messages and in the ConstraintResult. + + + + + Test whether the collection is ordered + + + + + + + Returns the string representation of the constraint. + + + + + + An OrderingStep represents one stage of the sort + + + + + CollectionSubsetConstraint is used to determine whether + one collection is a subset of another + + + + + Construct a CollectionSubsetConstraint + + The collection that the actual value is expected to be a subset of + + + + The display name of this Constraint for use by ToString(). + The default value is the name of the constraint with + trailing "Constraint" removed. Derived classes may set + this to another name in their constructors. + + + + + The Description of what this constraint tests, for + use in messages and in the ConstraintResult. + + + + + Test whether the actual collection is a subset of + the expected collection provided. + + + + + + + Flag the constraint to use the supplied predicate function + + The comparison function to use. + Self. + + + + CollectionSupersetConstraint is used to determine whether + one collection is a superset of another + + + + + Construct a CollectionSupersetConstraint + + The collection that the actual value is expected to be a superset of + + + + The display name of this Constraint for use by ToString(). + The default value is the name of the constraint with + trailing "Constraint" removed. Derived classes may set + this to another name in their constructors. + + + + + The Description of what this constraint tests, for + use in messages and in the ConstraintResult. + + + + + Test whether the actual collection is a superset of + the expected collection provided. + + + + + + + Flag the constraint to use the supplied predicate function + + The comparison function to use. + Self. + + + + CollectionTally counts (tallies) the number of + occurrences of each object in one or more enumerations. + + + + + Construct a CollectionTally object from a comparer and a collection + + + + + The number of objects remaining in the tally + + + + + Try to remove an object from the tally + + The object to remove + True if successful, false if the object was not found + + + + Try to remove a set of objects from the tally + + The objects to remove + True if successful, false if any object was not found + + + + ComparisonAdapter class centralizes all comparisons of + _values in NUnit, adapting to the use of any provided + , + or . + + + + + Gets the default ComparisonAdapter, which wraps an + NUnitComparer object. + + + + + Returns a ComparisonAdapter that wraps an + + + + + Returns a ComparisonAdapter that wraps an + + + + + Returns a ComparisonAdapter that wraps a + + + + + Compares two objects + + + + + Construct a default ComparisonAdapter + + + + + Construct a ComparisonAdapter for an + + + + + Compares two objects + + + + + + + + ComparerAdapter extends and + allows use of an or + to actually perform the comparison. + + + + + Construct a ComparisonAdapter for an + + + + + Compare a Type T to an object + + + + + Construct a ComparisonAdapter for a + + + + + Compare a Type T to an object + + + + + Abstract base class for constraints that compare _values to + determine if one is greater than, equal to or less than + the other. + + + + + The value against which a comparison is to be made + + + + + Tolerance used in making the comparison + + + + + ComparisonAdapter to be used in making the comparison + + + + + Initializes a new instance of the class. + + The value against which to make a comparison. + + + + Test whether the constraint is satisfied by a given value + + The value to be tested + A ConstraintResult + + + + Protected function overridden by derived class to actually perform the comparison + + + + + Modifies the constraint to use an and returns self + + The comparer used for comparison tests + A constraint modified to use the given comparer + + + + Modifies the constraint to use an and returns self + + The comparer used for comparison tests + A constraint modified to use the given comparer + + + + Modifies the constraint to use a and returns self + + The comparer used for comparison tests + A constraint modified to use the given comparer + + + + Set the tolerance for use in this comparison + + + + + Switches the .Within() modifier to interpret its tolerance as + a percentage that the actual _values is allowed to deviate from + the expected value. + + Self + + + + Delegate used to delay evaluation of the actual value + to be used in evaluating a constraint + + + + + The Constraint class is the base of all built-in constraints + within NUnit. It provides the operator overloads used to combine + constraints. + + + + + Construct a constraint with optional arguments + + Arguments to be saved + + + + The display name of this Constraint for use by ToString(). + The default value is the name of the constraint with + trailing "Constraint" removed. Derived classes may set + this to another name in their constructors. + + + + + The Description of what this constraint tests, for + use in messages and in the ConstraintResult. + + + + + Arguments provided to this Constraint, for use in + formatting the description. + + + + + The ConstraintBuilder holding this constraint + + + + + Applies the constraint to an actual value, returning a ConstraintResult. + + The value to be tested + A ConstraintResult + + + + Applies the constraint to an ActualValueDelegate that returns + the value to be tested. The default implementation simply evaluates + the delegate but derived classes may override it to provide for + delayed processing. + + An ActualValueDelegate + A ConstraintResult + + + + Test whether the constraint is satisfied by a given reference. + The default implementation simply dereferences the value but + derived classes may override it to provide for delayed processing. + + A reference to the value to be tested + A ConstraintResult + + + + Retrieves the value to be tested from an ActualValueDelegate. + The default implementation simply evaluates the delegate but derived + classes may override it to provide for delayed processing. + + An ActualValueDelegate + Delegate evaluation result + + + + Default override of ToString returns the constraint DisplayName + followed by any arguments within angle brackets. + + + + + + Returns the string representation of this constraint + + + + + This operator creates a constraint that is satisfied only if both + argument constraints are satisfied. + + + + + This operator creates a constraint that is satisfied if either + of the argument constraints is satisfied. + + + + + This operator creates a constraint that is satisfied if the + argument constraint is not satisfied. + + + + + Returns a ConstraintExpression by appending And + to the current constraint. + + + + + Returns a ConstraintExpression by appending And + to the current constraint. + + + + + Returns a ConstraintExpression by appending Or + to the current constraint. + + + + + Returns a DelayedConstraint.WithRawDelayInterval with the specified delay time. + + The delay, which defaults to milliseconds. + + + + + Returns a DelayedConstraint with the specified delay time + and polling interval. + + The delay in milliseconds. + The interval at which to test the constraint. + + + + + Resolves any pending operators and returns the resolved constraint. + + + + + ConstraintBuilder maintains the stacks that are used in + processing a ConstraintExpression. An OperatorStack + is used to hold operators that are waiting for their + operands to be reorganized. a ConstraintStack holds + input constraints as well as the results of each + operator applied. + + + + + OperatorStack is a type-safe stack for holding ConstraintOperators + + + + + Initializes a new instance of the class. + + The ConstraintBuilder using this stack. + + + + Gets a value indicating whether this is empty. + + true if empty; otherwise, false. + + + + Gets the topmost operator without modifying the stack. + + + + + Pushes the specified operator onto the stack. + + The operator to put onto the stack. + + + + Pops the topmost operator from the stack. + + The topmost operator on the stack + + + + ConstraintStack is a type-safe stack for holding Constraints + + + + + Initializes a new instance of the class. + + The ConstraintBuilder using this stack. + + + + Gets a value indicating whether this is empty. + + true if empty; otherwise, false. + + + + Pushes the specified constraint. As a side effect, + the constraint's Builder field is set to the + ConstraintBuilder owning this stack. + + The constraint to put onto the stack + + + + Pops this topmost constraint from the stack. + As a side effect, the constraint's Builder + field is set to null. + + The topmost contraint on the stack + + + + Initializes a new instance of the class. + + + + + Appends the specified operator to the expression by first + reducing the operator stack and then pushing the new + operator on the stack. + + The operator to push. + + + + Appends the specified constraint to the expression by pushing + it on the constraint stack. + + The constraint to push. + + + + Sets the top operator right context. + + The right context. + + + + Reduces the operator stack until the topmost item + precedence is greater than or equal to the target precedence. + + The target precedence. + + + + Resolves this instance, returning a Constraint. If the Builder + is not currently in a resolvable state, an exception is thrown. + + The resolved constraint + + + + Gets a value indicating whether this instance is resolvable. + + + true if this instance is resolvable; otherwise, false. + + + + + ConstraintExpression represents a compound constraint in the + process of being constructed from a series of syntactic elements. + + Individual elements are appended to the expression as they are + reorganized. When a constraint is appended, it is returned as the + value of the operation so that modifiers may be applied. However, + any partially built expression is attached to the constraint for + later resolution. When an operator is appended, the partial + expression is returned. If it's a self-resolving operator, then + a ResolvableConstraintExpression is returned. + + + + + The ConstraintBuilder holding the elements recognized so far + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the + class passing in a ConstraintBuilder, which may be pre-populated. + + The builder. + + + + Returns a string representation of the expression as it + currently stands. This should only be used for testing, + since it has the side-effect of resolving the expression. + + + + + + Appends an operator to the expression and returns the + resulting expression itself. + + + + + Appends a self-resolving operator to the expression and + returns a new ResolvableConstraintExpression. + + + + + Appends a constraint to the expression and returns that + constraint, which is associated with the current state + of the expression being built. Note that the constraint + is not reduced at this time. For example, if there + is a NotOperator on the stack we don't reduce and + return a NotConstraint. The original constraint must + be returned because it may support modifiers that + are yet to be applied. + + + + + Returns a ConstraintExpression that negates any + following constraint. + + + + + Returns a ConstraintExpression that negates any + following constraint. + + + + + Returns a ConstraintExpression, which will apply + the following constraint to all members of a collection, + succeeding if all of them succeed. + + + + + Returns a ConstraintExpression, which will apply + the following constraint to all members of a collection, + succeeding if at least one of them succeeds. + + + + + Returns a ConstraintExpression, which will apply + the following constraint to all members of a collection, + succeeding if all of them fail. + + + + + Returns a ConstraintExpression, which will apply + the following constraint to all members of a collection, + succeeding only if a specified number of them succeed. + + + + + Returns a new PropertyConstraintExpression, which will either + test for the existence of the named property on the object + being tested or apply any following constraint to that property. + + + + + Returns a new ConstraintExpression, which will apply the following + constraint to the Length property of the object being tested. + + + + + Returns a new ConstraintExpression, which will apply the following + constraint to the Count property of the object being tested. + + + + + Returns a new ConstraintExpression, which will apply the following + constraint to the Message property of the object being tested. + + + + + Returns a new ConstraintExpression, which will apply the following + constraint to the InnerException property of the object being tested. + + + + + Returns a new AttributeConstraint checking for the + presence of a particular attribute on an object. + + + + + Returns a new AttributeConstraint checking for the + presence of a particular attribute on an object. + + + + + With is currently a NOP - reserved for future use. + + + + + Returns the constraint provided as an argument - used to allow custom + custom constraints to easily participate in the syntax. + + + + + Returns the constraint provided as an argument - used to allow custom + custom constraints to easily participate in the syntax. + + + + + Returns a constraint that tests for null + + + + + Returns a constraint that tests for True + + + + + Returns a constraint that tests for False + + + + + Returns a constraint that tests for a positive value + + + + + Returns a constraint that tests for a negative value + + + + + Returns a constraint that tests if item is equal to zero + + + + + Returns a constraint that tests for NaN + + + + + Returns a constraint that tests for empty + + + + + Returns a constraint that tests whether a collection + contains all unique items. + + + + + Returns a constraint that tests whether an object graph is serializable in binary format. + + + + + Returns a constraint that tests whether an object graph is serializable in xml format. + + + + + Returns a constraint that tests two items for equality + + + + + Returns a constraint that tests that two references are the same object + + + + + Returns a constraint that tests whether the + actual value is greater than the supplied argument + + + + + Returns a constraint that tests whether the + actual value is greater than or equal to the supplied argument + + + + + Returns a constraint that tests whether the + actual value is greater than or equal to the supplied argument + + + + + Returns a constraint that tests whether the + actual value is less than the supplied argument + + + + + Returns a constraint that tests whether the + actual value is less than or equal to the supplied argument + + + + + Returns a constraint that tests whether the + actual value is less than or equal to the supplied argument + + + + + Returns a constraint that tests whether the actual + value is of the exact type supplied as an argument. + + + + + Returns a constraint that tests whether the actual + value is of the exact type supplied as an argument. + + + + + Returns a constraint that tests whether the actual value + is of the type supplied as an argument or a derived type. + + + + + Returns a constraint that tests whether the actual value + is of the type supplied as an argument or a derived type. + + + + + Returns a constraint that tests whether the actual value + is assignable from the type supplied as an argument. + + + + + Returns a constraint that tests whether the actual value + is assignable from the type supplied as an argument. + + + + + Returns a constraint that tests whether the actual value + is assignable from the type supplied as an argument. + + + + + Returns a constraint that tests whether the actual value + is assignable from the type supplied as an argument. + + + + + Returns a constraint that tests whether the actual value + is a collection containing the same elements as the + collection supplied as an argument. + + + + + Returns a constraint that tests whether the actual value + is a subset of the collection supplied as an argument. + + + + + Returns a constraint that tests whether the actual value + is a superset of the collection supplied as an argument. + + + + + Returns a constraint that tests whether a collection is ordered + + + + + Returns a new CollectionContainsConstraint checking for the + presence of a particular object in the collection. + + + + + Returns a new CollectionContainsConstraint checking for the + presence of a particular object in the collection. + + + + + Returns a new ContainsConstraint. This constraint + will, in turn, make use of the appropriate second-level + constraint, depending on the type of the actual argument. + This overload is only used if the item sought is a string, + since any other type implies that we are looking for a + collection member. + + + + + Returns a new CollectionContainsConstraint checking for the + presence of a particular object in the collection. + + + + + Returns a new ContainsConstraint. This constraint + will, in turn, make use of the appropriate second-level + constraint, depending on the type of the actual argument. + This overload is only used if the item sought is a string, + since any other type implies that we are looking for a + collection member. + + + + + Returns a new DictionaryContainsKeyConstraint checking for the + presence of a particular key in the Dictionary key collection. + + The key to be matched in the Dictionary key collection + + + + Returns a new DictionaryContainsValueConstraint checking for the + presence of a particular value in the Dictionary value collection. + + The value to be matched in the Dictionary value collection + + + + Returns a constraint that succeeds if the actual + value contains the substring supplied as an argument. + + + + + Returns a constraint that succeeds if the actual + value contains the substring supplied as an argument. + + + + + Returns a constraint that succeeds if the actual + value starts with the substring supplied as an argument. + + + + + Returns a constraint that succeeds if the actual + value starts with the substring supplied as an argument. + + + + + Returns a constraint that succeeds if the actual + value starts with the substring supplied as an argument. + + + + + Returns a constraint that succeeds if the actual + value ends with the substring supplied as an argument. + + + + + Returns a constraint that succeeds if the actual + value ends with the substring supplied as an argument. + + + + + Returns a constraint that succeeds if the actual + value ends with the substring supplied as an argument. + + + + + Returns a constraint that succeeds if the actual + value matches the regular expression supplied as an argument. + + + + + Returns a constraint that succeeds if the actual + value matches the regular expression supplied as an argument. + + + + + Returns a constraint that succeeds if the actual + value matches the regular expression supplied as an argument. + + + + + Returns a constraint that tests whether the path provided + is the same as an expected path after canonicalization. + + + + + Returns a constraint that tests whether the path provided + is the a subpath of the expected path after canonicalization. + + + + + Returns a constraint that tests whether the path provided + is the same path or under an expected path after canonicalization. + + + + + Returns a constraint that tests whether the actual value falls + within a specified range. + + + + + Returns a constraint that succeeds if the value + is a file or directory and it exists. + + + + + ConstraintStatus represents the status of a ConstraintResult + returned by a Constraint being applied to an actual value. + + + + + The status has not yet been set + + + + + The constraint succeeded + + + + + The constraint failed + + + + + An error occured in applying the constraint (reserved for future use) + + + + + Contain the result of matching a against an actual value. + + + + + Constructs a for a particular . + + The Constraint to which this result applies. + The actual value to which the Constraint was applied. + + + + Constructs a for a particular . + + The Constraint to which this result applies. + The actual value to which the Constraint was applied. + The status of the new ConstraintResult. + + + + Constructs a for a particular . + + The Constraint to which this result applies. + The actual value to which the Constraint was applied. + If true, applies a status of Success to the result, otherwise Failure. + + + + The actual value that was passed to the method. + + + + + Gets and sets the ResultStatus for this result. + + + + + True if actual value meets the Constraint criteria otherwise false. + + + + + Display friendly name of the constraint. + + + + + Description of the constraint may be affected by the state the constraint had + when was performed against the actual value. + + + + + Write the failure message to the MessageWriter provided + as an argument. The default implementation simply passes + the result and the actual value to the writer, which + then displays the constraint description and the value. + + Constraints that need to provide additional details, + such as where the error occured can override this. + + The MessageWriter on which to display the message + + + + Write the actual value for a failing constraint test to a + MessageWriter. The default implementation simply writes + the raw value of actual, leaving it to the writer to + perform any formatting. + + The writer on which the actual value is displayed + + + + ContainsConstraint tests a whether a string contains a substring + or a collection contains an object. It postpones the decision of + which test to use until the type of the actual argument is known. + This allows testing whether a string is contained in a collection + or as a substring of another string using the same syntax. + + + + + Initializes a new instance of the class. + + The _expected. + + + + The Description of what this constraint tests, for + use in messages and in the ConstraintResult. + + + + + Flag the constraint to ignore case and return self. + + + + + Test whether the constraint is satisfied by a given value + + The value to be tested + True for success, false for failure + + + + Applies a delay to the match so that a match can be evaluated in the future. + + + + + Allows only changing the time dimension of delay interval and setting a polling interval of a DelayedConstraint + + + + + Creates a new DelayedConstraint.WithRawDelayInterval + + Parent DelayedConstraint on which delay interval dimension is required to be set + + + + Changes delay interval dimension to minutes + + + + + Changes delay interval dimension to seconds + + + + + Changes delay interval dimension to milliseconds + + + + + Set polling interval, in milliseconds + + A time interval, in milliseconds + + + + + Allows only setting the polling interval of a DelayedConstraint + + + + + Creates a new DelayedConstraint.WithDimensionedDelayInterval + + Parent DelayedConstraint on which polling interval is required to be set + + + + Set polling interval, in milliseconds + + A time interval, in milliseconds + + + + + Allows only changing the time dimension of the polling interval of a DelayedConstraint + + + + + Creates a new DelayedConstraint.WithRawPollingInterval + + Parent DelayedConstraint on which polling dimension is required to be set + + + + Changes polling interval dimension to minutes + + + + + Changes polling interval dimension to seconds + + + + + Changes polling interval dimension to milliseconds + + + + + Delay value store as an Interval object + + + + + Polling value stored as an Interval object + + + + + Creates a new DelayedConstraint + + The inner constraint to decorate + The time interval after which the match is performed + If the value of is less than 0 + + + + Creates a new DelayedConstraint + + The inner constraint to decorate + The time interval after which the match is performed, in milliseconds + The time interval used for polling, in milliseconds + If the value of is less than 0 + + + + Gets text describing a constraint + + + + + Test whether the constraint is satisfied by a given value + + The value to be tested + True for if the base constraint fails, false if it succeeds + + + + Test whether the constraint is satisfied by a delegate + + The delegate whose value is to be tested + A ConstraintResult + + + + Test whether the constraint is satisfied by a given reference. + Overridden to wait for the specified delay period before + calling the base constraint with the dereferenced value. + + A reference to the value to be tested + True for success, false for failure + + + + Returns the string representation of the constraint. + + + + + Adjusts a Timestamp by a given TimeSpan + + + + + + + + Returns the difference between two Timestamps as a TimeSpan + + + + + + + + DictionaryContainsKeyConstraint is used to test whether a dictionary + contains an expected object as a key. + + + + + Construct a DictionaryContainsKeyConstraint + + + + + + The display name of this Constraint for use by ToString(). + The default value is the name of the constraint with + trailing "Constraint" removed. Derived classes may set + this to another name in their constructors. + + + + + The Description of what this constraint tests, for + use in messages and in the ConstraintResult. + + + + + Test whether the expected key is contained in the dictionary + + + + + DictionaryContainsValueConstraint is used to test whether a dictionary + contains an expected object as a value. + + + + + Construct a DictionaryContainsValueConstraint + + + + + + The display name of this Constraint for use by ToString(). + The default value is the name of the constraint with + trailing "Constraint" removed. Derived classes may set + this to another name in their constructors. + + + + + The Description of what this constraint tests, for + use in messages and in the ConstraintResult. + + + + + Test whether the expected value is contained in the dictionary + + + + + EmptyCollectionConstraint tests whether a collection is empty. + + + + + The Description of what this constraint tests, for + use in messages and in the ConstraintResult. + + + + + Check that the collection is empty + + + + + + + EmptyConstraint tests a whether a string or collection is empty, + postponing the decision about which test is applied until the + type of the actual argument is known. + + + + + The Description of what this constraint tests, for + use in messages and in the ConstraintResult. + + + + + Test whether the constraint is satisfied by a given value + + The value to be tested + True for success, false for failure + + + + EmptyDirectoryConstraint is used to test that a directory is empty + + + + + The Description of what this constraint tests, for + use in messages and in the ConstraintResult. + + + + + Test whether the constraint is satisfied by a given value + + The value to be tested + True for success, false for failure + + + + EmptyStringConstraint tests whether a string is empty. + + + + + The Description of what this constraint tests, for + use in messages and in the ConstraintResult. + + + + + Test whether the constraint is satisfied by a given value + + The value to be tested + True for success, false for failure + + + + EndsWithConstraint can test whether a string ends + with an expected substring. + + + + + Initializes a new instance of the class. + + The expected string + + + + Test whether the constraint is matched by the actual value. + This is a template method, which calls the IsMatch method + of the derived class. + + + + + + + EqualConstraint is able to compare an actual value with the + expected value provided in its constructor. Two objects are + considered equal if both are null, or if both have the same + value. NUnit has special semantics for some object types. + + + + + NUnitEqualityComparer used to test equality. + + + + + Initializes a new instance of the class. + + The expected value. + + + + Gets the tolerance for this comparison. + + + The tolerance. + + + + + Gets a value indicating whether to compare case insensitive. + + + true if comparing case insensitive; otherwise, false. + + + + + Gets a value indicating whether or not to clip strings. + + + true if set to clip strings otherwise, false. + + + + + Gets the failure points. + + + The failure points. + + + + + Flag the constraint to ignore case and return self. + + + + + Flag the constraint to suppress string clipping + and return self. + + + + + Flag the constraint to compare arrays as collections + and return self. + + + + + Flag the constraint to use a tolerance when determining equality. + + Tolerance value to be used + Self. + + + + Flags the constraint to include + property in comparison of two values. + + + Using this modifier does not allow to use the + constraint modifier. + + + + + Switches the .Within() modifier to interpret its tolerance as + a distance in representable _values (see remarks). + + Self. + + Ulp stands for "unit in the last place" and describes the minimum + amount a given value can change. For any integers, an ulp is 1 whole + digit. For floating point _values, the accuracy of which is better + for smaller numbers and worse for larger numbers, an ulp depends + on the size of the number. Using ulps for comparison of floating + point results instead of fixed tolerances is safer because it will + automatically compensate for the added inaccuracy of larger numbers. + + + + + Switches the .Within() modifier to interpret its tolerance as + a percentage that the actual _values is allowed to deviate from + the expected value. + + Self + + + + Causes the tolerance to be interpreted as a TimeSpan in days. + + Self + + + + Causes the tolerance to be interpreted as a TimeSpan in hours. + + Self + + + + Causes the tolerance to be interpreted as a TimeSpan in minutes. + + Self + + + + Causes the tolerance to be interpreted as a TimeSpan in seconds. + + Self + + + + Causes the tolerance to be interpreted as a TimeSpan in milliseconds. + + Self + + + + Causes the tolerance to be interpreted as a TimeSpan in clock ticks. + + Self + + + + Flag the constraint to use the supplied IComparer object. + + The IComparer object to use. + Self. + + + + Flag the constraint to use the supplied IComparer object. + + The IComparer object to use. + Self. + + + + Flag the constraint to use the supplied Comparison object. + + The IComparer object to use. + Self. + + + + Flag the constraint to use the supplied IEqualityComparer object. + + The IComparer object to use. + Self. + + + + Flag the constraint to use the supplied IEqualityComparer object. + + The IComparer object to use. + Self. + + + + Test whether the constraint is satisfied by a given value + + The value to be tested + True for success, false for failure + + + + The Description of what this constraint tests, for + use in messages and in the ConstraintResult. + + + + + EqualityAdapter class handles all equality comparisons + that use an , + or a . + + + + + Compares two objects, returning true if they are equal + + + + + Returns true if the two objects can be compared by this adapter. + The base adapter cannot handle IEnumerables except for strings. + + + + + Returns an that wraps an . + + + + + that wraps an . + + + + + Returns an that wraps an . + + + + + Returns an EqualityAdapter that uses a predicate function for items comparison. + + + + + + + + + Returns true if the two objects can be compared by this adapter. + The base adapter cannot handle IEnumerables except for strings. + + + + + Compares two objects, returning true if they are equal + + + + + Returns true if the two objects can be compared by this adapter. + Generic adapter requires objects of the specified type. + + + + + Returns an that wraps an . + + + + + Returns an that wraps an . + + + + + that wraps an . + + + + + Returns an that wraps a . + + + + + ExactTypeConstraint is used to test that an object + is of the exact type provided in the constructor + + + + + Construct an ExactTypeConstraint for a given Type + + The expected Type. + + + + The display name of this Constraint for use by ToString(). + The default value is the name of the constraint with + trailing "Constraint" removed. Derived classes may set + this to another name in their constructors. + + + + + Apply the constraint to an actual value, returning true if it succeeds + + The actual argument + True if the constraint succeeds, otherwise false. + + + + The Description of what this constraint tests, for + use in messages and in the ConstraintResult. + + + + + Applies the constraint to an actual value, returning a ConstraintResult. + + The value to be tested + A ConstraintResult + + + + FalseConstraint tests that the actual value is false + + + + + Initializes a new instance of the class. + + + + + Test whether the constraint is satisfied by a given value + + The value to be tested + True for success, false for failure + + + + FileExistsConstraint is used to determine if a file exists + + + + + Initializes a new instance of the class. + + + + + The Description of what this constraint tests, for + use in messages and in the ConstraintResult. + + + + + FileOrDirectoryExistsConstraint is used to determine if a file or directory exists + + + + + If true, the constraint will only check if files exist, not directories + + + + + If true, the constraint will only check if directories exist, not files + + + + + Initializes a new instance of the class that + will check files and directories. + + + + + Initializes a new instance of the class that + will only check files if ignoreDirectories is true. + + if set to true [ignore directories]. + + + + The Description of what this constraint tests, for + use in messages and in the ConstraintResult. + + + + + Applies the constraint to an actual value, returning a ConstraintResult. + + The value to be tested + A ConstraintResult + + + Helper routines for working with floating point numbers + + + The floating point comparison code is based on this excellent article: + http://www.cygnus-software.com/papers/comparingfloats/comparingfloats.htm + + + "ULP" means Unit in the Last Place and in the context of this library refers to + the distance between two adjacent floating point numbers. IEEE floating point + numbers can only represent a finite subset of natural numbers, with greater + accuracy for smaller numbers and lower accuracy for very large numbers. + + + If a comparison is allowed "2 ulps" of deviation, that means the _values are + allowed to deviate by up to 2 adjacent floating point _values, which might be + as low as 0.0000001 for small numbers or as high as 10.0 for large numbers. + + + + + Union of a floating point variable and an integer + + + The union's value as a floating point variable + + + The union's value as an integer + + + The union's value as an unsigned integer + + + Union of a double precision floating point variable and a long + + + The union's value as a double precision floating point variable + + + The union's value as a long + + + The union's value as an unsigned long + + + Compares two floating point _values for equality + First floating point value to be compared + Second floating point value t be compared + + Maximum number of representable floating point _values that are allowed to + be between the left and the right floating point _values + + True if both numbers are equal or close to being equal + + + Floating point _values can only represent a finite subset of natural numbers. + For example, the _values 2.00000000 and 2.00000024 can be stored in a float, + but nothing inbetween them. + + + This comparison will count how many possible floating point _values are between + the left and the right number. If the number of possible _values between both + numbers is less than or equal to maxUlps, then the numbers are considered as + being equal. + + + Implementation partially follows the code outlined here: + http://www.anttirt.net/2007/08/19/proper-floating-point-comparisons/ + + + + + Compares two double precision floating point _values for equality + First double precision floating point value to be compared + Second double precision floating point value t be compared + + Maximum number of representable double precision floating point _values that are + allowed to be between the left and the right double precision floating point _values + + True if both numbers are equal or close to being equal + + + Double precision floating point _values can only represent a limited series of + natural numbers. For example, the _values 2.0000000000000000 and 2.0000000000000004 + can be stored in a double, but nothing inbetween them. + + + This comparison will count how many possible double precision floating point + _values are between the left and the right number. If the number of possible + _values between both numbers is less than or equal to maxUlps, then the numbers + are considered as being equal. + + + Implementation partially follows the code outlined here: + http://www.anttirt.net/2007/08/19/proper-floating-point-comparisons/ + + + + + + Reinterprets the memory contents of a floating point value as an integer value + + + Floating point value whose memory contents to reinterpret + + + The memory contents of the floating point value interpreted as an integer + + + + + Reinterprets the memory contents of a double precision floating point + value as an integer value + + + Double precision floating point value whose memory contents to reinterpret + + + The memory contents of the double precision floating point value + interpreted as an integer + + + + + Reinterprets the memory contents of an integer as a floating point value + + Integer value whose memory contents to reinterpret + + The memory contents of the integer value interpreted as a floating point value + + + + + Reinterprets the memory contents of an integer value as a double precision + floating point value + + Integer whose memory contents to reinterpret + + The memory contents of the integer interpreted as a double precision + floating point value + + + + + Tests whether a value is greater than the value supplied to its constructor + + + + + Initializes a new instance of the class. + + The expected value. + + + + Perform the comparison + + + + + Tests whether a value is greater than or equal to the value supplied to its constructor + + + + + Initializes a new instance of the class. + + The expected value. + + + + Perform the comparison + + + + + Interface for all constraints + + + + + The display name of this Constraint for use by ToString(). + + + + + The Description of what this constraint tests, for + use in messages and in the ConstraintResult. + + + + + Arguments provided to this Constraint, for use in + formatting the description. + + + + + The ConstraintBuilder holding this constraint + + + + + Applies the constraint to an actual value, returning a ConstraintResult. + + The value to be tested + A ConstraintResult + + + + Applies the constraint to an ActualValueDelegate that returns + the value to be tested. The default implementation simply evaluates + the delegate but derived classes may override it to provide for + delayed processing. + + An ActualValueDelegate + A ConstraintResult + + + + Test whether the constraint is satisfied by a given reference. + The default implementation simply dereferences the value but + derived classes may override it to provide for delayed processing. + + A reference to the value to be tested + A ConstraintResult + + + + InstanceOfTypeConstraint is used to test that an object + is of the same type provided or derived from it. + + + + + Construct an InstanceOfTypeConstraint for the type provided + + The expected Type + + + + The display name of this Constraint for use by ToString(). + The default value is the name of the constraint with + trailing "Constraint" removed. Derived classes may set + this to another name in their constructors. + + + + + Apply the constraint to an actual value, returning true if it succeeds + + The actual argument + True if the constraint succeeds, otherwise false. + + + + Keeps track of an interval time which can be represented in + Minutes, Seconds or Milliseconds + + + + + Constructs a interval given an value in milliseconds + + + + + Gets Interval value represented as a TimeSpan object + + + + + Returns the interval with the current value as a number of minutes. + + + + + Returns the interval with the current value as a number of seconds. + + + + + Returns the interval with the current value as a number of milliseconds. + + + + + Is true for intervals created with a non zero value + + + + + Returns a string that represents the current object. + + + A string that represents the current object. + + + + + IntervalUnit provides the semantics to the value stored in Interval class. + + + + + Unit representing an Interval in minutes + + + + + Unit representing an Interval in seconds + + + + + Unit representing an Interval in milliseconds + + + + + The IResolveConstraint interface is implemented by all + complete and resolvable constraints and expressions. + + + + + Return the top-level constraint for this expression + + + + + + An extension of ResolvableConstraintExpression that adds a no-op Items property for readability. + + + + + Create a new instance of ItemsConstraintExpression + + + + + Create a new instance of ResolvableConstraintExpression, + passing in a pre-populated ConstraintBuilder. + + + + + + No-op property for readability. + + + + + Tests whether a value is less than the value supplied to its constructor + + + + + Initializes a new instance of the class. + + The expected value. + + + + Perform the comparison + + + + + Tests whether a value is less than or equal to the value supplied to its constructor + + + + + Initializes a new instance of the class. + + The expected value. + + + + Perform the comparison + + + + + MessageWriter is the abstract base for classes that write + constraint descriptions and messages in some form. The + class has separate methods for writing various components + of a message, allowing implementations to tailor the + presentation as needed. + + + + + Construct a MessageWriter given a culture + + + + + Abstract method to get the max line length + + + + + Method to write single line message with optional args, usually + written to precede the general failure message. + + The message to be written + Any arguments used in formatting the message + + + + Method to write single line message with optional args, usually + written to precede the general failure message, at a given + indentation level. + + The indentation level of the message + The message to be written + Any arguments used in formatting the message + + + + Display Expected and Actual lines for a constraint. This + is called by MessageWriter's default implementation of + WriteMessageTo and provides the generic two-line display. + + The failing constraint result + + + + Display Expected and Actual lines for given _values. This + method may be called by constraints that need more control over + the display of actual and expected _values than is provided + by the default implementation. + + The expected value + The actual value causing the failure + + + + Display Expected and Actual lines for given _values, including + a tolerance value on the Expected line. + + The expected value + The actual value causing the failure + The tolerance within which the test was made + + + + Display the expected and actual string _values on separate lines. + If the mismatch parameter is >=0, an additional line is displayed + line containing a caret that points to the mismatch point. + + The expected string value + The actual string value + The point at which the strings don't match or -1 + If true, case is ignored in locating the point where the strings differ + If true, the strings should be clipped to fit the line + + + + Writes the text for an actual value. + + The actual value. + + + + Writes the text for a generalized value. + + The value. + + + + Writes the text for a collection value, + starting at a particular point, to a max length + + The collection containing elements to write. + The starting point of the elements to write + The maximum number of elements to write + + + + Custom value formatter function + + The value + + + + + Custom value formatter factory function + + The next formatter function + ValueFormatter + If the given formatter is unable to handle a certain format, it must call the next formatter in the chain + + + + Static methods used in creating messages + + + + + Static string used when strings are clipped + + + + + Formatting strings used for expected and actual _values + + + + + Current head of chain of value formatters. Public for testing. + + + + + Add a formatter to the chain of responsibility. + + + + + + Formats text to represent a generalized value. + + The value + The formatted text + + + + Formats text for a collection value, + starting at a particular point, to a max length + + The collection containing elements to write. + The starting point of the elements to write + The maximum number of elements to write + + + + Returns the representation of a type as used in NUnitLite. + This is the same as Type.ToString() except for arrays, + which are displayed with their declared sizes. + + + + + + + Converts any control characters in a string + to their escaped representation. + + The string to be converted + The converted string + + + + Converts any null characters in a string + to their escaped representation. + + The string to be converted + The converted string + + + + Return the a string representation for a set of indices into an array + + Array of indices for which a string is needed + + + + Get an array of indices representing the point in a collection or + array corresponding to a single int index into the collection. + + The collection to which the indices apply + Index in the collection + Array of indices + + + + Clip a string to a given length, starting at a particular offset, returning the clipped + string with ellipses representing the removed parts + + The string to be clipped + The maximum permitted length of the result string + The point at which to start clipping + The clipped string + + + + Clip the expected and actual strings in a coordinated fashion, + so that they may be displayed together. + + + + + + + + + Shows the position two strings start to differ. Comparison + starts at the start index. + + The expected string + The actual string + The index in the strings at which comparison should start + Boolean indicating whether case should be ignored + -1 if no mismatch found, or the index where mismatch found + + + + NaNConstraint tests that the actual value is a double or float NaN + + + + + The Description of what this constraint tests, for + use in messages and in the ConstraintResult. + + + + + Test that the actual value is an NaN + + + + + + + NoItemConstraint applies another constraint to each + item in a collection, failing if any of them succeeds. + + + + + Construct a SomeItemsConstraint on top of an existing constraint + + + + + + The display name of this Constraint for use by ToString(). + The default value is the name of the constraint with + trailing "Constraint" removed. Derived classes may set + this to another name in their constructors. + + + + + Apply the item constraint to each item in the collection, + failing if any item fails. + + + + + + + NotConstraint negates the effect of some other constraint + + + + + Initializes a new instance of the class. + + The base constraint to be negated. + + + + Test whether the constraint is satisfied by a given value + + The value to be tested + True for if the base constraint fails, false if it succeeds + + + + NullConstraint tests that the actual value is null + + + + + Initializes a new instance of the class. + + + + + Applies the constraint to an actual value, returning a ConstraintResult. + + The value to be tested + A ConstraintResult + + + + The Numerics class contains common operations on numeric _values. + + + + + Checks the type of the object, returning true if + the object is a numeric type. + + The object to check + true if the object is a numeric type + + + + Checks the type of the object, returning true if + the object is a floating point numeric type. + + The object to check + true if the object is a floating point numeric type + + + + Checks the type of the object, returning true if + the object is a fixed point numeric type. + + The object to check + true if the object is a fixed point numeric type + + + + Test two numeric _values for equality, performing the usual numeric + conversions and using a provided or default tolerance. If the tolerance + provided is Empty, this method may set it to a default tolerance. + + The expected value + The actual value + A reference to the tolerance in effect + True if the _values are equal + + + + Compare two numeric _values, performing the usual numeric conversions. + + The expected value + The actual value + The relationship of the _values to each other + + + + NUnitComparer encapsulates NUnit's default behavior + in comparing two objects. + + + + + Returns the default NUnitComparer. + + + + + Compares two objects + + + + + + + + NUnitEqualityComparer encapsulates NUnit's handling of + equality tests between objects. + + + + + If true, all string comparisons will ignore case + + + + + If true, arrays will be treated as collections, allowing + those of different dimensions to be compared + + + + + Comparison objects used in comparisons for some constraints. + + + + + List of points at which a failure occurred. + + + + + Returns the default NUnitEqualityComparer + + + + + Gets and sets a flag indicating whether case should + be ignored in determining equality. + + + + + Gets and sets a flag indicating that arrays should be + compared as collections, without regard to their shape. + + + + + Gets the list of external comparers to be used to + test for equality. They are applied to members of + collections, in place of NUnit's own logic. + + + + + Gets the list of failure points for the last Match performed. + The list consists of objects to be interpreted by the caller. + This generally means that the caller may only make use of + objects it has placed on the list at a particular depth. + + + + + Flags the comparer to include + property in comparison of two values. + + + Using this modifier does not allow to use the + modifier. + + + + + Compares two objects for equality within a tolerance. + + + + + Helper method to compare two arrays + + + + + Method to compare two DirectoryInfo objects + + first directory to compare + second directory to compare + true if equivalent, false if not + + + + FailurePoint class represents one point of failure + in an equality test. + + + + + The location of the failure + + + + + The expected value + + + + + The actual value + + + + + Indicates whether the expected value is valid + + + + + Indicates whether the actual value is valid + + + + + Represents a constraint that succeeds if all the + members of a collection match a base constraint. + + + + + Returns a constraint that will apply the argument + to the members of a collection, succeeding if + they all succeed. + + + + + Operator that requires both it's arguments to succeed + + + + + Construct an AndOperator + + + + + Apply the operator to produce an AndConstraint + + + + + Operator that tests for the presence of a particular attribute + on a type and optionally applies further tests to the attribute. + + + + + Construct an AttributeOperator for a particular Type + + The Type of attribute tested + + + + Reduce produces a constraint from the operator and + any arguments. It takes the arguments from the constraint + stack and pushes the resulting constraint on it. + + + + + Abstract base class for all binary operators + + + + + Reduce produces a constraint from the operator and + any arguments. It takes the arguments from the constraint + stack and pushes the resulting constraint on it. + + + + + + Gets the left precedence of the operator + + + + + Gets the right precedence of the operator + + + + + Abstract method that produces a constraint by applying + the operator to its left and right constraint arguments. + + + + + Abstract base for operators that indicate how to + apply a constraint to items in a collection. + + + + + Constructs a CollectionOperator + + + + + The ConstraintOperator class is used internally by a + ConstraintBuilder to represent an operator that + modifies or combines constraints. + + Constraint operators use left and right precedence + _values to determine whether the top operator on the + stack should be reduced before pushing a new operator. + + + + + The precedence value used when the operator + is about to be pushed to the stack. + + + + + The precedence value used when the operator + is on the top of the stack. + + + + + The syntax element preceding this operator + + + + + The syntax element following this operator + + + + + The precedence value used when the operator + is about to be pushed to the stack. + + + + + The precedence value used when the operator + is on the top of the stack. + + + + + Reduce produces a constraint from the operator and + any arguments. It takes the arguments from the constraint + stack and pushes the resulting constraint on it. + + + + + + Represents a constraint that succeeds if none of the + members of a collection match a base constraint. + + + + + Returns a constraint that will apply the argument + to the members of a collection, succeeding if + none of them succeed. + + + + + Negates the test of the constraint it wraps. + + + + + Constructs a new NotOperator + + + + + Returns a NotConstraint applied to its argument. + + + + + Operator that requires at least one of it's arguments to succeed + + + + + Construct an OrOperator + + + + + Apply the operator to produce an OrConstraint + + + + + PrefixOperator takes a single constraint and modifies + it's action in some way. + + + + + Reduce produces a constraint from the operator and + any arguments. It takes the arguments from the constraint + stack and pushes the resulting constraint on it. + + + + + + Returns the constraint created by applying this + prefix to another constraint. + + + + + + + Operator used to test for the presence of a named Property + on an object and optionally apply further tests to the + value of that property. + + + + + Gets the name of the property to which the operator applies + + + + + Constructs a PropOperator for a particular named property + + + + + Reduce produces a constraint from the operator and + any arguments. It takes the arguments from the constraint + stack and pushes the resulting constraint on it. + + + + + + Abstract base class for operators that are able to reduce to a + constraint whether or not another syntactic element follows. + + + + + Represents a constraint that succeeds if any of the + members of a collection match a base constraint. + + + + + Returns a constraint that will apply the argument + to the members of a collection, succeeding if + any of them succeed. + + + + + Operator that tests that an exception is thrown and + optionally applies further tests to the exception. + + + + + Construct a ThrowsOperator + + + + + Reduce produces a constraint from the operator and + any arguments. It takes the arguments from the constraint + stack and pushes the resulting constraint on it. + + + + + Represents a constraint that simply wraps the + constraint provided as an argument, without any + further functionality, but which modifies the + order of evaluation because of its precedence. + + + + + Constructor for the WithOperator + + + + + Returns a constraint that wraps its argument + + + + + OrConstraint succeeds if either member succeeds + + + + + Create an OrConstraint from two other constraints + + The first constraint + The second constraint + + + + Gets text describing a constraint + + + + + Apply the member constraints to an actual value, succeeding + succeeding as soon as one of them succeeds. + + The actual value + True if either constraint succeeded + + + + PathConstraint serves as the abstract base of constraints + that operate on paths and provides several helper methods. + + + + + Construct a PathConstraint for a give expected path + + The expected path + + + + Modifies the current instance to be case-sensitive + and returns it. + + + + + Returns the string representation of this constraint + + + + + Canonicalize the provided path + + + The path in standardized form + + + + Test whether one path in canonical form is a subpath of another path + + The first path - supposed to be the parent path + The second path - supposed to be the child path + + + + + Predicate constraint wraps a Predicate in a constraint, + returning success if the predicate is true. + + + + + Construct a PredicateConstraint from a predicate + + + + + Gets text describing a constraint + + + + + Determines whether the predicate succeeds when applied + to the actual value. + + + + + Abstract base class used for prefixes + + + + + The base constraint + + + + + Prefix used in forming the constraint description + + + + + Construct given a base constraint + + + + + + The Description of what this constraint tests, for + use in messages and in the ConstraintResult. + + + + + Formats a prefix constraint's description. + + + + + PropertyConstraint extracts a named property and uses + its value as the actual value for a chained constraint. + + + + + Initializes a new instance of the class. + + The name. + The constraint to apply to the property. + + + + Test whether the constraint is satisfied by a given value + + The value to be tested + True for success, false for failure + + + + Returns the string representation of the constraint. + + + + + + PropertyExistsConstraint tests that a named property + exists on the object provided through Match. + + Originally, PropertyConstraint provided this feature + in addition to making optional tests on the value + of the property. The two constraints are now separate. + + + + + Initializes a new instance of the class. + + The name of the property. + + + + The Description of what this constraint tests, for + use in messages and in the ConstraintResult. + + + + + Test whether the property exists for a given object + + The object to be tested + True for success, false for failure + + + + Returns the string representation of the constraint. + + + + + + RangeConstraint tests whether two _values are within a + specified range. + + + + + Initializes a new instance of the class. + + from must be less than or equal to true + Inclusive beginning of the range. Must be less than or equal to to. + Inclusive end of the range. Must be greater than or equal to from. + + + + Gets text describing a constraint + + + + + Test whether the constraint is satisfied by a given value + + The value to be tested + True for success, false for failure + + + + Modifies the constraint to use an and returns self. + + + + + Modifies the constraint to use an and returns self. + + + + + Modifies the constraint to use a and returns self. + + + + + RegexConstraint can test whether a string matches + the pattern provided. + + + + + Initializes a new instance of the class. + + The pattern. + + + + Test whether the constraint is satisfied by a given value + + The value to be tested + True for success, false for failure + + + + ResolvableConstraintExpression is used to represent a compound + constraint being constructed at a point where the last operator + may either terminate the expression or may have additional + qualifying constraints added to it. + + It is used, for example, for a Property element or for + an Exception element, either of which may be optionally + followed by constraints that apply to the property or + exception. + + + + + Create a new instance of ResolvableConstraintExpression + + + + + Create a new instance of ResolvableConstraintExpression, + passing in a pre-populated ConstraintBuilder. + + + + + Appends an And Operator to the expression + + + + + Appends an Or operator to the expression. + + + + + Resolve the current expression to a Constraint + + + + + ReusableConstraint wraps a constraint expression after + resolving it so that it can be reused consistently. + + + + + Construct a ReusableConstraint from a constraint expression + + The expression to be resolved and reused + + + + Converts a constraint to a ReusableConstraint + + The constraint to be converted + A ReusableConstraint + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Return the top-level constraint for this expression + + + + + + SameAsConstraint tests whether an object is identical to + the object passed to its constructor + + + + + Initializes a new instance of the class. + + The expected object. + + + + The Description of what this constraint tests, for + use in messages and in the ConstraintResult. + + + + + Test whether the constraint is satisfied by a given value + + The value to be tested + True for success, false for failure + + + + Summary description for SamePathConstraint. + + + + + Initializes a new instance of the class. + + The expected path + + + + The Description of what this constraint tests, for + use in messages and in the ConstraintResult. + + + + + Test whether the constraint is satisfied by a given value + + The value to be tested + True for success, false for failure + + + + SamePathOrUnderConstraint tests that one path is under another + + + + + Initializes a new instance of the class. + + The expected path + + + + The Description of what this constraint tests, for + use in messages and in the ConstraintResult. + + + + + Test whether the constraint is satisfied by a given value + + The value to be tested + True for success, false for failure + + + + SomeItemsConstraint applies another constraint to each + item in a collection, succeeding if any of them succeeds. + + + + + Construct a SomeItemsConstraint on top of an existing constraint + + + + + + The display name of this Constraint for use by ToString(). + The default value is the name of the constraint with + trailing "Constraint" removed. Derived classes may set + this to another name in their constructors. + + + + + Apply the item constraint to each item in the collection, + succeeding if any item succeeds. + + + + + + + The EqualConstraintResult class is tailored for formatting + and displaying the result of an EqualConstraint. + + + + + Construct an EqualConstraintResult + + + + + Write a failure message. Overridden to provide custom + failure messages for EqualConstraint. + + The MessageWriter to write to + + + + Display the failure information for two collections that did not match. + + The MessageWriter on which to display + The expected collection. + The actual collection + The depth of this failure in a set of nested collections + + + + Displays a single line showing the types and sizes of the expected + and actual collections or arrays. If both are identical, the value is + only shown once. + + The MessageWriter on which to display + The expected collection or array + The actual collection or array + The indentation level for the message line + + + + Displays a single line showing the point in the expected and actual + arrays at which the comparison failed. If the arrays have different + structures or dimensions, both _values are shown. + + The MessageWriter on which to display + The expected array + The actual array + Index of the failure point in the underlying collections + The indentation level for the message line + + + + Display the failure information for two IEnumerables that did not match. + + The MessageWriter on which to display + The expected enumeration. + The actual enumeration + The depth of this failure in a set of nested collections + + + + StartsWithConstraint can test whether a string starts + with an expected substring. + + + + + Initializes a new instance of the class. + + The expected string + + + + Test whether the constraint is matched by the actual value. + This is a template method, which calls the IsMatch method + of the derived class. + + + + + + + StringConstraint is the abstract base for constraints + that operate on strings. It supports the IgnoreCase + modifier for string operations. + + + + + The expected value + + + + + Indicates whether tests should be case-insensitive + + + + + Description of this constraint + + + + + The Description of what this constraint tests, for + use in messages and in the ConstraintResult. + + + + + Constructs a StringConstraint without an expected value + + + + + Constructs a StringConstraint given an expected value + + The expected value + + + + Modify the constraint to ignore case in matching. + + + + + Test whether the constraint is satisfied by a given value + + The value to be tested + True for success, false for failure + + + + Test whether the constraint is satisfied by a given string + + The string to be tested + True for success, false for failure + + + + SubPathConstraint tests that the actual path is under the expected path + + + + + Initializes a new instance of the class. + + The expected path + + + + The Description of what this constraint tests, for + use in messages and in the ConstraintResult. + + + + + Test whether the constraint is satisfied by a given value + + The value to be tested + True for success, false for failure + + + + SubstringConstraint can test whether a string contains + the expected substring. + + + + + Initializes a new instance of the class. + + The expected. + + + + Test whether the constraint is satisfied by a given value + + The value to be tested + True for success, false for failure + + + + ThrowsConstraint is used to test the exception thrown by + a delegate by applying a constraint to it. + + + + + Initializes a new instance of the class, + using a constraint to be applied to the exception. + + A constraint to apply to the caught exception. + + + + Get the actual exception thrown - used by Assert.Throws. + + + + + Gets text describing a constraint + + + + + Executes the code of the delegate and captures any exception. + If a non-null base constraint was provided, it applies that + constraint to the exception. + + A delegate representing the code to be tested + True if an exception is thrown and the constraint succeeds, otherwise false + + + + Converts an ActualValueDelegate to a TestDelegate + before calling the primary overload. + + + + + + + Write the actual value for a failing constraint test to a + MessageWriter. This override only handles the special message + used when an exception is expected but none is thrown. + + The writer on which the actual value is displayed + + + + ThrowsExceptionConstraint tests that an exception has + been thrown, without any further tests. + + + + + The Description of what this constraint tests, for + use in messages and in the ConstraintResult. + + + + + Executes the code and returns success if an exception is thrown. + + A delegate representing the code to be tested + True if an exception is thrown, otherwise false + + + + Returns the ActualValueDelegate itself as the value to be tested. + + A delegate representing the code to be tested + The delegate itself + + + + ThrowsNothingConstraint tests that a delegate does not + throw an exception. + + + + + Gets text describing a constraint + + + + + Test whether the constraint is satisfied by a given value + + The value to be tested + True if no exception is thrown, otherwise false + + + + Applies the constraint to an ActualValueDelegate that returns + the value to be tested. The default implementation simply evaluates + the delegate but derived classes may override it to provide for + delayed processing. + + An ActualValueDelegate + A ConstraintResult + + + + The Tolerance class generalizes the notion of a tolerance + within which an equality test succeeds. Normally, it is + used with numeric types, but it can be used with any + type that supports taking a difference between two + objects and comparing that difference to a value. + + + + + Returns a default Tolerance object, equivalent to an exact match. + + + + + Returns an empty Tolerance object, equivalent to an exact match. + + + + + Constructs a linear tolerance of a specified amount + + + + + Constructs a tolerance given an amount and + + + + + Returns a new tolerance, using the current amount as a percentage. + + + + + Returns a new tolerance, using the current amount in Ulps + + + + + Returns a new tolerance with a as the amount, using + the current amount as a number of days. + + + + + Returns a new tolerance with a as the amount, using + the current amount as a number of hours. + + + + + Returns a new tolerance with a as the amount, using + the current amount as a number of minutes. + + + + + Returns a new tolerance with a as the amount, using + the current amount as a number of seconds. + + + + + Returns a new tolerance with a as the amount, using + the current amount as a number of milliseconds. + + + + + Returns a new tolerance with a as the amount, using + the current amount as a number of clock ticks. + + + + + Gets the for the current Tolerance + + + + + Gets the magnitude of the current Tolerance instance. + + + + + Returns true if the current tolerance has not been set or is using the . + + + + + Apply the tolerance to an expected value and return + a Tolerance.Range that represents the acceptable values. + + + + + Tests that the current Tolerance is linear with a + numeric value, throwing an exception if it is not. + + + + + Tolerance.Range represents the range of values that match + a specific tolerance, when applied to a specific value. + + + + + The lower bound of the range + + + + + The Upper bound of the range + + + + + Construct a Range + + + + + Modes in which the tolerance value for a comparison can be interpreted. + + + + + The tolerance was created with a value, without specifying + how the value would be used. This is used to prevent setting + the mode more than once and is generally changed to Linear + upon execution of the test. + + + + + The tolerance is used as a numeric range within which + two compared _values are considered to be equal. + + + + + Interprets the tolerance as the percentage by which + the two compared _values my deviate from each other. + + + + + Compares two _values based in their distance in + representable numbers. + + + + + TrueConstraint tests that the actual value is true + + + + + Initializes a new instance of the class. + + + + + Test whether the constraint is satisfied by a given value + + The value to be tested + True for success, false for failure + + + + TypeConstraint is the abstract base for constraints + that take a Type as their expected value. + + + + + The expected Type used by the constraint + + + + + The type of the actual argument to which the constraint was applied + + + + + Construct a TypeConstraint for a given Type + + The expected type for the constraint + Prefix used in forming the constraint description + + + + Applies the constraint to an actual value, returning a ConstraintResult. + + The value to be tested + A ConstraintResult + + + + Apply the constraint to an actual value, returning true if it succeeds + + The actual argument + True if the constraint succeeds, otherwise false. + + + + UniqueItemsConstraint tests whether all the items in a + collection are unique. + + + + + The Description of what this constraint tests, for + use in messages and in the ConstraintResult. + + + + + Check that all items are unique. + + + + + + + XmlSerializableConstraint tests whether + an object is serializable in xml format. + + + + + Gets text describing a constraint + + + + + Test whether the constraint is satisfied by a given value + + The value to be tested + True for success, false for failure + + + + Returns the string representation of this constraint + + + + + ExactCountConstraint applies another constraint to each + item in a collection, succeeding only if a specified + number of items succeed. + + + + + Construct a standalone ExactCountConstraint + + + + + + Construct an ExactCountConstraint on top of an existing constraint + + + + + + + Apply the item constraint to each item in the collection, + succeeding only if the expected number of items pass. + + + + + + + The Description of what this constraint tests, for + use in messages and in the ConstraintResult. + + + + + Represents a constraint that succeeds if the specified + count of members of a collection match a base constraint. + + + + + Construct an ExactCountOperator for a specified count + + The expected count + + + + Reduce produces a constraint from the operator and + any arguments. It takes the arguments from the constraint + stack and pushes the resulting constraint on it. + + + + + + ExceptionTypeConstraint is a special version of ExactTypeConstraint + used to provided detailed info about the exception thrown in + an error message. + + + + + Constructs an ExceptionTypeConstraint + + + + + Applies the constraint to an actual value, returning a ConstraintResult. + + The value to be tested + A ConstraintResult + + + + Helper class with properties and methods that supply + a number of constraints used in Asserts. + + + + + Returns a new CollectionContainsConstraint checking for the + presence of a particular object in the collection. + + + + + Returns a new DictionaryContainsKeyConstraint checking for the + presence of a particular key in the dictionary. + + + + + Returns a new DictionaryContainsValueConstraint checking for the + presence of a particular value in the dictionary. + + + + + Returns a constraint that succeeds if the actual + value contains the substring supplied as an argument. + + + + + Asserts on Directories + + + + + DO NOT USE! Use DirectoryAssert.AreEqual(...) instead. + The Equals method throws an InvalidOperationException. This is done + to make sure there is no mistake by calling this function. + + + + + + + DO NOT USE! + The ReferenceEquals method throws an InvalidOperationException. This is done + to make sure there is no mistake by calling this function. + + + + + + + Verifies that two directories are equal. Two directories are considered + equal if both are null, or if both point to the same directory. + If they are not equal an is thrown. + + A directory containing the value that is expected + A directory containing the actual value + The message to display if the directories are not equal + Arguments to be used in formatting the message + + + + Verifies that two directories are equal. Two directories are considered + equal if both are null, or if both point to the same directory. + If they are not equal an is thrown. + + A directory containing the value that is expected + A directory containing the actual value + + + + Asserts that two directories are not equal. If they are equal + an is thrown. + + A directory containing the value that is expected + A directory containing the actual value + The message to display if directories are not equal + Arguments to be used in formatting the message + + + + Asserts that two directories are not equal. If they are equal + an is thrown. + + A directory containing the value that is expected + A directory containing the actual value + + + + Asserts that the directory exists. If it does not exist + an is thrown. + + A directory containing the actual value + The message to display if directories are not equal + Arguments to be used in formatting the message + + + + Asserts that the directory exists. If it does not exist + an is thrown. + + A directory containing the actual value + + + + Asserts that the directory exists. If it does not exist + an is thrown. + + The path to a directory containing the actual value + The message to display if directories are not equal + Arguments to be used in formatting the message + + + + Asserts that the directory exists. If it does not exist + an is thrown. + + The path to a directory containing the actual value + + + + Asserts that the directory does not exist. If it does exist + an is thrown. + + A directory containing the actual value + The message to display if directories are not equal + Arguments to be used in formatting the message + + + + Asserts that the directory does not exist. If it does exist + an is thrown. + + A directory containing the actual value + + + + Asserts that the directory does not exist. If it does exist + an is thrown. + + The path to a directory containing the actual value + The message to display if directories are not equal + Arguments to be used in formatting the message + + + + Asserts that the directory does not exist. If it does exist + an is thrown. + + The path to a directory containing the actual value + + + + Helper class with properties and methods that supply + a number of constraints used in Asserts. + + + + + Returns a ConstraintExpression that negates any + following constraint. + + + + + Returns a constraint that succeeds if the value + is a file or directory and it exists. + + + + + Returns a new CollectionContainsConstraint checking for the + presence of a particular object in the collection. + + + + + Returns a new ContainsConstraint. This constraint + will, in turn, make use of the appropriate second-level + constraint, depending on the type of the actual argument. + This overload is only used if the item sought is a string, + since any other type implies that we are looking for a + collection member. + + + + + Returns a new DictionaryContainsKeyConstraint checking for the + presence of a particular key in the Dictionary key collection. + + The key to be matched in the Dictionary key collection + + + + Returns a new DictionaryContainsValueConstraint checking for the + presence of a particular value in the Dictionary value collection. + + The value to be matched in the Dictionary value collection + + + + Returns a constraint that succeeds if the actual + value starts with the substring supplied as an argument. + + + + + Returns a constraint that succeeds if the actual + value ends with the substring supplied as an argument. + + + + + Returns a constraint that succeeds if the actual + value matches the regular expression supplied as an argument. + + + + + Thrown when an assertion failed. + + + + + Default Constructor (normally used) + + + + The error message that explains + the reason for the exception + The exception that caused the + current exception + + + + Serialization Constructor + + + + + Gets the ResultState provided by this exception + + + + + Thrown when an assertion failed. + + + + The error message that explains + the reason for the exception + + + The error message that explains + the reason for the exception + The exception that caused the + current exception + + + + Serialization Constructor + + + + + Gets the ResultState provided by this exception + + + + + Thrown when an assertion failed. + + + + + + + The error message that explains + the reason for the exception + The exception that caused the + current exception + + + + Serialization Constructor + + + + + Gets the ResultState provided by this exception + + + + + Thrown when a test executes inconclusively. + + + + The error message that explains + the reason for the exception + + + The error message that explains + the reason for the exception + The exception that caused the + current exception + + + + Serialization Constructor + + + + + Gets the ResultState provided by this exception + + + + + Abstract base for Exceptions that terminate a test and provide a ResultState. + + + + The error message that explains + the reason for the exception + + + The error message that explains + the reason for the exception + The exception that caused the + current exception + + + + Serialization Constructor + + + + + Gets the ResultState provided by this exception + + + + + Thrown when an assertion failed. + + + + + + + The error message that explains + the reason for the exception + The exception that caused the + current exception + + + + Serialization Constructor + + + + + Gets the ResultState provided by this exception + + + + + Asserts on Files + + + + + DO NOT USE! Use FileAssert.AreEqual(...) instead. + The Equals method throws an InvalidOperationException. This is done + to make sure there is no mistake by calling this function. + + + + + + + DO NOT USE! + The ReferenceEquals method throws an InvalidOperationException. This is done + to make sure there is no mistake by calling this function. + + + + + + + Verifies that two Streams are equal. Two Streams are considered + equal if both are null, or if both have the same value byte for byte. + If they are not equal an is thrown. + + The expected Stream + The actual Stream + The message to display if Streams are not equal + Arguments to be used in formatting the message + + + + Verifies that two Streams are equal. Two Streams are considered + equal if both are null, or if both have the same value byte for byte. + If they are not equal an is thrown. + + The expected Stream + The actual Stream + + + + Verifies that two files are equal. Two files are considered + equal if both are null, or if both have the same value byte for byte. + If they are not equal an is thrown. + + A file containing the value that is expected + A file containing the actual value + The message to display if Streams are not equal + Arguments to be used in formatting the message + + + + Verifies that two files are equal. Two files are considered + equal if both are null, or if both have the same value byte for byte. + If they are not equal an is thrown. + + A file containing the value that is expected + A file containing the actual value + + + + Verifies that two files are equal. Two files are considered + equal if both are null, or if both have the same value byte for byte. + If they are not equal an is thrown. + + The path to a file containing the value that is expected + The path to a file containing the actual value + The message to display if Streams are not equal + Arguments to be used in formatting the message + + + + Verifies that two files are equal. Two files are considered + equal if both are null, or if both have the same value byte for byte. + If they are not equal an is thrown. + + The path to a file containing the value that is expected + The path to a file containing the actual value + + + + Asserts that two Streams are not equal. If they are equal + an is thrown. + + The expected Stream + The actual Stream + The message to be displayed when the two Stream are the same. + Arguments to be used in formatting the message + + + + Asserts that two Streams are not equal. If they are equal + an is thrown. + + The expected Stream + The actual Stream + + + + Asserts that two files are not equal. If they are equal + an is thrown. + + A file containing the value that is expected + A file containing the actual value + The message to display if Streams are not equal + Arguments to be used in formatting the message + + + + Asserts that two files are not equal. If they are equal + an is thrown. + + A file containing the value that is expected + A file containing the actual value + + + + Asserts that two files are not equal. If they are equal + an is thrown. + + The path to a file containing the value that is expected + The path to a file containing the actual value + The message to display if Streams are not equal + Arguments to be used in formatting the message + + + + Asserts that two files are not equal. If they are equal + an is thrown. + + The path to a file containing the value that is expected + The path to a file containing the actual value + + + + Asserts that the file exists. If it does not exist + an is thrown. + + A file containing the actual value + The message to display if Streams are not equal + Arguments to be used in formatting the message + + + + Asserts that the file exists. If it does not exist + an is thrown. + + A file containing the actual value + + + + Asserts that the file exists. If it does not exist + an is thrown. + + The path to a file containing the actual value + The message to display if Streams are not equal + Arguments to be used in formatting the message + + + + Asserts that the file exists. If it does not exist + an is thrown. + + The path to a file containing the actual value + + + + Asserts that the file does not exist. If it does exist + an is thrown. + + A file containing the actual value + The message to display if Streams are not equal + Arguments to be used in formatting the message + + + + Asserts that the file does not exist. If it does exist + an is thrown. + + A file containing the actual value + + + + Asserts that the file does not exist. If it does exist + an is thrown. + + The path to a file containing the actual value + The message to display if Streams are not equal + Arguments to be used in formatting the message + + + + Asserts that the file does not exist. If it does exist + an is thrown. + + The path to a file containing the actual value + + + + Class used to guard against unexpected argument values + or operations by throwing an appropriate exception. + + + + + Throws an exception if an argument is null + + The value to be tested + The name of the argument + + + + Throws an exception if a string argument is null or empty + + The value to be tested + The name of the argument + + + + Throws an ArgumentOutOfRangeException if the specified condition is not met. + + The condition that must be met + The exception message to be used + The name of the argument + + + + Throws an ArgumentException if the specified condition is not met. + + The condition that must be met + The exception message to be used + The name of the argument + + + + Throws an InvalidOperationException if the specified condition is not met. + + The condition that must be met + The exception message to be used + + + + Helper class with properties and methods that supply + a number of constraints used in Asserts. + + + + + Returns a ConstraintExpression that negates any + following constraint. + + + + + Returns a ConstraintExpression, which will apply + the following constraint to all members of a collection, + succeeding if all of them succeed. + + + + + Returns a ConstraintExpression, which will apply + the following constraint to all members of a collection, + succeeding if at least one of them succeeds. + + + + + Returns a ConstraintExpression, which will apply + the following constraint to all members of a collection, + succeeding if all of them fail. + + + + + Returns a ConstraintExpression, which will apply + the following constraint to all members of a collection, + succeeding only if a specified number of them succeed. + + + + + Returns a new PropertyConstraintExpression, which will either + test for the existence of the named property on the object + being tested or apply any following constraint to that property. + + + + + Returns a new ConstraintExpression, which will apply the following + constraint to the Length property of the object being tested. + + + + + Returns a new ConstraintExpression, which will apply the following + constraint to the Count property of the object being tested. + + + + + Returns a new ConstraintExpression, which will apply the following + constraint to the Message property of the object being tested. + + + + + Returns a new ConstraintExpression, which will apply the following + constraint to the InnerException property of the object being tested. + + + + + Returns a new AttributeConstraint checking for the + presence of a particular attribute on an object. + + + + + Returns a new AttributeConstraint checking for the + presence of a particular attribute on an object. + + + + + Returns a new CollectionContainsConstraint checking for the + presence of a particular object in the collection. + + + + + Helper class with properties and methods that supply + a number of constraints used in Asserts. + + + + + Returns a ConstraintExpression that negates any + following constraint. + + + + + Returns a ConstraintExpression, which will apply + the following constraint to all members of a collection, + succeeding if all of them succeed. + + + + + Returns a constraint that tests for null + + + + + Returns a constraint that tests for True + + + + + Returns a constraint that tests for False + + + + + Returns a constraint that tests for a positive value + + + + + Returns a constraint that tests for a negative value + + + + + Returns a constraint that tests for equality with zero + + + + + Returns a constraint that tests for NaN + + + + + Returns a constraint that tests for empty + + + + + Returns a constraint that tests whether a collection + contains all unique items. + + + + + Returns a constraint that tests whether an object graph is serializable in binary format. + + + + + Returns a constraint that tests whether an object graph is serializable in xml format. + + + + + Returns a constraint that tests two items for equality + + + + + Returns a constraint that tests that two references are the same object + + + + + Returns a constraint that tests whether the + actual value is greater than the supplied argument + + + + + Returns a constraint that tests whether the + actual value is greater than or equal to the supplied argument + + + + + Returns a constraint that tests whether the + actual value is greater than or equal to the supplied argument + + + + + Returns a constraint that tests whether the + actual value is less than the supplied argument + + + + + Returns a constraint that tests whether the + actual value is less than or equal to the supplied argument + + + + + Returns a constraint that tests whether the + actual value is less than or equal to the supplied argument + + + + + Returns a constraint that tests whether the actual + value is of the exact type supplied as an argument. + + + + + Returns a constraint that tests whether the actual + value is of the exact type supplied as an argument. + + + + + Returns a constraint that tests whether the actual value + is of the type supplied as an argument or a derived type. + + + + + Returns a constraint that tests whether the actual value + is of the type supplied as an argument or a derived type. + + + + + Returns a constraint that tests whether the actual value + is assignable from the type supplied as an argument. + + + + + Returns a constraint that tests whether the actual value + is assignable from the type supplied as an argument. + + + + + Returns a constraint that tests whether the actual value + is assignable to the type supplied as an argument. + + + + + Returns a constraint that tests whether the actual value + is assignable to the type supplied as an argument. + + + + + Returns a constraint that tests whether the actual value + is a collection containing the same elements as the + collection supplied as an argument. + + + + + Returns a constraint that tests whether the actual value + is a subset of the collection supplied as an argument. + + + + + Returns a constraint that tests whether the actual value + is a superset of the collection supplied as an argument. + + + + + Returns a constraint that tests whether a collection is ordered + + + + + Returns a constraint that succeeds if the actual + value contains the substring supplied as an argument. + + + + + Returns a constraint that succeeds if the actual + value starts with the substring supplied as an argument. + + + + + Returns a constraint that succeeds if the actual + value ends with the substring supplied as an argument. + + + + + Returns a constraint that succeeds if the actual + value matches the regular expression supplied as an argument. + + + + + Returns a constraint that tests whether the path provided + is the same as an expected path after canonicalization. + + + + + Returns a constraint that tests whether the path provided + is a subpath of the expected path after canonicalization. + + + + + Returns a constraint that tests whether the path provided + is the same path or under an expected path after canonicalization. + + + + + Returns a constraint that tests whether the actual value falls + inclusively within a specified range. + + from must be less than or equal to true + Inclusive beginning of the range. Must be less than or equal to to. + Inclusive end of the range. Must be greater than or equal to from. + + + + + When implemented by an attribute, this interface implemented to provide actions to execute before and after tests. + + + + + Executed before each test is run + + The test that is going to be run. + + + + Executed after each test is run + + The test that has just been run. + + + + Provides the target for the action attribute + + The target for the action attribute + + + + The Iz class is a synonym for Is intended for use in VB, + which regards Is as a keyword. + + + + + The List class is a helper class with properties and methods + that supply a number of constraints used with lists and collections. + + + + + List.Map returns a ListMapper, which can be used to map + the original collection to another collection. + + + + + + + ListMapper is used to transform a collection used as an actual argument + producing another collection to be used in the assertion. + + + + + Construct a ListMapper based on a collection + + The collection to be transformed + + + + Produces a collection containing all the _values of a property + + The collection of property _values + + + + + Basic Asserts on strings. + + + + + DO NOT USE! Use StringAssert.AreEqualIgnoringCase(...) or Assert.AreEqual(...) instead. + The Equals method throws an InvalidOperationException. This is done + to make sure there is no mistake by calling this function. + + + + + + + DO NOT USE! + The ReferenceEquals method throws an InvalidOperationException. This is done + to make sure there is no mistake by calling this function. + + + + + + + Asserts that a string is found within another string. + + The expected string + The string to be examined + The message to display in case of failure + Arguments used in formatting the message + + + + Asserts that a string is found within another string. + + The expected string + The string to be examined + + + + Asserts that a string is not found within another string. + + The expected string + The string to be examined + The message to display in case of failure + Arguments used in formatting the message + + + + Asserts that a string is found within another string. + + The expected string + The string to be examined + + + + Asserts that a string starts with another string. + + The expected string + The string to be examined + The message to display in case of failure + Arguments used in formatting the message + + + + Asserts that a string starts with another string. + + The expected string + The string to be examined + + + + Asserts that a string does not start with another string. + + The expected string + The string to be examined + The message to display in case of failure + Arguments used in formatting the message + + + + Asserts that a string does not start with another string. + + The expected string + The string to be examined + + + + Asserts that a string ends with another string. + + The expected string + The string to be examined + The message to display in case of failure + Arguments used in formatting the message + + + + Asserts that a string ends with another string. + + The expected string + The string to be examined + + + + Asserts that a string does not end with another string. + + The expected string + The string to be examined + The message to display in case of failure + Arguments used in formatting the message + + + + Asserts that a string does not end with another string. + + The expected string + The string to be examined + + + + Asserts that two strings are equal, without regard to case. + + The expected string + The actual string + The message to display in case of failure + Arguments used in formatting the message + + + + Asserts that two strings are equal, without regard to case. + + The expected string + The actual string + + + + Asserts that two strings are not equal, without regard to case. + + The expected string + The actual string + The message to display in case of failure + Arguments used in formatting the message + + + + Asserts that two strings are not equal, without regard to case. + + The expected string + The actual string + + + + Asserts that a string matches an expected regular expression pattern. + + The regex pattern to be matched + The actual string + The message to display in case of failure + Arguments used in formatting the message + + + + Asserts that a string matches an expected regular expression pattern. + + The regex pattern to be matched + The actual string + + + + Asserts that a string does not match an expected regular expression pattern. + + The regex pattern to be used + The actual string + The message to display in case of failure + Arguments used in formatting the message + + + + Asserts that a string does not match an expected regular expression pattern. + + The regex pattern to be used + The actual string + + + + The TestCaseData class represents a set of arguments + and other parameter info to be used for a parameterized + test case. It is derived from TestCaseParameters and adds a + fluent syntax for use in initializing the test case. + + + + + Initializes a new instance of the class. + + The arguments. + + + + Initializes a new instance of the class. + + The argument. + + + + Initializes a new instance of the class. + + The first argument. + The second argument. + + + + Initializes a new instance of the class. + + The first argument. + The second argument. + The third argument. + + + + Sets the expected result for the test + + The expected result + A modified TestCaseData + + + + Sets the name of the test case + + The modified TestCaseData instance + + + + Sets the description for the test case + being constructed. + + The description. + The modified TestCaseData instance. + + + + Applies a category to the test + + + + + + + Applies a named property to the test + + + + + + + + Applies a named property to the test + + + + + + + + Applies a named property to the test + + + + + + + + Marks the test case as explicit. + + + + + Marks the test case as explicit, specifying the reason. + + + + + Ignores this TestCase, specifying the reason. + + The reason. + + + + + Provide the context information of the current test. + This is an adapter for the internal ExecutionContext + class, hiding the internals from the user test. + + + + + Construct a TestContext for an ExecutionContext + + The ExecutionContext to adapt + + + + Get the current test context. This is created + as needed. The user may save the context for + use within a test, but it should not be used + outside the test for which it is created. + + + + + Gets a TextWriter that will send output to the current test result. + + + + + Gets a TextWriter that will send output directly to Console.Error + + + + + Gets a TextWriter for use in displaying immediate progress messages + + + + + TestParameters object holds parameters for the test run, if any are specified + + + + + Static DefaultWorkDirectory is now used as the source + of the public instance property WorkDirectory. This is + a bit odd but necessary to avoid breaking user tests. + + + + + Get a representation of the current test. + + + + + Gets a Representation of the TestResult for the current test. + + + + + Gets the unique name of the Worker that is executing this test. + + + + + Gets the directory containing the current test assembly. + + + + + Gets the directory to be used for outputting files created + by this test run. + + + + + Gets the random generator. + + + The random generator. + + + + Write the string representation of a boolean value to the current result + + + Write a char to the current result + + + Write a char array to the current result + + + Write the string representation of a double to the current result + + + Write the string representation of an Int32 value to the current result + + + Write the string representation of an Int64 value to the current result + + + Write the string representation of a decimal value to the current result + + + Write the string representation of an object to the current result + + + Write the string representation of a Single value to the current result + + + Write a string to the current result + + + Write the string representation of a UInt32 value to the current result + + + Write the string representation of a UInt64 value to the current result + + + Write a formatted string to the current result + + + Write a formatted string to the current result + + + Write a formatted string to the current result + + + Write a formatted string to the current result + + + Write a line terminator to the current result + + + Write the string representation of a boolean value to the current result followed by a line terminator + + + Write a char to the current result followed by a line terminator + + + Write a char array to the current result followed by a line terminator + + + Write the string representation of a double to the current result followed by a line terminator + + + Write the string representation of an Int32 value to the current result followed by a line terminator + + + Write the string representation of an Int64 value to the current result followed by a line terminator + + + Write the string representation of a decimal value to the current result followed by a line terminator + + + Write the string representation of an object to the current result followed by a line terminator + + + Write the string representation of a Single value to the current result followed by a line terminator + + + Write a string to the current result followed by a line terminator + + + Write the string representation of a UInt32 value to the current result followed by a line terminator + + + Write the string representation of a UInt64 value to the current result followed by a line terminator + + + Write a formatted string to the current result followed by a line terminator + + + Write a formatted string to the current result followed by a line terminator + + + Write a formatted string to the current result followed by a line terminator + + + Write a formatted string to the current result followed by a line terminator + + + + This method adds the a new ValueFormatterFactory to the + chain of responsibility used for formatting values in messages. + The scope of the change is the current TestContext. + + The factory delegate + + + + Attach a file to the current test result + + Relative or absolute file path to attachment + Optional description of attachment + + + + This method provides a simplified way to add a ValueFormatter + delegate to the chain of responsibility, creating the factory + delegate internally. It is useful when the Type of the object + is the only criterion for selection of the formatter, since + it can be used without getting involved with a compound function. + + The type supported by this formatter + The ValueFormatter delegate + + + + TestAdapter adapts a Test for consumption by + the user test code. + + + + + Construct a TestAdapter for a Test + + The Test to be adapted + + + + Gets the unique Id of a test + + + + + The name of the test, which may or may not be + the same as the method name. + + + + + The name of the method representing the test. + + + + + The FullName of the test + + + + + The ClassName of the test + + + + + The properties of the test. + + + + + The arguments to use in creating the test or empty array if none are required. + + + + + ResultAdapter adapts a TestResult for consumption by + the user test code. + + + + + Construct a ResultAdapter for a TestResult + + The TestResult to be adapted + + + + Gets a ResultState representing the outcome of the test. + + + + + Gets the message associated with a test + failure or with not running the test + + + + + Gets any stacktrace associated with an + error or failure. + + + + + Gets the number of test cases that failed + when running the test and all its children. + + + + + Gets the number of test cases that had warnings + when running the test and all its children. + + + + + Gets the number of test cases that passed + when running the test and all its children. + + + + + Gets the number of test cases that were skipped + when running the test and all its children. + + + + + Gets the number of test cases that were inconclusive + when running the test and all its children. + + + + + The TestFixtureData class represents a set of arguments + and other parameter info to be used for a parameterized + fixture. It is derived from TestFixtureParameters and adds a + fluent syntax for use in initializing the fixture. + + + + + Initializes a new instance of the class. + + The arguments. + + + + Initializes a new instance of the class. + + The argument. + + + + Initializes a new instance of the class. + + The first argument. + The second argument. + + + + Initializes a new instance of the class. + + The first argument. + The second argument. + The third argument. + + + + Marks the test fixture as explicit. + + + + + Marks the test fixture as explicit, specifying the reason. + + + + + Ignores this TestFixture, specifying the reason. + + The reason. + + + + + TestParameters class holds any named parameters supplied to the test run + + + + + Gets the number of test parameters + + + + + Gets a collection of the test parameter names + + + + + Gets a flag indicating whether a parameter with the specified name exists. + + Name of the parameter + True if it exists, otherwise false + + + + Indexer provides access to the internal dictionary + + Name of the parameter + Value of the parameter or null if not present + + + + Get method is a simple alternative to the indexer + + Name of the parameter + Value of the parameter or null if not present + + + + Get the value of a parameter or a default string + + Name of the parameter + Default value of the parameter + Value of the parameter or default value if not present + + + + Get the value of a parameter or return a default + + The return Type + Name of the parameter + Default value of the parameter + Value of the parameter or default value if not present + + + + Adds a parameter to the list + + Name of the parameter + Value of the parameter + + + + Helper class with properties and methods that supply + constraints that operate on exceptions. + + + + + Creates a constraint specifying an expected exception + + + + + Creates a constraint specifying an exception with a given InnerException + + + + + Creates a constraint specifying an expected TargetInvocationException + + + + + Creates a constraint specifying an expected ArgumentException + + + + + Creates a constraint specifying an expected ArgumentNullException + + + + + Creates a constraint specifying an expected InvalidOperationException + + + + + Creates a constraint specifying that no exception is thrown + + + + + Creates a constraint specifying the exact type of exception expected + + + + + Creates a constraint specifying the exact type of exception expected + + + + + Creates a constraint specifying the type of exception expected + + + + + Creates a constraint specifying the type of exception expected + + + + + FrameworkPackageSettings is a static class containing constant values that + are used as keys in setting up a TestPackage. These values are used in + the framework, and set in the runner. Setting values may be a string, int or bool. + + + + + Flag (bool) indicating whether tests are being debugged. + + + + + Flag (bool) indicating whether to pause execution of tests to allow + the user to attach a debugger. + + + + + The InternalTraceLevel for this run. Values are: "Default", + "Off", "Error", "Warning", "Info", "Debug", "Verbose". + Default is "Off". "Debug" and "Verbose" are synonyms. + + + + + Full path of the directory to be used for work and result files. + This path is provided to tests by the framework TestContext. + + + + + Integer value in milliseconds for the default timeout value + for test cases. If not specified, there is no timeout except + as specified by attributes on the tests themselves. + + + + + A TextWriter to which the internal trace will be sent. + + + + + A list of tests to be loaded. + + + + + The number of test threads to run for the assembly. If set to + 1, a single queue is used. If set to 0, tests are executed + directly, without queuing. + + + + + The random seed to be used for this assembly. If specified + as the value reported from a prior run, the framework should + generate identical random values for tests as were used for + that run, provided that no change has been made to the test + assembly. Default is a random value itself. + + + + + If true, execution stops after the first error or failure. + + + + + If true, use of the event queue is suppressed and test events are synchronous. + + + + + The default naming pattern used in generating test names + + + + + Parameters to be passed on to the tests, serialized to a single string which needs parsing. Obsoleted by ; kept for backward compatibility. + + + + + Parameters to be passed on to the tests, already parsed into an IDictionary<string, string>. Replaces . + + + + + Provides a platform-independent methods for getting attributes + for use by AttributeConstraint and AttributeExistsConstraint. + + + + + Gets the custom attributes from the given object. + + .NET Standard 1.3 libraries do not have an ICustomAttributeProvider, so we need to cast to each of + it's direct subtypes and try to get attributes off those instead. + The actual. + Type of the attribute. + if set to true [inherit]. + A list of the given attribute on the given object. + + + + A MarshalByRefObject that lives forever + + + + + Obtains a lifetime service object to control the lifetime policy for this instance. + + + + + Type extensions that apply to all target frameworks + + + + + Determines if the given array is castable/matches the array. + + + + + + + + Determines if one type can be implicitly converted from another + + + + + + + + This class is used as a flag when we get a parameter list for a method/constructor, but + we do not know one of the types because null was passed in. + + + + diff --git a/IntegrationTests/bin/Debug/nunit_random_seed.tmp b/IntegrationTests/bin/Debug/nunit_random_seed.tmp new file mode 100644 index 0000000..05a5c17 --- /dev/null +++ b/IntegrationTests/bin/Debug/nunit_random_seed.tmp @@ -0,0 +1 @@ +869251795 \ No newline at end of file diff --git a/IntegrationTests/bin/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll b/IntegrationTests/bin/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll new file mode 100644 index 0000000..4d638b3 Binary files /dev/null and b/IntegrationTests/bin/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll differ diff --git a/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0/lib/net45/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.xml b/IntegrationTests/bin/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.xml similarity index 100% rename from packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0/lib/net45/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.xml rename to IntegrationTests/bin/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.xml diff --git a/IntegrationTests/obj/Debug/CoreCompileInputs.cache b/IntegrationTests/obj/Debug/CoreCompileInputs.cache new file mode 100644 index 0000000..7b31240 --- /dev/null +++ b/IntegrationTests/obj/Debug/CoreCompileInputs.cache @@ -0,0 +1 @@ +9328cb4857410d6812be797e81f196e19a673b92 diff --git a/IntegrationTests/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/IntegrationTests/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..f3295a7 Binary files /dev/null and b/IntegrationTests/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/IntegrationTests/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/IntegrationTests/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..30642db Binary files /dev/null and b/IntegrationTests/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/IntegrationTests/obj/Debug/IntegrationTests.csproj.FileListAbsolute.txt b/IntegrationTests/obj/Debug/IntegrationTests.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..a09438f --- /dev/null +++ b/IntegrationTests/obj/Debug/IntegrationTests.csproj.FileListAbsolute.txt @@ -0,0 +1,19 @@ +C:\dev\MongoDbRepoUpdate\IntegrationTests\bin\Debug\ApplicationInsights.config +C:\dev\MongoDbRepoUpdate\IntegrationTests\bin\Debug\IntegrationTests.dll.config +C:\dev\MongoDbRepoUpdate\IntegrationTests\bin\Debug\IntegrationTests.dll +C:\dev\MongoDbRepoUpdate\IntegrationTests\bin\Debug\IntegrationTests.pdb +C:\dev\MongoDbRepoUpdate\IntegrationTests\bin\Debug\MongoDbGenericRepository.dll +C:\dev\MongoDbRepoUpdate\IntegrationTests\bin\Debug\nunit.framework.dll +C:\dev\MongoDbRepoUpdate\IntegrationTests\bin\Debug\MongoDB.Driver.dll +C:\dev\MongoDbRepoUpdate\IntegrationTests\bin\Debug\MongoDB.Bson.dll +C:\dev\MongoDbRepoUpdate\IntegrationTests\bin\Debug\MongoDB.Driver.Core.dll +C:\dev\MongoDbRepoUpdate\IntegrationTests\bin\Debug\MongoDbGenericRepository.pdb +C:\dev\MongoDbRepoUpdate\IntegrationTests\bin\Debug\MongoDbGenericRepository.dll.config +C:\dev\MongoDbRepoUpdate\IntegrationTests\bin\Debug\nunit.framework.xml +C:\dev\MongoDbRepoUpdate\IntegrationTests\bin\Debug\MongoDB.Driver.xml +C:\dev\MongoDbRepoUpdate\IntegrationTests\bin\Debug\MongoDB.Bson.xml +C:\dev\MongoDbRepoUpdate\IntegrationTests\obj\Debug\IntegrationTests.csprojResolveAssemblyReference.cache +C:\dev\MongoDbRepoUpdate\IntegrationTests\obj\Debug\IntegrationTests.dll +C:\dev\MongoDbRepoUpdate\IntegrationTests\obj\Debug\IntegrationTests.pdb +C:\dev\MongoDbRepoUpdate\IntegrationTests\bin\Debug\System.Runtime.InteropServices.RuntimeInformation.dll +C:\dev\MongoDbRepoUpdate\IntegrationTests\bin\Debug\MongoDB.Driver.Core.xml diff --git a/IntegrationTests/obj/Debug/IntegrationTests.csprojResolveAssemblyReference.cache b/IntegrationTests/obj/Debug/IntegrationTests.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..6aeb923 Binary files /dev/null and b/IntegrationTests/obj/Debug/IntegrationTests.csprojResolveAssemblyReference.cache differ diff --git a/IntegrationTests/obj/Debug/IntegrationTests.dll b/IntegrationTests/obj/Debug/IntegrationTests.dll new file mode 100644 index 0000000..6fe5650 Binary files /dev/null and b/IntegrationTests/obj/Debug/IntegrationTests.dll differ diff --git a/IntegrationTests/obj/Debug/IntegrationTests.pdb b/IntegrationTests/obj/Debug/IntegrationTests.pdb new file mode 100644 index 0000000..19207bf Binary files /dev/null and b/IntegrationTests/obj/Debug/IntegrationTests.pdb differ diff --git a/IntegrationTests/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/IntegrationTests/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/IntegrationTests/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/IntegrationTests/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/IntegrationTests/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/IntegrationTests/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29 diff --git a/IntegrationTests/packages.config b/IntegrationTests/packages.config new file mode 100644 index 0000000..8a9d3ef --- /dev/null +++ b/IntegrationTests/packages.config @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/MongoDbGenericRepository.sln b/MongoDbGenericRepository.sln index e5f03a3..76893f5 100644 --- a/MongoDbGenericRepository.sln +++ b/MongoDbGenericRepository.sln @@ -1,10 +1,12 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.24720.0 +# Visual Studio 15 +VisualStudioVersion = 15.0.26430.16 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MongoDbGenericRepository", "MongoDbGenericRepository\MongoDbGenericRepository.csproj", "{D154E7D0-9A3C-43AB-8E90-ED92BC4343F0}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IntegrationTests", "IntegrationTests\IntegrationTests.csproj", "{A484A355-A015-40CC-9B35-A4E872421128}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -15,6 +17,10 @@ Global {D154E7D0-9A3C-43AB-8E90-ED92BC4343F0}.Debug|Any CPU.Build.0 = Debug|Any CPU {D154E7D0-9A3C-43AB-8E90-ED92BC4343F0}.Release|Any CPU.ActiveCfg = Release|Any CPU {D154E7D0-9A3C-43AB-8E90-ED92BC4343F0}.Release|Any CPU.Build.0 = Release|Any CPU + {A484A355-A015-40CC-9B35-A4E872421128}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A484A355-A015-40CC-9B35-A4E872421128}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A484A355-A015-40CC-9B35-A4E872421128}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A484A355-A015-40CC-9B35-A4E872421128}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/MongoDbGenericRepository.v3.ncrunchsolution.user b/MongoDbGenericRepository.v3.ncrunchsolution.user new file mode 100644 index 0000000..b82f7a5 --- /dev/null +++ b/MongoDbGenericRepository.v3.ncrunchsolution.user @@ -0,0 +1,5 @@ + + + Run all tests automatically [Global] + + \ No newline at end of file diff --git a/MongoDbGenericRepository/IMongoDbContext.cs b/MongoDbGenericRepository/IMongoDbContext.cs new file mode 100644 index 0000000..24cb708 --- /dev/null +++ b/MongoDbGenericRepository/IMongoDbContext.cs @@ -0,0 +1,28 @@ +using MongoDB.Driver; +using MongoDbGenericRepository.Models; + +namespace MongoDbGenericRepository +{ + public interface IMongoDbContext + { + /// + /// The private GetCollection method + /// + /// + /// + IMongoCollection GetCollection(); + + /// + /// The private GetCollection method + /// + /// + /// + IMongoCollection GetCollection(TDocument document) where TDocument : IDocument; + + /// + /// Drops a collection, use very carefully. + /// + /// + void DropCollection(); + } +} \ No newline at end of file diff --git a/MongoDbGenericRepository/IMongoDbRepository.cs b/MongoDbGenericRepository/IMongoDbRepository.cs deleted file mode 100644 index 4a99246..0000000 --- a/MongoDbGenericRepository/IMongoDbRepository.cs +++ /dev/null @@ -1,157 +0,0 @@ -using MongoDB.Driver; -using MongoDbGenericRepository.ViewModels; -using System.Collections.Generic; -using System.Threading.Tasks; - -namespace MongoDbGenericRepository -{ - public interface IMongoDbRepository - { - /// - /// A generic GetOne method - /// - /// - /// - /// - Task> GetOne(string id) where TEntity : class, new(); - - /// - /// A generic GetOne method - /// - /// - /// - /// - Task> GetOne(FilterDefinition filter) where TEntity : class, new(); - - /// - /// A generic get many method - /// - /// - /// - /// - Task> GetMany(IEnumerable ids) where TEntity : class, new(); - - /// - /// A generic get many method with filter - /// - /// - /// - /// - Task> GetMany(FilterDefinition filter) where TEntity : class, new(); - - /// - /// GetMany with filter and projection - /// - /// - /// - /// A cursor for the query - IFindFluent FindCursor(FilterDefinition filter) where TEntity : class, new(); - - /// - /// A generic get all method - /// - /// - /// - Task> GetAll() where TEntity : class, new(); - - /// - /// A generic Exists method - /// - /// - /// - /// - Task Exists(string id) where TEntity : class, new(); - - /// - /// A generic count method - /// - /// - /// - /// - Task Count(string id) where TEntity : class, new(); - - /// - /// A generic count method - /// - /// - /// - /// - Task Count(FilterDefinition filter) where TEntity : class, new(); - - /// - /// A generic Add One method - /// - /// - /// - /// - Task AddOne(TEntity item) where TEntity : class, new(); - - /// - /// A generic delete one method - /// - /// - /// - /// - Task DeleteOne(string id) where TEntity : class, new(); - - /// - /// A generic delete many method - /// - /// - /// - /// - Task DeleteMany(IEnumerable ids) where TEntity : class, new(); - - #region Update - /// - /// UpdateOne by id - /// - /// - /// - /// - /// - Task UpdateOne(string id, UpdateDefinition update) where TEntity : class, new(); - - /// - /// UpdateOne with filter - /// - /// - /// - /// - /// - Task UpdateOne(FilterDefinition filter, UpdateDefinition update) where TEntity : class, new(); - - /// - /// UpdateMany with Ids - /// - /// - /// - /// - /// - Task UpdateMany(IEnumerable ids, UpdateDefinition update) where TEntity : class, new(); - - /// - /// UpdateMany with filter - /// - /// - /// - /// - /// - Task UpdateMany(FilterDefinition filter, UpdateDefinition update) where TEntity : class, new(); - #endregion Update - - #region Find And Update - - /// - /// GetAndUpdateOne with filter - /// - /// - /// - /// - /// - /// - Task> GetAndUpdateOne(FilterDefinition filter, UpdateDefinition update, FindOneAndUpdateOptions options) where TEntity : class, new(); - - #endregion Find And Update - } -} diff --git a/MongoDbGenericRepository/Models/Document.cs b/MongoDbGenericRepository/Models/Document.cs new file mode 100644 index 0000000..11ee9a6 --- /dev/null +++ b/MongoDbGenericRepository/Models/Document.cs @@ -0,0 +1,43 @@ +using MongoDB.Bson.Serialization.Attributes; +using System; + +namespace MongoDbGenericRepository.Models +{ + /// + /// This class represents a basic document that can be stored in MongoDb + /// + public class Document : IDocument + { + /// + /// The document constructor + /// + public Document() + { + Id = Guid.NewGuid(); + AddedAtUtc = DateTime.UtcNow; + } + + /// + /// The Id of the document + /// + [BsonId] + public Guid Id { get; set; } + + /// + /// The name of the property used for partitioning the collection + /// This will not be inserted into the collection. + /// This partition key will be prepended to the collection name to create a new collection. + /// + public string PartitionKey { get; set; } + + /// + /// The datetime in UTC at which the document was added. + /// + public DateTime AddedAtUtc { get; set; } + + /// + /// The version of the schema of the document + /// + public int Version { get; set; } + } +} \ No newline at end of file diff --git a/MongoDbGenericRepository/Models/IDocument.cs b/MongoDbGenericRepository/Models/IDocument.cs new file mode 100644 index 0000000..4d2e4e5 --- /dev/null +++ b/MongoDbGenericRepository/Models/IDocument.cs @@ -0,0 +1,12 @@ +using System; + +namespace MongoDbGenericRepository.Models +{ + public interface IDocument + { + DateTime AddedAtUtc { get; set; } + Guid Id { get; set; } + string PartitionKey { get; set; } + int Version { get; set; } + } +} \ No newline at end of file diff --git a/MongoDbGenericRepository/MongoDbContext.cs b/MongoDbGenericRepository/MongoDbContext.cs index ae92350..53e174d 100644 --- a/MongoDbGenericRepository/MongoDbContext.cs +++ b/MongoDbGenericRepository/MongoDbContext.cs @@ -1,30 +1,66 @@ using MongoDB.Driver; -using System.Configuration; +using MongoDbGenericRepository.Models; + namespace MongoDbGenericRepository { - public class MongoDbContext + /// + /// The MongoDb context + /// + public class MongoDbContext : IMongoDbContext { - public const string CONNECTION_STRING_NAME = "MongoDbTest"; - public const string DATABASE_NAME = "MongoDbTest"; - - private static readonly IMongoClient _client; - private static readonly IMongoDatabase _database; - static MongoDbContext() { - var connectionString = ConfigurationManager.ConnectionStrings[CONNECTION_STRING_NAME].ConnectionString; + // Avoid legacy UUID representation: use Binary 0x04 subtype. + MongoDefaults.GuidRepresentation = MongoDB.Bson.GuidRepresentation.Standard; + } + + public MongoDbContext(string connectionString, string databaseName) + { + _client = new MongoClient(connectionString); - _database = _client.GetDatabase(DATABASE_NAME); + _database = _client.GetDatabase(databaseName); + } + + private readonly IMongoClient _client; + private readonly IMongoDatabase _database; + + /// + /// The private GetCollection method + /// + /// + /// + public IMongoCollection GetCollection() + { + return _database.GetCollection(Pluralize()); } /// /// The private GetCollection method /// - /// + /// /// - public IMongoCollection GetCollection() + public IMongoCollection GetCollection(TDocument document) where TDocument : IDocument { - return _database.GetCollection(typeof(TEntity).Name.ToLower() + "s"); + return _database.GetCollection(PluralizePartitioned(document)); + } + + /// + /// Drops a collection, use very carefully. + /// + /// + public void DropCollection() + { + _database.DropCollection(Pluralize()); + } + + private string Pluralize() + { + return typeof(TDocument).Name.ToLower() + "s"; + } + + private string PluralizePartitioned(TDocument document) where TDocument : IDocument + { + return document.PartitionKey + typeof(TDocument).Name.ToLower() + "s"; } } } \ No newline at end of file diff --git a/MongoDbGenericRepository/MongoDbGenericRepository.csproj b/MongoDbGenericRepository/MongoDbGenericRepository.csproj index 0db8927..b9e57fc 100644 --- a/MongoDbGenericRepository/MongoDbGenericRepository.csproj +++ b/MongoDbGenericRepository/MongoDbGenericRepository.csproj @@ -1,7 +1,7 @@  - - + + Debug @@ -43,22 +43,21 @@ 4 - - ..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0\lib\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll - True + + ..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.7\lib\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll - - ..\packages\MongoDB.Bson.2.2.3\lib\net45\MongoDB.Bson.dll - True + + ..\packages\MongoDB.Bson.2.4.4\lib\net45\MongoDB.Bson.dll - - ..\packages\MongoDB.Driver.2.2.3\lib\net45\MongoDB.Driver.dll - True + + ..\packages\MongoDB.Driver.2.4.4\lib\net45\MongoDB.Driver.dll - - ..\packages\MongoDB.Driver.Core.2.2.3\lib\net45\MongoDB.Driver.Core.dll - True + + ..\packages\MongoDB.Driver.Core.2.4.4\lib\net45\MongoDB.Driver.Core.dll + + + ..\packages\System.Runtime.InteropServices.RuntimeInformation.4.3.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll @@ -93,12 +92,12 @@ - + + + - - 10.0 @@ -129,8 +128,8 @@ This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - + + - - + + - - - - - - - + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/MongoDbGenericRepository/bin/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll b/MongoDbGenericRepository/bin/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll index 4d638b3..42e3638 100644 Binary files a/MongoDbGenericRepository/bin/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll and b/MongoDbGenericRepository/bin/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll differ diff --git a/MongoDbGenericRepository/bin/MongoDB.Bson.dll b/MongoDbGenericRepository/bin/MongoDB.Bson.dll index f5d9b84..51ef883 100644 Binary files a/MongoDbGenericRepository/bin/MongoDB.Bson.dll and b/MongoDbGenericRepository/bin/MongoDB.Bson.dll differ diff --git a/MongoDbGenericRepository/bin/MongoDB.Bson.xml b/MongoDbGenericRepository/bin/MongoDB.Bson.xml index b8b26aa..67dca76 100644 --- a/MongoDbGenericRepository/bin/MongoDB.Bson.xml +++ b/MongoDbGenericRepository/bin/MongoDB.Bson.xml @@ -1,15589 +1,9525 @@ - + - - MongoDB.Bson - - - - - Represents a BSON array. - - - - - Initializes a new instance of the BsonArray class. - - - - - Initializes a new instance of the BsonArray class. - - A list of values to add to the array. - - - - Initializes a new instance of the BsonArray class. - - A list of values to add to the array. - - - - Initializes a new instance of the BsonArray class. - - A list of values to add to the array. - - - - Initializes a new instance of the BsonArray class. - - A list of values to add to the array. - - - - Initializes a new instance of the BsonArray class. - - A list of values to add to the array. - - - - Initializes a new instance of the BsonArray class. - - A list of values to add to the array. - - - - Initializes a new instance of the BsonArray class. - - A list of values to add to the array. - - - - Initializes a new instance of the BsonArray class. - - A list of values to add to the array. - - - - Initializes a new instance of the BsonArray class. - - A list of values to add to the array. - - - - Initializes a new instance of the BsonArray class. - - The initial capacity of the array. - - - - Adds an element to the array. - - The value to add to the array. - The array (so method calls can be chained). - - - - Adds multiple elements to the array. - - A list of values to add to the array. - The array (so method calls can be chained). - - - - Adds multiple elements to the array. - - A list of values to add to the array. - The array (so method calls can be chained). - - - - Adds multiple elements to the array. - - A list of values to add to the array. - The array (so method calls can be chained). - - - - Adds multiple elements to the array. - - A list of values to add to the array. - The array (so method calls can be chained). - - - - Adds multiple elements to the array. - - A list of values to add to the array. - The array (so method calls can be chained). - - - - Adds multiple elements to the array. - - A list of values to add to the array. - The array (so method calls can be chained). - - - - Adds multiple elements to the array. - - A list of values to add to the array. - The array (so method calls can be chained). - - - - Adds multiple elements to the array. - - A list of values to add to the array. - The array (so method calls can be chained). - - - - Adds multiple elements to the array. - - A list of values to add to the array. - The array (so method calls can be chained). - - - - Gets the BsonType of this BsonValue. - - - - - Gets or sets the total number of elements the internal data structure can hold without resizing. - - - - - Clears the array. - - - - - Creates a shallow clone of the array (see also DeepClone). - - A shallow clone of the array. - - - - Compares the array to another array. - - The other array. - A 32-bit signed integer that indicates whether this array is less than, equal to, or greather than the other. - - - - Compares the array to another BsonValue. - - The other BsonValue. - A 32-bit signed integer that indicates whether this array is less than, equal to, or greather than the other BsonValue. - - - - Tests whether the array contains a value. - - The value to test for. - True if the array contains the value. - - - - Copies elements from this array to another array. - - The other array. - The zero based index of the other array at which to start copying. - - - - Copies elements from this array to another array as raw values (see BsonValue.RawValue). - - The other array. - The zero based index of the other array at which to start copying. - - - - Gets the count of array elements. - - - - - Creates a new BsonArray. - - A value to be mapped to a BsonArray. - A BsonArray or null. - - - - Creates a deep clone of the array (see also Clone). - - A deep clone of the array. - - - - Compares this array to another array. - - The other array. - True if the two arrays are equal. - - - - Compares this BsonArray to another object. - - The other object. - True if the other object is a BsonArray and equal to this one. - - - - Gets an enumerator that can enumerate the elements of the array. - - An enumerator. - - - - Gets the hash code. - - The hash code. - - - - Gets the index of a value in the array. - - The value to search for. - The zero based index of the value (or -1 if not found). - - - - Gets the index of a value in the array. - - The value to search for. - The zero based index at which to start the search. - The zero based index of the value (or -1 if not found). - - - - Gets the index of a value in the array. - - The value to search for. - The zero based index at which to start the search. - The number of elements to search. - The zero based index of the value (or -1 if not found). - - - - Inserts a new value into the array. - - The zero based index at which to insert the new value. - The new value. - - - - Gets whether the array is read-only. - - - - - Gets or sets a value by position. - - The position. - The value. - - - - Compares two BsonArray values. - - The first BsonArray. - The other BsonArray. - True if the two BsonArray values are equal according to ==. - - - - Compares two BsonArray values. - - The first BsonArray. - The other BsonArray. - True if the two BsonArray values are not equal according to ==. - - - - Gets the array elements as raw values (see BsonValue.RawValue). - - - - - Removes the first occurrence of a value from the array. - - The value to remove. - True if the value was removed. - - - - Removes an element from the array. - - The zero based index of the element to remove. - - - - Converts the BsonArray to an array of BsonValues. - - An array of BsonValues. - - - - Converts the BsonArray to a list of BsonValues. - - A list of BsonValues. - - - - Returns a string representation of the array. - - A string representation of the array. - - - - Gets the array elements. - - - - - Represents BSON binary data. - - - - - Initializes a new instance of the BsonBinaryData class. - - The binary data. - - - - Initializes a new instance of the BsonBinaryData class. - - The binary data. - The binary data subtype. - - - - Initializes a new instance of the BsonBinaryData class. - - The binary data. - The binary data subtype. - The representation for Guids. - - - - Initializes a new instance of the BsonBinaryData class. - - A Guid. - - - - Initializes a new instance of the BsonBinaryData class. - - A Guid. - The representation for Guids. - - - - Gets the BsonType of this BsonValue. - - - - - Gets the binary data. - - - - - Compares this BsonBinaryData to another BsonBinaryData. - - The other BsonBinaryData. - A 32-bit signed integer that indicates whether this BsonBinaryData is less than, equal to, or greather than the other. - - - - Compares the BsonBinaryData to another BsonValue. - - The other BsonValue. - A 32-bit signed integer that indicates whether this BsonBinaryData is less than, equal to, or greather than the other BsonValue. - - - - Creates a new BsonBinaryData. - - An object to be mapped to a BsonBinaryData. - A BsonBinaryData or null. - - - - Compares this BsonBinaryData to another BsonBinaryData. - - The other BsonBinaryData. - True if the two BsonBinaryData values are equal. - - - - Compares this BsonBinaryData to another object. - - The other object. - True if the other object is a BsonBinaryData and equal to this one. - - - - Gets the hash code. - - The hash code. - - - - Gets the representation to use when representing the Guid as BSON binary data. - - - - - Compares two BsonBinaryData values. - - The first BsonBinaryData. - The other BsonBinaryData. - True if the two BsonBinaryData values are equal according to ==. - - - - Converts a byte array to a BsonBinaryData. - - A byte array. - A BsonBinaryData. - - - - Converts a Guid to a BsonBinaryData. - - A Guid. - A BsonBinaryData. - - - - Compares two BsonBinaryData values. - - The first BsonBinaryData. - The other BsonBinaryData. - True if the two BsonBinaryData values are not equal according to ==. - - - - Gets the BsonBinaryData as a Guid if the subtype is UuidStandard or UuidLegacy, otherwise null. - - - - - Gets the binary data subtype. - - - - - Converts this BsonBinaryData to a Guid. - - A Guid. - - - - Converts this BsonBinaryData to a Guid. - - The representation for Guids. - A Guid. - - - - Returns a string representation of the binary data. - - A string representation of the binary data. - - - - Represents the binary data subtype of a BsonBinaryData. - - - - - Binary data. - - - - - A function. - - - - - Obsolete binary data subtype (use Binary instead). - - - - - A UUID in a driver dependent legacy byte order. - - - - - A UUID in standard network byte order. - - - - - An MD5 hash. - - - - - User defined binary data. - - - - - Represents a BSON boolean value. - - - - - Initializes a new instance of the BsonBoolean class. - - The value. - - - - Gets the BsonType of this BsonValue. - - - - - Compares this BsonBoolean to another BsonBoolean. - - The other BsonBoolean. - A 32-bit signed integer that indicates whether this BsonBoolean is less than, equal to, or greather than the other. - - - - Compares the BsonBoolean to another BsonValue. - - The other BsonValue. - A 32-bit signed integer that indicates whether this BsonBoolean is less than, equal to, or greather than the other BsonValue. - - - - Returns one of the two possible BsonBoolean values. - - An object to be mapped to a BsonBoolean. - A BsonBoolean or null. - - - - Compares this BsonBoolean to another BsonBoolean. - - The other BsonBoolean. - True if the two BsonBoolean values are equal. - - - - Compares this BsonBoolean to another object. - - The other object. - True if the other object is a BsonBoolean and equal to this one. - - - - Gets the instance of BsonBoolean that represents false. - - - - - Gets the hash code. - - The hash code. - - - - Implementation of the IConvertible GetTypeCode method. - - The TypeCode. - - - - Implementation of the IConvertible ToBoolean method. - - The format provider. - A bool. - - - - Implementation of the IConvertible ToByte method. - - The format provider. - A byte. - - - - Implementation of the IConvertible ToDecimal method. - - The format provider. - A decimal. - - - - Implementation of the IConvertible ToDouble method. - - The format provider. - A double. - - - - Implementation of the IConvertible ToInt16 method. - - The format provider. - A short. - - - - Implementation of the IConvertible ToInt32 method. - - The format provider. - An int. - - - - Implementation of the IConvertible ToInt64 method. - - The format provider. - A long. - - - - Implementation of the IConvertible ToSByte method. - - The format provider. - An sbyte. - - - - Implementation of the IConvertible ToSingle method. - - The format provider. - A float. - - - - Implementation of the IConvertible ToString method. - - The format provider. - A string. - - - - Implementation of the IConvertible ToUInt16 method. - - The format provider. - A ushort. - - - - Implementation of the IConvertible ToUInt32 method. - - The format provider. - A uint. - - - - Implementation of the IConvertible ToUInt64 method. - - The format provider. - A ulong. - - - - Compares two BsonBoolean values. - - The first BsonBoolean. - The other BsonBoolean. - True if the two BsonBoolean values are equal according to ==. - - - - Converts a bool to a BsonBoolean. - - A bool. - A BsonBoolean. - - - - Compares two BsonBoolean values. - - The first BsonBoolean. - The other BsonBoolean. - True if the two BsonBoolean values are not equal according to ==. - - - - Gets the BsonBoolean as a bool. - - - - - Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). - - A Boolean. - - - - Returns a string representation of the value. - - A string representation of the value. - - - - Gets the instance of BsonBoolean that represents true. - - - - - Gets the value of this BsonBoolean. - - - - - A static class containing BSON constants. - - - - - Gets the number of milliseconds since the Unix epoch for DateTime.MaxValue. - - - - - Gets the number of milliseconds since the Unix epoch for DateTime.MinValue. - - - - - Gets the Unix Epoch for BSON DateTimes (1970-01-01). - - - - - Represents a BSON DateTime value. - - - - - Initializes a new instance of the BsonDateTime class. - - A DateTime. - - - - Initializes a new instance of the BsonDateTime class. - - Milliseconds since Unix Epoch. - - - - Gets the BsonType of this BsonValue. - - - - - Compares this BsonDateTime to another BsonDateTime. - - The other BsonDateTime. - A 32-bit signed integer that indicates whether this BsonDateTime is less than, equal to, or greather than the other. - - - - Compares the BsonDateTime to another BsonValue. - - The other BsonValue. - A 32-bit signed integer that indicates whether this BsonDateTime is less than, equal to, or greather than the other BsonValue. - - - - Creates a new BsonDateTime. - - An object to be mapped to a BsonDateTime. - A BsonDateTime or null. - - - - Compares this BsonDateTime to another BsonDateTime. - - The other BsonDateTime. - True if the two BsonDateTime values are equal. - - - - Compares this BsonDateTime to another object. - - The other object. - True if the other object is a BsonDateTime and equal to this one. - - - - Gets the hash code. - - The hash code. - - - - Implementation of the IConvertible GetTypeCode method. - - The TypeCode. - - - - Implementation of the IConvertible ToDateTime method. - - The format provider. - A DateTime. - - - - Gets whether this BsonDateTime is a valid .NET DateTime. - - - - - Gets the number of milliseconds since the Unix Epoch. - - - - - Compares two BsonDateTime values. - - The first BsonDateTime. - The other BsonDateTime. - True if the two BsonDateTime values are equal according to ==. - - - - Converts a DateTime to a BsonDateTime. - - A DateTime. - A BsonDateTime. - - - - Compares two BsonDateTime values. - - The first BsonDateTime. - The other BsonDateTime. - True if the two BsonDateTime values are not equal according to ==. - - - - Gets the number of milliseconds since the Unix Epoch. - - - - - Converts this BsonValue to a DateTime in local time. - - A DateTime. - - - - Converts this BsonValue to a DateTime? in local time. - - A DateTime?. - - - - Converts this BsonValue to a DateTime? in UTC. - - A DateTime?. - - - - Returns a string representation of the value. - - A string representation of the value. - - - - Converts this BsonValue to a DateTime in UTC. - - A DateTime. - - - - Gets the DateTime value. - - - - - A static helper class containing BSON defaults. - - - - - Gets or sets the dynamic array serializer. - - - - - Gets or sets the dynamic document serializer. - - - - - Gets or sets the default representation to be used in serialization of - Guids to the database. - - - - - Gets or sets the default max document size. The default is 4MiB. - - - - - Gets or sets the default max serialization depth (used to detect circular references during serialization). The default is 100. - - - - - Represents a BSON document. - - - - - Initializes a new instance of the BsonDocument class. - - - - - Initializes a new instance of the BsonDocument class and adds one element. - - An element to add to the document. - - - - Initializes a new instance of the BsonDocument class and adds one or more elements. - - One or more elements to add to the document. - - - - Initializes a new instance of the BsonDocument class specifying whether duplicate element names are allowed - (allowing duplicate element names is not recommended). - - Whether duplicate element names are allowed. - - - - Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs. - - A dictionary to initialize the document from. - - - - Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs. - - A dictionary to initialize the document from. - A list of keys to select values from the dictionary. - - - - Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs. - - A dictionary to initialize the document from. - A list of keys to select values from the dictionary. - - - - Initializes a new instance of the BsonDocument class and adds new elements from a list of elements. - - A list of elements to add to the document. - - - - Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs. - - A dictionary to initialize the document from. - - - - Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs. - - A dictionary to initialize the document from. - - - - Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs. - - A dictionary to initialize the document from. - A list of keys to select values from the dictionary. - - - - Initializes a new instance of the BsonDocument class and creates and adds a new element. - - The name of the element to add to the document. - The value of the element to add to the document. - - - - Adds an element to the document. - - The element to add. - The document (so method calls can be chained). - - - - Adds a list of elements to the document. - - The list of elements. - The document (so method calls can be chained). - - - - Adds elements to the document from a dictionary of key/value pairs. - - The dictionary. - The document (so method calls can be chained). - - - - Adds elements to the document from a dictionary of key/value pairs. - - The dictionary. - Which keys of the hash table to add. - The document (so method calls can be chained). - - - - Adds elements to the document from a dictionary of key/value pairs. - - The dictionary. - The document (so method calls can be chained). - - - - Adds elements to the document from a dictionary of key/value pairs. - - The dictionary. - Which keys of the hash table to add. - The document (so method calls can be chained). - - - - Adds a list of elements to the document. - - The list of elements. - The document (so method calls can be chained). - - - - Adds elements to the document from a dictionary of key/value pairs. - - The dictionary. - The document (so method calls can be chained). - - - - Adds elements to the document from a dictionary of key/value pairs. - - The dictionary. - Which keys of the hash table to add. - The document (so method calls can be chained). - - - - Creates and adds an element to the document. - - The name of the element. - The value of the element. - The document (so method calls can be chained). - - - - Creates and adds an element to the document, but only if the condition is true. - - The name of the element. - The value of the element. - Whether to add the element to the document. - The document (so method calls can be chained). - - - - Creates and adds an element to the document, but only if the condition is true. - If the condition is false the value factory is not called at all. - - The name of the element. - A delegate called to compute the value of the element if condition is true. - Whether to add the element to the document. - The document (so method calls can be chained). - - - - Adds elements to the document from a dictionary of key/value pairs. - - The dictionary. - The document (so method calls can be chained). - - - - Adds a list of elements to the document. - - The list of elements. - The document (so method calls can be chained). - - - - Adds elements to the document from a dictionary of key/value pairs. - - The dictionary. - The document (so method calls can be chained). - - - - Adds elements to the document from a dictionary of key/value pairs. - - The dictionary. - The document (so method calls can be chained). - - - - Gets or sets whether to allow duplicate names (allowing duplicate names is not recommended). - - - - - Gets the BsonType of this BsonValue. - - - - - Clears the document (removes all elements). - - - - - Creates a shallow clone of the document (see also DeepClone). - - A shallow clone of the document. - - - - Compares this document to another document. - - The other document. - A 32-bit signed integer that indicates whether this document is less than, equal to, or greather than the other. - - - - Compares the BsonDocument to another BsonValue. - - The other BsonValue. - A 32-bit signed integer that indicates whether this BsonDocument is less than, equal to, or greather than the other BsonValue. - - - - Tests whether the document contains an element with the specified name. - - The name of the element to look for. - True if the document contains an element with the specified name. - - - - Tests whether the document contains an element with the specified value. - - The value of the element to look for. - True if the document contains an element with the specified value. - - - - Creates a new BsonDocument by mapping an object to a BsonDocument. - - The object to be mapped to a BsonDocument. - A BsonDocument. - - - - Creates a deep clone of the document (see also Clone). - - A deep clone of the document. - - - - Gets the number of elements. - - - - - Gets the elements. - - - - - Compares this document to another document. - - The other document. - True if the two documents are equal. - - - - Compares this BsonDocument to another object. - - The other object. - True if the other object is a BsonDocument and equal to this one. - - - - Gets an element of this document. - - The zero based index of the element. - The element. - - - - Gets an element of this document. - - The name of the element. - A BsonElement. - - - - Gets an enumerator that can be used to enumerate the elements of this document. - - An enumerator. - - - - Gets the hash code. - - The hash code. - - - - Gets the value of an element. - - The zero based index of the element. - The value of the element. - - - - Gets the value of an element. - - The name of the element. - The value of the element. - - - - Gets the value of an element or a default value if the element is not found. - - The name of the element. - The default value returned if the element is not found. - The value of the element or the default value if the element is not found. - - - - Gets the index of an element. - - The name of the element. - The index of the element, or -1 if the element is not found. - - - - Inserts a new element at a specified position. - - The position of the new element. - The element. - - - - Gets or sets a value by position. - - The position. - The value. - - - - Gets or sets a value by name. - - The name. - The value. - - - - Gets the value of an element or a default value if the element is not found. - - The name of the element. - The default value to return if the element is not found. - Teh value of the element or a default value if the element is not found. - - - - Merges another document into this one. Existing elements are not overwritten. - - The other document. - The document (so method calls can be chained). - - - - Merges another document into this one, specifying whether existing elements are overwritten. - - The other document. - Whether to overwrite existing elements. - The document (so method calls can be chained). - - - - Gets the element names. - - - - - Compares two BsonDocument values. - - The first BsonDocument. - The other BsonDocument. - True if the two BsonDocument values are equal according to ==. - - - - Compares two BsonDocument values. - - The first BsonDocument. - The other BsonDocument. - True if the two BsonDocument values are not equal according to ==. - - - - Parses a JSON string and returns a BsonDocument. - - The JSON string. - A BsonDocument. - - - - Gets the raw values (see BsonValue.RawValue). - - - - - Removes an element from this document (if duplicate element names are allowed - then all elements with this name will be removed). - - The name of the element to remove. - - - - Removes an element from this document. - - The zero based index of the element to remove. - - - - Removes an element from this document. - - The element to remove. - - - - Sets the value of an element. - - The zero based index of the element whose value is to be set. - The new value. - The document (so method calls can be chained). - - - - Sets the value of an element (an element will be added if no element with this name is found). - - The name of the element whose value is to be set. - The new value. - The document (so method calls can be chained). - - - - Sets an element of the document (replaces any existing element with the same name or adds a new element if an element with the same name is not found). - - The new element. - The document. - - - - Sets an element of the document (replacing the existing element at that position). - - The zero based index of the element to replace. - The new element. - The document. - - - - Converts the BsonDocument to a Dictionary<string, object>. - - A dictionary. - - - - Converts the BsonDocument to a Hashtable. - - A hashtable. - - - - Returns a string representation of the document. - - A string representation of the document. - - - - Tries to get an element of this document. - - The name of the element. - The element. - True if an element with that name was found. - - - - Tries to get the value of an element of this document. - - The name of the element. - The value of the element. - True if an element with that name was found. - - - - Gets the values. - - - - - Represents a BsonDocument wrapper. - - - - - Initializes a new instance of the class. - - The value. - - - - Initializes a new instance of the class. - - The value. - The serializer. - - - - Creates a shallow clone of the document (see also DeepClone). - - - A shallow clone of the document. - - - - - Creates a new instance of the BsonDocumentWrapper class. - - The nominal type of the wrapped object. - The wrapped object. - A BsonDocumentWrapper. - - - - Creates a new instance of the BsonDocumentWrapper class. - - The wrapped object. - The nominal type of the wrapped object. - A BsonDocumentWrapper. - - - - Creates a list of new instances of the BsonDocumentWrapper class. - - A list of wrapped objects. - The nominal type of the wrapped objects. - A list of BsonDocumentWrappers. - - - - Creates a list of new instances of the BsonDocumentWrapper class. - - The nominal type of the wrapped object. - A list of wrapped objects. - A list of BsonDocumentWrappers. - - - - Materializes the BsonDocument. - - The materialized elements. - - - - Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state. - - - - - Gets the serializer. - - - - - Gets the wrapped value. - - - - - Represents a BSON double value. - - - - - Initializes a new instance of the BsonDouble class. - - The value. - - - - Gets the BsonType of this BsonValue. - - - - - Compares this BsonDouble to another BsonDouble. - - The other BsonDouble. - A 32-bit signed integer that indicates whether this BsonDouble is less than, equal to, or greather than the other. - - - - Compares the BsonDouble to another BsonValue. - - The other BsonValue. - A 32-bit signed integer that indicates whether this BsonDouble is less than, equal to, or greather than the other BsonValue. - - - - Creates a new instance of the BsonDouble class. - - An object to be mapped to a BsonDouble. - A BsonDouble. - - - - Compares this BsonDouble to another BsonDouble. - - The other BsonDouble. - True if the two BsonDouble values are equal. - - - - Compares this BsonDouble to another object. - - The other object. - True if the other object is a BsonDouble and equal to this one. - - - - Gets the hash code. - - The hash code. - - - - Implementation of the IConvertible GetTypeCode method. - - The TypeCode. - - - - Implementation of the IConvertible ToBoolean method. - - The format provider. - A bool. - - - - Implementation of the IConvertible ToByte method. - - The format provider. - A byte. - - - - Implementation of the IConvertible ToDecimal method. - - The format provider. - A decimal. - - - - Implementation of the IConvertible ToDouble method. - - The format provider. - A double. - - - - Implementation of the IConvertible ToInt16 method. - - The format provider. - A short. - - - - Implementation of the IConvertible ToInt32 method. - - The format provider. - An int. - - - - Implementation of the IConvertible ToInt64 method. - - The format provider. - A long. - - - - Implementation of the IConvertible ToSByte method. - - The format provider. - An sbyte. - - - - Implementation of the IConvertible ToSingle method. - - The format provider. - A float. - - - - Implementation of the IConvertible ToString method. - - The format provider. - A string. - - - - Implementation of the IConvertible ToUInt16 method. - - The format provider. - A ushort. - - - - Implementation of the IConvertible ToUInt32 method. - - The format provider. - A uint. - - - - Implementation of the IConvertible ToUInt64 method. - - The format provider. - A ulong. - - - - Compares two BsonDouble values. - - The first BsonDouble. - The other BsonDouble. - True if the two BsonDouble values are equal according to ==. - - - - Converts a double to a BsonDouble. - - A double. - A BsonDouble. - - - - Compares two BsonDouble values. - - The first BsonDouble. - The other BsonDouble. - True if the two BsonDouble values are not equal according to ==. - - - - Compares this BsonDouble against another BsonValue. - - The other BsonValue. - True if this BsonDouble and the other BsonValue are equal according to ==. - - - - Gets the BsonDouble as a double. - - - - - Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). - - A Boolean. - - - - Converts this BsonValue to a Double. - - A Double. - - - - Converts this BsonValue to an Int32. - - An Int32. - - - - Converts this BsonValue to an Int64. - - An Int32. - - - - Returns a string representation of the value. - - A string representation of the value. - - - - Gets the value of this BsonDouble. - - - - - Represents a BSON element. - - - - - Initializes a new instance of the BsonElement class. - - The name of the element. - The value of the element. - - - - Creates a shallow clone of the element (see also DeepClone). - - A shallow clone of the element. - - - - Compares this BsonElement to another BsonElement. - - The other BsonElement. - A 32-bit signed integer that indicates whether this BsonElement is less than, equal to, or greather than the other. - - - - Creates a deep clone of the element (see also Clone). - - A deep clone of the element. - - - - Compares this BsonElement to another BsonElement. - - The other BsonElement. - True if the two BsonElement values are equal. - - - - Compares this BsonElement to another object. - - The other object. - True if the other object is a BsonElement and equal to this one. - - - - Gets the hash code. - - The hash code. - - - - Gets the name of the element. - - - - - Compares two BsonElements. - - The first BsonElement. - The other BsonElement. - True if the two BsonElements are equal (or both null). - - - - Compares two BsonElements. - - The first BsonElement. - The other BsonElement. - True if the two BsonElements are not equal (or one is null and the other is not). - - - - Returns a string representation of the value. - - A string representation of the value. - - - - Gets or sets the value of the element. - - - - - Represents a BSON exception. - - - - - Initializes a new instance of the BsonException class. - - - - - Initializes a new instance of the BsonException class (this overload used by deserialization). - - The SerializationInfo. - The StreamingContext. - - - - Initializes a new instance of the BsonException class. - - The error message. - - - - Initializes a new instance of the BsonException class. - - The error message. - The inner exception. - - - - Initializes a new instance of the BsonException class. - - The error message format string. - One or more args for the error message. - - - + + MongoDB.Bson + + + + A static class containing BSON extension methods. - - - + + + Serializes an object to a BSON byte array. - The object. - The nominal type of the object.. - The writer settings. - The serializer. - The serialization context configurator. - The serialization args. - A BSON byte array. - nominalType - serializer - - - + The nominal type of the object. + The object. + The serializer. + The writer settings. + The serialization context configurator. + The serialization args. + A BSON byte array. + + + Serializes an object to a BSON byte array. - The object. - The serializer. - The writer settings. - The serialization context configurator. - The serialization args. - The nominal type of the object. - A BSON byte array. - - - + The object. + The nominal type of the object.. + The writer settings. + The serializer. + The serialization context configurator. + The serialization args. + A BSON byte array. + nominalType + serializer + + + Serializes an object to a BsonDocument. - The object. - The nominal type of the object. - The serializer. - The serialization context configurator. - The serialization args. - A BsonDocument. - nominalType - serializer - - - + The nominal type of the object. + The object. + The serializer. + The serialization context configurator. + The serialization args. + A BsonDocument. + + + Serializes an object to a BsonDocument. - The object. - The serializer. - The serialization context configurator. - The serialization args. - The nominal type of the object. - A BsonDocument. - - - + The object. + The nominal type of the object. + The serializer. + The serialization context configurator. + The serialization args. + A BsonDocument. + nominalType + serializer + + + Serializes an object to a JSON string. - The object. - The nominal type of the objectt. - The JsonWriter settings. - The serializer. - The serialization context configurator. - The serialization args. - + The nominal type of the object. + The object. + The JsonWriter settings. + The serializer. + The serializastion context configurator. + The serialization args. + A JSON string. - nominalType - serializer - - - + + + Serializes an object to a JSON string. - The object. - The JsonWriter settings. - The serializer. - The serializastion context configurator. - The serialization args. - The nominal type of the object. - + The object. + The nominal type of the objectt. + The JsonWriter settings. + The serializer. + The serialization context configurator. + The serialization args. + A JSON string. - - - - Represents a BSON int value. - - - - - Creates a new instance of the BsonInt32 class. - - The value. - - - - Gets the BsonType of this BsonValue. - - - - - Compares this BsonInt32 to another BsonInt32. - - The other BsonInt32. - A 32-bit signed integer that indicates whether this BsonInt32 is less than, equal to, or greather than the other. - - - - Compares the BsonInt32 to another BsonValue. - - The other BsonValue. - A 32-bit signed integer that indicates whether this BsonInt32 is less than, equal to, or greather than the other BsonValue. - - - - Creates a new BsonInt32. - - An object to be mapped to a BsonInt32. - A BsonInt32 or null. - - - - Compares this BsonInt32 to another BsonInt32. - - The other BsonInt32. - True if the two BsonInt32 values are equal. - - - - Compares this BsonInt32 to another object. - - The other object. - True if the other object is a BsonInt32 and equal to this one. - - - - Gets the hash code. - - The hash code. - - - - Implementation of the IConvertible GetTypeCode method. - - The TypeCode. - - - - Implementation of the IConvertible ToBoolean method. - - The format provider. - A bool. - - - - Implementation of the IConvertible ToByte method. - - The format provider. - A byte. - - - - Implementation of the IConvertible ToChar method. - - The format provider. - A char. - - - - Implementation of the IConvertible ToDecimal method. - - The format provider. - A decimal. - - - - Implementation of the IConvertible ToDouble method. - - The format provider. - A double. - - - - Implementation of the IConvertible ToInt16 method. - - The format provider. - A short. - - - - Implementation of the IConvertible ToInt32 method. - - The format provider. - An int. - - - - Implementation of the IConvertible ToInt64 method. - - The format provider. - A long. - - - - Implementation of the IConvertible ToSByte method. - - The format provider. - An sbyte. - - - - Implementation of the IConvertible ToSingle method. - - The format provider. - A float. - - - - Implementation of the IConvertible ToString method. - - The format provider. - A string. - - - - Implementation of the IConvertible ToUInt16 method. - - The format provider. - A ushort. - - - - Implementation of the IConvertible ToUInt32 method. - - The format provider. - A uint. - - - - Implementation of the IConvertible ToUInt64 method. - - The format provider. - A ulong. - - - - Gets an instance of BsonInt32 that represents -1. - - - - - Gets an instance of BsonInt32 that represents 1. - - - - - Compares two BsonInt32 values. - - The first BsonInt32. - The other BsonInt32. - True if the two BsonInt32 values are equal according to ==. - - - - Converts an int to a BsonInt32. - - An int. - A BsonInt32. - - - - Compares two BsonInt32 values. - - The first BsonInt32. - The other BsonInt32. - True if the two BsonInt32 values are not equal according to ==. - - - - Compares this BsonInt32 against another BsonValue. - - The other BsonValue. - True if this BsonInt32 and the other BsonValue are equal according to ==. - - - - Gets the BsonInt32 as an int. - - - - - Gets an instance of BsonInt32 that represents 3. - - - - - Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). - - A Boolean. - - - - Converts this BsonValue to a Double. - - A Double. - - - - Converts this BsonValue to an Int32. - - An Int32. - - - - Converts this BsonValue to an Int64. - - An Int32. - - - - Returns a string representation of the value. - - A string representation of the value. - - - - Gets an instance of BsonInt32 that represents 2. - - - - - Gets the value of this BsonInt32. - - - - - Gets an instance of BsonInt32 that represents -0. - - - - - Represents a BSON long value. - - - - - Initializes a new instance of the BsonInt64 class. - - The value. - - - - Gets the BsonType of this BsonValue. - - - - - Compares this BsonInt64 to another BsonInt64. - - The other BsonInt64. - A 32-bit signed integer that indicates whether this BsonInt64 is less than, equal to, or greather than the other. - - - - Compares the BsonInt64 to another BsonValue. - - The other BsonValue. - A 32-bit signed integer that indicates whether this BsonInt64 is less than, equal to, or greather than the other BsonValue. - - - - Creates a new BsonInt64. - - An object to be mapped to a BsonInt64. - A BsonInt64 or null. - - - - Compares this BsonInt64 to another BsonInt64. - - The other BsonInt64. - True if the two BsonInt64 values are equal. - - - - Compares this BsonInt64 to another object. - - The other object. - True if the other object is a BsonInt64 and equal to this one. - - - - Gets the hash code. - - The hash code. - - - - Implementation of the IConvertible GetTypeCode method. - - The TypeCode. - - - - Implementation of the IConvertible ToBoolean method. - - The format provider. - A bool. - - - - Implementation of the IConvertible ToByte method. - - The format provider. - A byte. - - - - Implementation of the IConvertible ToChar method. - - The format provider. - A char. - - - - Implementation of the IConvertible ToDecimal method. - - The format provider. - A decimal. - - - - Implementation of the IConvertible ToDouble method. - - The format provider. - A double. - - - - Implementation of the IConvertible ToInt16 method. - - The format provider. - A short. - - - - Implementation of the IConvertible ToInt32 method. - - The format provider. - An int. - - - - Implementation of the IConvertible ToInt64 method. - - The format provider. - A long. - - - - Implementation of the IConvertible ToSByte method. - - The format provider. - An sbyte. - - - - Implementation of the IConvertible ToSingle method. - - The format provider. - A float. - - - - Implementation of the IConvertible ToString method. - - The format provider. - A string. - - - - Implementation of the IConvertible ToUInt16 method. - - The format provider. - A ushort. - - - - Implementation of the IConvertible ToUInt32 method. - - The format provider. - A uint. - - - - Implementation of the IConvertible ToUInt64 method. - - The format provider. - A ulong. - - - - Compares two BsonInt64 values. - - The first BsonInt64. - The other BsonInt64. - True if the two BsonInt64 values are equal according to ==. - - - - Converts a long to a BsonInt64. - - A long. - A BsonInt64. - - - - Compares two BsonInt64 values. - - The first BsonInt64. - The other BsonInt64. - True if the two BsonInt64 values are not equal according to ==. - - - - Compares this BsonInt32 against another BsonValue. - - The other BsonValue. - True if this BsonInt64 and the other BsonValue are equal according to ==. - - - - Gets the BsonInt64 as a long. - - - - - Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). - - A Boolean. - - - - Converts this BsonValue to a Double. - - A Double. - - - - Converts this BsonValue to an Int32. - - An Int32. - - - - Converts this BsonValue to an Int64. - - An Int32. - - - - Returns a string representation of the value. - - A string representation of the value. - - - - Gets the value of this BsonInt64. - - - - - Represents a BSON internal exception (almost surely the result of a bug). - - - - - Initializes a new instance of the BsonInternalException class. - - - - - Initializes a new instance of the BsonInternalException class (this overload used by deserialization). - - The SerializationInfo. - The StreamingContext. - - - - Initializes a new instance of the BsonInternalException class. - - The error message. - - - - Initializes a new instance of the BsonInternalException class. - - The error message. - The inner exception. - - - - Represents a BSON JavaScript value. - - - - - Initializes a new instance of the BsonJavaScript class. - - The JavaScript code. - - - - Gets the BsonType of this BsonValue. - - - - - Gets the JavaScript code. - - - - - Compares this BsonJavaScript to another BsonJavaScript. - - The other BsonJavaScript. - A 32-bit signed integer that indicates whether this BsonJavaScript is less than, equal to, or greather than the other. - - - - Compares the BsonJavaScript to another BsonValue. - - The other BsonValue. - A 32-bit signed integer that indicates whether this BsonJavaScript is less than, equal to, or greather than the other BsonValue. - - - - Creates a new BsonJavaScript. - - An object to be mapped to a BsonJavaScript. - A BsonJavaScript or null. - - - - Compares this BsonJavaScript to another BsonJavaScript. - - The other BsonJavaScript. - True if the two BsonJavaScript values are equal. - - - - Compares this BsonJavaScript to another object. - - The other object. - True if the other object is a BsonJavaScript and equal to this one. - - - - Gets the hash code. - - The hash code. - - - - Compares two BsonJavaScript values. - - The first BsonJavaScript. - The other BsonJavaScript. - True if the two BsonJavaScript values are equal according to ==. - - - - Converts a string to a BsonJavaScript. - - A string. - A BsonJavaScript. - - - - Compares two BsonJavaScript values. - - The first BsonJavaScript. - The other BsonJavaScript. - True if the two BsonJavaScript values are not equal according to ==. - - - - Returns a string representation of the value. - - A string representation of the value. - - - - Represents a BSON JavaScript value with a scope. - - - - - Initializes a new instance of the BsonJavaScriptWithScope class. - - The JavaScript code. - A scope (a set of variables with values). - - - - Gets the BsonType of this BsonValue. - - - - - Creates a shallow clone of the BsonJavaScriptWithScope (see also DeepClone). - - A shallow clone of the BsonJavaScriptWithScope. - - - - Compares this BsonJavaScriptWithScope to another BsonJavaScriptWithScope. - - The other BsonJavaScriptWithScope. - A 32-bit signed integer that indicates whether this BsonJavaScriptWithScope is less than, equal to, or greather than the other. - - - - Compares the BsonJavaScriptWithScope to another BsonValue. - - The other BsonValue. - A 32-bit signed integer that indicates whether this BsonJavaScriptWithScope is less than, equal to, or greather than the other BsonValue. - - - - Creates a new BsonJavaScriptWithScope. - - An object to be mapped to a BsonJavaScriptWithScope. - A BsonJavaScriptWithScope or null. - - - - Creates a deep clone of the BsonJavaScriptWithScope (see also Clone). - - A deep clone of the BsonJavaScriptWithScope. - - - - Compares this BsonJavaScriptWithScope to another BsonJavaScriptWithScope. - - The other BsonJavaScriptWithScope. - True if the two BsonJavaScriptWithScope values are equal. - - - - Compares this BsonJavaScriptWithScope to another object. - - The other object. - True if the other object is a BsonJavaScriptWithScope and equal to this one. - - - - Gets the hash code. - - The hash code. - - - - Compares two BsonJavaScriptWithScope values. - - The first BsonJavaScriptWithScope. - The other BsonJavaScriptWithScope. - True if the two BsonJavaScriptWithScope values are equal according to ==. - - - - Compares two BsonJavaScriptWithScope values. - - The first BsonJavaScriptWithScope. - The other BsonJavaScriptWithScope. - True if the two BsonJavaScriptWithScope values are not equal according to ==. - - - - Gets the scope (a set of variables with values). - - - - - Returns a string representation of the value. - - A string representation of the value. - - - - Represents the BSON MaxKey value. - - - - - Gets the BsonType of this BsonValue. - - - - - Compares this BsonMaxKey to another BsonMaxKey. - - The other BsonMaxKey. - A 32-bit signed integer that indicates whether this BsonMaxKey is less than, equal to, or greather than the other. - - - - Compares the BsonMaxKey to another BsonValue. - - The other BsonValue. - A 32-bit signed integer that indicates whether this BsonMaxKey is less than, equal to, or greather than the other BsonValue. - - - - Compares this BsonMaxKey to another BsonMaxKey. - - The other BsonMaxKey. - True if the two BsonMaxKey values are equal. - - - - Compares this BsonMaxKey to another object. - - The other object. - True if the other object is a BsonMaxKey and equal to this one. - - - - Gets the hash code. - - The hash code. - - - - Compares two BsonMaxKey values. - - The first BsonMaxKey. - The other BsonMaxKey. - True if the two BsonMaxKey values are equal according to ==. - - - - Compares two BsonMaxKey values. - - The first BsonMaxKey. - The other BsonMaxKey. - True if the two BsonMaxKey values are not equal according to ==. - - - - Returns a string representation of the value. - - A string representation of the value. - - - - Gets the singleton instance of BsonMaxKey. - - - - - Represents the BSON MinKey value. - - - - - Gets the BsonType of this BsonValue. - - - - - Compares this BsonMinKey to another BsonMinKey. - - The other BsonMinKey. - A 32-bit signed integer that indicates whether this BsonMinKey is less than, equal to, or greather than the other. - - - - Compares the BsonMinKey to another BsonValue. - - The other BsonValue. - A 32-bit signed integer that indicates whether this BsonMinKey is less than, equal to, or greather than the other BsonValue. - - - - Compares this BsonMinKey to another BsonMinKey. - - The other BsonMinKey. - True if the two BsonMinKey values are equal. - - - - Compares this BsonMinKey to another object. - - The other object. - True if the other object is a BsonMinKey and equal to this one. - - - - Gets the hash code. - - The hash code. - - - - Compares two BsonMinKey values. - - The first BsonMinKey. - The other BsonMinKey. - True if the two BsonMinKey values are equal according to ==. - - - - Compares two BsonMinKey values. - - The first BsonMinKey. - The other BsonMinKey. - True if the two BsonMinKey values are not equal according to ==. - - - - Returns a string representation of the value. - - A string representation of the value. - - - - Gets the singleton instance of BsonMinKey. - - - - - Represents the BSON Null value. - - - - - Gets the BsonType of this BsonValue. - - - - - Compares this BsonNull to another BsonNull. - - The other BsonNull. - A 32-bit signed integer that indicates whether this BsonNull is less than, equal to, or greather than the other. - - - - Compares the BsonNull to another BsonValue. - - The other BsonValue. - A 32-bit signed integer that indicates whether this BsonNull is less than, equal to, or greather than the other BsonValue. - - - - Compares this BsonNull to another BsonNull. - - The other BsonNull. - True if the two BsonNull values are equal. - - - - Compares this BsonNull to another object. - - The other object. - True if the other object is a BsonNull and equal to this one. - - - - Gets the hash code. - - The hash code. - - - - Compares two BsonNull values. - - The first BsonNull. - The other BsonNull. - True if the two BsonNull values are equal according to ==. - - - - Compares two BsonNull values. - - The first BsonNull. - The other BsonNull. - True if the two BsonNull values are not equal according to ==. - - - - Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). - - A Boolean. - - - - Converts this BsonValue to a DateTime? in local time. - - A DateTime?. - - - - Converts this BsonValue to a DateTime? in UTC. - - A DateTime?. - - - - Returns a string representation of the value. - - A string representation of the value. - - - - Gets the singleton instance of BsonNull. - - - - - Represents a BSON ObjectId value (see also ObjectId). - - - - - Initializes a new instance of the BsonObjectId class. - - The value. - - - - Initializes a new instance of the BsonObjectId class. - - The bytes. - - - - Initializes a new instance of the BsonObjectId class. - - The timestamp (expressed as a DateTime). - The machine hash. - The PID. - The increment. - - - - Initializes a new instance of the BsonObjectId class. - - The timestamp. - The machine hash. - The PID. - The increment. - - - - Initializes a new instance of the BsonObjectId class. - - The value. - - - - Gets the BsonType of this BsonValue. - - - - - Compares this BsonObjectId to another BsonObjectId. - - The other BsonObjectId. - A 32-bit signed integer that indicates whether this BsonObjectId is less than, equal to, or greather than the other. - - - - Compares the BsonObjectId to another BsonValue. - - The other BsonValue. - A 32-bit signed integer that indicates whether this BsonObjectId is less than, equal to, or greather than the other BsonValue. - - - - Creates a new BsonObjectId. - - An object to be mapped to a BsonObjectId. - A BsonObjectId or null. - - - - Gets the creation time (derived from the timestamp). - - - - - Gets an instance of BsonObjectId where the value is empty. - - - - - Compares this BsonObjectId to another BsonObjectId. - - The other BsonObjectId. - True if the two BsonObjectId values are equal. - - - - Compares this BsonObjectId to another object. - - The other object. - True if the other object is a BsonObjectId and equal to this one. - - - - Generates a new BsonObjectId with a unique value. - - A BsonObjectId. - - - - Generates a new BsonObjectId with a unique value (with the timestamp component based on a given DateTime). - - The timestamp component (expressed as a DateTime). - A BsonObjectId. - - - - Generates a new BsonObjectId with a unique value (with the given timestamp). - - The timestamp component. - A BsonObjectId. - - - - Gets the hash code. - - The hash code. - - - - Implementation of the IConvertible ToString method. - - The format provider. - A string. - - - - Gets the increment. - - - - - Gets the machine. - - - - - Compares two BsonObjectId values. - - The first BsonObjectId. - The other BsonObjectId. - True if the two BsonObjectId values are equal according to ==. - - - - Converts an ObjectId to a BsonObjectId. - - An ObjectId. - A BsonObjectId. - - - - Compares two BsonObjectId values. - - The first BsonObjectId. - The other BsonObjectId. - True if the two BsonObjectId values are not equal according to ==. - - - - Parses a string and creates a new BsonObjectId. - - The string value. - A BsonObjectId. - - - - Gets the PID. - - - - - Gets the BsonObjectId as an ObjectId. - - - - - Gets the timestamp. - - - - - Converts the BsonObjectId to a byte array. - - A byte array. - - - - Returns a string representation of the value. - - A string representation of the value. - - - - Tries to parse a string and create a new BsonObjectId. - - The string value. - The new BsonObjectId. - True if the string was parsed successfully. - - - - Gets the value of this BsonObjectId. - - - - - Represents a BSON regular expression value. - - - - - Initializes a new instance of the BsonRegularExpression class. - - A regular expression pattern. - - - - Initializes a new instance of the BsonRegularExpression class. - - A regular expression pattern. - Regular expression options. - - - - Initializes a new instance of the BsonRegularExpression class. - - A Regex. - - - - Gets the BsonType of this BsonValue. - - - - - Compares this BsonRegularExpression to another BsonRegularExpression. - - The other BsonRegularExpression. - A 32-bit signed integer that indicates whether this BsonRegularExpression is less than, equal to, or greather than the other. - - - - Compares the BsonRegularExpression to another BsonValue. - - The other BsonValue. - A 32-bit signed integer that indicates whether this BsonRegularExpression is less than, equal to, or greather than the other BsonValue. - - - - Creates a new BsonRegularExpression. - - An object to be mapped to a BsonRegularExpression. - A BsonRegularExpression or null. - - - - Compares this BsonRegularExpression to another BsonRegularExpression. - - The other BsonRegularExpression. - True if the two BsonRegularExpression values are equal. - - - - Compares this BsonRegularExpression to another object. - - The other object. - True if the other object is a BsonRegularExpression and equal to this one. - - - - Gets the hash code. - - The hash code. - - - - Compares two BsonRegularExpression values. - - The first BsonRegularExpression. - The other BsonRegularExpression. - True if the two BsonRegularExpression values are equal according to ==. - - - - Converts a string to a BsonRegularExpression. - - A string. - A BsonRegularExpression. - - - - Converts a Regex to a BsonRegularExpression. - - A Regex. - A BsonRegularExpression. - - - - Compares two BsonRegularExpression values. - - The first BsonRegularExpression. - The other BsonRegularExpression. - True if the two BsonRegularExpression values are not equal according to ==. - - - - Gets the regular expression options. - - - - - Gets the regular expression pattern. - - - - - Converts the BsonRegularExpression to a Regex. - - A Regex. - - - - Returns a string representation of the value. - - A string representation of the value. - - - - Represents a BSON serialization exception. - - - - - Initializes a new instance of the BsonSerializationException class. - - - - - Initializes a new instance of the BsonSerializationException class (this overload used by deserialization). - - The SerializationInfo. - The StreamingContext. - - - - Initializes a new instance of the BsonSerializationException class. - - The error message. - - - - Initializes a new instance of the BsonSerializationException class. - - The error message. - The inner exception. - - - - Represents a BSON string value. - - - - - Initializes a new instance of the BsonString class. - - The value. - - - - Gets the BsonType of this BsonValue. - - - - - Compares this BsonString to another BsonString. - - The other BsonString. - A 32-bit signed integer that indicates whether this BsonString is less than, equal to, or greather than the other. - - - - Compares the BsonString to another BsonValue. - - The other BsonValue. - A 32-bit signed integer that indicates whether this BsonString is less than, equal to, or greather than the other BsonValue. - - - - Creates a new BsonString. - - An object to be mapped to a BsonString. - A BsonString or null. - - - - Gets an instance of BsonString that represents an empty string. - - - - - Compares this BsonString to another BsonString. - - The other BsonString. - True if the two BsonString values are equal. - - - - Compares this BsonString to another object. - - The other object. - True if the other object is a BsonString and equal to this one. - - - - Gets the hash code. - - The hash code. - - - - Implementation of the IConvertible GetTypeCode method. - - The TypeCode. - - - - Implementation of the IConvertible ToBoolean method. - - The format provider. - A bool. - - - - Implementation of the IConvertible ToByte method. - - The format provider. - A byte. - - - - Implementation of the IConvertible ToChar method. - - The format provider. - A char. - - - - Implementation of the IConvertible ToDateTime method. - - The format provider. - A DateTime. - - - - Implementation of the IConvertible ToDecimal method. - - The format provider. - A decimal. - - - - Implementation of the IConvertible ToDouble method. - - The format provider. - A double. - - - - Implementation of the IConvertible ToInt16 method. - - The format provider. - A short. - - - - Implementation of the IConvertible ToInt32 method. - - The format provider. - An int. - - - - Implementation of the IConvertible ToInt64 method. - - The format provider. - A long. - - - - Implementation of the IConvertible ToSByte method. - - The format provider. - An sbyte. - - - - Implementation of the IConvertible ToSingle method. - - The format provider. - A float. - - - - Implementation of the IConvertible ToString method. - - The format provider. - A string. - - - - Implementation of the IConvertible ToUInt16 method. - - The format provider. - A ushort. - - - - Implementation of the IConvertible ToUInt32 method. - - The format provider. - A uint. - - - - Implementation of the IConvertible ToUInt64 method. - - The format provider. - A ulong. - - - - Compares two BsonString values. - - The first BsonString. - The other BsonString. - True if the two BsonString values are equal according to ==. - - - - Converts a string to a BsonString. - - A string. - A BsonString. - - - - Compares two BsonString values. - - The first BsonString. - The other BsonString. - True if the two BsonString values are not equal according to ==. - - - - Gets the BsonString as a string. - - - - - Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). - - A Boolean. - - - - Converts this BsonValue to a Double. - - A Double. - - - - Converts this BsonValue to an Int32. - - An Int32. - - - - Converts this BsonValue to an Int64. - - An Int32. - - - - Returns a string representation of the value. - - A string representation of the value. - - - - Gets the value of this BsonString. - - - - - Represents a BSON symbol value. - - - - - Gets the BsonType of this BsonValue. - - - - - Compares this BsonSymbol to another BsonSymbol. - - The other BsonSymbol. - A 32-bit signed integer that indicates whether this BsonSymbol is less than, equal to, or greather than the other. - - - - Compares the BsonSymbol to another BsonValue. - - The other BsonValue. - A 32-bit signed integer that indicates whether this BsonSymbol is less than, equal to, or greather than the other BsonValue. - - - - Creates a new BsonSymbol. - - An object to be mapped to a BsonSymbol. - A BsonSymbol or null. - - - - Compares this BsonSymbol to another BsonSymbol. - - The other BsonSymbol. - True if the two BsonSymbol values are equal. - - - - Compares this BsonSymbol to another object. - - The other object. - True if the other object is a BsonSymbol and equal to this one. - - - - Gets the hash code. - - The hash code. - - - - Gets the name of the symbol. - - - - - Compares two BsonSymbol values. - - The first BsonSymbol. - The other BsonSymbol. - True if the two BsonSymbol values are equal according to ==. - - - - Converts a string to a BsonSymbol. - - A string. - A BsonSymbol. - - - - Compares two BsonSymbol values. - - The first BsonSymbol. - The other BsonSymbol. - True if the two BsonSymbol values are not equal according to ==. - - - - Returns a string representation of the value. - - A string representation of the value. - - - - Represents the symbol table of BsonSymbols. - - - - - Looks up a symbol (and creates a new one if necessary). - - The name of the symbol. - The symbol. - - - - Represents a BSON timestamp value. - - - - - Initializes a new instance of the BsonTimestamp class. - - The timestamp. - The increment. - - - - Initializes a new instance of the BsonTimestamp class. - - The combined timestamp/increment value. - - - - Gets the BsonType of this BsonValue. - - - - - Compares this BsonTimestamp to another BsonTimestamp. - - The other BsonTimestamp. - A 32-bit signed integer that indicates whether this BsonTimestamp is less than, equal to, or greather than the other. - - - - Compares the BsonTimestamp to another BsonValue. - - The other BsonValue. - A 32-bit signed integer that indicates whether this BsonTimestamp is less than, equal to, or greather than the other BsonValue. - - - - Creates a new BsonTimestamp. - - An object to be mapped to a BsonTimestamp. - A BsonTimestamp or null. - - - - Compares this BsonTimestamp to another BsonTimestamp. - - The other BsonTimestamp. - True if the two BsonTimestamp values are equal. - - - - Compares this BsonTimestamp to another object. - - The other object. - True if the other object is a BsonTimestamp and equal to this one. - - - - Gets the hash code. - - The hash code. - - - - Gets the increment. - - - - - Compares two BsonTimestamp values. - - The first BsonTimestamp. - The other BsonTimestamp. - True if the two BsonTimestamp values are equal according to ==. - - - - Compares two BsonTimestamp values. - - The first BsonTimestamp. - The other BsonTimestamp. - True if the two BsonTimestamp values are not equal according to ==. - - - - Gets the timestamp. - - - - - Returns a string representation of the value. - - A string representation of the value. - - - - Gets the value of this BsonTimestamp. - - - - - Represents the type of a BSON element. - - - - - Not a real BSON type. Used to signal the end of a document. - - - - - A BSON double. - - - - - A BSON string. - - - - - A BSON document. - - - - - A BSON array. - - - - - BSON binary data. - - - - - A BSON undefined value. - - - - - A BSON ObjectId. - - - - - A BSON bool. - - - - - A BSON DateTime. - - - - - A BSON null value. - - - - - A BSON regular expression. - - - - - BSON JavaScript code. - - - - - A BSON symbol. - - - - - BSON JavaScript code with a scope (a set of variables with values). - - - - - A BSON 32-bit integer. - - - - - A BSON timestamp. - - - - - A BSON 64-bit integer. - - - - - A BSON MinKey value. - - - - - A BSON MaxKey value. - - - - - A static class that maps between .NET objects and BsonValues. - - - - - Maps an object to an instance of the closest BsonValue class. - - An object. - A BsonValue. - - - - Maps an object to a specific BsonValue type. - - An object. - The BsonType to map to. - A BsonValue of the desired type (or BsonNull.Value if value is null and bsonType is Null). - - - - Maps a BsonValue to a .NET value using the default BsonTypeMapperOptions. - - The BsonValue. - The mapped .NET value. - - - - Maps a BsonValue to a .NET value. - - The BsonValue. - The BsonTypeMapperOptions. - The mapped .NET value. - - - - Registers a custom type mapper. - - The type. - A custom type mapper. - - - - Tries to map an object to an instance of the closest BsonValue class. - - An object. - The BsonValue. - True if the mapping was successfull. - - - - Represents options used by the BsonTypeMapper. - - - - - Initializes a new instance of the BsonTypeMapperOptions class. - - - - - Clones the BsonTypeMapperOptions. - - The cloned BsonTypeMapperOptions. - - - - Gets or sets the default BsonTypeMapperOptions. - - - - - Gets or sets how duplicate names should be handled. - - - - - Freezes the BsonTypeMapperOptions. - - The frozen BsonTypeMapperOptions. - - - - Gets whether the BsonTypeMapperOptions is frozen. - - - - - Gets or sets the type that a BsonArray should be mapped to. - - - - - Gets or sets the type that a BsonDocument should be mapped to. - - - - - Gets or sets whether binary sub type OldBinary should be mapped to byte[] the way sub type Binary is. - - - - - Represents the BSON undefined value. - - - - - Gets the BsonType of this BsonValue. - - - - - Compares this BsonUndefined to another BsonUndefined. - - The other BsonUndefined. - A 32-bit signed integer that indicates whether this BsonUndefined is less than, equal to, or greather than the other. - - - - Compares the BsonUndefined to another BsonValue. - - The other BsonValue. - A 32-bit signed integer that indicates whether this BsonUndefined is less than, equal to, or greather than the other BsonValue. - - - - Compares this BsonUndefined to another BsonUndefined. - - The other BsonUndefined. - True if the two BsonUndefined values are equal. - - - - Compares this BsonUndefined to another object. - - The other object. - True if the other object is a BsonUndefined and equal to this one. - - - - Gets the hash code. - - The hash code. - - - - Compares two BsonUndefined values. - - The first BsonUndefined. - The other BsonUndefined. - True if the two BsonUndefined values are equal according to ==. - - - - Compares two BsonUndefined values. - - The first BsonUndefined. - The other BsonUndefined. - True if the two BsonUndefined values are not equal according to ==. - - - - Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). - - A Boolean. - - - - Returns a string representation of the value. - - A string representation of the value. - - - - Gets the singleton instance of BsonUndefined. - - - - - A static class containing BSON utility methods. - - - - - Gets a friendly class name suitable for use in error messages. - - The type. - A friendly class name. - - - - Parses a hex string into its equivalent byte array. - - The hex string to parse. - The byte equivalent of the hex string. - - - - Converts from number of milliseconds since Unix epoch to DateTime. - - The number of milliseconds since Unix epoch. - A DateTime. - - - - Converts a byte array to a hex string. - - The byte array. - A hex string. - - - - Converts a DateTime to local time (with special handling for MinValue and MaxValue). - - A DateTime. - The DateTime in local time. - - - - Converts a DateTime to number of milliseconds since Unix epoch. - - A DateTime. - Number of seconds since Unix epoch. - - - - Converts a DateTime to UTC (with special handling for MinValue and MaxValue). - - A DateTime. - The DateTime in UTC. - - - - Tries to parse a hex string to a byte array. - - The hex string. - A byte array. - True if the hex string was successfully parsed. - - - - Represents a BSON value (this is an abstract class, see the various subclasses). - - - - - - - MongoDB.Bson.BsonValue - - - - - - - Casts the BsonValue to a Boolean (throws an InvalidCastException if the cast is not valid). - - - - - Casts the BsonValue to a BsonArray (throws an InvalidCastException if the cast is not valid). - - - - - Casts the BsonValue to a BsonBinaryData (throws an InvalidCastException if the cast is not valid). - - - - - Casts the BsonValue to a BsonDateTime (throws an InvalidCastException if the cast is not valid). - - - - - Casts the BsonValue to a BsonDocument (throws an InvalidCastException if the cast is not valid). - - - - - Casts the BsonValue to a BsonJavaScript (throws an InvalidCastException if the cast is not valid). - - - - - Casts the BsonValue to a BsonJavaScriptWithScope (throws an InvalidCastException if the cast is not valid). - - - - - Casts the BsonValue to a BsonMaxKey (throws an InvalidCastException if the cast is not valid). - - - - - Casts the BsonValue to a BsonMinKey (throws an InvalidCastException if the cast is not valid). - - - - - Casts the BsonValue to a BsonNull (throws an InvalidCastException if the cast is not valid). - - - - - Casts the BsonValue to a BsonRegularExpression (throws an InvalidCastException if the cast is not valid). - - - - - Casts the BsonValue to a BsonSymbol (throws an InvalidCastException if the cast is not valid). - - - - - Casts the BsonValue to a BsonTimestamp (throws an InvalidCastException if the cast is not valid). - - - - - Casts the BsonValue to a BsonUndefined (throws an InvalidCastException if the cast is not valid). - - - - - Casts the BsonValue to a BsonValue (a way of upcasting subclasses of BsonValue to BsonValue at compile time). - - - - - Casts the BsonValue to a Byte[] (throws an InvalidCastException if the cast is not valid). - - - - - Casts the BsonValue to a DateTime in UTC (throws an InvalidCastException if the cast is not valid). - - - - - Casts the BsonValue to a Double (throws an InvalidCastException if the cast is not valid). - - - - - Casts the BsonValue to a Guid (throws an InvalidCastException if the cast is not valid). - - - - - Casts the BsonValue to an Int32 (throws an InvalidCastException if the cast is not valid). - - - - - Casts the BsonValue to a Int64 (throws an InvalidCastException if the cast is not valid). - - - - - Casts the BsonValue to a DateTime in the local timezone (throws an InvalidCastException if the cast is not valid). - - - - - Casts the BsonValue to a Nullable{Boolean} (throws an InvalidCastException if the cast is not valid). - - - - - Casts the BsonValue to a Nullable{DateTime} (throws an InvalidCastException if the cast is not valid). - - - - - Casts the BsonValue to a Nullable{Double} (throws an InvalidCastException if the cast is not valid). - - - - - Casts the BsonValue to a Nullable{Guid} (throws an InvalidCastException if the cast is not valid). - - - - - Casts the BsonValue to a Nullable{Int32} (throws an InvalidCastException if the cast is not valid). - - - - - Casts the BsonValue to a Nullable{Int64} (throws an InvalidCastException if the cast is not valid). - - - - - Casts the BsonValue to a Nullable{ObjectId} (throws an InvalidCastException if the cast is not valid). - - - - - Casts the BsonValue to an ObjectId (throws an InvalidCastException if the cast is not valid). - - - - - Casts the BsonValue to a Regex (throws an InvalidCastException if the cast is not valid). - - - - - Casts the BsonValue to a String (throws an InvalidCastException if the cast is not valid). - - - - - Casts the BsonValue to a DateTime in UTC (throws an InvalidCastException if the cast is not valid). - - - - - Gets the BsonType of this BsonValue. - - - - - Creates a shallow clone of the BsonValue (see also DeepClone). - - A shallow clone of the BsonValue. - - - - Compares this BsonValue to another BsonValue. - - The other BsonValue. - A 32-bit signed integer that indicates whether this BsonValue is less than, equal to, or greather than the other BsonValue. - - - - Compares the type of this BsonValue to the type of another BsonValue. - - The other BsonValue. - A 32-bit signed integer that indicates whether the type of this BsonValue is less than, equal to, or greather than the type of the other BsonValue. - - - - Creates a new instance of the BsonValue class. - - A value to be mapped to a BsonValue. - A BsonValue. - - - - Creates a deep clone of the BsonValue (see also Clone). - - A deep clone of the BsonValue. - - - - Compares this BsonValue to another BsonValue. - - The other BsonValue. - True if the two BsonValue values are equal. - - - - Compares this BsonValue to another object. - - The other object. - True if the other object is a BsonValue and equal to this one. - - - - Gets the hash code. - - The hash code. - - - - Implementation of the IConvertible GetTypeCode method. - - The TypeCode. - - - - Implementation of the IConvertible ToBoolean method. - - The format provider. - A bool. - - - - Implementation of the IConvertible ToByte method. - - The format provider. - A byte. - - - - Implementation of the IConvertible ToChar method. - - The format provider. - A char. - - - - Implementation of the IConvertible ToDateTime method. - - The format provider. - A DateTime. - - - - Implementation of the IConvertible ToDecimal method. - - The format provider. - A decimal. - - - - Implementation of the IConvertible ToDouble method. - - The format provider. - A double. - - - - Implementation of the IConvertible ToInt16 method. - - The format provider. - A short. - - - - Implementation of the IConvertible ToInt32 method. - - The format provider. - An int. - - - - Implementation of the IConvertible ToInt64 method. - - The format provider. - A long. - - - - Implementation of the IConvertible ToSByte method. - - The format provider. - An sbyte. - - - - Implementation of the IConvertible ToSingle method. - - The format provider. - A float. - - - - Implementation of the IConvertible ToString method. - - The format provider. - A string. - - - - Implementation of the IConvertible ToUInt16 method. - - The format provider. - A ushort. - - - - Implementation of the IConvertible ToUInt32 method. - - The format provider. - A uint. - - - - Implementation of the IConvertible ToUInt64 method. - - The format provider. - A ulong. - - - - Tests whether this BsonValue is a Boolean. - - - - - Tests whether this BsonValue is a BsonArray. - - - - - Tests whether this BsonValue is a BsonBinaryData. - - - - - Tests whether this BsonValue is a BsonDateTime. - - - - - Tests whether this BsonValue is a BsonDocument. - - - - - Tests whether this BsonValue is a BsonJavaScript. - - - - - Tests whether this BsonValue is a BsonJavaScriptWithScope. - - - - - Tests whether this BsonValue is a BsonMaxKey. - - - - - Tests whether this BsonValue is a BsonMinKey. - - - - - Tests whether this BsonValue is a BsonNull. - - - - - Tests whether this BsonValue is a BsonRegularExpression. - - - - - Tests whether this BsonValue is a BsonSymbol . - - - - - Tests whether this BsonValue is a BsonTimestamp. - - - - - Tests whether this BsonValue is a BsonUndefined. - - - - - Tests whether this BsonValue is a DateTime. - - - - - Tests whether this BsonValue is a Double. - - - - - Tests whether this BsonValue is a Guid. - - - - - Tests whether this BsonValue is an Int32. - - - - - Tests whether this BsonValue is an Int64. - - - - - Tests whether this BsonValue is a numeric value. - - - - - Tests whether this BsonValue is an ObjectId . - - - - - Tests whether this BsonValue is a String. - - - - - Tests whether this BsonValue is a valid DateTime. - - - - - Gets or sets a value by position (only applies to BsonDocument and BsonArray). - - The position. - The value. - - - - Gets or sets a value by name (only applies to BsonDocument). - - The name. - The value. - - - - Compares two BsonValues. - - The first BsonValue. - The other BsonValue. - True if the two BsonValues are equal according to ==. - - - - Casts a BsonValue to a bool. - - The BsonValue. - A bool. - - - - Casts a BsonValue to a bool?. - - The BsonValue. - A bool?. - - - - Casts a BsonValue to a byte[]. - - The BsonValue. - A byte[]. - - - - Casts a BsonValue to a DateTime. - - The BsonValue. - A DateTime. - - - - Casts a BsonValue to a DateTime?. - - The BsonValue. - A DateTime?. - - - - Casts a BsonValue to a double. - - The BsonValue. - A double. - - - - Casts a BsonValue to a double?. - - The BsonValue. - A double?. - - - - Casts a BsonValue to a Guid. - - The BsonValue. - A Guid. - - - - Casts a BsonValue to a Guid?. - - The BsonValue. - A Guid?. - - - - Casts a BsonValue to an int. - - The BsonValue. - An int. - - - - Casts a BsonValue to an int?. - - The BsonValue. - An int?. - - - - Casts a BsonValue to a long. - - The BsonValue. - A long. - - - - Casts a BsonValue to a long?. - - The BsonValue. - A long?. - - - - Casts a BsonValue to an ObjectId. - - The BsonValue. - An ObjectId. - - - - Casts a BsonValue to an ObjectId?. - - The BsonValue. - An ObjectId?. - - - - Casts a BsonValue to a Regex. - - The BsonValue. - A Regex. - - - - Casts a BsonValue to a string. - - The BsonValue. - A string. - - - - Compares two BsonValues. - - The first BsonValue. - The other BsonValue. - True if the first BsonValue is greater than the other one. - - - - Compares two BsonValues. - - The first BsonValue. - The other BsonValue. - True if the first BsonValue is greater than or equal to the other one. - - - - Converts an ObjectId to a BsonValue. - - An ObjectId. - A BsonValue. - - - - Converts a bool to a BsonValue. - - A bool. - A BsonValue. - - - - Converts a byte[] to a BsonValue. - - A byte[]. - A BsonValue. - - - - Converts a DateTime to a BsonValue. - - A DateTime. - A BsonValue. - - - - Converts a double to a BsonValue. - - A double. - A BsonValue. - - - - Converts an Enum to a BsonValue. - - An Enum. - A BsonValue. - - - - Converts a Guid to a BsonValue. - - A Guid. - A BsonValue. - - - - Converts an int to a BsonValue. - - An int. - A BsonValue. - - - - Converts a long to a BsonValue. - - A long. - A BsonValue. - - - - Converts an ObjectId? to a BsonValue. - - An ObjectId?. - A BsonValue. - - - - Converts a bool? to a BsonValue. - - A bool?. - A BsonValue. - - - - Converts a DateTime? to a BsonValue. - - A DateTime?. - A BsonValue. - - - - Converts a double? to a BsonValue. - - A double?. - A BsonValue. - - - - Converts a Guid? to a BsonValue. - - A Guid?. - A BsonValue. - - - - Converts an int? to a BsonValue. - - An int?. - A BsonValue. - - - - Converts a long? to a BsonValue. - - A long?. - A BsonValue. - - - - Converts a string to a BsonValue. - - A string. - A BsonValue. - - - - Converts a Regex to a BsonValue. - - A Regex. - A BsonValue. - - - - Compares two BsonValues. - - The first BsonValue. - The other BsonValue. - True if the two BsonValues are not equal according to ==. - - - - Compares two BsonValues. - - The first BsonValue. - The other BsonValue. - True if the first BsonValue is less than the other one. - - - - Compares two BsonValues. - - The first BsonValue. - The other BsonValue. - True if the first BsonValue is less than or equal to the other one. - - - - Implementation of operator ==. - - The other BsonValue. - True if the two BsonValues are equal according to ==. - - - - Gets the raw value of this BsonValue (or null if this BsonValue doesn't have a single scalar value). - - - - - Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). - - A Boolean. - - - - Converts this BsonValue to a Double. - - A Double. - - - - Converts this BsonValue to an Int32. - - An Int32. - - - - Converts this BsonValue to an Int64. - - An Int64. - - - - Converts this BsonValue to a DateTime in local time. - - A DateTime. - - - - Converts this BsonValue to a DateTime? in local time. - - A DateTime?. - - - - Converts this BsonValue to a DateTime? in UTC. - - A DateTime?. - - - - Converts this BsonValue to a DateTime in UTC. - - A DateTime. - - - + nominalType + serializer + + + Indicates that an attribute restricted to one member has been applied to multiple members. - - - + + + Initializes a new instance of the class. - The info. - The context. - - - + The message. + + + Initializes a new instance of the class. - The message. - - - + The message. + The inner. + + + Initializes a new instance of the class. - The message. - The inner. - - - - Represents how duplicate names should be handled. + The info. + The context. + + + + Represents a fast converter from integer indexes to UTF8 BSON array element names. - - - - Overwrite original value with new value. + + + + Gets the element name bytes. - - - - Ignore duplicate name and keep original value. + The index. + The element name bytes. + + + + Represents a fast converter from integer indexes to UTF8 BSON array element names. - - - - Throw an exception. + + + + Gets or sets the default array element name accelerator. - - - - A static class containing methods to convert to and from Guids and byte arrays in various byte orders. + + + + Initializes a new instance of the class. - - - - Converts a byte array to a Guid. + The number of cached element names. + + + + Gets the element name bytes. - The byte array. - The representation of the Guid in the byte array. - A Guid. - - - - Converts a Guid to a byte array. - - The Guid. - The representation of the Guid in the byte array. - A byte array. - - - - Represents the representation to use when converting a Guid to a BSON binary value. - - - - - The representation for Guids is unspecified, so conversion between Guids and Bson binary data is not possible. - - - - - Use the new standard representation for Guids (binary subtype 4 with bytes in network byte order). - - - - - Use the representation used by older versions of the C# driver (including most community provided C# drivers). - - - - - Use the representation used by older versions of the Java driver. - - - - - Use the representation used by older versions of the Python driver. - - - - - An interface implemented by objects that convert themselves to a BsonDocument. - - - - - Converts this object to a BsonDocument. - - A BsonDocument. - - - - An interface for custom mappers that map an object to a BsonValue. - - - - - Tries to map an object to a BsonValue. - - An object. - The BsonValue. - True if the mapping was successfull. - - - - Represents a BSON array that is deserialized lazily. - - - - - Initializes a new instance of the class. - - The slice. - slice - LazyBsonArray cannot be used with an IByteBuffer that needs disposing. - - - - Creates a shallow clone of the array (see also DeepClone). - - A shallow clone of the array. - - - - Creates a deep clone of the array (see also Clone). - - A deep clone of the array. - - - - Releases unmanaged and - optionally - managed resources. - - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Materializes the BsonArray. - - - The materialized values. + The index. + + The element name bytes. - - - - Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state. - - - - - Gets the slice. - - - - - Represents a BSON document that is deserialized lazily. - - - - - Initializes a new instance of the class. - - The slice. - slice - LazyBsonDocument cannot be used with an IByteBuffer that needs disposing. - - - - Initializes a new instance of the class. - - The bytes. - - - - Creates a shallow clone of the document (see also DeepClone). - - - A shallow clone of the document. - - - - - Creates a deep clone of the document (see also Clone). - - - A deep clone of the document. - - - - - Releases unmanaged and - optionally - managed resources. - - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Materializes the BsonDocument. - - The materialized elements. - - - - Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state. - - - - - Gets the slice. - - - - - Represents a BSON array that is not materialized until you start using it. - - - - - Initializes a new instance of the class. - - - - - Adds an element to the array. - - The value to add to the array. - The array (so method calls can be chained). - - - - Adds multiple elements to the array. - - A list of values to add to the array. - The array (so method calls can be chained). - - - - Adds multiple elements to the array. - - A list of values to add to the array. - The array (so method calls can be chained). - - - - Adds multiple elements to the array. - - A list of values to add to the array. - The array (so method calls can be chained). - - - - Adds multiple elements to the array. - - A list of values to add to the array. - The array (so method calls can be chained). - - - - Adds multiple elements to the array. - - A list of values to add to the array. - The array (so method calls can be chained). - - - - Adds multiple elements to the array. - - A list of values to add to the array. - The array (so method calls can be chained). - - - - Adds multiple elements to the array. - - A list of values to add to the array. - The array (so method calls can be chained). - - - - Adds multiple elements to the array. - - A list of values to add to the array. - The array (so method calls can be chained). - - - - Adds multiple elements to the array. - - A list of values to add to the array. - The array (so method calls can be chained). - - - - Gets or sets the total number of elements the internal data structure can hold without resizing. - - - - - Clears the array. - - - - - Creates a shallow clone of the array (see also DeepClone). - - - A shallow clone of the array. - - - - - Compares the array to another array. - - The other array. - A 32-bit signed integer that indicates whether this array is less than, equal to, or greather than the other. - - - - Compares the array to another BsonValue. - - The other BsonValue. - A 32-bit signed integer that indicates whether this array is less than, equal to, or greather than the other BsonValue. - - - - Tests whether the array contains a value. - - The value to test for. - True if the array contains the value. - - - - Copies elements from this array to another array. - - The other array. - The zero based index of the other array at which to start copying. - - - - Copies elements from this array to another array as raw values (see BsonValue.RawValue). - - The other array. - The zero based index of the other array at which to start copying. - - - - Gets the count of array elements. - - - - - Creates a deep clone of the array (see also Clone). - - - A deep clone of the array. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources. - - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Determines whether the specified , is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Gets an enumerator that can enumerate the elements of the array. - - An enumerator. - - - - Gets the hash code. - - The hash code. - - - - Gets the index of a value in the array. - - The value to search for. - The zero based index of the value (or -1 if not found). - - - - Gets the index of a value in the array. - - The value to search for. - The zero based index at which to start the search. - The zero based index of the value (or -1 if not found). - - - - Gets the index of a value in the array. - - The value to search for. - The zero based index at which to start the search. - The number of elements to search. - The zero based index of the value (or -1 if not found). - - - - Inserts a new value into the array. - - The zero based index at which to insert the new value. - The new value. - - - - Gets a value indicating whether this instance is disposed. - - - - - Gets a value indicating whether this instance is materialized. - - - - - Gets or sets a value by position. - - The position. - The value. - - - - Materializes the BsonArray. - - The materialized elements. - - - - Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state. - - - - - Gets the array elements as raw values (see BsonValue.RawValue). - - - - - Removes the first occurrence of a value from the array. - - The value to remove. - True if the value was removed. - - - - Removes an element from the array. - - The zero based index of the element to remove. - - - - Throws if disposed. - - - - - - Converts the BsonArray to an array of BsonValues. - - An array of BsonValues. - - - - Converts the BsonArray to a list of BsonValues. - - A list of BsonValues. - - - - Returns a string representation of the array. - - A string representation of the array. - - - - Gets the array elements. - - - - - Represents a BSON document that is not materialized until you start using it. - - - - - Initializes a new instance of the class. - - - - - Adds an element to the document. - - The element to add. - - The document (so method calls can be chained). - - - - - Adds a list of elements to the document. - - The list of elements. - The document (so method calls can be chained). - - - - Adds elements to the document from a dictionary of key/value pairs. - - The dictionary. - The document (so method calls can be chained). - - - - Adds elements to the document from a dictionary of key/value pairs. - - The dictionary. - Which keys of the hash table to add. - The document (so method calls can be chained). - - - - Adds elements to the document from a dictionary of key/value pairs. - - The dictionary. - The document (so method calls can be chained). - - - - Adds elements to the document from a dictionary of key/value pairs. - - The dictionary. - Which keys of the hash table to add. - The document (so method calls can be chained). - - - - Adds a list of elements to the document. - - The list of elements. - The document (so method calls can be chained). - - - - Adds elements to the document from a dictionary of key/value pairs. - - The dictionary. - The document (so method calls can be chained). - - - - Adds elements to the document from a dictionary of key/value pairs. - - The dictionary. - Which keys of the hash table to add. - The document (so method calls can be chained). - - - - Creates and adds an element to the document. - - The name of the element. - The value of the element. - - The document (so method calls can be chained). - - - - - Creates and adds an element to the document, but only if the condition is true. - - The name of the element. - The value of the element. - Whether to add the element to the document. - The document (so method calls can be chained). - - - - Creates and adds an element to the document, but only if the condition is true. - If the condition is false the value factory is not called at all. - - The name of the element. - A delegate called to compute the value of the element if condition is true. - Whether to add the element to the document. - The document (so method calls can be chained). - - - - Adds elements to the document from a dictionary of key/value pairs. - - The dictionary. - - The document (so method calls can be chained). - - - - - Adds a list of elements to the document. - - The list of elements. - - The document (so method calls can be chained). - - - - - Adds elements to the document from a dictionary of key/value pairs. - - The dictionary. - - The document (so method calls can be chained). - - - - - Adds elements to the document from a dictionary of key/value pairs. - - The dictionary. - - The document (so method calls can be chained). - - - - - Clears the document (removes all elements). - - - - - Creates a shallow clone of the document (see also DeepClone). - - - A shallow clone of the document. - - - - - Compares this document to another document. - - The other document. - - A 32-bit signed integer that indicates whether this document is less than, equal to, or greather than the other. - - - - - Compares the BsonDocument to another BsonValue. - - The other BsonValue. - A 32-bit signed integer that indicates whether this BsonDocument is less than, equal to, or greather than the other BsonValue. - - - - Tests whether the document contains an element with the specified name. - - The name of the element to look for. - - True if the document contains an element with the specified name. - - - - - Tests whether the document contains an element with the specified value. - - The value of the element to look for. - - True if the document contains an element with the specified value. - - - - - Creates a deep clone of the document (see also Clone). - - - A deep clone of the document. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources. - - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Gets the number of elements. - - - - - Gets the elements. - - - - - Determines whether the specified , is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Gets an element of this document. - - The zero based index of the element. - - The element. - - - - - Gets an element of this document. - - The name of the element. - - A BsonElement. - - - - - Gets an enumerator that can be used to enumerate the elements of this document. - - - An enumerator. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Gets the value of an element. - - The zero based index of the element. - - The value of the element. - - - - - Gets the value of an element. - - The name of the element. - - The value of the element. - - - - - Gets the value of an element or a default value if the element is not found. - - The name of the element. - The default value returned if the element is not found. - - The value of the element or the default value if the element is not found. - - - - - Inserts a new element at a specified position. - - The position of the new element. - The element. - - - - Gets a value indicating whether this instance is disposed. - - - - - Gets a value indicating whether this instance is materialized. - - - - - Gets or sets a value by position. - - The position. - The value. - - - - Gets or sets a value by name. - - The name. - The value. - - - - Gets the value of an element or a default value if the element is not found. - - The name of the element. - The default value to return if the element is not found. - Teh value of the element or a default value if the element is not found. - - - - Materializes the BsonDocument. - - The materialized elements. - - - - Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state. - - - - - Merges another document into this one. Existing elements are not overwritten. - - The other document. - - The document (so method calls can be chained). - - - - - Merges another document into this one, specifying whether existing elements are overwritten. - - The other document. - Whether to overwrite existing elements. - - The document (so method calls can be chained). - - - - - Gets the element names. - - - - - Gets the raw values (see BsonValue.RawValue). - - - - - Removes an element from this document (if duplicate element names are allowed - then all elements with this name will be removed). - - The name of the element to remove. - - - - Removes an element from this document. - - The zero based index of the element to remove. - - - - Removes an element from this document. - - The element to remove. - - - - Sets the value of an element. - - The zero based index of the element whose value is to be set. - The new value. - - The document (so method calls can be chained). - - - - - Sets the value of an element (an element will be added if no element with this name is found). - - The name of the element whose value is to be set. - The new value. - - The document (so method calls can be chained). - - - - - Sets an element of the document (replaces any existing element with the same name or adds a new element if an element with the same name is not found). - - The new element. - - The document. - - - - - Sets an element of the document (replacing the existing element at that position). - - The zero based index of the element to replace. - The new element. - - The document. - - - - - Throws if disposed. - - - - - - Tries to get an element of this document. - - The name of the element. - The element. - - True if an element with that name was found. - - - - - Tries to get the value of an element of this document. - - The name of the element. - The value of the element. - - True if an element with that name was found. - - - - - Gets the values. - - - - - Represents an ObjectId (see also BsonObjectId). - - - - - Initializes a new instance of the ObjectId class. - - The bytes. - - - - Initializes a new instance of the ObjectId class. - - The timestamp (expressed as a DateTime). - The machine hash. - The PID. - The increment. - - - - Initializes a new instance of the ObjectId class. - - The timestamp. - The machine hash. - The PID. - The increment. - - - - Initializes a new instance of the ObjectId class. - - The value. - - - - Compares this ObjectId to another ObjectId. - - The other ObjectId. - A 32-bit signed integer that indicates whether this ObjectId is less than, equal to, or greather than the other. - - - - Gets the creation time (derived from the timestamp). - - - - - Gets an instance of ObjectId where the value is empty. - - - - - Compares this ObjectId to another ObjectId. - - The other ObjectId. - True if the two ObjectIds are equal. - - - - Compares this ObjectId to another object. - - The other object. - True if the other object is an ObjectId and equal to this one. - - - - Generates a new ObjectId with a unique value. - - An ObjectId. - - - - Generates a new ObjectId with a unique value (with the timestamp component based on a given DateTime). - - The timestamp component (expressed as a DateTime). - An ObjectId. - - - - Generates a new ObjectId with a unique value (with the given timestamp). - - The timestamp component. - An ObjectId. - - - - Gets the hash code. - - The hash code. - - - - Gets the increment. - - - - - Gets the machine. - - - - - Compares two ObjectIds. - - The first ObjectId. - The other ObjectId. - True if the two ObjectIds are equal. - - - - Compares two ObjectIds. - - The first ObjectId. - The other ObjectId - True if the first ObjectId is greather than the second ObjectId. - - - - Compares two ObjectIds. - - The first ObjectId. - The other ObjectId - True if the first ObjectId is greather than or equal to the second ObjectId. - - - - Compares two ObjectIds. - - The first ObjectId. - The other ObjectId. - True if the two ObjectIds are not equal. - - - - Compares two ObjectIds. - - The first ObjectId. - The other ObjectId - True if the first ObjectId is less than the second ObjectId. - - - - Compares two ObjectIds. - - The first ObjectId. - The other ObjectId - True if the first ObjectId is less than or equal to the second ObjectId. - - - - Packs the components of an ObjectId into a byte array. - - The timestamp. - The machine hash. - The PID. - The increment. - A byte array. - - - - Parses a string and creates a new ObjectId. - - The string value. - A ObjectId. - - - - Gets the PID. - - - - - Gets the timestamp. - - - - - Converts the ObjectId to a byte array. - - A byte array. - - - - Converts the ObjectId to a byte array. - - The destination. - The offset. - - - - Returns a string representation of the value. - - A string representation of the value. - - - - Tries to parse a string and create a new ObjectId. - - The string value. - The new ObjectId. - True if the string was parsed successfully. - - - - Unpacks a byte array into the components of an ObjectId. - - A byte array. - The timestamp. - The machine hash. - The PID. - The increment. - - - - Represents an immutable BSON array that is represented using only the raw bytes. - - - - - Initializes a new instance of the class. - - The slice. - slice - RawBsonArray cannot be used with an IByteBuffer that needs disposing. - - - - Adds an element to the array. - - The value to add to the array. - The array (so method calls can be chained). - - - - Adds multiple elements to the array. - - A list of values to add to the array. - The array (so method calls can be chained). - - - - Adds multiple elements to the array. - - A list of values to add to the array. - The array (so method calls can be chained). - - - - Adds multiple elements to the array. - - A list of values to add to the array. - The array (so method calls can be chained). - - - - Adds multiple elements to the array. - - A list of values to add to the array. - The array (so method calls can be chained). - - - - Adds multiple elements to the array. - - A list of values to add to the array. - The array (so method calls can be chained). - - - - Adds multiple elements to the array. - - A list of values to add to the array. - The array (so method calls can be chained). - - - - Adds multiple elements to the array. - - A list of values to add to the array. - The array (so method calls can be chained). - - - - Adds multiple elements to the array. - - A list of values to add to the array. - The array (so method calls can be chained). - - - - Adds multiple elements to the array. - - A list of values to add to the array. - The array (so method calls can be chained). - - - - Gets or sets the total number of elements the internal data structure can hold without resizing. - - - - - Clears the array. - - - - - Creates a shallow clone of the array (see also DeepClone). - - A shallow clone of the array. - - - - Tests whether the array contains a value. - - The value to test for. - True if the array contains the value. - - - - Copies elements from this array to another array. - - The other array. - The zero based index of the other array at which to start copying. - - - - Copies elements from this array to another array as raw values (see BsonValue.RawValue). - - The other array. - The zero based index of the other array at which to start copying. - - - - Gets the count of array elements. - - - - - Creates a deep clone of the array (see also Clone). - - A deep clone of the array. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources. - - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Gets an enumerator that can enumerate the elements of the array. - - An enumerator. - - - - Gets the index of a value in the array. - - The value to search for. - The zero based index of the value (or -1 if not found). - - - - Gets the index of a value in the array. - - The value to search for. - The zero based index at which to start the search. - The zero based index of the value (or -1 if not found). - - - - Gets the index of a value in the array. - - The value to search for. - The zero based index at which to start the search. - The number of elements to search. - The zero based index of the value (or -1 if not found). - - - - Inserts a new value into the array. - - The zero based index at which to insert the new value. - The new value. - - - - Gets whether the array is read-only. - - - - - Gets or sets a value by position. - - The position. - The value. - - - - Gets the array elements as raw values (see BsonValue.RawValue). - - - - - Removes the first occurrence of a value from the array. - - The value to remove. - True if the value was removed. - - - - Removes an element from the array. - - The zero based index of the element to remove. - - - - Gets the slice. - - - - - Throws if disposed. - - - - - - Converts the BsonArray to an array of BsonValues. - - An array of BsonValues. - - - - Converts the BsonArray to a list of BsonValues. - - A list of BsonValues. - - - - Returns a string representation of the array. - - A string representation of the array. - - - - Gets the array elements. - - - - - Represents an immutable BSON document that is represented using only the raw bytes. - - - - - Initializes a new instance of the class. - - The slice. - slice - RawBsonDocument cannot be used with an IByteBuffer that needs disposing. - - - - Initializes a new instance of the class. - - The bytes. - - - - Adds an element to the document. - - The element to add. - - The document (so method calls can be chained). - - - - - Adds a list of elements to the document. - - The list of elements. - The document (so method calls can be chained). - - - - Adds elements to the document from a dictionary of key/value pairs. - - The dictionary. - The document (so method calls can be chained). - - - - Adds elements to the document from a dictionary of key/value pairs. - - The dictionary. - Which keys of the hash table to add. - The document (so method calls can be chained). - - - - Adds elements to the document from a dictionary of key/value pairs. - - The dictionary. - The document (so method calls can be chained). - - - - Adds elements to the document from a dictionary of key/value pairs. - - The dictionary. - Which keys of the hash table to add. - The document (so method calls can be chained). - - - - Adds a list of elements to the document. - - The list of elements. - The document (so method calls can be chained). - - - - Adds elements to the document from a dictionary of key/value pairs. - - The dictionary. - The document (so method calls can be chained). - - - - Adds elements to the document from a dictionary of key/value pairs. - - The dictionary. - Which keys of the hash table to add. - The document (so method calls can be chained). - - - - Creates and adds an element to the document. - - The name of the element. - The value of the element. - - The document (so method calls can be chained). - - - - - Creates and adds an element to the document, but only if the condition is true. - - The name of the element. - The value of the element. - Whether to add the element to the document. - The document (so method calls can be chained). - - - - Adds elements to the document from a dictionary of key/value pairs. - - The dictionary. - - The document (so method calls can be chained). - - - - - Adds a list of elements to the document. - - The list of elements. - - The document (so method calls can be chained). - - - - - Adds elements to the document from a dictionary of key/value pairs. - - The dictionary. - - The document (so method calls can be chained). - - - - - Adds elements to the document from a dictionary of key/value pairs. - - The dictionary. - - The document (so method calls can be chained). - - - - - Clears the document (removes all elements). - - - - - Creates a shallow clone of the document (see also DeepClone). - - - A shallow clone of the document. - - - - - Tests whether the document contains an element with the specified name. - - The name of the element to look for. - - True if the document contains an element with the specified name. - - - - - Tests whether the document contains an element with the specified value. - - The value of the element to look for. - - True if the document contains an element with the specified value. - - - - - Creates a deep clone of the document (see also Clone). - - - A deep clone of the document. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources. - - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Gets the number of elements. - - - - - Gets the elements. - - - - - Gets an element of this document. - - The zero based index of the element. - - The element. - - - - - Gets an element of this document. - - The name of the element. - - A BsonElement. - - - - - Gets an enumerator that can be used to enumerate the elements of this document. - - - An enumerator. - - - - - Gets the value of an element. - - The zero based index of the element. - - The value of the element. - - - - - Gets the value of an element. - - The name of the element. - - The value of the element. - - - - - Gets the value of an element or a default value if the element is not found. - - The name of the element. - The default value returned if the element is not found. - - The value of the element or the default value if the element is not found. - - - - - Inserts a new element at a specified position. - - The position of the new element. - The element. - - - - Gets or sets a value by position. - - The position. - The value. - - - - Gets or sets a value by name. - - The name. - The value. - - - - Gets the value of an element or a default value if the element is not found. - - The name of the element. - The default value to return if the element is not found. - Teh value of the element or a default value if the element is not found. - - - - Materializes the RawBsonDocument into a regular BsonDocument. - - The binary reader settings. - A BsonDocument. - - - - Merges another document into this one. Existing elements are not overwritten. - - The other document. - - The document (so method calls can be chained). - - - - - Merges another document into this one, specifying whether existing elements are overwritten. - - The other document. - Whether to overwrite existing elements. - - The document (so method calls can be chained). - - - - - Gets the element names. - - - - - Gets the raw values (see BsonValue.RawValue). - - - - - Removes an element from this document (if duplicate element names are allowed - then all elements with this name will be removed). - - The name of the element to remove. - - - - Removes an element from this document. - - The zero based index of the element to remove. - - - - Removes an element from this document. - - The element to remove. - - - - Sets the value of an element. - - The zero based index of the element whose value is to be set. - The new value. - - The document (so method calls can be chained). - - - - - Sets the value of an element (an element will be added if no element with this name is found). - - The name of the element whose value is to be set. - The new value. - - The document (so method calls can be chained). - - - - - Sets an element of the document (replaces any existing element with the same name or adds a new element if an element with the same name is not found). - - The new element. - - The document. - - - - - Sets an element of the document (replacing the existing element at that position). - - The zero based index of the element to replace. - The new element. - - The document. - - - - - Gets the slice. - - - - - Throws if disposed. - - RawBsonDocument - - - - Tries to get an element of this document. - - The name of the element. - The element. - - True if an element with that name was found. - - - - - Tries to get the value of an element of this document. - - The name of the element. - The value of the element. - - True if an element with that name was found. - - - - - Gets the values. - - - - - Represents a truncation exception. - - - - - Initializes a new instance of the TruncationException class. - - - - - Initializes a new instance of the TruncationException class (this overload used by deserialization). - - The SerializationInfo. - The StreamingContext. - - - - Initializes a new instance of the TruncationException class. - - The error message. - - - - Initializes a new instance of the TruncationException class. - - The error message. - The inner exception. - - - - Represents a BSON reader for a binary BSON byte array. - - - - - Initializes a new instance of the BsonBinaryReader class. - - A stream (BsonBinary does not own the stream and will not Dispose it). - - - - Initializes a new instance of the BsonBinaryReader class. - - A stream (BsonBinary does not own the stream and will not Dispose it). - A BsonBinaryReaderSettings. - - - - Gets the base stream. - - - - - Gets the BSON stream. - - - - - Closes the reader. - - - - - Disposes of any resources used by the reader. - - True if called from Dispose. - - - - Gets a bookmark to the reader's current position and state. - - A bookmark. - - - - Determines whether this reader is at end of file. - - - Whether this reader is at end of file. - - - - - Reads BSON binary data from the reader. - - A BsonBinaryData. - - - - Reads a BSON boolean from the reader. - - A Boolean. - - - - Reads a BsonType from the reader. - - A BsonType. - - - - Reads BSON binary data from the reader. - - A byte array. - - - - Reads a BSON DateTime from the reader. - - The number of milliseconds since the Unix epoch. - - - - Reads a BSON Double from the reader. - - A Double. - - - - Reads the end of a BSON array from the reader. - - - - - Reads the end of a BSON document from the reader. - - - - - Reads a BSON Int32 from the reader. - - An Int32. - - - - Reads a BSON Int64 from the reader. - - An Int64. - - - - Reads a BSON JavaScript from the reader. - - A string. - - - - Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope). - - A string. - - - - Reads a BSON MaxKey from the reader. - - - - - Reads a BSON MinKey from the reader. - - - - - Reads the name of an element from the reader. - - The name decoder. - The name of the element. - - - - Reads a BSON null from the reader. - - - - - Reads a BSON ObjectId from the reader. - - An ObjectId. - - - - Reads a raw BSON array. - - - The raw BSON array. - - - - - Reads a raw BSON document. - - - The raw BSON document. - - - - - Reads a BSON regular expression from the reader. - - A BsonRegularExpression. - - - - Reads the start of a BSON array. - - - - - Reads the start of a BSON document. - - - - - Reads a BSON string from the reader. - - A String. - - - - Reads a BSON symbol from the reader. - - A string. - - - - Reads a BSON timestamp from the reader. - - The combined timestamp/increment. - - - - Reads a BSON undefined from the reader. - - - - - Returns the reader to previously bookmarked position and state. - - The bookmark. - - - - Skips the name (reader must be positioned on a name). - - - - - Skips the value (reader must be positioned on a value). - - - - - Represents a bookmark that can be used to return a reader to the current position and state. - - - - - Represents settings for a BsonBinaryReader. - - - - - Initializes a new instance of the BsonBinaryReaderSettings class. - - - - - Creates a clone of the settings. - - A clone of the settings. - - - - Creates a clone of the settings. - - A clone of the settings. - - - - Gets or sets the default settings for a BsonBinaryReader. - - - - - Gets or sets the Encoding. - - - - - Gets or sets whether to fix occurrences of the old binary subtype on input. - - - - - Gets or sets whether to fix occurrences of the old representation of DateTime.MaxValue on input. - - - - - Gets or sets the max document size. - - - - - Represents a BSON writer to a BSON Stream. - - - - - Initializes a new instance of the BsonBinaryWriter class. - - A stream. The BsonBinaryWriter does not own the stream and will not Dispose it. - - - - Initializes a new instance of the BsonBinaryWriter class. - - A stream. The BsonBinaryWriter does not own the stream and will not Dispose it. - The BsonBinaryWriter settings. - - - - Gets the base stream. - - - - - Gets the BSON stream. - - - - - Closes the writer. Also closes the base stream. - - - - - Disposes of any resources used by the writer. - - True if called from Dispose. - - - - Flushes any pending data to the output destination. - - - - - Pops the max document size stack, restoring the previous max document size. - - - - - Pushes a new max document size onto the max document size stack. - - The maximum size of the document. - - - - Writes BSON binary data to the writer. - - The binary data. - - - - Writes a BSON Boolean to the writer. - - The Boolean value. - - - - Writes BSON binary data to the writer. - - The bytes. - - - - Writes a BSON DateTime to the writer. - - The number of milliseconds since the Unix epoch. - - - - Writes a BSON Double to the writer. - - The Double value. - - - - Writes the end of a BSON array to the writer. - - - - - Writes the end of a BSON document to the writer. - - - - - Writes a BSON Int32 to the writer. - - The Int32 value. - - - - Writes a BSON Int64 to the writer. - - The Int64 value. - - - - Writes a BSON JavaScript to the writer. - - The JavaScript code. - - - - Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope). - - The JavaScript code. - - - - Writes a BSON MaxKey to the writer. - - - - - Writes a BSON MinKey to the writer. - - - - - Writes a BSON null to the writer. - - - - - Writes a BSON ObjectId to the writer. - - The ObjectId. - - - - Writes a raw BSON array. - - The byte buffer containing the raw BSON array. - - - - Writes a raw BSON document. - - The byte buffer containing the raw BSON document. - - - - Writes a BSON regular expression to the writer. - - A BsonRegularExpression. - - - - Writes the start of a BSON array to the writer. - - - - - Writes the start of a BSON document to the writer. - - - - - Writes a BSON String to the writer. - - The String value. - - - - Writes a BSON Symbol to the writer. - - The symbol. - - - - Writes a BSON timestamp to the writer. - - The combined timestamp/increment value. - - - - Writes a BSON undefined to the writer. - - - - - Represents settings for a BsonBinaryWriter. - - - - - Initializes a new instance of the BsonBinaryWriterSettings class. - - - - - Creates a clone of the settings. - - A clone of the settings. - - - - Creates a clone of the settings. - - A clone of the settings. - - - - Gets or sets the default BsonBinaryWriter settings. - - - - - Gets or sets the Encoding. - - - - - Gets or sets whether to fix the old binary data subtype on output. - - - - - Gets or sets the max document size. - - - - + + + Represents a pool of chunks. - - - - Initializes a new instance of the class. - - The maximum number of chunks to keep in the pool. - The size of each chunk. - - - - Gets the size of the pool. - - - - - Gets the chunk size. - - - - + + + Gets or sets the default chunk pool. - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - Gets the chunk. + + The default chunk pool. + + + + + Initializes a new instance of the class. - Size of the requested. - A chunk. - - - + The maximum number of chunks to keep in the pool. + The size of each chunk. + + + + Gets the chunk size. + + + The chunk size. + + + + Gets the maximum size of the pool. - - - - Represents a BSON reader for a BsonDocument. + + The maximum size of the pool. + + + + + Gets the size of the pool. - - - - Initializes a new instance of the BsonDocumentReader class. - - A BsonDocument. - - - - Initializes a new instance of the BsonDocumentReader class. - - A BsonDocument. - The reader settings. - - - - Closes the reader. - - - - - Disposes of any resources used by the reader. - - True if called from Dispose. - - - - Gets a bookmark to the reader's current position and state. - - A bookmark. - - - - Determines whether this reader is at end of file. - - - Whether this reader is at end of file. - - - - - Reads BSON binary data from the reader. - - A BsonBinaryData. - - - - Reads a BSON boolean from the reader. - - A Boolean. - - - - Reads a BsonType from the reader. - - A BsonType. - - - - Reads BSON binary data from the reader. - - A byte array. - - - - Reads a BSON DateTime from the reader. - - The number of milliseconds since the Unix epoch. - - - - Reads a BSON Double from the reader. - - A Double. - - - - Reads the end of a BSON array from the reader. - - - - - Reads the end of a BSON document from the reader. - - - - - Reads a BSON Int32 from the reader. - - An Int32. - - - - Reads a BSON Int64 from the reader. - - An Int64. - - - - Reads a BSON JavaScript from the reader. - - A string. - - - - Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope). - - A string. - - - - Reads a BSON MaxKey from the reader. - - - - - Reads a BSON MinKey from the reader. - - - - - Reads the name of an element from the reader. - - The name decoder. - - The name of the element. - - - - - Reads a BSON null from the reader. - - - - - Reads a BSON ObjectId from the reader. - - An ObjectId. - - - - Reads a BSON regular expression from the reader. - - A BsonRegularExpression. - - - - Reads the start of a BSON array. - - - - - Reads the start of a BSON document. - - - - - Reads a BSON string from the reader. - - A String. - - - - Reads a BSON symbol from the reader. - - A string. - - - - Reads a BSON timestamp from the reader. - - The combined timestamp/increment. - - - - Reads a BSON undefined from the reader. - - - - - Returns the reader to previously bookmarked position and state. - - The bookmark. - - - - Skips the name (reader must be positioned on a name). - - - - - Skips the value (reader must be positioned on a value). - - - - - Represents a bookmark that can be used to return a reader to the current position and state. - - - - + + The size of the pool. + + + + + + + + + + Represents settings for a BsonDocumentReader. - - - + + + Initializes a new instance of the BsonDocumentReaderSettings class. - - - + + + Initializes a new instance of the BsonDocumentReaderSettings class. - The representation for Guids. - - - - Creates a clone of the settings. - - A clone of the settings. - - - - Creates a clone of the settings. - - A clone of the settings. - - - + The representation for Guids. + + + Gets or sets the default settings for a BsonDocumentReader. - - - - Represents a BSON writer to a BsonDocument. + + + + Creates a clone of the settings. - - - - Initializes a new instance of the BsonDocumentWriter class. + A clone of the settings. + + + + Creates a clone of the settings. - The document to write to (normally starts out as an empty document). - - - - Initializes a new instance of the BsonDocumentWriter class. - - The document to write to (normally starts out as an empty document). - The settings. - - - - Closes the writer. - - - - - Disposes of any resources used by the writer. - - True if called from Dispose. - - - - Gets the BsonDocument being written to. - - - - - Flushes any pending data to the output destination. - - - - - Writes BSON binary data to the writer. - - The binary data. - - - - Writes a BSON Boolean to the writer. - - The Boolean value. - - - - Writes BSON binary data to the writer. - - The bytes. - - - - Writes a BSON DateTime to the writer. - - The number of milliseconds since the Unix epoch. - - - - Writes a BSON Double to the writer. - - The Double value. - - - - Writes the end of a BSON array to the writer. - - - - - Writes the end of a BSON document to the writer. - - - - - Writes a BSON Int32 to the writer. - - The Int32 value. - - - - Writes a BSON Int64 to the writer. - - The Int64 value. - - - - Writes a BSON JavaScript to the writer. - - The JavaScript code. - - - - Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope). - - The JavaScript code. - - - - Writes a BSON MaxKey to the writer. - - - - - Writes a BSON MinKey to the writer. - - - - - Writes the name of an element to the writer. - - The name of the element. - - - - Writes a BSON null to the writer. - - - - - Writes a BSON ObjectId to the writer. - - The ObjectId. - - - - Writes a BSON regular expression to the writer. - - A BsonRegularExpression. - - - - Writes the start of a BSON array to the writer. - - - - - Writes the start of a BSON document to the writer. - - - - - Writes a BSON String to the writer. - - The String value. - - - - Writes a BSON Symbol to the writer. - - The symbol. - - - - Writes a BSON timestamp to the writer. - - The combined timestamp/increment value. - - - - Writes a BSON undefined to the writer. - - - - + A clone of the settings. + + + Represents settings for a BsonDocumentWriter. - - - + + + Initializes a new instance of the BsonDocumentWriterSettings class. - - - + + + Initializes a new instance of the BsonDocumentWriterSettings class. - The representation for Guids. - - - - Creates a clone of the settings. - - A clone of the settings. - - - - Creates a clone of the settings. - - A clone of the settings. - - - + The representation for Guids. + + + Gets or sets the default BsonDocumentWriter settings. - - - - Represents a BSON reader for some external format (see subclasses). + + + + Creates a clone of the settings. - - - - Initializes a new instance of the BsonReader class. + A clone of the settings. + + + + Creates a clone of the settings. - The reader settings. - - - - Closes the reader. - - - - - Gets the current BsonType. - - - - - Gets the current name. - - - - - Disposes of any resources used by the reader. - - - - - Disposes of any resources used by the reader. - - True if called from Dispose. - - - - Gets whether the BsonReader has been disposed. - - - - - Gets a bookmark to the reader's current position and state. - - A bookmark. - - - - Gets the current BsonType (calls ReadBsonType if necessary). - - The current BsonType. - - - - Determines whether this reader is at end of file. - - - Whether this reader is at end of file. - - - - - Reads BSON binary data from the reader. - - A BsonBinaryData. - - - - Reads a BSON boolean from the reader. - - A Boolean. - - - - Reads a BsonType from the reader. - - A BsonType. - - - - Reads BSON binary data from the reader. - - A byte array. - - - - Reads a BSON DateTime from the reader. - - The number of milliseconds since the Unix epoch. - - - - Reads a BSON Double from the reader. - - A Double. - - - - Reads the end of a BSON array from the reader. - - - - - Reads the end of a BSON document from the reader. - - - - - Reads a BSON Int32 from the reader. - - An Int32. - - - - Reads a BSON Int64 from the reader. - - An Int64. - - - - Reads a BSON JavaScript from the reader. - - A string. - - - - Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope). - - A string. - - - - Reads a BSON MaxKey from the reader. - - - - - Reads a BSON MinKey from the reader. - - - - - Reads the name of an element from the reader. - - The name of the element. - - - - Reads the name of an element from the reader (using the provided name decoder). - - The name decoder. - - The name of the element. - - - - - Reads a BSON null from the reader. - - - - - Reads a BSON ObjectId from the reader. - - An ObjectId. - - - - Reads a raw BSON array. - - The raw BSON array. - - - - Reads a raw BSON document. - - The raw BSON document. - - - - Reads a BSON regular expression from the reader. - - A BsonRegularExpression. - - - - Reads the start of a BSON array. - - - - - Reads the start of a BSON document. - - - - - Reads a BSON string from the reader. - - A String. - - - - Reads a BSON symbol from the reader. - - A string. - - - - Reads a BSON timestamp from the reader. - - The combined timestamp/increment. - - - - Reads a BSON undefined from the reader. - - - - - Returns the reader to previously bookmarked position and state. - - The bookmark. - - - - Gets the settings of the reader. - - - - - Skips the name (reader must be positioned on a name). - - - - - Skips the value (reader must be positioned on a value). - - - - - Gets the current state of the reader. - - - - - Throws an InvalidOperationException when the method called is not valid for the current ContextType. - - The name of the method. - The actual ContextType. - The valid ContextTypes. - - - - Throws an InvalidOperationException when the method called is not valid for the current state. - - The name of the method. - The valid states. - - - - Throws an ObjectDisposedException. - - - - - Verifies the current state and BsonType of the reader. - - The name of the method calling this one. - The required BSON type. - - - - Represents a bookmark that can be used to return a reader to the current position and state. - - - - - Initializes a new instance of the BsonReaderBookmark class. - - The state of the reader. - The current BSON type. - The name of the current element. - - - - Gets the current BsonType; - - - - - Gets the name of the current element. - - - - - Gets the current state of the reader. - - - - + A clone of the settings. + + + Represents settings for a BsonReader. - - - + + + Initializes a new instance of the BsonReaderSettings class. - - - + + + Initializes a new instance of the BsonReaderSettings class. - The representation for Guids. - - - - Creates a clone of the settings. - - A clone of the settings. - - - - Creates a clone of the settings. - - A clone of the settings. - - - - Freezes the settings. - - The frozen settings. - - - - Returns a frozen copy of the settings. - - A frozen copy of the settings. - - - + The representation for Guids. + + + Gets or sets the representation for Guids. - - - + + + Gets whether the settings are frozen. - - - + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Freezes the settings. + + The frozen settings. + + + + Returns a frozen copy of the settings. + + A frozen copy of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + Throws an InvalidOperationException when an attempt is made to change a setting after the settings are frozen. - - - - Represents the state of a reader. - - - - - The initial state. - - - - - The reader is positioned at the type of an element or value. - - - - - The reader is positioned at the name of an element. - - - - - The reader is positioned at a value. - - - - - The reader is positioned at a scope document. - - - - - The reader is positioned at the end of a document. - - - - - The reader is positioned at the end of an array. - - - - - The reader has finished reading a document. - - - - - The reader is closed. - - - - + + + Represents a Stream has additional methods to suport reading and writing BSON values. - - - - - - MongoDB.Bson.IO.BsonStream - - - - - - + + + Reads a BSON CString from the stream. - The encoding. - A string. - - - + The encoding. + A string. + + + Reads a BSON CString from the stream. - An ArraySegment containing the CString bytes (without the null byte). - - - + An ArraySegment containing the CString bytes (without the null byte). + + + + Reads a BSON Decimal128 from the stream. + + A . + + + Reads a BSON double from the stream. - A double. - - - + A double. + + + Reads a 32-bit BSON integer from the stream. - An int. - - - + An int. + + + Reads a 64-bit BSON integer from the stream. - A long. - - - + A long. + + + Reads a BSON ObjectId from the stream. - An ObjectId. - - - + An ObjectId. + + + Reads a raw length prefixed slice from the stream. - A slice. - - - + A slice. + + + Reads a BSON string from the stream. - The encoding. - A string. - - - + The encoding. + A string. + + + Skips over a BSON CString leaving the stream positioned just after the terminating null byte. - - - + + + Writes a BSON CString to the stream. - The value. - - - + The value. + + + Writes the CString bytes to the stream. - The value. - - - + The value. + + + + Writes a BSON Decimal128 to the stream. + + The value. + + + Writes a BSON double to the stream. - The value. - - - + The value. + + + Writes a 32-bit BSON integer to the stream. - The value. - - - + The value. + + + Writes a 64-bit BSON integer to the stream. - The value. - - - + The value. + + + Writes a BSON ObjectId to the stream. - The value. - - - + The value. + + + Writes a BSON string to the stream. - The value. - The encoding. - - - + The value. + The encoding. + + + A Stream that wraps another Stream while implementing the BsonStream abstract methods. - - - - Initializes a new instance of the class. + + + + Initializes a new instance of the class. - The stream. - if set to true [owns stream]. - stream - - - + The stream. + if set to true [owns stream]. + stream + + + Gets the base stream. - - - Begins an asynchronous read operation. (Consider using instead; see the Remarks section.) - The buffer to read the data into. - The byte offset in at which to begin writing data read from the stream. - The maximum number of bytes to read. - An optional asynchronous callback, to be called when the read is complete. - A user-provided object that distinguishes this particular asynchronous read request from other requests. - An that represents the asynchronous read, which could still be pending. - Attempted an asynchronous read past the end of the stream, or a disk error occurs. - One or more of the arguments is invalid. - Methods were called after the stream was closed. - The current Stream implementation does not support the read operation. - - - Begins an asynchronous write operation. (Consider using instead; see the Remarks section.) - The buffer to write data from. - The byte offset in from which to begin writing. - The maximum number of bytes to write. - An optional asynchronous callback, to be called when the write is complete. - A user-provided object that distinguishes this particular asynchronous write request from other requests. - An IAsyncResult that represents the asynchronous write, which could still be pending. - Attempted an asynchronous write past the end of the stream, or a disk error occurs. - One or more of the arguments is invalid. - Methods were called after the stream was closed. - The current Stream implementation does not support the write operation. - - - When overridden in a derived class, gets a value indicating whether the current stream supports reading. - true if the stream supports reading; otherwise, false. - - - When overridden in a derived class, gets a value indicating whether the current stream supports seeking. - true if the stream supports seeking; otherwise, false. - - - Gets a value that determines whether the current stream can time out. - A value that determines whether the current stream can time out. - - - When overridden in a derived class, gets a value indicating whether the current stream supports writing. - true if the stream supports writing; otherwise, false. - - - Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream. Instead of calling this method, ensure that the stream is properly disposed. - - - Asynchronously reads the bytes from the current stream and writes them to another stream, using a specified buffer size and cancellation token. - The stream to which the contents of the current stream will be copied. - The size, in bytes, of the buffer. This value must be greater than zero. The default size is 81920. - The token to monitor for cancellation requests. The default value is . - A task that represents the asynchronous copy operation. - - is null. - - is negative or zero. - Either the current stream or the destination stream is disposed. - The current stream does not support reading, or the destination stream does not support writing. - - - Waits for the pending asynchronous read to complete. (Consider using instead; see the Remarks section.) - The reference to the pending asynchronous request to finish. - The number of bytes read from the stream, between zero (0) and the number of bytes you requested. Streams return zero (0) only at the end of the stream, otherwise, they should block until at least one byte is available. - - is null. - A handle to the pending read operation is not available.-or-The pending operation does not support reading. - - did not originate from a method on the current stream. - The stream is closed or an internal error has occurred. - - - Ends an asynchronous write operation. (Consider using instead; see the Remarks section.) - A reference to the outstanding asynchronous I/O request. - - is null. - A handle to the pending write operation is not available.-or-The pending operation does not support writing. - - did not originate from a method on the current stream. - The stream is closed or an internal error has occurred. - - - When overridden in a derived class, clears all buffers for this stream and causes any buffered data to be written to the underlying device. - An I/O error occurs. - - - Asynchronously clears all buffers for this stream, causes any buffered data to be written to the underlying device, and monitors cancellation requests. - The token to monitor for cancellation requests. The default value is . - A task that represents the asynchronous flush operation. - The stream has been disposed. - - - When overridden in a derived class, gets the length in bytes of the stream. - A long value representing the length of the stream in bytes. - A class derived from Stream does not support seeking. - Methods were called after the stream was closed. - - - When overridden in a derived class, gets or sets the position within the current stream. - The current position within the stream. - An I/O error occurs. - The stream does not support seeking. - Methods were called after the stream was closed. - - - When overridden in a derived class, reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. - An array of bytes. When this method returns, the buffer contains the specified byte array with the values between and ( + - 1) replaced by the bytes read from the current source. - The zero-based byte offset in at which to begin storing the data read from the current stream. - The maximum number of bytes to be read from the current stream. - The total number of bytes read into the buffer. This can be less than the number of bytes requested if that many bytes are not currently available, or zero (0) if the end of the stream has been reached. - The sum of and is larger than the buffer length. - - is null. - - or is negative. - An I/O error occurs. - The stream does not support reading. - Methods were called after the stream was closed. - - - Asynchronously reads a sequence of bytes from the current stream, advances the position within the stream by the number of bytes read, and monitors cancellation requests. - The buffer to write the data into. - The byte offset in at which to begin writing data from the stream. - The maximum number of bytes to read. - The token to monitor for cancellation requests. The default value is . - A task that represents the asynchronous read operation. The value of the parameter contains the total number of bytes read into the buffer. The result value can be less than the number of bytes requested if the number of bytes currently available is less than the requested number, or it can be 0 (zero) if the end of the stream has been reached. - - is null. - - or is negative. - The sum of and is larger than the buffer length. - The stream does not support reading. - The stream has been disposed. - The stream is currently in use by a previous read operation. - - - Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream. - The unsigned byte cast to an Int32, or -1 if at the end of the stream. - The stream does not support reading. - Methods were called after the stream was closed. - - - - Reads a BSON CString from the stream. - - The encoding. - A string. - - - - Reads a BSON CString from the stream. - - An ArraySegment containing the CString bytes (without the null byte). - - - - Reads a BSON double from the stream. - - A double. - - - - Reads a 32-bit BSON integer from the stream. - - An int. - - - - Reads a 64-bit BSON integer from the stream. - - A long. - - - - Reads a BSON ObjectId from the stream. - - An ObjectId. - - - - Reads a raw length prefixed slice from the stream. - - A slice. - - - - Reads a BSON string from the stream. - - The encoding. - A string. - - - Gets or sets a value, in miliseconds, that determines how long the stream will attempt to read before timing out. - A value, in miliseconds, that determines how long the stream will attempt to read before timing out. - The method always throws an . - - - When overridden in a derived class, sets the position within the current stream. - A byte offset relative to the parameter. - A value of type indicating the reference point used to obtain the new position. - The new position within the current stream. - An I/O error occurs. - The stream does not support seeking, such as if the stream is constructed from a pipe or console output. - Methods were called after the stream was closed. - - - When overridden in a derived class, sets the length of the current stream. - The desired length of the current stream in bytes. - An I/O error occurs. - The stream does not support both writing and seeking, such as if the stream is constructed from a pipe or console output. - Methods were called after the stream was closed. - - - - Skips over a BSON CString leaving the stream positioned just after the terminating null byte. - - - - When overridden in a derived class, writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. - An array of bytes. This method copies bytes from to the current stream. - The zero-based byte offset in at which to begin copying bytes to the current stream. - The number of bytes to be written to the current stream. - The sum of  and  is greater than the buffer length. - - is null. - - or  is negative. - An I/O error occured, such as the specified file cannot be found. - The stream does not support writing. - - was called after the stream was closed. - - - Asynchronously writes a sequence of bytes to the current stream, advances the current position within this stream by the number of bytes written, and monitors cancellation requests. - The buffer to write data from. - The zero-based byte offset in from which to begin copying bytes to the stream. - The maximum number of bytes to write. - The token to monitor for cancellation requests. The default value is . - A task that represents the asynchronous write operation. - - is null. - - or is negative. - The sum of and is larger than the buffer length. - The stream does not support writing. - The stream has been disposed. - The stream is currently in use by a previous write operation. - - - Writes a byte to the current position in the stream and advances the position within the stream by one byte. - The byte to write to the stream. - An I/O error occurs. - The stream does not support writing, or the stream is already closed. - Methods were called after the stream was closed. - - - - Writes a BSON CString to the stream. - - The value. - - - - Writes the CString bytes to the stream. - - The value. - - - - Writes a BSON double to the stream. - - The value. - - - - Writes a 32-bit BSON integer to the stream. - - The value. - - - - Writes a 64-bit BSON integer to the stream. - - The value. - - - - Writes a BSON ObjectId to the stream. - - The value. - - - - Writes a BSON string to the stream. - - The value. - The encoding. - - - Gets or sets a value, in miliseconds, that determines how long the stream will attempt to write before timing out. - A value, in miliseconds, that determines how long the stream will attempt to write before timing out. - The method always throws an . - - - - Represents extension methods on BsonStream. - - - - - Backpatches the size. - - The stream. - The start position. - - - - Reads the binary sub type. - - The stream. - The binary sub type. - - - - Reads a boolean from the stream. - - The stream. - A boolean. - - - - Reads the BSON type. - - The stream. - The BSON type. - - - - Reads bytes from the stream. - - The stream. - The buffer. - The offset. - The count. - - - - Reads bytes from the stream. - - The stream. - The count. - The bytes. - - - - Writes a binary sub type to the stream. - - The stream. - The value. - - - - Writes a boolean to the stream. - - The stream. - The value. - - - - Writes a BsonType to the stream. - - The stream. - The value. - - - - Writes bytes to the stream. - - The stream. - The buffer. - The offset. - The count. - - - - Writes a slice to the stream. - - The stream. - The slice. - - - + + The base stream. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents a mapping from a set of UTF8 encoded strings to a set of elementName/value pairs, implemented as a trie. - The type of the BsonTrie values. - - - + The type of the BsonTrie values. + + + Initializes a new instance of the BsonTrie class. - - - - Adds the specified elementName (after encoding as a UTF8 byte sequence) and value to the trie. - - The element name to add. - The value to add. The value can be null for reference types. - - - + + + Gets the root node. - - - + + + + Adds the specified elementName (after encoding as a UTF8 byte sequence) and value to the trie. + + The element name to add. + The value to add. The value can be null for reference types. + + + + Gets the node associated with the specified element name. + + The element name. + + When this method returns, contains the node associated with the specified element name, if the key is found; + otherwise, null. This parameter is passed unitialized. + + True if the node was found; otherwise, false. + + + Tries to get the node associated with a name read from a stream. - The stream. - The node. - + The stream. + The node. + True if the node was found. If the node was found the stream is advanced over the name, otherwise the stream is repositioned to the beginning of the name. - - - - Gets the node associated with the specified element name. - - The element name. - - When this method returns, contains the node associated with the specified element name, if the key is found; - otherwise, null. This parameter is passed unitialized. - - True if the node was found; otherwise, false. - - - + + + Gets the value associated with the specified element name. - The element name. - + The element name. + When this method returns, contains the value associated with the specified element name, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed unitialized. - True if the value was found; otherwise, false. - - - + True if the value was found; otherwise, false. + + + Gets the value associated with the specified element name. - The element name. - + The element name. + When this method returns, contains the value associated with the specified element name, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed unitialized. - True if the value was found; otherwise, false. - - - + True if the value was found; otherwise, false. + + + Represents a node in a BsonTrie. - The type of the BsonTrie values. - - - - Gets the element name for this node. - - - - - Gets the child of this node for a given key byte. - - The key byte. - The child node if it exists; otherwise, null. - - - + The type of the BsonTrie values. + + + Gets whether this node has a value. - - - + + + + Gets the element name for this node. + + + + Gets the value for this node. - - - - Represents a BSON writer for some external format (see subclasses). + + + + Gets the child of this node for a given key byte. - - - - Initializes a new instance of the BsonWriter class. - - The writer settings. - - - - Closes the writer. - - - - - Disposes of any resources used by the writer. - - - - - Disposes of any resources used by the writer. - - True if called from Dispose. - - - - Gets whether the BsonWriter has been disposed. - - - - - Flushes any pending data to the output destination. - - - - - Gets the name of the element being written. - - - - - Pops the element name validator. - - The popped element validator. - - - - Pushes the element name validator. - - The validator. - - - - Gets the current serialization depth. - - - - - Gets the settings of the writer. - - - - - Gets the current state of the writer. - - - - - Throws an InvalidOperationException when the method called is not valid for the current ContextType. - - The name of the method. - The actual ContextType. - The valid ContextTypes. - - - - Throws an InvalidOperationException when the method called is not valid for the current state. - - The name of the method. - The valid states. - - - - Writes BSON binary data to the writer. - - The binary data. - - - - Writes a BSON Boolean to the writer. - - The Boolean value. - - - - Writes BSON binary data to the writer. - - The bytes. - - - - Writes a BSON DateTime to the writer. - - The number of milliseconds since the Unix epoch. - - - - Writes a BSON Double to the writer. - - The Double value. - - - - Writes the end of a BSON array to the writer. - - - - - Writes the end of a BSON document to the writer. - - - - - Writes a BSON Int32 to the writer. - - The Int32 value. - - - - Writes a BSON Int64 to the writer. - - The Int64 value. - - - - Writes a BSON JavaScript to the writer. - - The JavaScript code. - - - - Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope). - - The JavaScript code. - - - - Writes a BSON MaxKey to the writer. - - - - - Writes a BSON MinKey to the writer. - - - - - Writes the name of an element to the writer. - - The name of the element. - - - - Writes a BSON null to the writer. - - - - - Writes a BSON ObjectId to the writer. - - The ObjectId. - - - - Writes a raw BSON array. - - The byte buffer containing the raw BSON array. - - - - Writes a raw BSON document. - - The byte buffer containing the raw BSON document. - - - - Writes a BSON regular expression to the writer. - - A BsonRegularExpression. - - - - Writes the start of a BSON array to the writer. - - - - - Writes the start of a BSON document to the writer. - - - - - Writes a BSON String to the writer. - - The String value. - - - - Writes a BSON Symbol to the writer. - - The symbol. - - - - Writes a BSON timestamp to the writer. - - The combined timestamp/increment value. - - - - Writes a BSON undefined to the writer. - - - - + The key byte. + The child node if it exists; otherwise, null. + + + Represents settings for a BsonWriter. - - - + + + Initializes a new instance of the BsonWriterSettings class. - - - + + + Initializes a new instance of the BsonWriterSettings class. - The representation for Guids. - - - - Creates a clone of the settings. - - A clone of the settings. - - - - Creates a clone of the settings. - - A clone of the settings. - - - - Freezes the settings. - - The frozen settings. - - - - Returns a frozen copy of the settings. - - A frozen copy of the settings. - - - + The representation for Guids. + + + Gets or sets the representation for Guids. - - - + + + Gets whether the settings are frozen. - - - + + + Gets or sets the max serialization depth allowed (used to detect circular references). - - - + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Freezes the settings. + + The frozen settings. + + + + Returns a frozen copy of the settings. + + A frozen copy of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + Throws an InvalidOperationException when an attempt is made to change a setting after the settings are frozen. - - - - Represents the state of a BsonWriter. - - - - - The initial state. - - - - - The writer is positioned to write a name. - - - - - The writer is positioned to write a value. - - - - - The writer is positioned to write a scope document (call WriteStartDocument to start writing the scope document). - - - - - The writer is done. - - - - - The writer is closed. - - - - - An IByteBuffer that is backed by a contiguous byte array. - - - - - Initializes a new instance of the class. - - The bytes. - Whether the buffer is read only. - - - - Initializes a new instance of the class. - - The bytes. - The length. - Whether the buffer is read only. - - - - Access the backing bytes directly. The returned ArraySegment will point to the desired position and contain - as many bytes as possible up to the next chunk boundary (if any). If the returned ArraySegment does not - contain enough bytes for your needs you will have to call ReadBytes instead. - - The position. - - An ArraySegment pointing directly to the backing bytes for the position. - - - - - Gets the capacity. - - - - - Clears the specified bytes. - - The position. - The count. - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - Ensure that the buffer has a minimum capacity. Depending on the buffer allocation strategy - calling this method may result in a higher capacity than the minimum (but never lower). - - The minimum capacity. - - - - Gets a byte. - - The position. - A byte. - - - - Gets bytes. - - The position. - The destination. - The destination offset. - The count. - - - - Gets a slice of this buffer. - - The position of the start of the slice. - The length of the slice. - A slice of this buffer. - - - - Gets a value indicating whether this instance is read only. - - - - - Gets or sets the length. - - - - - Makes this buffer read only. - - - - - Sets a byte. - - The position. - The value. - - - - Sets bytes. - - The position. - The bytes. - The offset. - The count. - - - + + + Represents a chunk backed by a byte array. - - - - Initializes a new instance of the class. + + + + Initializes a new instance of the class. - The bytes. - bytes - - - - Initializes a new instance of the class. + The size. + + + + Initializes a new instance of the class. - The size. - - - - Gets the bytes. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - + The bytes. + bytes + + + + + + + + + + + + Releases unmanaged and - optionally - managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Returns a new reference to the same chunk that can be independently disposed. - - A new reference to the same chunk. - - - - Represents a factory for IBsonBuffers. - - - - - Creates a buffer of the specified length. Depending on the length, either a SingleChunkBuffer or a MultiChunkBuffer will be created. - - The chunk pool. - The minimum capacity. - A buffer with at least the minimum capacity. - - - + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + Represents a slice of a byte buffer. - - - - Initializes a new instance of the class. + + + + Initializes a new instance of the class. - The byte buffer. - The offset of the slice. - The length of the slice. - - - - Access the backing bytes directly. The returned ArraySegment will point to the desired position and contain - as many bytes as possible up to the next chunk boundary (if any). If the returned ArraySegment does not - contain enough bytes for your needs you will have to call ReadBytes instead. - - The position. - - An ArraySegment pointing directly to the backing bytes for the position. - - - - + The byte buffer. + The offset of the slice. + The length of the slice. + + + Gets the buffer. - - - - Gets the capacity. - - - - - Clears the specified bytes. - - The position. - The count. - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - + + The buffer. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Releases unmanaged and - optionally - managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Ensure that the buffer has a minimum capacity. Depending on the buffer allocation strategy - calling this method may result in a higher capacity than the minimum (but never lower). - - The minimum capacity. - - - - Gets a byte. - - The position. - A byte. - - - - Gets bytes. - - The position. - The destination. - The destination offset. - The count. - - - - Gets a slice of this buffer. - - The position of the start of the slice. - The length of the slice. - A slice of this buffer. - - - - Gets a value indicating whether this instance is read only. - - - - - Gets or sets the length. - - - - - Makes this buffer read only. - - - - - Sets a byte. - - The position. - The value. - - - - Sets bytes. - - The position. - The bytes. - The offset. - The count. - - - - Represents a Stream backed by an IByteBuffer. Similar to MemoryStream but backed by an IByteBuffer - instead of a byte array and also implements the BsonStream interface for higher performance BSON I/O. - - - - - Initializes a new instance of the class. - - The buffer. - Whether the stream owns the buffer and should Dispose it when done. - - - - Gets the buffer. - - - - When overridden in a derived class, gets a value indicating whether the current stream supports reading. - true if the stream supports reading; otherwise, false. - - - When overridden in a derived class, gets a value indicating whether the current stream supports seeking. - true if the stream supports seeking; otherwise, false. - - - Gets a value that determines whether the current stream can time out. - A value that determines whether the current stream can time out. - - - When overridden in a derived class, gets a value indicating whether the current stream supports writing. - true if the stream supports writing; otherwise, false. - - - Releases the unmanaged resources used by the and optionally releases the managed resources. - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - When overridden in a derived class, clears all buffers for this stream and causes any buffered data to be written to the underlying device. - An I/O error occurs. - - - When overridden in a derived class, gets the length in bytes of the stream. - A long value representing the length of the stream in bytes. - A class derived from Stream does not support seeking. - Methods were called after the stream was closed. - - - When overridden in a derived class, gets or sets the position within the current stream. - The current position within the stream. - An I/O error occurs. - The stream does not support seeking. - Methods were called after the stream was closed. - - - When overridden in a derived class, reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. - An array of bytes. When this method returns, the buffer contains the specified byte array with the values between and ( + - 1) replaced by the bytes read from the current source. - The zero-based byte offset in at which to begin storing the data read from the current stream. - The maximum number of bytes to be read from the current stream. - The total number of bytes read into the buffer. This can be less than the number of bytes requested if that many bytes are not currently available, or zero (0) if the end of the stream has been reached. - The sum of and is larger than the buffer length. - - is null. - - or is negative. - An I/O error occurs. - The stream does not support reading. - Methods were called after the stream was closed. - - - Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream. - The unsigned byte cast to an Int32, or -1 if at the end of the stream. - The stream does not support reading. - Methods were called after the stream was closed. - - - - Reads a BSON CString from the stream. - - The encoding. - A string. - - - - Reads a BSON CString from the stream. - - An ArraySegment containing the CString bytes (without the null byte). - - - - Reads a BSON double from the stream. - - A double. - - - - Reads a 32-bit BSON integer from the stream. - - An int. - - - - Reads a 64-bit BSON integer from the stream. - - A long. - - - - Reads a BSON ObjectId from the stream. - - An ObjectId. - - - - Reads a raw length prefixed slice from the stream. - - A slice. - - - - Reads a BSON string from the stream. - - The encoding. - A string. - - - When overridden in a derived class, sets the position within the current stream. - A byte offset relative to the parameter. - A value of type indicating the reference point used to obtain the new position. - The new position within the current stream. - An I/O error occurs. - The stream does not support seeking, such as if the stream is constructed from a pipe or console output. - Methods were called after the stream was closed. - - - When overridden in a derived class, sets the length of the current stream. - The desired length of the current stream in bytes. - An I/O error occurs. - The stream does not support both writing and seeking, such as if the stream is constructed from a pipe or console output. - Methods were called after the stream was closed. - - - - Skips over a BSON CString leaving the stream positioned just after the terminating null byte. - - - - When overridden in a derived class, writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. - An array of bytes. This method copies bytes from to the current stream. - The zero-based byte offset in at which to begin copying bytes to the current stream. - The number of bytes to be written to the current stream. - The sum of  and  is greater than the buffer length. - - is null. - - or  is negative. - An I/O error occured, such as the specified file cannot be found. - The stream does not support writing. - - was called after the stream was closed. - - - Writes a byte to the current position in the stream and advances the position within the stream by one byte. - The byte to write to the stream. - An I/O error occurs. - The stream does not support writing, or the stream is already closed. - Methods were called after the stream was closed. - - - - Writes a BSON CString to the stream. - - The value. - - - - Writes the CString bytes to the stream. - - The value. - - - - Writes a BSON double to the stream. - - The value. - - - - Writes a 32-bit BSON integer to the stream. - - The value. - - - - Writes a 64-bit BSON integer to the stream. - - The value. - - - - Writes a BSON ObjectId to the stream. - - The value. - - - - Writes a BSON string to the stream. - - The value. - The encoding. - - - - Used by BsonReaders and BsonWriters to represent the current context. - - - - - The top level of a BSON document. - - - - - A (possibly embedded) BSON document. - - - - - A BSON array. - - - - - A JavaScriptWithScope BSON value. - - - - - The scope document of a JavaScriptWithScope BSON value. - - - - - Represents a DateTime JSON token. - - - - - Initializes a new instance of the DateTimeJsonToken class. - - The lexeme. - The DateTime value. - - - - Gets the value of a DateTime token. - - - - - Represents a Double JSON token. - - - - - Initializes a new instance of the DoubleJsonToken class. - - The lexeme. - The Double value. - - - - Gets the value of a Double token. - - - - - Gets the value of an Int32 token. - - - - - Gets the value of an Int64 token. - - - - - Gets a value indicating whether this token is number. - - - - + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + Represents a chunk of bytes. - - - + + + Gets the bytes. - - - + + The bytes. + + + + Returns a new reference to the same chunk that can be independently disposed. - A new reference to the same chunk. - - - + A new reference to the same chunk. + + + Represents a source of chunks. - - - + + + Gets the chunk. - Size of the requested. - A chunk. - - - + The chunk source is free to return a larger or smaller chunk than requested. + Size of the requested. + A chunk. + + + Represents a BSON reader. - - - - Closes the reader. - - - - + + + Gets the current BsonType. - - - - Gets a bookmark to the reader's current position and state. - - A bookmark. - - - - Gets the current BsonType (calls ReadBsonType if necessary). - - The current BsonType. - - - - Determines whether this reader is at end of file. - - - Whether this reader is at end of file. - - - - - Reads BSON binary data from the reader. - - A BsonBinaryData. - - - - Reads a BSON boolean from the reader. - - A Boolean. - - - - Reads a BsonType from the reader. - - A BsonType. - - - - Reads BSON binary data from the reader. - - A byte array. - - - - Reads a BSON DateTime from the reader. - - The number of milliseconds since the Unix epoch. - - - - Reads a BSON Double from the reader. - - A Double. - - - - Reads the end of a BSON array from the reader. - - - - - Reads the end of a BSON document from the reader. - - - - - Reads a BSON Int32 from the reader. - - An Int32. - - - - Reads a BSON Int64 from the reader. - - An Int64. - - - - Reads a BSON JavaScript from the reader. - - A string. - - - - Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope). - - A string. - - - - Reads a BSON MaxKey from the reader. - - - - - Reads a BSON MinKey from the reader. - - - - - Reads the name of an element from the reader (using the provided name decoder). - - The name decoder. - - The name of the element. - - - - - Reads a BSON null from the reader. - - - - - Reads a BSON ObjectId from the reader. - - An ObjectId. - - - - Reads a raw BSON array. - - The raw BSON array. - - - - Reads a raw BSON document. - - The raw BSON document. - - - - Reads a BSON regular expression from the reader. - - A BsonRegularExpression. - - - - Reads the start of a BSON array. - - - - - Reads the start of a BSON document. - - - - - Reads a BSON string from the reader. - - A String. - - - - Reads a BSON symbol from the reader. - - A string. - - - - Reads a BSON timestamp from the reader. - - The combined timestamp/increment. - - - - Reads a BSON undefined from the reader. - - - - - Returns the reader to previously bookmarked position and state. - - The bookmark. - - - - Skips the name (reader must be positioned on a name). - - - - - Skips the value (reader must be positioned on a value). - - - - + + + Gets the current state of the reader. - - - - Contains extensions methods for IBsonReader. + + + + Closes the reader. - - - - Positions the reader to an element by name. + + + + Gets a bookmark to the reader's current position and state. - The reader. - The name of the element. - True if the element was found. - - - - Positions the reader to a string element by name. + A bookmark. + + + + Gets the current BsonType (calls ReadBsonType if necessary). - The reader. - The name of the element. - True if the element was found. - - - - Reads a BSON binary data element from the reader. + The current BsonType. + + + + Determines whether this reader is at end of file. - The reader. - The name of the element. - A BsonBinaryData. - - - - Reads a BSON boolean element from the reader. + + Whether this reader is at end of file. + + + + + Reads BSON binary data from the reader. - The reader. - The name of the element. - A Boolean. - - - - Reads a BSON binary data element from the reader. + A BsonBinaryData. + + + + Reads a BSON boolean from the reader. - The reader. - The name of the element. - A byte array. - - - - Reads a BSON DateTime element from the reader. + A Boolean. + + + + Reads a BsonType from the reader. - The reader. - The name of the element. - The number of milliseconds since the Unix epoch. - - - - Reads a BSON Double element from the reader. + A BsonType. + + + + Reads BSON binary data from the reader. - The reader. - The name of the element. - A Double. - - - - Reads a BSON Int32 element from the reader. + A byte array. + + + + Reads a BSON DateTime from the reader. - The reader. - The name of the element. - An Int32. - - - - Reads a BSON Int64 element from the reader. + The number of milliseconds since the Unix epoch. + + + + Reads a BSON Decimal128 from the reader. - The reader. - The name of the element. - An Int64. - - - - Reads a BSON JavaScript element from the reader. + A . + + + + Reads a BSON Double from the reader. - The reader. - The name of the element. - A string. - - - - Reads a BSON JavaScript with scope element from the reader (call ReadStartDocument next to read the scope). + A Double. + + + + Reads the end of a BSON array from the reader. - The reader. - The name of the element. - A string. - - - - Reads a BSON MaxKey element from the reader. + + + + Reads the end of a BSON document from the reader. - The reader. - The name of the element. - - - - Reads a BSON MinKey element from the reader. + + + + Reads a BSON Int32 from the reader. - The reader. - The name of the element. - - - - Reads the name of an element from the reader. + An Int32. + + + + Reads a BSON Int64 from the reader. - The reader. - The name of the element. - - - - Reads the name of an element from the reader. + An Int64. + + + + Reads a BSON JavaScript from the reader. - The reader. - The name of the element. - - - - Reads a BSON null element from the reader. + A string. + + + + Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope). - The reader. - The name of the element. - - - - Reads a BSON ObjectId element from the reader. + A string. + + + + Reads a BSON MaxKey from the reader. - The reader. - The name of the element. - An ObjectId. - - - + + + + Reads a BSON MinKey from the reader. + + + + + Reads the name of an element from the reader (using the provided name decoder). + + The name decoder. + + The name of the element. + + + + + Reads a BSON null from the reader. + + + + + Reads a BSON ObjectId from the reader. + + An ObjectId. + + + Reads a raw BSON array. - The reader. - The name. - - The raw BSON array. - - - - + The raw BSON array. + + + Reads a raw BSON document. - The reader. - The name. - The raw BSON document. - - - + The raw BSON document. + + + + Reads a BSON regular expression from the reader. + + A BsonRegularExpression. + + + + Reads the start of a BSON array. + + + + + Reads the start of a BSON document. + + + + + Reads a BSON string from the reader. + + A String. + + + + Reads a BSON symbol from the reader. + + A string. + + + + Reads a BSON timestamp from the reader. + + The combined timestamp/increment. + + + + Reads a BSON undefined from the reader. + + + + + Returns the reader to previously bookmarked position and state. + + The bookmark. + + + + Skips the name (reader must be positioned on a name). + + + + + Skips the value (reader must be positioned on a value). + + + + + Contains extensions methods for IBsonReader. + + + + + Positions the reader to an element by name. + + The reader. + The name of the element. + True if the element was found. + + + + Positions the reader to a string element by name. + + The reader. + The name of the element. + True if the element was found. + + + + Reads a BSON binary data element from the reader. + + The reader. + The name of the element. + A BsonBinaryData. + + + + Reads a BSON boolean element from the reader. + + The reader. + The name of the element. + A Boolean. + + + + Reads a BSON binary data element from the reader. + + The reader. + The name of the element. + A byte array. + + + + Reads a BSON DateTime element from the reader. + + The reader. + The name of the element. + The number of milliseconds since the Unix epoch. + + + + Reads a BSON Decimal128 element from the reader. + + The reader. + The name of the element. + A . + + + + Reads a BSON Double element from the reader. + + The reader. + The name of the element. + A Double. + + + + Reads a BSON Int32 element from the reader. + + The reader. + The name of the element. + An Int32. + + + + Reads a BSON Int64 element from the reader. + + The reader. + The name of the element. + An Int64. + + + + Reads a BSON JavaScript element from the reader. + + The reader. + The name of the element. + A string. + + + + Reads a BSON JavaScript with scope element from the reader (call ReadStartDocument next to read the scope). + + The reader. + The name of the element. + A string. + + + + Reads a BSON MaxKey element from the reader. + + The reader. + The name of the element. + + + + Reads a BSON MinKey element from the reader. + + The reader. + The name of the element. + + + + Reads the name of an element from the reader. + + The reader. + The name of the element. + + + + Reads the name of an element from the reader. + + The reader. + The name of the element. + + + + Reads a BSON null element from the reader. + + The reader. + The name of the element. + + + + Reads a BSON ObjectId element from the reader. + + The reader. + The name of the element. + An ObjectId. + + + + Reads a raw BSON array. + + The reader. + The name. + + The raw BSON array. + + + + + Reads a raw BSON document. + + The reader. + The name. + The raw BSON document. + + + Reads a BSON regular expression element from the reader. - The reader. - The name of the element. - A BsonRegularExpression. - - - + The reader. + The name of the element. + A BsonRegularExpression. + + + Reads a BSON string element from the reader. - The reader. - The name of the element. - A String. - - - + The reader. + The name of the element. + A String. + + + Reads a BSON symbol element from the reader. - The reader. - The name of the element. - A string. - - - + The reader. + The name of the element. + A string. + + + Reads a BSON timestamp element from the reader. - The reader. - The name of the element. - The combined timestamp/increment. - - - + The combined timestamp/increment. + The reader. + The name of the element. + + + Reads a BSON undefined element from the reader. - The reader. - The name of the element. - - - + The reader. + The name of the element. + + + + Represents extension methods on BsonStream. + + + + + Backpatches the size. + + The stream. + The start position. + + + + Reads the binary sub type. + + The stream. + The binary sub type. + + + + Reads a boolean from the stream. + + The stream. + A boolean. + + + + Reads the BSON type. + + The stream. + The BSON type. + + + + Reads bytes from the stream. + + The stream. + The buffer. + The offset. + The count. + + + + Reads bytes from the stream. + + The stream. + The count. + The bytes. + + + + Writes a binary sub type to the stream. + + The stream. + The value. + + + + Writes a boolean to the stream. + + The stream. + The value. + + + + Writes a BsonType to the stream. + + The stream. + The value. + + + + Writes bytes to the stream. + + The stream. + The buffer. + The offset. + The count. + + + + Writes a slice to the stream. + + The stream. + The slice. + + + Represents a BSON writer. - - - - Closes the writer. - - - - - Flushes any pending data to the output destination. - - - - - Pops the element name validator. - - The popped element validator. - - - - Pushes the element name validator. - - The validator. - - - + + + Gets the current serialization depth. - - - + + + Gets the settings of the writer. - - - + + + Gets the current state of the writer. - - - + + + + Closes the writer. + + + + + Flushes any pending data to the output destination. + + + + + Pops the element name validator. + + The popped element validator. + + + + Pushes the element name validator. + + The validator. + + + Writes BSON binary data to the writer. - The binary data. - - - + The binary data. + + + Writes a BSON Boolean to the writer. - The Boolean value. - - - + The Boolean value. + + + Writes BSON binary data to the writer. - The bytes. - - - + The bytes. + + + Writes a BSON DateTime to the writer. - The number of milliseconds since the Unix epoch. - - - + The number of milliseconds since the Unix epoch. + + + + Writes a BSON Decimal128 to the writer. + + The value. + + + Writes a BSON Double to the writer. - The Double value. - - - + The Double value. + + + Writes the end of a BSON array to the writer. - - - + + + Writes the end of a BSON document to the writer. - - - + + + Writes a BSON Int32 to the writer. - The Int32 value. - - - + The Int32 value. + + + Writes a BSON Int64 to the writer. - The Int64 value. - - - + The Int64 value. + + + Writes a BSON JavaScript to the writer. - The JavaScript code. - - - + The JavaScript code. + + + Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope). - The JavaScript code. - - - + The JavaScript code. + + + Writes a BSON MaxKey to the writer. - - - + + + Writes a BSON MinKey to the writer. - - - + + + Writes the name of an element to the writer. - The name of the element. - - - + The name of the element. + + + Writes a BSON null to the writer. - - - + + + Writes a BSON ObjectId to the writer. - The ObjectId. - - - + The ObjectId. + + + Writes a raw BSON array. - The byte buffer containing the raw BSON array. - - - + The byte buffer containing the raw BSON array. + + + Writes a raw BSON document. - The byte buffer containing the raw BSON document. - - - + The byte buffer containing the raw BSON document. + + + Writes a BSON regular expression to the writer. - A BsonRegularExpression. - - - + A BsonRegularExpression. + + + Writes the start of a BSON array to the writer. - - - + + + Writes the start of a BSON document to the writer. - - - + + + Writes a BSON String to the writer. - The String value. - - - + The String value. + + + Writes a BSON Symbol to the writer. - The symbol. - - - + The symbol. + + + Writes a BSON timestamp to the writer. - The combined timestamp/increment value. - - - + The combined timestamp/increment value. + + + Writes a BSON undefined to the writer. - - - + + + Contains extension methods for IBsonWriter. - - - + + + Writes a BSON binary data element to the writer. - The writer. - The name of the element. - The binary data. - - - + The writer. + The name of the element. + The binary data. + + + Writes a BSON Boolean element to the writer. - The writer. - The name of the element. - The Boolean value. - - - + The writer. + The name of the element. + The Boolean value. + + + Writes a BSON binary data element to the writer. - The writer. - The name of the element. - The bytes. - - - + The writer. + The name of the element. + The bytes. + + + Writes a BSON DateTime element to the writer. - The writer. - The name of the element. - The number of milliseconds since the Unix epoch. - - - + The writer. + The name of the element. + The number of milliseconds since the Unix epoch. + + + + Writes a BSON Decimal128 element to the writer. + + The writer. + The name of the element. + The value. + + + Writes a BSON Double element to the writer. - The writer. - The name of the element. - The Double value. - - - + The writer. + The name of the element. + The Double value. + + + Writes a BSON Int32 element to the writer. - The writer. - The name of the element. - The Int32 value. - - - + The writer. + The name of the element. + The Int32 value. + + + Writes a BSON Int64 element to the writer. - The writer. - The name of the element. - The Int64 value. - - - + The writer. + The name of the element. + The Int64 value. + + + Writes a BSON JavaScript element to the writer. - The writer. - The name of the element. - The JavaScript code. - - - + The writer. + The name of the element. + The JavaScript code. + + + Writes a BSON JavaScript element to the writer (call WriteStartDocument to start writing the scope). - The writer. - The name of the element. - The JavaScript code. - - - + The writer. + The name of the element. + The JavaScript code. + + + Writes a BSON MaxKey element to the writer. - The writer. - The name of the element. - - - + The writer. + The name of the element. + + + Writes a BSON MinKey element to the writer. - The writer. - The name of the element. - - - + The writer. + The name of the element. + + + Writes a BSON null element to the writer. - The writer. - The name of the element. - - - + The writer. + The name of the element. + + + Writes a BSON ObjectId element to the writer. - The writer. - The name of the element. - The ObjectId. - - - + The writer. + The name of the element. + The ObjectId. + + + Writes a raw BSON array. - The writer. - The name. - The byte buffer containing the raw BSON array. - - - + The writer. + The name. + The byte buffer containing the raw BSON array. + + + Writes a raw BSON document. - The writer. - The name. - The byte buffer containing the raw BSON document. - - - + The writer. + The name. + The byte buffer containing the raw BSON document. + + + Writes a BSON regular expression element to the writer. - The writer. - The name of the element. - A BsonRegularExpression. - - - + The writer. + The name of the element. + A BsonRegularExpression. + + + Writes the start of a BSON array element to the writer. - The writer. - The name of the element. - - - + The writer. + The name of the element. + + + Writes the start of a BSON document element to the writer. - The writer. - The name of the element. - - - + The writer. + The name of the element. + + + Writes a BSON String element to the writer. - The writer. - The name of the element. - The String value. - - - + The writer. + The name of the element. + The String value. + + + Writes a BSON Symbol element to the writer. - The writer. - The name of the element. - The symbol. - - - + The writer. + The name of the element. + The symbol. + + + Writes a BSON timestamp element to the writer. - The writer. - The name of the element. - The combined timestamp/increment value. - - - + The writer. + The name of the element. + The combined timestamp/increment value. + + + Writes a BSON undefined element to the writer. - The writer. - The name of the element. - - - - Represents a byte buffer (backed by various means depending on the implementation). - - - - - Access the backing bytes directly. The returned ArraySegment will point to the desired position and contain - as many bytes as possible up to the next chunk boundary (if any). If the returned ArraySegment does not - contain enough bytes for your needs you will have to call ReadBytes instead. - - The position. - - An ArraySegment pointing directly to the backing bytes for the position. - - - - - Gets the capacity. - - - - - Clears the specified bytes. - - The position. - The count. - - - - Ensure that the buffer has a minimum capacity. Depending on the buffer allocation strategy - calling this method may result in a higher capacity than the minimum (but never lower). - - The minimum capacity. - - - - Gets a byte. - - The position. - A byte. - - - - Gets bytes. - - The position. - The destination. - The destination offset. - The count. - - - - Gets a slice of this buffer. - - The position of the start of the slice. - The length of the slice. - A slice of this buffer. - - - - Gets a value indicating whether this instance is read only. - - - - - Gets or sets the length. - - - - - Makes this buffer read only. - - - - - Sets a byte. - - The position. - The value. - - - - Sets bytes. - - The position. - The bytes. - The offset. - The count. - - - + The writer. + The name of the element. + + + Represents an element name validator. Used by BsonWriters when WriteName is called to determine if the element name is valid. - - - + + + Gets the validator to use for child content (a nested document or array). - The name of the element. - The validator to use for child content. - - - + The name of the element. + The validator to use for child content. + + + Determines whether the element name is valid. - The name of the element. - True if the element name is valid. - - - + The name of the element. + True if the element name is valid. + + + Represents a name decoder. - - - + + + Decodes the name. - The stream. - The encoding. - + The stream. + The encoding. + The name. - - - + + + Informs the decoder of an already decoded name (so the decoder can change state if necessary). - The name. - - - + The name. + + + Represents a source of chunks optimized for input buffers. - - - - Initializes a new instance of the class. + + + + Initializes a new instance of the class. - The chunk source. - The maximum size of an unpooled chunk. - The minimum size of a chunk. - The maximum size of a chunk. - - - + The chunk source. + The maximum size of an unpooled chunk. + The minimum size of a chunk. + The maximum size of a chunk. + + + Gets the base source. - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - Gets the chunk. - - Size of the requested. - A chunk. - - - + + The base source. + + + + Gets the maximum size of a chunk. - - - + + The maximum size of a chunk. + + + + + Gets the minimum size of a chunk. + + + The minimum size of a chunk. + + + + Gets the maximum size of an unpooled chunk. - - - - Gets the minimum size of a chunk. + + The maximum size of an unpooled chunk. + + + + + + + + + + + Represents a wrapper around a TextReader to provide some buffering functionality. - - - - Represents an Int32 JSON token. + + + + Initializes a new instance of the class. - - - - Initializes a new instance of the Int32JsonToken class. + The json. + + + + Initializes a new instance of the class. - The lexeme. - The Int32 value. - - - - Gets the value of a Double token. + The reader. + + + + Gets or sets the current position. - - - - Gets the value of an Int32 token. + + + + Gets a snippet of a maximum length from the buffer (usually to include in an error message). - - - - Gets the value of an Int32 token as an Int64. + The start. + The maximum length. + The snippet. + + + + Gets a substring from the buffer. - - - - Gets a value indicating whether this token is number. + The start. + The count. + The substring. + + + + Reads the next character from the text reader and advances the character position by one character. - - - - Represents an Int64 JSON token. + + The next character from the text reader, or -1 if no more characters are available. The default implementation returns -1. + + + + + Resets the buffer (clears everything up to the current position). - - - - Initializes a new instance of the Int64JsonToken class. + + + + Unreads one character (moving the current Position back one position). - The lexeme. - The Int64 value. - - - - Gets the value of a Double token. + The character. + + + + Represents a factory for IBsonBuffers. - - - - Gets the value of an Int32 token. + + + + Creates a buffer of the specified length. Depending on the length, either a SingleChunkBuffer or a MultiChunkBuffer will be created. - - - - Gets the value of an Int64 token. + The chunk pool. + The minimum capacity. + A buffer with at least the minimum capacity. + + + + An IByteBuffer that is backed by a contiguous byte array. - - - - Gets a value indicating whether this token is number. + + + + Initializes a new instance of the class. - - - + The bytes. + Whether the buffer is read only. + + + + Initializes a new instance of the class. + + The bytes. + The length. + Whether the buffer is read only. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents a Stream backed by an IByteBuffer. Similar to MemoryStream but backed by an IByteBuffer + instead of a byte array and also implements the BsonStream interface for higher performance BSON I/O. + + + + + Initializes a new instance of the class. + + The buffer. + Whether the stream owns the buffer and should Dispose it when done. + + + + Gets the buffer. + + + The buffer. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents a byte buffer (backed by various means depending on the implementation). + + + + + Gets the capacity. + + + The capacity. + + + + + Gets a value indicating whether this instance is read only. + + + true if this instance is read only; otherwise, false. + + + + + Gets or sets the length. + + + The length. + + + + + Access the backing bytes directly. The returned ArraySegment will point to the desired position and contain + as many bytes as possible up to the next chunk boundary (if any). If the returned ArraySegment does not + contain enough bytes for your needs you will have to call ReadBytes instead. + + The position. + + An ArraySegment pointing directly to the backing bytes for the position. + + + + + Clears the specified bytes. + + The position. + The count. + + + + Ensure that the buffer has a minimum capacity. Depending on the buffer allocation strategy + calling this method may result in a higher capacity than the minimum (but never lower). + + The minimum capacity. + + + + Gets a slice of this buffer. + + The position of the start of the slice. + The length of the slice. + A slice of this buffer. + + + + Makes this buffer read only. + + + + + Gets a byte. + + The position. + A byte. + + + + Gets bytes. + + The position. + The destination. + The destination offset. + The count. + + + + Sets a byte. + + The position. + The value. + + + + Sets bytes. + + The position. + The bytes. + The offset. + The count. + + + Encodes and decodes scalar values to JSON compatible strings. - - - + + + Converts a string to a Boolean. - The value. - A Boolean. - - - + The value. + A Boolean. + + + Converts a string to a DateTime. - The value. - A DateTime. - - - + The value. + A DateTime. + + + Converts a string to a DateTimeOffset. - The value. - A DateTimeOffset. - - - + The value. + A DateTimeOffset. + + + Converts a string to a Decimal. - The value. - A Decimal. - - - + The value. + A Decimal. + + + + Converts a string to a . + + The value. + A . + + + Converts a string to a Double. - The value. - A Double. - - - + The value. + A Double. + + + Converts a string to an Int16. - The value. - An Int16. - - - + The value. + An Int16. + + + Converts a string to an Int32. - The value. - An Int32. - - - + The value. + An Int32. + + + Converts a string to an Int64. - The value. - An Int64. - - - + The value. + An Int64. + + + Converts a string to a Single. - The value. - A Single. - - - + The value. + A Single. + + + Converts a Boolean to a string. - The value. - A string. - - - + The value. + A string. + + + Converts a DateTime to a string. - The value. - A string. - - - + The value. + A string. + + + Converts a DateTimeOffset to a string. - The value. - A string. - - - + The value. + A string. + + + Converts a Decimal to a string. - The value. - A string. - - - + The value. + A string. + + + + Converts a to a string. + + The value. + A string. + + + Converts a Double to a string. - The value. - A string. - - - - Converts an Int16 to a string. - - The value. - A string. - - - - Converts an Int32 to a string. - - The value. - A string. - - - - Converts an Int64 to a string. - - The value. - A string. - - - + The value. + A string. + + + Converts a Single to a string. - The value. - A string. - - - - Converts a UInt16 to a string. + The value. + A string. + + + + Converts an Int32 to a string. - The value. - A string. - - - + The value. + A string. + + + + Converts an Int64 to a string. + + The value. + A string. + + + + Converts an Int16 to a string. + + The value. + A string. + + + Converts a UInt32 to a string. - The value. - A string. - - - + The value. + A string. + + + Converts a UInt64 to a string. - The value. - A string. - - - + The value. + A string. + + + + Converts a UInt16 to a string. + + The value. + A string. + + + Converts a string to a UInt16. - The value. - A UInt16. - - - + The value. + A UInt16. + + + Converts a string to a UInt32. - The value. - A UInt32. - - - + The value. + A UInt32. + + + Converts a string to a UInt64. - The value. - A UInt64. - - - - Represents the output mode of a JsonWriter. - - - - - Output strict JSON. - - - - - Use a format that can be pasted in to the MongoDB shell. - - - - - Use JavaScript data types for some values. - - - - - Use JavaScript and MongoDB data types for some values. - - - - - Represents a BSON reader for a JSON string. - - - - - Initializes a new instance of the JsonReader class. - - The TextReader. - - - - Initializes a new instance of the JsonReader class. - - The TextReader. - The reader settings. - - - - Initializes a new instance of the JsonReader class. - - The JSON string. - - - - Initializes a new instance of the JsonReader class. - - The JSON string. - The reader settings. - - - - Closes the reader. - - - - - Disposes of any resources used by the reader. - - True if called from Dispose. - - - - Gets a bookmark to the reader's current position and state. - - A bookmark. - - - - Determines whether this reader is at end of file. - - - Whether this reader is at end of file. - - - - - Reads BSON binary data from the reader. - - A BsonBinaryData. - - - - Reads a BSON boolean from the reader. - - A Boolean. - - - - Reads a BsonType from the reader. - - A BsonType. - - - - Reads BSON binary data from the reader. - - A byte array. - - - - Reads a BSON DateTime from the reader. - - The number of milliseconds since the Unix epoch. - - - - Reads a BSON Double from the reader. - - A Double. - - - - Reads the end of a BSON array from the reader. - - - - - Reads the end of a BSON document from the reader. - - - - - Reads a BSON Int32 from the reader. - - An Int32. - - - - Reads a BSON Int64 from the reader. - - An Int64. - - - - Reads a BSON JavaScript from the reader. - - A string. - - - - Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope). - - A string. - - - - Reads a BSON MaxKey from the reader. - - - - - Reads a BSON MinKey from the reader. - - - - - Reads the name of an element from the reader. - - The name decoder. - - The name of the element. - - - - - Reads a BSON null from the reader. - - - - - Reads a BSON ObjectId from the reader. - - An ObjectId. - - - - Reads a BSON regular expression from the reader. - - A BsonRegularExpression. - - - - Reads the start of a BSON array. - - - - - Reads the start of a BSON document. - - - - - Reads a BSON string from the reader. - - A String. - - - - Reads a BSON symbol from the reader. - - A string. - - - - Reads a BSON timestamp from the reader. - - The combined timestamp/increment. - - - - Reads a BSON undefined from the reader. - - - - - Returns the reader to previously bookmarked position and state. - - The bookmark. - - - - Skips the name (reader must be positioned on a name). - - - - - Skips the value (reader must be positioned on a value). - - - - - Represents a bookmark that can be used to return a reader to the current position and state. - - - - - Represents settings for a JsonReader. - - - - - Initializes a new instance of the JsonReaderSettings class. - - - - - Creates a clone of the settings. - - A clone of the settings. - - - - Creates a clone of the settings. - - A clone of the settings. - - - - Gets or sets the default settings for a JsonReader. - - - - - Represents a JSON token. - - - - - Initializes a new instance of the JsonToken class. - - The token type. - The lexeme. - - - - Gets the value of a DateTime token. - - - - - Gets the value of a Double token. - - - - - Gets the value of an Int32 token. - - - - - Gets the value of an Int64 token. - - - - - Gets a value indicating whether this token is number. - - - - - Gets the lexeme. - - - - - Gets the value of an ObjectId token. - - - - - Gets the value of a regular expression token. - - - - - Gets the value of a string token. - - - - - Gets the token type. - - - - - Represents a JSON token type. - - - - - An invalid token. - - - - - A begin array token (a '['). - - - - - A begin object token (a '{'). - - - - - An end array token (a ']'). - - - - - A left parenthesis (a '('). - - - - - A right parenthesis (a ')'). - - - - - An end object token (a '}'). - - - - - A colon token (a ':'). - - - - - A comma token (a ','). - - - - - A DateTime token. - - - - - A Double token. - - - - - An Int32 token. - - - - - And Int64 token. - - - - - An ObjectId token. - - - - - A regular expression token. - - - - - A string token. - - - - - An unquoted string token. - - - - - An end of file token. - - - - - Represents a BSON writer to a TextWriter (in JSON format). - - - - - Initializes a new instance of the JsonWriter class. - - A TextWriter. - - - - Initializes a new instance of the JsonWriter class. - - A TextWriter. - Optional JsonWriter settings. - - - - Gets the base TextWriter. - - - - - Closes the writer. - - - - - Disposes of any resources used by the writer. - - True if called from Dispose. - - - - Flushes any pending data to the output destination. - - - - - Writes BSON binary data to the writer. - - The binary data. - - - - Writes a BSON Boolean to the writer. - - The Boolean value. - - - - Writes BSON binary data to the writer. - - The bytes. - - - - Writes a BSON DateTime to the writer. - - The number of milliseconds since the Unix epoch. - - - - Writes a BSON Double to the writer. - - The Double value. - - - - Writes the end of a BSON array to the writer. - - - - - Writes the end of a BSON document to the writer. - - - - - Writes a BSON Int32 to the writer. - - The Int32 value. - - - - Writes a BSON Int64 to the writer. - - The Int64 value. - - - - Writes a BSON JavaScript to the writer. - - The JavaScript code. - - - - Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope). - - The JavaScript code. - - - - Writes a BSON MaxKey to the writer. - - - - - Writes a BSON MinKey to the writer. - - - - - Writes a BSON null to the writer. - - - - - Writes a BSON ObjectId to the writer. - - The ObjectId. - - - - Writes a BSON regular expression to the writer. - - A BsonRegularExpression. - - - - Writes the start of a BSON array to the writer. - - - - - Writes the start of a BSON document to the writer. - - - - - Writes a BSON String to the writer. - - The String value. - - - - Writes a BSON Symbol to the writer. - - The symbol. - - - - Writes a BSON timestamp to the writer. - - The combined timestamp/increment value. - - - - Writes a BSON undefined to the writer. - - - - - Represents settings for a JsonWriter. - - - - - Initializes a new instance of the JsonWriterSettings class. - - - - - Creates a clone of the settings. - - A clone of the settings. - - - - Creates a clone of the settings. - - A clone of the settings. - - - - Gets or sets the default JsonWriterSettings. - - - - - Gets or sets the output Encoding. - - - - - Gets or sets whether to indent the output. - - - - - Gets or sets the indent characters. - - - - - Gets or sets the new line characters. - - - - - Gets or sets the output mode. - - - - - Gets or sets the shell version (used with OutputMode Shell). - - - - + The value. + A UInt64. + + + An IByteBuffer that is backed by multiple chunks. - - - - Initializes a new instance of the class. + + + + Initializes a new instance of the class. - The chunk pool. - chunkPool - - - - Initializes a new instance of the class. + The chunk pool. + chunkPool + + + + Initializes a new instance of the class. - The chunks. - The length. - Whether the buffer is read only. - chunks - - - - Access the backing bytes directly. The returned ArraySegment will point to the desired position and contain - as many bytes as possible up to the next chunk boundary (if any). If the returned ArraySegment does not - contain enough bytes for your needs you will have to call ReadBytes instead. - - The position. - - An ArraySegment pointing directly to the backing bytes for the position. - - - - - Gets the capacity. - - - - + The chunks. + The length. + Whether the buffer is read only. + chunks + + + + + + Gets the chunk source. - - - - Clears the specified bytes. - - The position. - The count. - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - Ensure that the buffer has a minimum capacity. Depending on the buffer allocation strategy - calling this method may result in a higher capacity than the minimum (but never lower). - - The minimum capacity. - - - - Gets a byte. - - The position. - A byte. - - - - Gets bytes. - - The position. - The destination. - The destination offset. - The count. - - - - Gets a slice of this buffer. - - The position of the start of the slice. - The length of the slice. - A slice of this buffer. - - - - Gets a value indicating whether this instance is read only. - - - - - Gets or sets the length. - - - - - Makes this buffer read only. - - - - - Sets a byte. - - The position. - The value. - - - - Sets bytes. - - The position. - The bytes. - The offset. - The count. - - - + + The chunk source. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents an element name validator that does no validation. - - - - - - MongoDB.Bson.IO.NoOpElementNameValidator - - - - - - + + + + Gets the instance. + + + The instance. + + + + Gets the validator to use for child content (a nested document or array). - The name of the element. - The validator to use for child content. - - - - Gets the instance. - - - - + The name of the element. + The validator to use for child content. + + + Determines whether the element name is valid. - The name of the element. - True if the element name is valid. - - - - Represents an ObjectId JSON token. - - - - - Initializes a new instance of the ObjectIdJsonToken class. - - The lexeme. - The ObjectId value. - - - - Gets the value of an ObjectId token. - - - - + The name of the element. + True if the element name is valid. + + + Represents a source of chunks optimized for output buffers. - - - - Initializes a new instance of the class. + + + + Initializes a new instance of the class. - The chunk source. - The size of the initial unpooled chunk. - The minimum size of a chunk. - The maximum size of a chunk. - - - + The chunk source. + The size of the initial unpooled chunk. + The minimum size of a chunk. + The maximum size of a chunk. + + + Gets the base source. - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - Gets the chunk. - - Size of the requested. - A chunk. - - - + + The base source. + + + + Gets the initial unpooled chunk size. - - - + + The initial unpooled chunk size. + + + + Gets the maximum size of a chunk. - - - + + The maximum size of a chunk. + + + + Gets the minimum size of a chunk. - - - - Represents a regular expression JSON token. - - - - - Initializes a new instance of the RegularExpressionJsonToken class. - - The lexeme. - The BsonRegularExpression value. - - - - Gets the value of a regular expression token. - - - - - An IByteBuffer that is backed by a single chunk. - - - - - Initializes a new instance of the class. - - The chuns. - The length. - Whether the buffer is read only. - - - - Access the backing bytes directly. The returned ArraySegment will point to the desired position and contain - as many bytes as possible up to the next chunk boundary (if any). If the returned ArraySegment does not - contain enough bytes for your needs you will have to call ReadBytes instead. - - The position. - - An ArraySegment pointing directly to the backing bytes for the position. - - - - - Gets the capacity. - - - - - Clears the specified bytes. - - The position. - The count. - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - Ensure that the buffer has a minimum capacity. Depending on the buffer allocation strategy - calling this method may result in a higher capacity than the minimum (but never lower). - - The minimum capacity. - - - - Gets a byte. - - The position. - A byte. - - - - Gets bytes. - - The position. - The destination. - The destination offset. - The count. - - - - Gets a slice of this buffer. - - The position of the start of the slice. - The length of the slice. - A slice of this buffer. - - - - Gets a value indicating whether this instance is read only. - - - - - Gets or sets the length. - - - - - Makes this buffer read only. - - - - - Sets a byte. - - The position. - The value. - - - - Sets bytes. - - The position. - The bytes. - The offset. - The count. - - - - Represents a String JSON token. - - - - - Initializes a new instance of the StringJsonToken class. - - The token type. - The lexeme. - The String value. - - - - Gets the value of an String token. - - - - + + The minimum size of a chunk. + + + + + + + + + + Represents a Trie-based name decoder that also provides a value. - The type of the value. - - - - Initializes a new instance of the class. + The type of the value. + + + + Initializes a new instance of the class. - The trie. - - - - Reads the name. + The trie. + + + + Gets a value indicating whether this is found. - The stream. - The encoding. - - The name. - - - - - Gets a value indicating whether this is found. - - - - - Informs the decoder of an already decoded name (so the decoder can change state if necessary). - - The name. - - - + + true if found; otherwise, false. + + + + Gets the value. - - - - Represents a singleton instance of a strict UTF8Encoding. + + The value. + + + + + Reads the name. - - - - Gets the lenient instance. - - - - - Gets the strict instance. - - - - - Represents a class that has some helper methods for decoding UTF8 strings. - - - - - Decodes a UTF8 string. - - The bytes. - The index. - The count. - The encoding. - The decoded string. - - - - Represents a UTF8 name decoder. - - - - - - - MongoDB.Bson.IO.Utf8NameDecoder - - - - - - - Decodes the name. - - The stream. - The encoding. - + The stream. + The encoding. + The name. - - - + + + Informs the decoder of an already decoded name (so the decoder can change state if necessary). - The name. - - - + The name. + + + + Represents a singleton instance of a strict UTF8Encoding. + + + + + Gets the lenient instance. + + + + + Gets the strict instance. + + + + + Represents a UTF8 name decoder. + + + + Gets the instance. - - - - Provides serializers based on an attribute. + + The instance. + + + + + Decodes the name. - - - - - - MongoDB.Bson.Serialization.AttributedSerializationProvider - - - - - - - Gets a serializer for a type. - - The type. - The serializer registry. - - A serializer. + The stream. + The encoding. + + The name. - - - - Represents a mapping between a class and a BSON document. - - - - - Initializes a new instance of the BsonClassMap class. - - The class type. - - - - Initializes a new instance of the class. - - Type of the class. - The base class map. - - - - Adds a known type to the class map. - - The known type. - - - - Gets all the member maps (including maps for inherited members). - - - - - Automaps the class. - - - - - Gets the base class map. - - - - - Gets the class type. - - - - - Gets the conventions used for auto mapping. - - - - - Creates an instance of the class. - - An object. - - - - Gets the constructor maps. - - - - - Gets the declared member maps (only for members declared in this class). - - - - - Gets the discriminator. - - - - - Gets whether a discriminator is required when serializing this class. - - - - - Gets the member map of the member used to hold extra elements. - - - - - Freezes the class map. - - The frozen class map. - - - - Gets the type of a member. - - The member info. - The type of the member. - - - - Gets a member map (only considers members declared in this class). - - The member name. - The member map (or null if the member was not found). - - - - Gets the member map for a BSON element. - - The name of the element. - The member map. - - - - Gets all registered class maps. - - All registered class maps. - - - - Gets whether this class map has any creator maps. - - - - - Gets whether this class has a root class ancestor. - - - - - Gets the Id member map (null if none). - - - - - Gets whether extra elements should be ignored when deserializing. - - - - - Gets whether the IgnoreExtraElements value should be inherited by derived classes. - - - - - Gets whether this class is anonymous. - - - - - Checks whether a class map is registered for a type. - - The type to check. - True if there is a class map registered for the type. - - - - Gets whether the class map is frozen. - - - - - Gets whether this class is a root class. - - - - - Gets the known types of this class. - - - - - Looks up a class map (will AutoMap the class if no class map is registered). - - The class type. - The class map. - - - - Creates a creator map for a constructor and adds it to the class map. - - The constructor info. - The creator map (so method calls can be chained). - - - - Creates a creator map for a constructor and adds it to the class map. - - The constructor info. - The argument names. - The creator map (so method calls can be chained). - - - - Creates a creator map and adds it to the class. - - The delegate. - The factory method map (so method calls can be chained). - - - - Creates a creator map and adds it to the class. - - The delegate. - The argument names. - The factory method map (so method calls can be chained). - - - - Creates a member map for the extra elements field and adds it to the class map. - - The name of the extra elements field. - The member map (so method calls can be chained). - - - - Creates a member map for the extra elements member and adds it to the class map. - - The member info for the extra elements member. - The member map (so method calls can be chained). - - - - Creates a member map for the extra elements property and adds it to the class map. - - The name of the property. - The member map (so method calls can be chained). - - - - Creates a creator map for a factory method and adds it to the class. - - The method info. - The creator map (so method calls can be chained). - - - - Creates a creator map for a factory method and adds it to the class. - - The method info. - The argument names. - The creator map (so method calls can be chained). - - - - Creates a member map for a field and adds it to the class map. - - The name of the field. - The member map (so method calls can be chained). - - - - Creates a member map for the Id field and adds it to the class map. - - The name of the Id field. - The member map (so method calls can be chained). - - - - Creates a member map for the Id member and adds it to the class map. - - The member info for the Id member. - The member map (so method calls can be chained). - - - - Creates a member map for the Id property and adds it to the class map. - - The name of the Id property. - The member map (so method calls can be chained). - - - - Creates a member map for a member and adds it to the class map. - - The member info. - The member map (so method calls can be chained). - - - - Creates a member map for a property and adds it to the class map. - - The name of the property. - The member map (so method calls can be chained). - - - - Creates and registers a class map. - - The class. - The class map. - - - - Registers a class map. - - The class map. - - - - Creates and registers a class map. - - The class map initializer. - The class. - The class map. - - - - Resets the class map back to its initial state. - - - - - Sets the creator for the object. - - The creator. - The class map (so method calls can be chained). - - - - Sets the discriminator. - - The discriminator. - - - - Sets whether a discriminator is required when serializing this class. - - Whether a discriminator is required. - - - - Sets the member map of the member used to hold extra elements. - - The extra elements member map. - - - - Sets the Id member. - - The Id member (null if none). - - - - Sets whether extra elements should be ignored when deserializing. - - Whether extra elements should be ignored when deserializing. - - - - Sets whether the IgnoreExtraElements value should be inherited by derived classes. - - Whether the IgnoreExtraElements value should be inherited by derived classes. - - - - Sets whether this class is a root class. - - Whether this class is a root class. - - - - Removes a creator map for a constructor from the class map. - - The constructor info. - - - - Removes a creator map for a factory method from the class map. - - The method info. - - - - Removes the member map for a field from the class map. - - The name of the field. - - - - Removes a member map from the class map. - - The member info. - - - - Removes the member map for a property from the class map. - - The name of the property. - - - - Represents a mapping between a class and a BSON document. - - The class. - - - - Initializes a new instance of the BsonClassMap class. - - - - - Initializes a new instance of the BsonClassMap class. - - The class map initializer. - - - - Creates an instance. - - An instance. - - - - Gets a member map. - - A lambda expression specifying the member. - The member type. - The member map. - - - - Creates a creator map and adds it to the class map. - - Lambda expression specifying the creator code and parameters to use. - The member map. - - - - Creates a member map for the extra elements field and adds it to the class map. - - A lambda expression specifying the extra elements field. - The member type. - The member map. - - - - Creates a member map for the extra elements member and adds it to the class map. - - A lambda expression specifying the extra elements member. - The member type. - The member map. - - - - Creates a member map for the extra elements property and adds it to the class map. - - A lambda expression specifying the extra elements property. - The member type. - The member map. - - - - Creates a member map for a field and adds it to the class map. - - A lambda expression specifying the field. - The member type. - The member map. - - - - Creates a member map for the Id field and adds it to the class map. - - A lambda expression specifying the Id field. - The member type. - The member map. - - - - Creates a member map for the Id member and adds it to the class map. - - A lambda expression specifying the Id member. - The member type. - The member map. - - - - Creates a member map for the Id property and adds it to the class map. - - A lambda expression specifying the Id property. - The member type. - The member map. - - - - Creates a member map and adds it to the class map. - - A lambda expression specifying the member. - The member type. - The member map. - - - - Creates a member map for the Id property and adds it to the class map. - - A lambda expression specifying the Id property. - The member type. - The member map. - - - - Removes the member map for a field from the class map. - - A lambda expression specifying the field. - The member type. - - - - Removes a member map from the class map. - - A lambda expression specifying the member. - The member type. - - - - Removes a member map for a property from the class map. - - A lambda expression specifying the property. - The member type. - - - - Represents a serializer for a class map. - - The type of the class. - - - - Initializes a new instance of the BsonClassMapSerializer class. - - The class map. - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Deserializes a value. - - The deserialization context. - A deserialized value. - - - - Gets the document Id. - - The document. - The Id. - The nominal type of the Id. - The IdGenerator for the Id type. - True if the document has an Id. - - - - Gets a value indicating whether this serializer's discriminator is compatible with the object serializer. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Sets the document Id. - - The document. - The Id. - - - - Tries to get the serialization info for a member. - - Name of the member. - The serialization information. - - true if the serialization info exists; otherwise false. + + + + Informs the decoder of an already decoded name (so the decoder can change state if necessary). + + The name. + + + + An IByteBuffer that is backed by a single chunk. + + + + + Initializes a new instance of the class. + + The chuns. + The length. + Whether the buffer is read only. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents a class that has some helper methods for decoding UTF8 strings. + + + + + Decodes a UTF8 string. + + The bytes. + The index. + The count. + The encoding. + The decoded string. + + + + Represents settings for a JsonReader. + + + + + Initializes a new instance of the JsonReaderSettings class. + + + + + Gets or sets the default settings for a JsonReader. + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Represents a BSON reader for a BsonDocument. + + + + + Initializes a new instance of the BsonDocumentReader class. + + A BsonDocument. + + + + Initializes a new instance of the BsonDocumentReader class. + + A BsonDocument. + The reader settings. + + + + Closes the reader. + + + + + Gets a bookmark to the reader's current position and state. + + A bookmark. + + + + Determines whether this reader is at end of file. + + + Whether this reader is at end of file. - - - - Represents a mapping to a delegate and its arguments. + + + + Reads BSON binary data from the reader. - - - - Initializes a new instance of the BsonCreatorMap class. + A BsonBinaryData. + + + + Reads a BSON boolean from the reader. - The class map. - The member info (null if none). - The delegate. - - - - Gets the arguments. + A Boolean. + + + + Reads a BsonType from the reader. - - - - Gets the class map that this creator map belongs to. + A BsonType. + + + + Reads BSON binary data from the reader. - - - - Gets the delegeate + A byte array. + + + + Reads a BSON DateTime from the reader. - - - + The number of milliseconds since the Unix epoch. + + + + + + + Reads a BSON Double from the reader. + + A Double. + + + + Reads the end of a BSON array from the reader. + + + + + Reads the end of a BSON document from the reader. + + + + + Reads a BSON Int32 from the reader. + + An Int32. + + + + Reads a BSON Int64 from the reader. + + An Int64. + + + + Reads a BSON JavaScript from the reader. + + A string. + + + + Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope). + + A string. + + + + Reads a BSON MaxKey from the reader. + + + + + Reads a BSON MinKey from the reader. + + + + + Reads the name of an element from the reader. + + The name decoder. + + The name of the element. + + + + + Reads a BSON null from the reader. + + + + + Reads a BSON ObjectId from the reader. + + An ObjectId. + + + + Reads a BSON regular expression from the reader. + + A BsonRegularExpression. + + + + Reads the start of a BSON array. + + + + + Reads the start of a BSON document. + + + + + Reads a BSON string from the reader. + + A String. + + + + Reads a BSON symbol from the reader. + + A string. + + + + Reads a BSON timestamp from the reader. + + The combined timestamp/increment. + + + + Reads a BSON undefined from the reader. + + + + + Returns the reader to previously bookmarked position and state. + + The bookmark. + + + + Skips the name (reader must be positioned on a name). + + + + + Skips the value (reader must be positioned on a value). + + + + + Disposes of any resources used by the reader. + + True if called from Dispose. + + + + Represents a bookmark that can be used to return a reader to the current position and state. + + + + + Creates a clone of the context. + + A clone of the context. + + + + Represents a BSON writer to a BsonDocument. + + + + + Initializes a new instance of the BsonDocumentWriter class. + + The document to write to (normally starts out as an empty document). + + + + Initializes a new instance of the BsonDocumentWriter class. + + The document to write to (normally starts out as an empty document). + The settings. + + + + Gets the BsonDocument being written to. + + + + + Closes the writer. + + + + + Flushes any pending data to the output destination. + + + + + Writes BSON binary data to the writer. + + The binary data. + + + + Writes a BSON Boolean to the writer. + + The Boolean value. + + + + Writes BSON binary data to the writer. + + The bytes. + + + + Writes a BSON DateTime to the writer. + + The number of milliseconds since the Unix epoch. + + + + + + + Writes a BSON Double to the writer. + + The Double value. + + + + Writes the end of a BSON array to the writer. + + + + + Writes the end of a BSON document to the writer. + + + + + Writes a BSON Int32 to the writer. + + The Int32 value. + + + + Writes a BSON Int64 to the writer. + + The Int64 value. + + + + Writes a BSON JavaScript to the writer. + + The JavaScript code. + + + + Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope). + + The JavaScript code. + + + + Writes a BSON MaxKey to the writer. + + + + + Writes a BSON MinKey to the writer. + + + + + Writes the name of an element to the writer. + + The name of the element. + + + + Writes a BSON null to the writer. + + + + + Writes a BSON ObjectId to the writer. + + The ObjectId. + + + + Writes a BSON regular expression to the writer. + + A BsonRegularExpression. + + + + Writes the start of a BSON array to the writer. + + + + + Writes the start of a BSON document to the writer. + + + + + Writes a BSON String to the writer. + + The String value. + + + + Writes a BSON Symbol to the writer. + + The symbol. + + + + Writes a BSON timestamp to the writer. + + The combined timestamp/increment value. + + + + Writes a BSON undefined to the writer. + + + + + Disposes of any resources used by the writer. + + True if called from Dispose. + + + + Used by BsonReaders and BsonWriters to represent the current context. + + + + + The top level of a BSON document. + + + + + A (possibly embedded) BSON document. + + + + + A BSON array. + + + + + A JavaScriptWithScope BSON value. + + + + + The scope document of a JavaScriptWithScope BSON value. + + + + + Represents a BSON reader for a JSON string. + + + + + Initializes a new instance of the JsonReader class. + + The JSON string. + + + + Initializes a new instance of the JsonReader class. + + The JSON string. + The reader settings. + + + + Initializes a new instance of the JsonReader class. + + The TextReader. + + + + Initializes a new instance of the JsonReader class. + + The TextReader. + The reader settings. + + + + Closes the reader. + + + + + Gets a bookmark to the reader's current position and state. + + A bookmark. + + + + Determines whether this reader is at end of file. + + + Whether this reader is at end of file. + + + + + Reads BSON binary data from the reader. + + A BsonBinaryData. + + + + Reads a BSON boolean from the reader. + + A Boolean. + + + + Reads a BsonType from the reader. + + A BsonType. + + + + Reads BSON binary data from the reader. + + A byte array. + + + + Reads a BSON DateTime from the reader. + + The number of milliseconds since the Unix epoch. + + + + + + + Reads a BSON Double from the reader. + + A Double. + + + + Reads the end of a BSON array from the reader. + + + + + Reads the end of a BSON document from the reader. + + + + + Reads a BSON Int32 from the reader. + + An Int32. + + + + Reads a BSON Int64 from the reader. + + An Int64. + + + + Reads a BSON JavaScript from the reader. + + A string. + + + + Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope). + + A string. + + + + Reads a BSON MaxKey from the reader. + + + + + Reads a BSON MinKey from the reader. + + + + + Reads the name of an element from the reader. + + The name decoder. + + The name of the element. + + + + + Reads a BSON null from the reader. + + + + + Reads a BSON ObjectId from the reader. + + An ObjectId. + + + + Reads a BSON regular expression from the reader. + + A BsonRegularExpression. + + + + Reads the start of a BSON array. + + + + + Reads the start of a BSON document. + + + + + Reads a BSON string from the reader. + + A String. + + + + Reads a BSON symbol from the reader. + + A string. + + + + Reads a BSON timestamp from the reader. + + The combined timestamp/increment. + + + + Reads a BSON undefined from the reader. + + + + + Returns the reader to previously bookmarked position and state. + + The bookmark. + + + + Skips the name (reader must be positioned on a name). + + + + + Skips the value (reader must be positioned on a value). + + + + + Disposes of any resources used by the reader. + + True if called from Dispose. + + + + Represents a bookmark that can be used to return a reader to the current position and state. + + + + + Creates a clone of the context. + + A clone of the context. + + + + A static class that represents a JSON scanner. + + + + + Gets the next JsonToken from a JsonBuffer. + + The buffer. + The next token. + + + + Represents a bookmark that can be used to return a reader to the current position and state. + + + + + Initializes a new instance of the BsonReaderBookmark class. + + The state of the reader. + The current BSON type. + The name of the current element. + + + + Gets the current state of the reader. + + + + + Gets the current BsonType; + + + + + Gets the name of the current element. + + + + + Represents a JSON token type. + + + + + An invalid token. + + + + + A begin array token (a '['). + + + + + A begin object token (a '{'). + + + + + An end array token (a ']'). + + + + + A left parenthesis (a '('). + + + + + A right parenthesis (a ')'). + + + + + An end object token (a '}'). + + + + + A colon token (a ':'). + + + + + A comma token (a ','). + + + + + A DateTime token. + + + + + A Double token. + + + + + An Int32 token. + + + + + And Int64 token. + + + + + An ObjectId token. + + + + + A regular expression token. + + + + + A string token. + + + + + An unquoted string token. + + + + + An end of file token. + + + + + Represents a JSON token. + + + + + Initializes a new instance of the JsonToken class. + + The token type. + The lexeme. + + + + Gets the token type. + + + + + Gets the lexeme. + + + + + Gets the value of a DateTime token. + + + + + Gets the value of a Double token. + + + + + Gets the value of an Int32 token. + + + + + Gets the value of an Int64 token. + + + + + Gets a value indicating whether this token is number. + + + true if this token is number; otherwise, false. + + + + + Gets the value of an ObjectId token. + + + + + Gets the value of a regular expression token. + + + + + Gets the value of a string token. + + + + + Represents a DateTime JSON token. + + + + + Initializes a new instance of the DateTimeJsonToken class. + + The lexeme. + The DateTime value. + + + + Gets the value of a DateTime token. + + + + + Represents a Double JSON token. + + + + + Initializes a new instance of the DoubleJsonToken class. + + The lexeme. + The Double value. + + + + Gets the value of a Double token. + + + + + Gets the value of an Int32 token. + + + + + Gets the value of an Int64 token. + + + + + Gets a value indicating whether this token is number. + + + true if this token is number; otherwise, false. + + + + + Represents an Int32 JSON token. + + + + + Initializes a new instance of the Int32JsonToken class. + + The lexeme. + The Int32 value. + + + + Gets the value of a Double token. + + + + + Gets the value of an Int32 token. + + + + + Gets the value of an Int32 token as an Int64. + + + + + Gets a value indicating whether this token is number. + + + true if this token is number; otherwise, false. + + + + + Represents an Int64 JSON token. + + + + + Initializes a new instance of the Int64JsonToken class. + + The lexeme. + The Int64 value. + + + + Gets the value of a Double token. + + + + + Gets the value of an Int32 token. + + + + + Gets the value of an Int64 token. + + + + + Gets a value indicating whether this token is number. + + + true if this token is number; otherwise, false. + + + + + Represents an ObjectId JSON token. + + + + + Initializes a new instance of the ObjectIdJsonToken class. + + The lexeme. + The ObjectId value. + + + + Gets the value of an ObjectId token. + + + + + Represents a regular expression JSON token. + + + + + Initializes a new instance of the RegularExpressionJsonToken class. + + The lexeme. + The BsonRegularExpression value. + + + + Gets the value of a regular expression token. + + + + + Represents a String JSON token. + + + + + Initializes a new instance of the StringJsonToken class. + + The token type. + The lexeme. + The String value. + + + + Gets the value of an String token. + + + + + Represents a bookmark that can be used to return a reader to the current position and state. + + + + + Represents a BSON reader for a binary BSON byte array. + + + + + Initializes a new instance of the BsonBinaryReader class. + + A stream (BsonBinary does not own the stream and will not Dispose it). + + + + Initializes a new instance of the BsonBinaryReader class. + + A stream (BsonBinary does not own the stream and will not Dispose it). + A BsonBinaryReaderSettings. + + + + Gets the base stream. + + + The base stream. + + + + + Gets the BSON stream. + + + The BSON stream. + + + + + Closes the reader. + + + + + Gets a bookmark to the reader's current position and state. + + A bookmark. + + + + Determines whether this reader is at end of file. + + + Whether this reader is at end of file. + + + + + Reads BSON binary data from the reader. + + A BsonBinaryData. + + + + Reads a BSON boolean from the reader. + + A Boolean. + + + + Reads a BsonType from the reader. + + A BsonType. + + + + Reads BSON binary data from the reader. + + A byte array. + + + + Reads a BSON DateTime from the reader. + + The number of milliseconds since the Unix epoch. + + + + + + + Reads a BSON Double from the reader. + + A Double. + + + + Reads the end of a BSON array from the reader. + + + + + Reads the end of a BSON document from the reader. + + + + + Reads a BSON Int32 from the reader. + + An Int32. + + + + Reads a BSON Int64 from the reader. + + An Int64. + + + + Reads a BSON JavaScript from the reader. + + A string. + + + + Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope). + + A string. + + + + Reads a BSON MaxKey from the reader. + + + + + Reads a BSON MinKey from the reader. + + + + + Reads the name of an element from the reader. + + The name decoder. + The name of the element. + + + + Reads a BSON null from the reader. + + + + + Reads a BSON ObjectId from the reader. + + An ObjectId. + + + + Reads a raw BSON array. + + + The raw BSON array. + + + + + Reads a raw BSON document. + + + The raw BSON document. + + + + + Reads a BSON regular expression from the reader. + + A BsonRegularExpression. + + + + Reads the start of a BSON array. + + + + + Reads the start of a BSON document. + + + + + Reads a BSON string from the reader. + + A String. + + + + Reads a BSON symbol from the reader. + + A string. + + + + Reads a BSON timestamp from the reader. + + The combined timestamp/increment. + + + + Reads a BSON undefined from the reader. + + + + + Returns the reader to previously bookmarked position and state. + + The bookmark. + + + + Skips the name (reader must be positioned on a name). + + + + + Skips the value (reader must be positioned on a value). + + + + + Disposes of any resources used by the reader. + + True if called from Dispose. + + + + Represents settings for a BsonBinaryReader. + + + + + Initializes a new instance of the BsonBinaryReaderSettings class. + + + + + Gets or sets the default settings for a BsonBinaryReader. + + + + + Gets or sets the Encoding. + + + + + Gets or sets whether to fix occurrences of the old binary subtype on input. + + + + + Gets or sets whether to fix occurrences of the old representation of DateTime.MaxValue on input. + + + + + Gets or sets the max document size. + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Represents the output mode of a JsonWriter. + + + + + Output strict JSON. + + + + + Use a format that can be pasted in to the MongoDB shell. + + + + + Use JavaScript data types for some values. + + + + + Use JavaScript and MongoDB data types for some values. + + + + + Represents a BSON writer to a TextWriter (in JSON format). + + + + + Initializes a new instance of the JsonWriter class. + + A TextWriter. + + + + Initializes a new instance of the JsonWriter class. + + A TextWriter. + Optional JsonWriter settings. + + + + Gets the base TextWriter. + + + The base TextWriter. + + + + + Closes the writer. + + + + + Flushes any pending data to the output destination. + + + + + Writes BSON binary data to the writer. + + The binary data. + + + + Writes a BSON Boolean to the writer. + + The Boolean value. + + + + Writes BSON binary data to the writer. + + The bytes. + + + + Writes a BSON DateTime to the writer. + + The number of milliseconds since the Unix epoch. + + + + + + + Writes a BSON Double to the writer. + + The Double value. + + + + Writes the end of a BSON array to the writer. + + + + + Writes the end of a BSON document to the writer. + + + + + Writes a BSON Int32 to the writer. + + The Int32 value. + + + + Writes a BSON Int64 to the writer. + + The Int64 value. + + + + Writes a BSON JavaScript to the writer. + + The JavaScript code. + + + + Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope). + + The JavaScript code. + + + + Writes a BSON MaxKey to the writer. + + + + + Writes a BSON MinKey to the writer. + + + + + Writes a BSON null to the writer. + + + + + Writes a BSON ObjectId to the writer. + + The ObjectId. + + + + Writes a BSON regular expression to the writer. + + A BsonRegularExpression. + + + + Writes the start of a BSON array to the writer. + + + + + Writes the start of a BSON document to the writer. + + + + + Writes a BSON String to the writer. + + The String value. + + + + Writes a BSON Symbol to the writer. + + The symbol. + + + + Writes a BSON timestamp to the writer. + + The combined timestamp/increment value. + + + + Writes a BSON undefined to the writer. + + + + + Disposes of any resources used by the writer. + + True if called from Dispose. + + + + Represents settings for a JsonWriter. + + + + + Initializes a new instance of the JsonWriterSettings class. + + + + + Gets or sets the default JsonWriterSettings. + + + + + Gets or sets the output Encoding. + + + + + Gets or sets whether to indent the output. + + + + + Gets or sets the indent characters. + + + + + Gets or sets the new line characters. + + + + + Gets or sets the output mode. + + + + + Gets or sets the shell version (used with OutputMode Shell). + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Represents a BSON reader for some external format (see subclasses). + + + + + Initializes a new instance of the BsonReader class. + + The reader settings. + + + + Gets the current BsonType. + + + + + Gets the settings of the reader. + + + + + Gets the current state of the reader. + + + + + Gets the current name. + + + + + Gets whether the BsonReader has been disposed. + + + + + Closes the reader. + + + + + Disposes of any resources used by the reader. + + + + + Gets a bookmark to the reader's current position and state. + + A bookmark. + + + + Gets the current BsonType (calls ReadBsonType if necessary). + + The current BsonType. + + + + Determines whether this reader is at end of file. + + + Whether this reader is at end of file. + + + + + Reads BSON binary data from the reader. + + A BsonBinaryData. + + + + Reads a BSON boolean from the reader. + + A Boolean. + + + + Reads a BsonType from the reader. + + A BsonType. + + + + Reads BSON binary data from the reader. + + A byte array. + + + + Reads a BSON DateTime from the reader. + + The number of milliseconds since the Unix epoch. + + + + + + + Reads a BSON Double from the reader. + + A Double. + + + + Reads the end of a BSON array from the reader. + + + + + Reads the end of a BSON document from the reader. + + + + + Reads a BSON Int32 from the reader. + + An Int32. + + + + Reads a BSON Int64 from the reader. + + An Int64. + + + + Reads a BSON JavaScript from the reader. + + A string. + + + + Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope). + + A string. + + + + Reads a BSON MaxKey from the reader. + + + + + Reads a BSON MinKey from the reader. + + + + + Reads the name of an element from the reader. + + The name of the element. + + + + Reads the name of an element from the reader (using the provided name decoder). + + The name decoder. + + The name of the element. + + + + + Reads a BSON null from the reader. + + + + + Reads a BSON ObjectId from the reader. + + An ObjectId. + + + + Reads a raw BSON array. + + The raw BSON array. + + + + Reads a raw BSON document. + + The raw BSON document. + + + + Reads a BSON regular expression from the reader. + + A BsonRegularExpression. + + + + Reads the start of a BSON array. + + + + + Reads the start of a BSON document. + + + + + Reads a BSON string from the reader. + + A String. + + + + Reads a BSON symbol from the reader. + + A string. + + + + Reads a BSON timestamp from the reader. + + The combined timestamp/increment. + + + + Reads a BSON undefined from the reader. + + + + + Returns the reader to previously bookmarked position and state. + + The bookmark. + + + + Skips the name (reader must be positioned on a name). + + + + + Skips the value (reader must be positioned on a value). + + + + + Disposes of any resources used by the reader. + + True if called from Dispose. + + + + Throws an InvalidOperationException when the method called is not valid for the current ContextType. + + The name of the method. + The actual ContextType. + The valid ContextTypes. + + + + Throws an InvalidOperationException when the method called is not valid for the current state. + + The name of the method. + The valid states. + + + + Throws an ObjectDisposedException. + + + + + Verifies the current state and BsonType of the reader. + + The name of the method calling this one. + The required BSON type. + + + + Represents the state of a reader. + + + + + The initial state. + + + + + The reader is positioned at the type of an element or value. + + + + + The reader is positioned at the name of an element. + + + + + The reader is positioned at a value. + + + + + The reader is positioned at a scope document. + + + + + The reader is positioned at the end of a document. + + + + + The reader is positioned at the end of an array. + + + + + The reader has finished reading a document. + + + + + The reader is closed. + + + + + Represents a BSON writer for some external format (see subclasses). + + + + + Initializes a new instance of the BsonWriter class. + + The writer settings. + + + + Gets the current serialization depth. + + + + + Gets the settings of the writer. + + + + + Gets the current state of the writer. + + + + + Gets whether the BsonWriter has been disposed. + + + + + Gets the name of the element being written. + + + + + Closes the writer. + + + + + Disposes of any resources used by the writer. + + + + + Flushes any pending data to the output destination. + + + + + Pops the element name validator. + + The popped element validator. + + + + Pushes the element name validator. + + The validator. + + + + Writes BSON binary data to the writer. + + The binary data. + + + + Writes a BSON Boolean to the writer. + + The Boolean value. + + + + Writes BSON binary data to the writer. + + The bytes. + + + + Writes a BSON DateTime to the writer. + + The number of milliseconds since the Unix epoch. + + + + + + + Writes a BSON Double to the writer. + + The Double value. + + + + Writes the end of a BSON array to the writer. + + + + + Writes the end of a BSON document to the writer. + + + + + Writes a BSON Int32 to the writer. + + The Int32 value. + + + + Writes a BSON Int64 to the writer. + + The Int64 value. + + + + Writes a BSON JavaScript to the writer. + + The JavaScript code. + + + + Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope). + + The JavaScript code. + + + + Writes a BSON MaxKey to the writer. + + + + + Writes a BSON MinKey to the writer. + + + + + Writes the name of an element to the writer. + + The name of the element. + + + + Writes a BSON null to the writer. + + + + + Writes a BSON ObjectId to the writer. + + The ObjectId. + + + + Writes a raw BSON array. + + The byte buffer containing the raw BSON array. + + + + Writes a raw BSON document. + + The byte buffer containing the raw BSON document. + + + + Writes a BSON regular expression to the writer. + + A BsonRegularExpression. + + + + Writes the start of a BSON array to the writer. + + + + + Writes the start of a BSON document to the writer. + + + + + Writes a BSON String to the writer. + + The String value. + + + + Writes a BSON Symbol to the writer. + + The symbol. + + + + Writes a BSON timestamp to the writer. + + The combined timestamp/increment value. + + + + Writes a BSON undefined to the writer. + + + + + Disposes of any resources used by the writer. + + True if called from Dispose. + + + + Throws an InvalidOperationException when the method called is not valid for the current ContextType. + + The name of the method. + The actual ContextType. + The valid ContextTypes. + + + + Throws an InvalidOperationException when the method called is not valid for the current state. + + The name of the method. + The valid states. + + + + Represents settings for a BsonBinaryWriter. + + + + + Initializes a new instance of the BsonBinaryWriterSettings class. + + + + + Gets or sets the default BsonBinaryWriter settings. + + + + + Gets or sets the Encoding. + + + + + Gets or sets whether to fix the old binary data subtype on output. + + + + + Gets or sets the max document size. + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Represents the state of a BsonWriter. + + + + + The initial state. + + + + + The writer is positioned to write a name. + + + + + The writer is positioned to write a value. + + + + + The writer is positioned to write a scope document (call WriteStartDocument to start writing the scope document). + + + + + The writer is done. + + + + + The writer is closed. + + + + + Represents a BSON writer to a BSON Stream. + + + + + Initializes a new instance of the BsonBinaryWriter class. + + A stream. The BsonBinaryWriter does not own the stream and will not Dispose it. + + + + Initializes a new instance of the BsonBinaryWriter class. + + A stream. The BsonBinaryWriter does not own the stream and will not Dispose it. + The BsonBinaryWriter settings. + + + + Gets the base stream. + + + The base stream. + + + + + Gets the BSON stream. + + + The BSON stream. + + + + + Closes the writer. Also closes the base stream. + + + + + Flushes any pending data to the output destination. + + + + + Pops the max document size stack, restoring the previous max document size. + + + + + Pushes a new max document size onto the max document size stack. + + The maximum size of the document. + + + + Writes BSON binary data to the writer. + + The binary data. + + + + Writes a BSON Boolean to the writer. + + The Boolean value. + + + + Writes BSON binary data to the writer. + + The bytes. + + + + Writes a BSON DateTime to the writer. + + The number of milliseconds since the Unix epoch. + + + + + + + Writes a BSON Double to the writer. + + The Double value. + + + + Writes the end of a BSON array to the writer. + + + + + Writes the end of a BSON document to the writer. + + + + + Writes a BSON Int32 to the writer. + + The Int32 value. + + + + Writes a BSON Int64 to the writer. + + The Int64 value. + + + + Writes a BSON JavaScript to the writer. + + The JavaScript code. + + + + Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope). + + The JavaScript code. + + + + Writes a BSON MaxKey to the writer. + + + + + Writes a BSON MinKey to the writer. + + + + + Writes a BSON null to the writer. + + + + + Writes a BSON ObjectId to the writer. + + The ObjectId. + + + + Writes a raw BSON array. + + The byte buffer containing the raw BSON array. + + + + Writes a raw BSON document. + + The byte buffer containing the raw BSON document. + + + + Writes a BSON regular expression to the writer. + + A BsonRegularExpression. + + + + Writes the start of a BSON array to the writer. + + + + + Writes the start of a BSON document to the writer. + + + + + Writes a BSON String to the writer. + + The String value. + + + + Writes a BSON Symbol to the writer. + + The symbol. + + + + Writes a BSON timestamp to the writer. + + The combined timestamp/increment value. + + + + Writes a BSON undefined to the writer. + + + + + Disposes of any resources used by the writer. + + True if called from Dispose. + + + + Creates a clone of the context. + + A clone of the context. + + + + Represents a BSON Decimal128 value. + + + + + + Initializes a new instance of the class. + + The value. + + + + + + + + + + Gets the value. + + + + + Converts a Decimal128 to a BsonDecimal128. + + A Decimal128. + A BsonDecimal128. + + + + Compares two BsonDecimal128 values. + + The first BsonDecimal128. + The other BsonDecimal128. + True if the two BsonDecimal128 values are not equal according to ==. + + + + Compares two BsonDecimal128 values. + + The first BsonDecimal128. + The other BsonDecimal128. + True if the two BsonDecimal128 values are equal according to ==. + + + + Creates a new instance of the BsonDecimal128 class. + + An object to be mapped to a BsonDecimal128. + A BsonDecimal128. + + + + Compares this BsonDecimal128 to another BsonDecimal128. + + The other BsonDecimal128. + A 32-bit signed integer that indicates whether this BsonDecimal128 is less than, equal to, or greather than the other. + + + + + + + Compares this BsonDecimal128 to another BsonDecimal128. + + The other BsonDecimal128. + True if the two BsonDecimal128 values are equal. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents a Decimal128 value. + + + + + Gets the maximum value. + + + + + Gets the minimum value. + + + + + Represents negative infinity. + + + + + Represents one. + + + + + Represents positive infinity. + + + + + Represents a value that is not a number. + + + + + Represents a value that is not a number and raises errors when used in calculations. + + + + + Represents zero. + + + + + Implements the operator ==. + + The LHS. + The RHS. + + The result of the operator. + + + + + Implements the operator !=. + + The LHS. + The RHS. + + The result of the operator. + + + + + Returns a value indicating whether a specified Decimal128 is greater than another specified Decimal128. + + The first value. + The second value. + + true if x > y; otherwise, false. + + + + + Returns a value indicating whether a specified Decimal128 is greater than or equal to another another specified Decimal128. + + The first value. + The second value. + + true if x >= y; otherwise, false. + + + + + Returns a value indicating whether a specified Decimal128 is less than another specified Decimal128. + + The first value. + The second value. + + true if x < y; otherwise, false. + + + + + Returns a value indicating whether a specified Decimal128 is less than or equal to another another specified Decimal128. + + The first value. + The second value. + + true if x <= y; otherwise, false. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Compares two specified Decimal128 values and returns an integer that indicates whether the first value + is greater than, less than, or equal to the second value. + + The first value. + The second value. + Less than zero if x < y, zero if x == y, and greater than zero if x > y. + + + + Determines whether the specified Decimal128 instances are considered equal. + + The first Decimal128 object to compare. + The second Decimal128 object to compare. + True if the objects are considered equal; otherwise false. If both x and y are null, the method returns true. + + + + Creates a new Decimal128 value from its components. + + if set to true [is negative]. + The exponent. + The signficand high bits. + The significand low bits. + A Decimal128 value. + + + + Creates a new Decimal128 value from the IEEE encoding bits. + + The high bits. + The low bits. + A Decimal128 value. + + + + Gets the exponent of a Decimal128 value. + + The Decimal128 value. + The exponent. + + + + Gets the high bits of the significand of a Decimal128 value. + + The Decimal128 value. + The high bits of the significand. + + + + Gets the high bits of the significand of a Decimal128 value. + + The Decimal128 value. + The high bits of the significand. + + + + Returns a value indicating whether the specified number evaluates to negative or positive infinity. + + A 128-bit decimal. + true if evaluates to negative or positive infinity; otherwise, false. + + + + Returns a value indicating whether the specified number is not a number. + + A 128-bit decimal. + true if is not a number; otherwise, false. + + + + Returns a value indicating whether the specified number is negative. + + A 128-bit decimal. + true if is negative; otherwise, false. + + + + Returns a value indicating whether the specified number evaluates to negative infinity. + + A 128-bit decimal. + true if evaluates to negative infinity; otherwise, false. + + + + Returns a value indicating whether the specified number evaluates to positive infinity. + + A 128-bit decimal. + true if evaluates to positive infinity; otherwise, false. + + + + Returns a value indicating whether the specified number is a quiet not a number. + + A 128-bit decimal. + true if is a quiet not a number; otherwise, false. + + + + Returns a value indicating whether the specified number is a signaled not a number. + + A 128-bit decimal. + true if is a signaled not a number; otherwise, false. + + + + Returns a value indicating whether the specified number is zero. + + A 128-bit decimal. + + true if the specified number is zero; otherwise, false. + + + + + Negates the specified x. + + The x. + The result of multiplying the value by negative one. + + + + Converts the string representation of a number to its equivalent. + + The string representation of the number to convert. + + The equivalent to the number contained in . + + + + + Converts the value of the specified to the equivalent 8-bit unsigned integer. + + The number to convert. + A 8-bit unsigned integer equivalent to . + + + + Converts the value of the specified to the equivalent . + + The number to convert. + A equivalent to . + + + + Converts the value of the specified to the equivalent . + + The number to convert. + A equivalent to . + + + + Converts the value of the specified to the equivalent 16-bit signed integer. + + The number to convert. + A 16-bit signed integer equivalent to . + + + + Converts the value of the specified to the equivalent 32-bit signed integer. + + The number to convert. + A 32-bit signed integer equivalent to . + + + + Converts the value of the specified to the equivalent 64-bit signed integer. + + The number to convert. + A 64-bit signed integer equivalent to . + + + + Converts the value of the specified to the equivalent 8-bit signed integer. + + The number to convert. + A 8-bit signed integer equivalent to . + + + + Converts the value of the specified to the equivalent . + + The number to convert. + A equivalent to . + + + + Converts the value of the specified to the equivalent 16-bit unsigned integer. + + The number to convert. + A 16-bit unsigned integer equivalent to . + + + + Converts the value of the specified to the equivalent 32-bit unsigned integer. + + The number to convert. + A 32-bit unsigned integer equivalent to . + + + + Converts the value of the specified to the equivalent 64-bit unsigned integer. + + The number to convert. + A 64-bit unsigned integer equivalent to . + + + + Converts the string representation of a number to its equivalent. A return value indicates whether the conversion succeeded or failed. + + The string representation of the number to convert. + When this method returns, contains the number that is equivalent to the numeric value contained in , if the conversion succeeded, or is zero if the conversion failed. The conversion fails if the parameter is null, is not a number in a valid format, or represents a number less than the min value or greater than the max value. This parameter is passed uninitialized. + + true if was converted successfully; otherwise, false. + + + + + Initializes a new instance of the struct. + + The value. + + + + Initializes a new instance of the struct. + + The value. + + + + Initializes a new instance of the struct. + + The value. + + + + Initializes a new instance of the struct. + + The value. + + + + Initializes a new instance of the struct. + + The value. + + + + Initializes a new instance of the struct. + + The value. + + + + Initializes a new instance of the struct. + + The value. + + + + + + + + + + + + + + + + Gets the high order 64 bits of the binary representation of this instance. + + The high order 64 bits of the binary representation of this instance. + + + + Gets the low order 64 bits of the binary representation of this instance. + + The low order 64 bits of the binary representation of this instance. + + + + + + + Represents the representation to use when converting a Guid to a BSON binary value. + + + + + The representation for Guids is unspecified, so conversion between Guids and Bson binary data is not possible. + + + + + Use the new standard representation for Guids (binary subtype 4 with bytes in network byte order). + + + + + Use the representation used by older versions of the C# driver (including most community provided C# drivers). + + + + + Use the representation used by older versions of the Java driver. + + + + + Use the representation used by older versions of the Python driver. + + + + + A static class containing methods to convert to and from Guids and byte arrays in various byte orders. + + + + + Converts a byte array to a Guid. + + The byte array. + The representation of the Guid in the byte array. + A Guid. + + + + Converts a Guid to a byte array. + + The Guid. + The representation of the Guid in the byte array. + A byte array. + + + + An interface for custom mappers that map an object to a BsonValue. + + + + + Tries to map an object to a BsonValue. + + An object. + The BsonValue. + True if the mapping was successfull. + + + + Represents how duplicate names should be handled. + + + + + Overwrite original value with new value. + + + + + Ignore duplicate name and keep original value. + + + + + Throw an exception. + + + + + Represents options used by the BsonTypeMapper. + + + + + Initializes a new instance of the BsonTypeMapperOptions class. + + + + + Gets or sets the default BsonTypeMapperOptions. + + + + + Gets or sets how duplicate names should be handled. + + + + + Gets whether the BsonTypeMapperOptions is frozen. + + + + + Gets or sets the type that a BsonArray should be mapped to. + + + + + Gets or sets the type that a BsonDocument should be mapped to. + + + + + Gets or sets whether binary sub type OldBinary should be mapped to byte[] the way sub type Binary is. + + + + + Clones the BsonTypeMapperOptions. + + The cloned BsonTypeMapperOptions. + + + + Freezes the BsonTypeMapperOptions. + + The frozen BsonTypeMapperOptions. + + + + Represents a BSON array that is deserialized lazily. + + + + + Initializes a new instance of the class. + + The slice. + slice + LazyBsonArray cannot be used with an IByteBuffer that needs disposing. + + + + Gets the slice. + + + The slice. + + + + + Creates a shallow clone of the array (see also DeepClone). + + A shallow clone of the array. + + + + Creates a deep clone of the array (see also Clone). + + A deep clone of the array. + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Materializes the BsonArray. + + + The materialized values. + + + + + Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state. + + + + + Represents a BSON document that is deserialized lazily. + + + + + Initializes a new instance of the class. + + The slice. + slice + LazyBsonDocument cannot be used with an IByteBuffer that needs disposing. + + + + Initializes a new instance of the class. + + The bytes. + + + + Gets the slice. + + + The slice. + + + + + Creates a shallow clone of the document (see also DeepClone). + + + A shallow clone of the document. + + + + + Creates a deep clone of the document (see also Clone). + + + A deep clone of the document. + + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Materializes the BsonDocument. + + The materialized elements. + + + + Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state. + + + + + Represents a BSON array that is not materialized until you start using it. + + + + + Initializes a new instance of the class. + + + + + Gets or sets the total number of elements the internal data structure can hold without resizing. + + + + + Gets the count of array elements. + + + + + Gets a value indicating whether this instance is disposed. + + + true if this instance is disposed; otherwise, false. + + + + + Gets a value indicating whether this instance is materialized. + + + true if this instance is materialized; otherwise, false. + + + + + Gets the array elements as raw values (see BsonValue.RawValue). + + + + + Gets the array elements. + + + + + Gets or sets a value by position. + + The position. + The value. + + + + Adds an element to the array. + + The value to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Clears the array. + + + + + Creates a shallow clone of the array (see also DeepClone). + + + A shallow clone of the array. + + + + + Compares the array to another array. + + The other array. + A 32-bit signed integer that indicates whether this array is less than, equal to, or greather than the other. + + + + Compares the array to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this array is less than, equal to, or greather than the other BsonValue. + + + + Tests whether the array contains a value. + + The value to test for. + True if the array contains the value. + + + + Copies elements from this array to another array. + + The other array. + The zero based index of the other array at which to start copying. + + + + Copies elements from this array to another array as raw values (see BsonValue.RawValue). + + The other array. + The zero based index of the other array at which to start copying. + + + + Creates a deep clone of the array (see also Clone). + + + A deep clone of the array. + + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + + Determines whether the specified , is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Gets an enumerator that can enumerate the elements of the array. + + An enumerator. + + + + Gets the hash code. + + The hash code. + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index of the value (or -1 if not found). + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index at which to start the search. + The zero based index of the value (or -1 if not found). + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index at which to start the search. + The number of elements to search. + The zero based index of the value (or -1 if not found). + + + + Inserts a new value into the array. + + The zero based index at which to insert the new value. + The new value. + + + + Removes the first occurrence of a value from the array. + + The value to remove. + True if the value was removed. + + + + Removes an element from the array. + + The zero based index of the element to remove. + + + + Converts the BsonArray to an array of BsonValues. + + An array of BsonValues. + + + + Converts the BsonArray to a list of BsonValues. + + A list of BsonValues. + + + + Returns a string representation of the array. + + A string representation of the array. + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Materializes the BsonArray. + + The materialized elements. + + + + Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state. + + + + + Throws if disposed. + + + + + + Represents a BSON document that is not materialized until you start using it. + + + + + Initializes a new instance of the class. + + + + + Gets the number of elements. + + + + + Gets the elements. + + + + + Gets a value indicating whether this instance is disposed. + + + true if this instance is disposed; otherwise, false. + + + + + Gets a value indicating whether this instance is materialized. + + + true if this instance is materialized; otherwise, false. + + + + Gets the element names. - - - - Freezes the creator map. + + + + Gets the raw values (see BsonValue.RawValue). - - - - Gets whether there is a default value for a missing element. + + + + Gets the values. - The element name. - True if there is a default value for element name; otherwise, false. - - - - Gets the member info (null if none). + + + + Gets or sets a value by position. - - - - Sets the arguments for the creator map. + The position. + The value. + + + + Gets the value of an element or a default value if the element is not found. - The arguments. - The creator map. - - - - Sets the arguments for the creator map. + The name of the element. + The default value to return if the element is not found. + Teh value of the element or a default value if the element is not found. + + + + Gets or sets a value by name. - The argument names. - The creator map. - - - - Represents args common to all serializers. + The name. + The value. + + + + Adds an element to the document. - - - - Gets or sets the nominal type. - - - - - Represents all the contextual information needed by a serializer to deserialize a value. - - - - - Gets a value indicating whether to allow duplicate element names. - - - - - Creates a root context. - - The reader. - The configurator. - - A root context. + The element to add. + + The document (so method calls can be chained). - - - - Gets the dynamic array serializer. + + + + Adds elements to the document from a dictionary of key/value pairs. - - - - Gets the dynamic document serializer. + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. - - - - Gets the reader. + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. - - - - Creates a new context with some values changed. + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. - The configurator. - - A new context. + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds a list of elements to the document. + + The list of elements. + The document (so method calls can be chained). + + + + Adds a list of elements to the document. + + The list of elements. + The document (so method calls can be chained). + + + + Creates and adds an element to the document. + + The name of the element. + The value of the element. + + The document (so method calls can be chained). - - - - Represents a builder for a BsonDeserializationContext. + + + + Creates and adds an element to the document, but only if the condition is true. - - - - Gets or sets a value indicating whether to allow duplicate element names. + The name of the element. + The value of the element. + Whether to add the element to the document. + The document (so method calls can be chained). + + + + Creates and adds an element to the document, but only if the condition is true. + If the condition is false the value factory is not called at all. - - - - Gets or sets the dynamic array serializer. + The name of the element. + A delegate called to compute the value of the element if condition is true. + Whether to add the element to the document. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. - - - - Gets or sets the dynamic document serializer. - - - - - Gets the reader. - - - - - A class backed by a BsonDocument. - - - - - Initializes a new instance of the class. - - The backing document. - The serializer. - - - - Initializes a new instance of the class. - - The serializer. - - - - Gets the backing document. - - - - - Gets the value from the backing document. - - The member name. - The type of the value. - The value. - - - - Gets the value from the backing document. - - The member name. - The default value. - The type of the value. - The value. - - - - Sets the value in the backing document. - - The member name. - The value. - - - - Represents a serializer for TClass (a subclass of BsonDocumentBackedClass). - - The subclass of BsonDocumentBackedClass. - - - - Initializes a new instance of the class. - - - - - Creates the instance. - - The backing document. - An instance of TClass. - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Registers a member. - - The member name. - The element name. - The serializer. - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Tries to get the serialization info for a member. - - Name of the member. - The serialization information. - - true if the serialization info exists; otherwise false. + The dictionary. + + The document (so method calls can be chained). - - - - Represents the mapping between a field or property and a BSON element. + + + + Adds elements to the document from a dictionary of key/value pairs. - - - - Initializes a new instance of the BsonMemberMap class. + The dictionary. + + The document (so method calls can be chained). + + + + + Adds a list of elements to the document. - The class map this member map belongs to. - The member info. - - - - Applies the default value to the member of an object. + The list of elements. + + The document (so method calls can be chained). + + + + + Adds elements to the document from a dictionary of key/value pairs. - The object. - - - - Gets the class map that this member map belongs to. + The dictionary. + + The document (so method calls can be chained). + + + + + Clears the document (removes all elements). - - - + + + + Creates a shallow clone of the document (see also DeepClone). + + + A shallow clone of the document. + + + + + Compares this document to another document. + + The other document. + + A 32-bit signed integer that indicates whether this document is less than, equal to, or greather than the other. + + + + + Compares the BsonDocument to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonDocument is less than, equal to, or greather than the other BsonValue. + + + + Tests whether the document contains an element with the specified name. + + The name of the element to look for. + + True if the document contains an element with the specified name. + + + + + Tests whether the document contains an element with the specified value. + + The value of the element to look for. + + True if the document contains an element with the specified value. + + + + + Creates a deep clone of the document (see also Clone). + + + A deep clone of the document. + + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + + Determines whether the specified , is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Gets an element of this document. + + The zero based index of the element. + + The element. + + + + + Gets an element of this document. + + The name of the element. + + A BsonElement. + + + + + Gets an enumerator that can be used to enumerate the elements of this document. + + + An enumerator. + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + + + + + Gets the value of an element. + + The zero based index of the element. + + The value of the element. + + + + + Gets the value of an element. + + The name of the element. + + The value of the element. + + + + + Gets the value of an element or a default value if the element is not found. + + The name of the element. + The default value returned if the element is not found. + + The value of the element or the default value if the element is not found. + + + + + Inserts a new element at a specified position. + + The position of the new element. + The element. + + + + Merges another document into this one. Existing elements are not overwritten. + + The other document. + + The document (so method calls can be chained). + + + + + Merges another document into this one, specifying whether existing elements are overwritten. + + The other document. + Whether to overwrite existing elements. + + The document (so method calls can be chained). + + + + + Removes an element from this document (if duplicate element names are allowed + then all elements with this name will be removed). + + The name of the element to remove. + + + + Removes an element from this document. + + The zero based index of the element to remove. + + + + Removes an element from this document. + + The element to remove. + + + + Sets the value of an element. + + The zero based index of the element whose value is to be set. + The new value. + + The document (so method calls can be chained). + + + + + Sets the value of an element (an element will be added if no element with this name is found). + + The name of the element whose value is to be set. + The new value. + + The document (so method calls can be chained). + + + + + Sets an element of the document (replaces any existing element with the same name or adds a new element if an element with the same name is not found). + + The new element. + + The document. + + + + + Sets an element of the document (replacing the existing element at that position). + + The zero based index of the element to replace. + The new element. + + The document. + + + + + Tries to get an element of this document. + + The name of the element. + The element. + + True if an element with that name was found. + + + + + Tries to get the value of an element of this document. + + The name of the element. + The value of the element. + + True if an element with that name was found. + + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Materializes the BsonDocument. + + The materialized elements. + + + + Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state. + + + + + Throws if disposed. + + + + + + Represents an immutable BSON array that is represented using only the raw bytes. + + + + + Initializes a new instance of the class. + + The slice. + slice + RawBsonArray cannot be used with an IByteBuffer that needs disposing. + + + + Gets or sets the total number of elements the internal data structure can hold without resizing. + + + + + Gets the count of array elements. + + + + + Gets whether the array is read-only. + + + + + Gets the array elements as raw values (see BsonValue.RawValue). + + + + + Gets the slice. + + + The slice. + + + + + Gets the array elements. + + + + + Gets or sets a value by position. + + The position. + The value. + + + + Adds an element to the array. + + The value to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Creates a shallow clone of the array (see also DeepClone). + + A shallow clone of the array. + + + + Clears the array. + + + + + Tests whether the array contains a value. + + The value to test for. + True if the array contains the value. + + + + Copies elements from this array to another array. + + The other array. + The zero based index of the other array at which to start copying. + + + + Copies elements from this array to another array as raw values (see BsonValue.RawValue). + + The other array. + The zero based index of the other array at which to start copying. + + + + Creates a deep clone of the array (see also Clone). + + A deep clone of the array. + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + + Gets an enumerator that can enumerate the elements of the array. + + An enumerator. + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index of the value (or -1 if not found). + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index at which to start the search. + The zero based index of the value (or -1 if not found). + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index at which to start the search. + The number of elements to search. + The zero based index of the value (or -1 if not found). + + + + Inserts a new value into the array. + + The zero based index at which to insert the new value. + The new value. + + + + Removes the first occurrence of a value from the array. + + The value to remove. + True if the value was removed. + + + + Removes an element from the array. + + The zero based index of the element to remove. + + + + Converts the BsonArray to an array of BsonValues. + + An array of BsonValues. + + + + Converts the BsonArray to a list of BsonValues. + + A list of BsonValues. + + + + Returns a string representation of the array. + + A string representation of the array. + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Throws if disposed. + + + + + + Represents an immutable BSON document that is represented using only the raw bytes. + + + + + Initializes a new instance of the class. + + The slice. + slice + RawBsonDocument cannot be used with an IByteBuffer that needs disposing. + + + + Initializes a new instance of the class. + + The bytes. + + + + Gets the number of elements. + + + + + Gets the elements. + + + + + Gets the element names. + + + + + Gets the raw values (see BsonValue.RawValue). + + + + + Gets the slice. + + + The slice. + + + + + Gets the values. + + + + + Gets or sets a value by position. + + The position. + The value. + + + + Gets the value of an element or a default value if the element is not found. + + The name of the element. + The default value to return if the element is not found. + Teh value of the element or a default value if the element is not found. + + + + Gets or sets a value by name. + + The name. + The value. + + + + Adds an element to the document. + + The element to add. + + The document (so method calls can be chained). + + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds a list of elements to the document. + + The list of elements. + The document (so method calls can be chained). + + + + Adds a list of elements to the document. + + The list of elements. + The document (so method calls can be chained). + + + + Creates and adds an element to the document. + + The name of the element. + The value of the element. + + The document (so method calls can be chained). + + + + + Creates and adds an element to the document, but only if the condition is true. + + The name of the element. + The value of the element. + Whether to add the element to the document. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + + The document (so method calls can be chained). + + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + + The document (so method calls can be chained). + + + + + Adds a list of elements to the document. + + The list of elements. + + The document (so method calls can be chained). + + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + + The document (so method calls can be chained). + + + + + Clears the document (removes all elements). + + + + + Creates a shallow clone of the document (see also DeepClone). + + + A shallow clone of the document. + + + + + Tests whether the document contains an element with the specified name. + + The name of the element to look for. + + True if the document contains an element with the specified name. + + + + + Tests whether the document contains an element with the specified value. + + The value of the element to look for. + + True if the document contains an element with the specified value. + + + + + Creates a deep clone of the document (see also Clone). + + + A deep clone of the document. + + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + + Gets an element of this document. + + The zero based index of the element. + + The element. + + + + + Gets an element of this document. + + The name of the element. + + A BsonElement. + + + + + Gets an enumerator that can be used to enumerate the elements of this document. + + + An enumerator. + + + + + Gets the value of an element. + + The zero based index of the element. + + The value of the element. + + + + + Gets the value of an element. + + The name of the element. + + The value of the element. + + + + + Gets the value of an element or a default value if the element is not found. + + The name of the element. + The default value returned if the element is not found. + + The value of the element or the default value if the element is not found. + + + + + Inserts a new element at a specified position. + + The position of the new element. + The element. + + + + Materializes the RawBsonDocument into a regular BsonDocument. + + The binary reader settings. + A BsonDocument. + + + + Merges another document into this one. Existing elements are not overwritten. + + The other document. + + The document (so method calls can be chained). + + + + + Merges another document into this one, specifying whether existing elements are overwritten. + + The other document. + Whether to overwrite existing elements. + + The document (so method calls can be chained). + + + + + Removes an element from this document (if duplicate element names are allowed + then all elements with this name will be removed). + + The name of the element to remove. + + + + Removes an element from this document. + + The zero based index of the element to remove. + + + + Removes an element from this document. + + The element to remove. + + + + Sets the value of an element. + + The zero based index of the element whose value is to be set. + The new value. + + The document (so method calls can be chained). + + + + + Sets the value of an element (an element will be added if no element with this name is found). + + The name of the element whose value is to be set. + The new value. + + The document (so method calls can be chained). + + + + + Sets an element of the document (replaces any existing element with the same name or adds a new element if an element with the same name is not found). + + The new element. + + The document. + + + + + Sets an element of the document (replacing the existing element at that position). + + The zero based index of the element to replace. + The new element. + + The document. + + + + + Tries to get an element of this document. + + The name of the element. + The element. + + True if an element with that name was found. + + + + + Tries to get the value of an element of this document. + + The name of the element. + The value of the element. + + True if an element with that name was found. + + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Throws if disposed. + + RawBsonDocument + + + + Provides serializers based on an attribute. + + + + + + + + Specifies that this constructor should be used for creator-based deserialization. + + + + + Initializes a new instance of the BsonConstructorAttribute class. + + + + + Initializes a new instance of the BsonConstructorAttribute class. + + The names of the members that the creator argument values come from. + + + + Gets the names of the members that the creator arguments values come from. + + + + + Applies a modification to the creator map. + + The creator map. + + + + Specifies serialization options for a DateTime field or property. + + + + + Initializes a new instance of the BsonDateTimeOptionsAttribute class. + + + + + Gets or sets whether the DateTime consists of a Date only. + + + + + Gets or sets the DateTimeKind (Local, Unspecified or Utc). + + + + + Gets or sets the external representation. + + + + + Reconfigures the specified serializer by applying this attribute to it. + + The serializer. + A reconfigured serializer. + + + + Specifies serialization options for a Dictionary field or property. + + + + + Initializes a new instance of the BsonDictionaryOptionsAttribute class. + + + + + Initializes a new instance of the BsonDictionaryOptionsAttribute class. + + The representation to use for the Dictionary. + + + + Gets or sets the external representation. + + + + + Reconfigures the specified serializer by applying this attribute to it. + + The serializer. + A reconfigured serializer. + + + + Indicates that this property or field will be used to hold any extra elements found during deserialization. + + + + + Applies a modification to the member map. + + The member map. + + + + Specifies that this factory method should be used for creator-based deserialization. + + + + + Initializes a new instance of the BsonFactoryMethodAttribute class. + + + + + Initializes a new instance of the BsonFactoryMethodAttribute class. + + The names of the members that the creator argument values come from. + + + + Gets the names of the members that the creator arguments values come from. + + + + + Applies a modification to the creator map. + + The creator map. + + + + Indicates whether a field or property equal to the default value should be ignored when serializing this class. + + + + + Initializes a new instance of the BsonIgnoreIfDefaultAttribute class. + + + + + Initializes a new instance of the BsonIgnoreIfDefaultAttribute class. + + Whether a field or property equal to the default value should be ignored when serializing this class. + + + + Gets whether a field or property equal to the default value should be ignored when serializing this class. + + + + + Applies a modification to the member map. + + The member map. + + + + Specifies that the class's IdMember should be null. + + + + + Applies the post processing attribute to the class map. + + The class map. + + + + Specifies the external representation and related options for this field or property. + + + + + Initializes a new instance of the BsonRepresentationAttribute class. + + The external representation. + + + + Gets the external representation. + + + + + Gets or sets whether to allow overflow. + + + + + Gets or sets whether to allow truncation. + + + + + Reconfigures the specified serializer by applying this attribute to it. + + The serializer. + A reconfigured serializer. + + + + Abstract base class for serialization options attributes. + + + + + Initializes a new instance of the BsonSerializationOptionsAttribute class. + + + + + Applies a modification to the member map. + + The member map. + + + + Reconfigures the specified serializer by applying this attribute to it. + + The serializer. + A reconfigured serializer. + + + + + Specifies the type of the serializer to use for a class. + + + + + Initializes a new instance of the BsonSerializerAttribute class. + + + + + Initializes a new instance of the BsonSerializerAttribute class. + + The type of the serializer to use for a class. + + + + Gets or sets the type of the serializer to use for a class. + + + + + Applies a modification to the member map. + + The member map. + + + + Creates a serializer for a type based on the serializer type specified by the attribute. + + The type that a serializer should be created for. + A serializer for the type. + + + + Specifies the external representation and related options for this field or property. + + + + + Initializes a new instance of the BsonTimeSpanOptionsAttribute class. + + The external representation. + + + + Initializes a new instance of the BsonTimeSpanOptionsAttribute class. + + The external representation. + The TimeSpanUnits. + + + + Gets the external representation. + + + + + Gets or sets the TimeSpanUnits. + + + + + Reconfigures the specified serializer by applying this attribute to it. + + The serializer. + A reconfigured serializer. + + + + Specifies the default value for a field or property. + + + + + Initializes a new instance of the BsonDefaultValueAttribute class. + + The default value. + + + Gets the default value. - - - - Gets the name of the element. + + + + Gets or sets whether to serialize the default value. - - - - Freezes this instance. + + + + Applies a modification to the member map. - - - - Gets the serializer. + The member map. + + + + Specifies the discriminator and related options for a class. - The serializer. - - - - Gets the getter function. + + + + Initializes a new instance of the BsonDiscriminatorAttribute class. - - - - Gets the Id generator. + + + + Initializes a new instance of the BsonDiscriminatorAttribute class. - - - - Gets whether default values should be ignored when serialized. + The discriminator. + + + + Gets the discriminator. - - - - Gets whether null values should be ignored when serialized. + + + + Gets or sets whether the discriminator is required. - - - - Gets whether a default value was specified. + + + + Gets or sets whether this is a root class. - - - - Gets whether the member is readonly. + + + + Applies a modification to the class map. - - - - Gets whether an element is required for this member when deserialized. + The class map. + + + + Specifies the element name and related options for a field or property. - - - - Gets the member info. + + + + Initializes a new instance of the BsonElementAttribute class. - - - - Gets the name of the member. + + + + Initializes a new instance of the BsonElementAttribute class. - - - - Gets the type of the member. + The name of the element. + + + + Gets the element name. - - - - Gets whether the member type is a BsonValue. + + + + Gets the element serialization order. - - - - Gets the serialization order. + + + + Applies a modification to the member map. - - - - Resets the member map back to its initial state. + The member map. + + + + Specifies that this is the Id field or property. - The member map. - - - - Sets the default value creator. + + + + Initializes a new instance of the BsonIdAttribute class. - The default value creator (note: the supplied delegate must be thread safe). - The member map. - - - - Sets the default value. + + + + Gets or sets the Id generator for the Id. - The default value. - The member map. - - - - Sets the name of the element. + + + + Gets or sets the Id element serialization order. - The name of the element. - The member map. - - - - Sets the Id generator. + + + + Applies a modification to the member map. - The Id generator. - The member map. - - - - Sets whether default values should be ignored when serialized. + The member map. + + + + Indicates that this field or property should be ignored when this class is serialized. - Whether default values should be ignored when serialized. - The member map. - - - - Sets whether null values should be ignored when serialized. + + + + Specifies whether extra elements should be ignored when this class is deserialized. - Wether null values should be ignored when serialized. - The member map. - - - - Sets whether an element is required for this member when deserialized + + + + Initializes a new instance of the BsonIgnoreExtraElementsAttribute class. - Whether an element is required for this member when deserialized - The member map. - - - - Sets the serialization order. + + + + Initializes a new instance of the BsonIgnoreExtraElementsAttribute class. - The serialization order. - The member map. - - - - Sets the serializer. + Whether extra elements should be ignored when this class is deserialized. + + + + Gets whether extra elements should be ignored when this class is deserialized. - The serializer. - - The member map. - - serializer - serializer - - - - Sets the method that will be called to determine whether the member should be serialized. + + + + Gets whether extra elements should also be ignored when any class derived from this one is deserialized. - The method. - The member map. - - - - Gets the setter function. + + + + Applies a modification to the class map. - - - - Determines whether a value should be serialized + The class map. + + + + Indicates whether a field or property equal to null should be ignored when serializing this class. - The object. - The value. - True if the value should be serialized. - - - - Gets the method that will be called to determine whether the member should be serialized. + + + + Initializes a new instance of the BsonIgnoreIfNullAttribute class. - - - + + + + Initializes a new instance of the BsonIgnoreIfNullAttribute class. + + Whether a field or property equal to null should be ignored when serializing this class. + + + + Gets whether a field or property equal to null should be ignored when serializing this class. + + + + + Applies a modification to the member map. + + The member map. + + + + Specifies the known types for this class (the derived classes). + + + + + Initializes a new instance of the BsonKnownTypesAttribute class. + + One or more known types. + + + + Initializes a new instance of the BsonKnownTypesAttribute class. + + A known types. + + + + Gets a list of the known types. + + + + + Applies a modification to the class map. + + The class map. + + + + Indicates that a field or property is required. + + + + + Applies a modification to the member map. + + The member map. + + + Indicates the usage restrictions for the attribute. - - - + + + Initializes a new instance of the class. - - - + + + Gets or sets a value indicating whether the attribute this attribute applies to is allowed to be applied to more than one member. - - - - Provides serializers for BsonValue and its derivations. + + + + Represents an attribute used to modify a member map. - - - - - - MongoDB.Bson.Serialization.BsonObjectModelSerializationProvider - - - - - - - Gets a serializer for a type. + + + + Applies the attribute to the member map. - The type. - The serializer registry. - - A serializer. - - - - + The member map. + + + + Represents an attribute used to modify a class map. + + + + + Applies the attribute to the class map. + + The class map. + + + + Represents an attribute used to post process a class map. + + + + + Applies the post processing attribute to the class map. + + The class map. + + + + Represents an attribute used to modify a creator map. + + + + + Applies the attribute to the creator map. + + The creator map. + + + + Represents the class map serialization provider. + + + + + + + + Represents a mapping to a delegate and its arguments. + + + + + Initializes a new instance of the BsonCreatorMap class. + + The class map. + The member info (null if none). + The delegate. + + + + Gets the arguments. + + + + + Gets the class map that this creator map belongs to. + + + + + Gets the delegeate + + + + + Gets the element names. + + + + + Gets the member info (null if none). + + + + + Freezes the creator map. + + + + + Gets whether there is a default value for a missing element. + + The element name. + True if there is a default value for element name; otherwise, false. + + + + Sets the arguments for the creator map. + + The arguments. + The creator map. + + + + Sets the arguments for the creator map. + + The argument names. + The creator map. + + + Represents args common to all serializers. - - - - Initializes a new instance of the struct. - - The nominal type. - Whether to serialize as the nominal type. - Whether to serialize the id first. - - - + + + Gets or sets the nominal type. - - - - Gets or sets a value indicating whether to serialize the value as if it were an instance of the nominal type. + + The nominal type. + + + + + Represents all the contextual information needed by a serializer to deserialize a value. - - - - Gets or sets a value indicating whether to serialize the id first. + + + + Gets a value indicating whether to allow duplicate element names. - - - - Represents all the contextual information needed by a serializer to serialize a value. + + true if duplicate element names shoud be allowed; otherwise, false. + + + + + Gets the dynamic array serializer. - - - + + The dynamic array serializer. + + + + + Gets the dynamic document serializer. + + + The dynamic document serializer. + + + + + Gets the reader. + + + The reader. + + + + Creates a root context. - The writer. - The serialization context configurator. - + The reader. + The configurator. + A root context. - - - + + + + Creates a new context with some values changed. + + The configurator. + + A new context. + + + + + Represents a builder for a BsonDeserializationContext. + + + + + Gets or sets a value indicating whether to allow duplicate element names. + + + true if duplicate element names should be allowed; otherwise, false. + + + + + Gets or sets the dynamic array serializer. + + + The dynamic array serializer. + + + + + Gets or sets the dynamic document serializer. + + + The dynamic document serializer. + + + + + Gets the reader. + + + The reader. + + + + + Builds the BsonDeserializationContext instance. + + A BsonDeserializationContext. + + + + A class backed by a BsonDocument. + + + + + Initializes a new instance of the class. + + The serializer. + + + + Initializes a new instance of the class. + + The backing document. + The serializer. + + + + Gets the backing document. + + + + + Gets the value from the backing document. + + The type of the value. + The member name. + The value. + + + + Gets the value from the backing document. + + The type of the value. + The member name. + The default value. + The value. + + + + Sets the value in the backing document. + + The member name. + The value. + + + + Provides serializers for BsonValue and its derivations. + + + + + + + + Represents args common to all serializers. + + + + + Initializes a new instance of the struct. + + The nominal type. + Whether to serialize as the nominal type. + Whether to serialize the id first. + + + + Gets or sets the nominal type. + + + The nominal type. + + + + + Gets or sets a value indicating whether to serialize the value as if it were an instance of the nominal type. + + + + + Gets or sets a value indicating whether to serialize the id first. + + + + + Represents all the contextual information needed by a serializer to serialize a value. + + + + Gets a function that, when executed, will indicate whether the type is a dynamic type. - - - + + + + Gets the writer. + + + The writer. + + + + + Creates a root context. + + The writer. + The serialization context configurator. + + A root context. + + + + Creates a new context with some values changed. - The serialization context configurator. - + The serialization context configurator. + A new context. - - - - Gets the writer. - - - - + + + Represents a builder for a BsonSerializationContext. - - - + + + Gets or sets the function used to determine if a type is a dynamic type. - - - + + + Gets the writer. - - - - Represents the information needed to serialize a member. + + The writer. + + + + + Builds the BsonSerializationContext instance. - - - - Initializes a new instance of the BsonSerializationInfo class. + A BsonSerializationContext. + + + + Provides serializers for collections. - The element name. - The serializer. - The nominal type. - - - - Deserializes the value. + + + + + + + Convention pack for applying attributes. - The value. - A deserialized value. - - - - Gets or sets the dotted element name. + + + + Initializes a new instance of the class. - - - - Merges the new BsonSerializationInfo by taking its properties and concatenating its ElementName. + + + + Gets the instance. - The new info. - A new BsonSerializationInfo. - - - - Gets or sets the nominal type. + + + + Gets the conventions. - - - - Gets or sets the serializer. + + + + A convention that sets the element name the same as the member name with the first character lower cased. - - - - Serializes the value. + + + + Applies a modification to the member map. - The value. - The serialized value. - - - - Serializes the values. + The member map. + + + + A convention that uses the names of the creator parameters to find the matching members. - The values. - The serialized values. - - - - Creates a new BsonSerializationInfo object using the elementName provided and copying all other attributes. + + + + Applies a modification to the creator map. - Name of the element. - A new BsonSerializationInfo. - - - - Base class for serialization providers. + The creator map. + + + + Base class for a convention. - - - - - - MongoDB.Bson.Serialization.BsonSerializationProviderBase - - - - - - - Creates the serializer from a serializer type definition and type arguments. + + + + Initializes a new instance of the ConventionBase class. - The serializer type definition. - The type arguments. - A serializer. - - - - Creates the serializer from a serializer type definition and type arguments. + + + + Initializes a new instance of the ConventionBase class. - The serializer type definition. - The type arguments. - The serializer registry. - - A serializer. - - - - - Creates the serializer. + The name of the convention. + + + + Gets the name of the convention. - The serializer type. - A serializer. - - - - Creates the serializer. + + + + A mutable pack of conventions. - The serializer type. - The serializer registry. - - A serializer. - - - - - Gets a serializer for a type. + + + + Initializes a new instance of the class. - The type. - A serializer. - - - - Gets a serializer for a type. + + + + Gets the conventions. - The type. - The serializer registry. - - A serializer. - - - - - A static class that represents the BSON serialization functionality. + + + + Adds the specified convention. - - - - Deserializes an object from a BsonDocument. + The convention. + + + + + Adds a class map convention created using the specified action upon a class map. - The BsonDocument. - The configurator. - The nominal type of the object. - A deserialized value. - - - - Deserializes an object from a BsonDocument. + The name of the convention. + The action the convention should take upon the class map. + + + + Adds a member map convention created using the specified action upon a member map. - The BsonDocument. - The nominal type of the object. - The configurator. - A deserialized value. - - - - Deserializes a value. + The name of the convention. + The action the convention should take upon the member map. + + + + Adds a post processing convention created using the specified action upon a class map. - The BsonReader. - The configurator. - The nominal type of the object. - A deserialized value. - - - - Deserializes a value. + The name of the convention. + The action the convention should take upon the class map. + + + + Adds a range of conventions. - The BsonReader. - The nominal type of the object. - The configurator. - A deserialized value. - - - - Deserializes an object from a BSON byte array. + The conventions. + + + + + Appends the conventions in another pack to the end of this pack. - The BSON byte array. - The configurator. - The nominal type of the object. - A deserialized value. - - - - Deserializes an object from a BSON byte array. + The other pack. + + + + Gets an enumerator for the conventions. - The BSON byte array. - The nominal type of the object. - The configurator. - A deserialized value. - - - - Deserializes an object from a BSON Stream. + An enumerator. + + + + Inserts the convention after another convention specified by the name. - The BSON Stream. - The configurator. - The nominal type of the object. - A deserialized value. - - - - Deserializes an object from a BSON Stream. + The name. + The convention. + + + + Inserts the convention before another convention specified by the name. - The BSON Stream. - The nominal type of the object. - The configurator. - A deserialized value. - - - - Deserializes an object from a JSON TextReader. + The name. + The convention. + + + + Removes the named convention. - The JSON TextReader. - The configurator. - The nominal type of the object. - A deserialized value. - - - - Deserializes an object from a JSON TextReader. + The name of the convention. + + + + Represents a registry of conventions. - The JSON TextReader. - The nominal type of the object. - The configurator. - A deserialized value. - - - - Deserializes an object from a JSON string. + + + + Looks up the effective set of conventions that apply to a type. - The JSON string. - The configurator. - The nominal type of the object. - A deserialized value. - - - - Deserializes an object from a JSON string. + The type. + The conventions for that type. + + + + Registers the conventions. - The JSON string. - The nominal type of the object. - The configurator. - A deserialized value. - - - - Returns whether the given type has any discriminators registered for any of its subclasses. + The name. + The conventions. + The filter. + + + + Removes the conventions specified by the given name. - A Type. - True if the type is discriminated. - - - - Looks up the actual type of an object to be deserialized. + The name. + Removing a convention allows the removal of the special __defaults__ conventions + and the __attributes__ conventions for those who want to completely customize the + experience. + + + + Runs the conventions against a BsonClassMap and its BsonMemberMaps. - The nominal type of the object. - The discriminator. - The actual type of the object. - - - - Looks up the discriminator convention for a type. + + + + Initializes a new instance of the class. - The type. - A discriminator convention. - - - - Looks up an IdGenerator. + The conventions. + + + + Applies a modification to the class map. - The Id type. - An IdGenerator for the Id type. - - - - Looks up a serializer for a Type. + The class map. + + + + Convention pack of defaults. - The type. - A serializer for type T. - - - - Looks up a serializer for a Type. + + + + Initializes a new instance of the class. - The Type. - A serializer for the Type. - - - - Registers the discriminator for a type. + + + + Gets the instance. - The type. - The discriminator. - - - - Registers the discriminator convention for a type. + + + + Gets the conventions. - Type type. - The discriminator convention. - - - - Registers a generic serializer definition for a generic type. + + + + A class map convention that wraps a delegate. - The generic type. - The generic serializer definition. - - - - Registers an IdGenerator for an Id Type. + + + + Initializes a new instance of the class. - The Id Type. - The IdGenerator for the Id Type. - - - - Registers a serialization provider. + The name. + The delegate. + + + + Applies a modification to the class map. - The serialization provider. - - - - Registers a serializer for a type. + The class map. + + + + A member map convention that wraps a delegate. - The serializer. - The type. - - - - Registers a serializer for a type. + + + + Initializes a new instance of the class. - The type. - The serializer. - - - - Serializes a value. + The name. + The delegate. + + + + Applies a modification to the member map. - The BsonWriter. - The nominal type of the object. - The object. - The serialization context configurator. - The serialization args. - - - - Serializes a value. + The member map. + + + + A post processing convention that wraps a delegate. - The BsonWriter. - The object. - The serialization context configurator. - The serialization args. - The nominal type of the object. - - - - Gets the serializer registry. + + + + Initializes a new instance of the class. - - - - Gets or sets whether to use the NullIdChecker on reference Id types that don't have an IdGenerator registered. + The name. + The delegate. + + + + Applies a post processing modification to the class map. - - - - Gets or sets whether to use the ZeroIdChecker on value Id types that don't have an IdGenerator registered. + The class map. + + + + Represents a discriminator convention where the discriminator is an array of all the discriminators provided by the class maps of the root class down to the actual type. - - - - Default, global implementation of an . + + + + Initializes a new instance of the HierarchicalDiscriminatorConvention class. - - - - Initializes a new instance of the class. + The element name. + + + + Gets the discriminator value for an actual type. - - - - Gets the serializer for the specified . + The nominal type. + The actual type. + The discriminator value. + + + + Represents a convention that applies to a BsonClassMap. - - - The serializer. - - - - + + + + Applies a modification to the class map. + + The class map. + + + + Represents a convention that applies to a BsonCreatorMap. + + + + + Applies a modification to the creator map. + + The creator map. + + + + Represents a convention. + + + + + Gets the name of the convention. + + + + + Represents a grouping of conventions. + + + + + Gets the conventions. + + + + + A convention that sets whether to ignore extra elements encountered during deserialization. + + + + + Initializes a new instance of the class. + + Whether to ignore extra elements encountered during deserialization. + + + + Applies a modification to the class map. + + The class map. + + + + A convention that sets whether to ignore default values during serialization. + + + + + Initializes a new instance of the class. + + Whether to ignore default values during serialization. + + + + Applies a modification to the member map. + + The member map. + + + + A convention that sets whether to ignore nulls during serialization. + + + + + Initializes a new instance of the class. + + Whether to ignore nulls during serialization. + + + + Applies a modification to the member map. + + The member map. + + + + Represents a convention that applies to a BsonMemberMap. + + + + + Applies a modification to the member map. + + The member map. + + + + Represents a post processing convention that applies to a BsonClassMap. + + + + + Applies a post processing modification to the class map. + + The class map. + + + + A convention that looks up an id generator for the id member. + + + + + Applies a post processing modification to the class map. + + The class map. + + + + A convention that sets the default value for members of a given type. + + + + + Initializes a new instance of the class. + + The type of the member. + The default value for members of this type. + + + + Applies a modification to the member map. + + The member map. + + + + A convention that sets the element name the same as the member name. + + + + + Applies a modification to the member map. + + The member map. + + + + A convention that finds the extra elements member by name (and that is also of type or ). + + + + + Initializes a new instance of the NamedExtraElementsMemberConvention class. + + The name of the extra elements member. + + + + Initializes a new instance of the class. + + The names. + + + + Initializes a new instance of the class. + + The names. + The member types. + + + + Initializes a new instance of the class. + + The names. + The binding flags. + + + + Initializes a new instance of the class. + + The names. + The member types. + The binding flags. + + + + + Applies a modification to the class map. + + The class map. + + + + A convention that finds the id member by name. + + + + + Initializes a new instance of the class. + + The names. + + + + Initializes a new instance of the class. + + The names. + + + + Initializes a new instance of the class. + + The names. + The member types. + + + + Initializes a new instance of the class. + + The names. + The binding flags. + + + + Initializes a new instance of the class. + + The names. + The member types. + The binding flags. + + + + + Applies a modification to the class map. + + The class map. + + + + Maps a fully immutable type. This will include anonymous types. + + + + + + + + A convention that sets a class's IdMember to null. + + + + + Applies a post processing modification to the class map. + + The class map. + + + + Represents the object discriminator convention. + + + + + Initializes a new instance of the ObjectDiscriminatorConvention class. + + The element name. + + + + Gets an instance of the ObjectDiscriminatorConvention. + + + + + Gets the discriminator element name. + + + + + Gets the actual type of an object by reading the discriminator from a BsonReader. + + The reader. + The nominal type. + The actual type. + + + + Gets the discriminator value for an actual type. + + The nominal type. + The actual type. + The discriminator value. + + + + A convention that finds readable and writeable members and adds them to the class map. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The member types. + + + + Initializes a new instance of the class. + + The binding flags. + + + + Initializes a new instance of the class. + + The member types. + The binding flags. + + + + Applies a modification to the class map. + + The class map. + + + + A convention that resets a class map (resetting any changes that earlier conventions may have applied). + + + + + Applies a modification to the class map. + + The class map. + + + + A convention that resets class members (resetting any changes that earlier conventions may have applied). + + + + + Applies a modification to the member map. + + The member map. + + + + Represents a discriminator convention where the discriminator is provided by the class map of the actual type. + + + + + Initializes a new instance of the ScalarDiscriminatorConvention class. + + The element name. + + + + Gets the discriminator value for an actual type. + + The nominal type. + The actual type. + The discriminator value. + + + + A convention that allows you to set the Enum serialization representation + + + + + Initializes a new instance of the class. + + The serialization representation. 0 is used to detect representation + from the enum itself. + + + + Gets the representation. + + + + + Applies a modification to the member map. + + The member map. + + + + Represents the standard discriminator conventions (see ScalarDiscriminatorConvention and HierarchicalDiscriminatorConvention). + + + + + Initializes a new instance of the StandardDiscriminatorConvention class. + + The element name. + + + + Gets an instance of the ScalarDiscriminatorConvention. + + + + + Gets an instance of the HierarchicalDiscriminatorConvention. + + + + + Gets the discriminator element name. + + + + + Gets the actual type of an object by reading the discriminator from a BsonReader. + + The reader. + The nominal type. + The actual type. + + + + Gets the discriminator value for an actual type. + + The nominal type. + The actual type. + The discriminator value. + + + + A convention that sets the id generator for a string member with a BSON representation of ObjectId. + + + + + Applies a post processing modification to the class map. + + The class map. + + + + Represents a discriminator convention. + + + + + Gets the discriminator element name. + + + + + Gets the actual type of an object by reading the discriminator from a BsonReader. + + The reader. + The nominal type. + The actual type. + + + + Gets the discriminator value for an actual type. + + The nominal type. + The actual type. + The discriminator value. + + + + A helper class used to create and compile delegates for creator maps. + + + + + Creates and compiles a delegate that calls a constructor. + + The constructor. + A delegate that calls the constructor. + + + + Creates and compiles a delegate from a lambda expression. + + The type of the class. + The lambda expression. + The arguments for the delegate's parameters. + A delegate. + + + + Creates and compiles a delegate that calls a factory method. + + the method. + A delegate that calls the factory method. + + + + Visits a MemberExpression. + + The MemberExpression. + The MemberExpression (possibly modified). + + + + Visits a ParameterExpression. + + The ParameterExpression. + The ParameterExpression (possibly modified). + + + + An abstract base class for an Expression visitor. + + + + + Initializes a new instance of the ExpressionVisitor class. + + + + + Visits an Expression. + + The Expression. + The Expression (posibly modified). + + + + Visits an Expression list. + + The Expression list. + The Expression list (possibly modified). + + + + Visits a BinaryExpression. + + The BinaryExpression. + The BinaryExpression (possibly modified). + + + + Visits a ConditionalExpression. + + The ConditionalExpression. + The ConditionalExpression (possibly modified). + + + + Visits a ConstantExpression. + + The ConstantExpression. + The ConstantExpression (possibly modified). + + + + Visits an ElementInit. + + The ElementInit. + The ElementInit (possibly modified). + + + + Visits an ElementInit list. + + The ElementInit list. + The ElementInit list (possibly modified). + + + + Visits an InvocationExpression. + + The InvocationExpression. + The InvocationExpression (possibly modified). + + + + Visits a LambdaExpression. + + The LambdaExpression. + The LambdaExpression (possibly modified). + + + + Visits a ListInitExpression. + + The ListInitExpression. + The ListInitExpression (possibly modified). + + + + Visits a MemberExpression. + + The MemberExpression. + The MemberExpression (possibly modified). + + + + Visits a MemberAssignment. + + The MemberAssignment. + The MemberAssignment (possibly modified). + + + + Visits a MemberBinding. + + The MemberBinding. + The MemberBinding (possibly modified). + + + + Visits a MemberBinding list. + + The MemberBinding list. + The MemberBinding list (possibly modified). + + + + Visits a MemberInitExpression. + + The MemberInitExpression. + The MemberInitExpression (possibly modified). + + + + Visits a MemberListBinding. + + The MemberListBinding. + The MemberListBinding (possibly modified). + + + + Visits a MemberMemberBinding. + + The MemberMemberBinding. + The MemberMemberBinding (possibly modified). + + + + Visits a MethodCallExpression. + + The MethodCallExpression. + The MethodCallExpression (possibly modified). + + + + Visits a NewExpression. + + The NewExpression. + The NewExpression (possibly modified). + + + + Visits a NewArrayExpression. + + The NewArrayExpression. + The NewArrayExpression (possibly modified). + + + + Visits a ParameterExpression. + + The ParameterExpression. + The ParameterExpression (possibly modified). + + + + Visits a TypeBinaryExpression. + + The TypeBinaryExpression. + The TypeBinaryExpression (possibly modified). + + + + Visits a UnaryExpression. + + The UnaryExpression. + The UnaryExpression (possibly modified). + + + + Default, global implementation of an . + + + + + Initializes a new instance of the class. + + + + Gets the serializer for the specified . - The type. - + The type. + The serializer. - - - + + + + Gets the serializer for the specified . + + + + The serializer. + + + + + Registers the serializer. + + The type. + The serializer. + + + Registers the serialization provider. This behaves like a stack, so the last provider registered is the first provider consulted. - The serialization provider. - - - - Registers the serializer. - - The type. - The serializer. - - - - Provides serializers for collections. - - - - - - - MongoDB.Bson.Serialization.CollectionsSerializationProvider - - - - - - - Gets a serializer for a type. - - The type. - The serializer registry. - - A serializer. - - - - - A helper class used to create and compile delegates for creator maps. - - - - - - - MongoDB.Bson.Serialization.CreatorMapDelegateCompiler - - - - - - - Creates and compiles a delegate that calls a constructor. - - The constructor. - A delegate that calls the constructor. - - - - Creates and compiles a delegate from a lambda expression. - - The lambda expression. - The arguments for the delegate's parameters. - The type of the class. - A delegate. - - - - Creates and compiles a delegate that calls a factory method. - - the method. - A delegate that calls the factory method. - - - - Visits a MemberExpression. - - The MemberExpression. - The MemberExpression (possibly modified). - - - - Visits a ParameterExpression. - - The ParameterExpression. - The ParameterExpression (possibly modified). - - - - Provides a serializer for interfaces. - - - - - - - MongoDB.Bson.Serialization.DiscriminatedInterfaceSerializationProvider - - - - - - - Gets a serializer for a type. - - The type. - The serializer registry. - - A serializer. - - - - - An abstract base class for an Expression visitor. - - - - - Initializes a new instance of the ExpressionVisitor class. - - - - - Visits an Expression list. - - The Expression list. - The Expression list (possibly modified). - - - - Visits an Expression. - - The Expression. - The Expression (posibly modified). - - - - Visits a BinaryExpression. - - The BinaryExpression. - The BinaryExpression (possibly modified). - - - - Visits a ConditionalExpression. - - The ConditionalExpression. - The ConditionalExpression (possibly modified). - - - - Visits a ConstantExpression. - - The ConstantExpression. - The ConstantExpression (possibly modified). - - - - Visits an ElementInit. - - The ElementInit. - The ElementInit (possibly modified). - - - - Visits an ElementInit list. - - The ElementInit list. - The ElementInit list (possibly modified). - - - - Visits an InvocationExpression. - - The InvocationExpression. - The InvocationExpression (possibly modified). - - - - Visits a LambdaExpression. - - The LambdaExpression. - The LambdaExpression (possibly modified). - - - - Visits a ListInitExpression. - - The ListInitExpression. - The ListInitExpression (possibly modified). - - - - Visits a MemberExpression. - - The MemberExpression. - The MemberExpression (possibly modified). - - - - Visits a MemberAssignment. - - The MemberAssignment. - The MemberAssignment (possibly modified). - - - - Visits a MemberBinding. - - The MemberBinding. - The MemberBinding (possibly modified). - - - - Visits a MemberBinding list. - - The MemberBinding list. - The MemberBinding list (possibly modified). - - - - Visits a MemberInitExpression. - - The MemberInitExpression. - The MemberInitExpression (possibly modified). - - - - Visits a MemberListBinding. - - The MemberListBinding. - The MemberListBinding (possibly modified). - - - - Visits a MemberMemberBinding. - - The MemberMemberBinding. - The MemberMemberBinding (possibly modified). - - - - Visits a MethodCallExpression. - - The MethodCallExpression. - The MethodCallExpression (possibly modified). - - - - Visits a NewExpression. - - The NewExpression. - The NewExpression (possibly modified). - - - - Visits a NewArrayExpression. - - The NewArrayExpression. - The NewArrayExpression (possibly modified). - - - - Visits a ParameterExpression. - - The ParameterExpression. - The ParameterExpression (possibly modified). - - - - Visits a TypeBinaryExpression. - - The TypeBinaryExpression. - The TypeBinaryExpression (possibly modified). - - - - Visits a UnaryExpression. - - The UnaryExpression. - The UnaryExpression (possibly modified). - - - - Contract for serializers to implement if they serialize an array of items. - - - - - Tries to get the serialization info for the individual items of the array. - - The serialization information. - - true if the serialization info exists; otherwise false. - - - - - Represents an attribute used to modify a class map. - - - - - Applies the attribute to the class map. - - The class map. - - - - Represents an attribute used to modify a creator map. - - - - - Applies the attribute to the creator map. - - The creator map. - - - + The serialization provider. + + + Represents a dictionary serializer that can be used in LINQ queries. - - - + + + Gets the dictionary representation. - - - + + The dictionary representation. + + + + Gets the key serializer. - - - + + The key serializer. + + + + Gets the value serializer. - - - - Contract for composite serializers that contain a number of named serializers. - - - - - Tries to get the serialization info for a member. - - Name of the member. - The serialization information. - - true if the serialization info exists; otherwise false. - - - - Contract for serializers that can get and set Id values. - - - - - Gets the document Id. - - The document. - The Id. - The nominal type of the Id. - The IdGenerator for the Id type. - True if the document has an Id. - - - - Sets the document Id. - - The document. - The Id. - - - - Represents an attribute used to modify a member map. - - - - - Applies the attribute to the member map. - - The member map. - - - + + The value serializer. + + + + An interface implemented by a polymorphic serializer. - - - + + + Gets a value indicating whether this serializer's discriminator is compatible with the object serializer. - - - - Represents an attribute used to post process a class map. - - - - - Applies the post processing attribute to the class map. - - The class map. - - - - An interface implemented by serialization providers. - - - - - Gets a serializer for a type. - - The type. - A serializer. - - - - An interface implemented by a serializer. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Serializes a value. - - The serialization context. - The serialization args. - The value. - - - - Gets the type of the value. - - - - - An interface implemented by a serializer for values of type TValue. - - The type that this serializer knows how to serialize. - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Serializes a value. - - The serialization context. - The serialization args. - The value. - - - - Extensions methods for IBsonSerializer. - - - - - Deserializes a value. - - The serializer. - The deserialization context. - A deserialized value. - - - - Deserializes a value. - - The serializer. - The deserialization context. - The type that this serializer knows how to serialize. - A deserialized value. - - - - Serializes a value. - - The serializer. - The serialization context. - The value. - - - - Serializes a value. - - The serializer. - The serialization context. - The value. - The type that this serializer knows how to serialize. - - - + + true if this serializer's discriminator is compatible with the object serializer; otherwise, false. + + + + A serializer registry. - - - - Gets the serializer for the specified . + + + + Gets the serializer for the specified . - - The serializer. - - - - Gets the serializer for the specified . + The type. + The serializer. + + + + Gets the serializer for the specified . - The type. - The serializer. - - - + + The serializer. + + + Represents a serializer that has a child serializer that configuration attributes can be forwarded to. - - - + + + Gets the child serializer. - - - + + The child serializer. + + + + Returns a serializer that has been reconfigured with the specified child serializer. - The child serializer. - The reconfigured serializer. - - - - Represents a serializer that has a DictionaryRepresentation property. - - - - - Gets the dictionary representation. - - - - - Returns a serializer that has been reconfigured with the specified dictionary representation. - - The dictionary representation. - The reconfigured serializer. - - - - Represents a serializer that has a DictionaryRepresentation property. - - The type of the serializer. - - - - Returns a serializer that has been reconfigured with the specified dictionary representation. - - The dictionary representation. - The reconfigured serializer. - - - - An interface implemented by Id generators. - - - - - Generates an Id for a document. - - The container of the document (will be a MongoCollection when called from the C# driver). - The document. - An Id. - - - - Tests whether an Id is empty. - - The Id. - True if the Id is empty. - - - - An interface implemented by serialization providers that are aware of registries. - - - - - Gets a serializer for a type. - - The type. - The serializer registry. - - A serializer. - - - - - Represents a serializer that has a Representation property. - - - - - Gets the representation. - - - - - Returns a serializer that has been reconfigured with the specified representation. - - The representation. - The reconfigured serializer. - - - - Represents a serializer that has a Representation property. - - The type of the serializer. - - - - Returns a serializer that has been reconfigured with the specified representation. - - The representation. - The reconfigured serializer. - - - - Represents a serializer that has a representation converter. - - - - - Gets the converter. - - - - - Returns a serializer that has been reconfigured with the specified item serializer. - - The converter. - The reconfigured serializer. - - - - Represents a serializer that has a representation converter. - - The type of the serializer. - - - - Returns a serializer that has been reconfigured with the specified item serializer. - - The converter. - The reconfigured serializer. - - - - Provides serializers for primitive types. - - - - - - - MongoDB.Bson.Serialization.PrimitiveSerializationProvider - - - - - - - Gets a serializer for a type. - - The type. - The serializer registry. - - A serializer. - - - - - Represents a serialization provider based on a mapping from value types to serializer types. - - - - - Initializes a new instance of the class. - - - - - Gets a serializer for a type. - - The type. - The serializer registry. - - A serializer. - - - - - Registers the serializer mapping. - - The type. - Type of the serializer. - - - - Supports using type names as discriminators. - - - - - Resolves a type name discriminator. - - The type name. - The type if type type name can be resolved; otherwise, null. - - - - Gets a type name to be used as a discriminator (like AssemblyQualifiedName but shortened for common DLLs). - - The type. - The type name. - - - - Specifies that this constructor should be used for creator-based deserialization. - - - - - Initializes a new instance of the BsonConstructorAttribute class. - - - - - Initializes a new instance of the BsonConstructorAttribute class. - - The names of the members that the creator argument values come from. - - - - Applies a modification to the creator map. - - The creator map. - - - - Gets the names of the members that the creator arguments values come from. - - - - - Specifies serialization options for a DateTime field or property. - - - - - Initializes a new instance of the BsonDateTimeOptionsAttribute class. - - - - - Reconfigures the specified serializer by applying this attribute to it. - - The serializer. - A reconfigured serializer. - - - - Gets or sets whether the DateTime consists of a Date only. - - - - - Gets or sets the DateTimeKind (Local, Unspecified or Utc). - - - - - Gets or sets the external representation. - - - - - Specifies the default value for a field or property. - - - - - Initializes a new instance of the BsonDefaultValueAttribute class. - - The default value. - - - - Applies a modification to the member map. - - The member map. - - - - Gets the default value. - - - - - Gets or sets whether to serialize the default value. - - - - - Specifies serialization options for a Dictionary field or property. - - - - - Initializes a new instance of the BsonDictionaryOptionsAttribute class. - - - - - Initializes a new instance of the BsonDictionaryOptionsAttribute class. - - The representation to use for the Dictionary. - - - - Reconfigures the specified serializer by applying this attribute to it. - - The serializer. - A reconfigured serializer. - - - - Gets or sets the external representation. - - - - - Specifies the discriminator and related options for a class. - - - - - Initializes a new instance of the BsonDiscriminatorAttribute class. - - - - - Initializes a new instance of the BsonDiscriminatorAttribute class. - - The discriminator. - - - - Applies a modification to the class map. - - The class map. - - - - Gets the discriminator. - - - - - Gets or sets whether the discriminator is required. - - - - - Gets or sets whether this is a root class. - - - - - Specifies the element name and related options for a field or property. - - - - - Initializes a new instance of the BsonElementAttribute class. - - - - - Initializes a new instance of the BsonElementAttribute class. - - The name of the element. - - - - Applies a modification to the member map. - - The member map. - - - - Gets the element name. - - - - - Gets the element serialization order. - - - - - Indicates that this property or field will be used to hold any extra elements found during deserialization. - - - - - - - MongoDB.Bson.Serialization.Attributes.BsonExtraElementsAttribute - - - - - - - Applies a modification to the member map. - - The member map. - - - - Specifies that this factory method should be used for creator-based deserialization. - - - - - Initializes a new instance of the BsonFactoryMethodAttribute class. - - - - - Initializes a new instance of the BsonFactoryMethodAttribute class. - - The names of the members that the creator argument values come from. - - - - Applies a modification to the creator map. - - The creator map. - - - - Gets the names of the members that the creator arguments values come from. - - - - - Specifies that this is the Id field or property. - - - - - Initializes a new instance of the BsonIdAttribute class. - - - - - Applies a modification to the member map. - - The member map. - - - - Gets or sets the Id generator for the Id. - - - - - Gets or sets the Id element serialization order. - - - - - Indicates that this field or property should be ignored when this class is serialized. - - - - - - - MongoDB.Bson.Serialization.Attributes.BsonIgnoreAttribute - - - - - - - Specifies whether extra elements should be ignored when this class is deserialized. - - - - - Initializes a new instance of the BsonIgnoreExtraElementsAttribute class. - - - - - Initializes a new instance of the BsonIgnoreExtraElementsAttribute class. - - Whether extra elements should be ignored when this class is deserialized. - - - - Applies a modification to the class map. - - The class map. - - - - Gets whether extra elements should be ignored when this class is deserialized. - - - - - Gets whether extra elements should also be ignored when any class derived from this one is deserialized. - - - - - Indicates whether a field or property equal to the default value should be ignored when serializing this class. - - - - - Initializes a new instance of the BsonIgnoreIfDefaultAttribute class. - - - - - Initializes a new instance of the BsonIgnoreIfDefaultAttribute class. - - Whether a field or property equal to the default value should be ignored when serializing this class. - - - - Applies a modification to the member map. - - The member map. - - - - Gets whether a field or property equal to the default value should be ignored when serializing this class. - - - - - Indicates whether a field or property equal to null should be ignored when serializing this class. - - - - - Initializes a new instance of the BsonIgnoreIfNullAttribute class. - - - - - Initializes a new instance of the BsonIgnoreIfNullAttribute class. - - Whether a field or property equal to null should be ignored when serializing this class. - - - - Applies a modification to the member map. - - The member map. - - - - Gets whether a field or property equal to null should be ignored when serializing this class. - - - - - Specifies the known types for this class (the derived classes). - - - - - Initializes a new instance of the BsonKnownTypesAttribute class. - - A known types. - - - - Initializes a new instance of the BsonKnownTypesAttribute class. - - One or more known types. - - - - Applies a modification to the class map. - - The class map. - - - - Gets a list of the known types. - - - - - Specifies that the class's IdMember should be null. - - - - - - - MongoDB.Bson.Serialization.Attributes.BsonNoIdAttribute - - - - - - - Applies the post processing attribute to the class map. - - The class map. - - - - Specifies the external representation and related options for this field or property. - - - - - Initializes a new instance of the BsonRepresentationAttribute class. - - The external representation. - - - - Gets or sets whether to allow overflow. - - - - - Gets or sets whether to allow truncation. - - - - - Reconfigures the specified serializer by applying this attribute to it. - - The serializer. - A reconfigured serializer. - - - - Gets the external representation. - - - - - Indicates that a field or property is required. - - - - - - - MongoDB.Bson.Serialization.Attributes.BsonRequiredAttribute - - - - - - - Applies a modification to the member map. - - The member map. - - - - Abstract base class for serialization options attributes. - - - - - Initializes a new instance of the BsonSerializationOptionsAttribute class. - - - - - Applies a modification to the member map. - - The member map. - - - - Reconfigures the specified serializer by applying this attribute to it. - - The serializer. - A reconfigured serializer. - - - - - Specifies the type of the serializer to use for a class. - - - - - Initializes a new instance of the BsonSerializerAttribute class. - - - - - Initializes a new instance of the BsonSerializerAttribute class. - - The type of the serializer to use for a class. - - - - Applies a modification to the member map. - - The member map. - - - - Gets or sets the type of the serializer to use for a class. - - - - - Specifies the external representation and related options for this field or property. - - - - - Initializes a new instance of the BsonTimeSpanOptionsAttribute class. - - The external representation. - - - - Initializes a new instance of the BsonTimeSpanOptionsAttribute class. - - The external representation. - The TimeSpanUnits. - - - - Reconfigures the specified serializer by applying this attribute to it. - - The serializer. - A reconfigured serializer. - - - - Gets the external representation. - - - - - Gets or sets the TimeSpanUnits. - - - - - Convention pack for applying attributes. - - - - - Gets the conventions. - - - - - Gets the instance. - - - - - A convention that sets the element name the same as the member name with the first character lower cased. - - - - - - - MongoDB.Bson.Serialization.Conventions.CamelCaseElementNameConvention - - - - - - - Applies a modification to the member map. - - The member map. - - - - Base class for a convention. - - - - - Initializes a new instance of the ConventionBase class. - - - - - Initializes a new instance of the ConventionBase class. - - The name of the convention. - - - - Gets the name of the convention. - - - - - A mutable pack of conventions. - - - - - Initializes a new instance of the class. - - - - - Adds the specified convention. - - The convention. - - - - - Adds a class map convention created using the specified action upon a class map. - - The name of the convention. - The action the convention should take upon the class map. - - - - Adds a member map convention created using the specified action upon a member map. - - The name of the convention. - The action the convention should take upon the member map. - - - - Adds a post processing convention created using the specified action upon a class map. - - The name of the convention. - The action the convention should take upon the class map. - - - - Adds a range of conventions. - - The conventions. - - - - - Appends the conventions in another pack to the end of this pack. - - The other pack. - - - - Gets the conventions. - - - - - Gets an enumerator for the conventions. - - An enumerator. - - - - Inserts the convention after another convention specified by the name. - - The name. - The convention. - - - - Inserts the convention before another convention specified by the name. - - The name. - The convention. - - - - Removes the named convention. - - The name of the convention. - - - - Represents a registry of conventions. - - - - - Looks up the effective set of conventions that apply to a type. - - The type. - The conventions for that type. - - - - Registers the conventions. - - The name. - The conventions. - The filter. - - - - Removes the conventions specified by the given name. - - The name. - - - - Runs the conventions against a BsonClassMap and its BsonMemberMaps. - - - - - Initializes a new instance of the class. - - The conventions. - - - - Applies a modification to the class map. - - The class map. - - - - Convention pack of defaults. - - - - - Gets the conventions. - - - - - Gets the instance. - - - - - A class map convention that wraps a delegate. - - - - - Initializes a new instance of the class. - - The name. - The delegate. - - - - Applies a modification to the class map. - - The class map. - - - - A member map convention that wraps a delegate. - - - - - Initializes a new instance of the class. - - The name. - The delegate. - - - - Applies a modification to the member map. - - The member map. - - - - A post processing convention that wraps a delegate. - - - - - Initializes a new instance of the class. - - The name. - The delegate. - - - - Applies a post processing modification to the class map. - - The class map. - - - - A convention that allows you to set the Enum serialization representation - - - - - Initializes a new instance of the class. - - The serialization representation. 0 is used to detect representation - from the enum itself. - - - - Applies a modification to the member map. - - The member map. - - - - Represents a discriminator convention where the discriminator is an array of all the discriminators provided by the class maps of the root class down to the actual type. - - - - - Initializes a new instance of the HierarchicalDiscriminatorConvention class. - - The element name. - - - - Gets the discriminator value for an actual type. - - The nominal type. - The actual type. - The discriminator value. - - - - Represents a convention that applies to a BsonClassMap. - - - - - Applies a modification to the class map. - - The class map. - - - - Represents a convention. - - - - - Gets the name of the convention. - - - - - Represents a grouping of conventions. - - - - - Gets the conventions. - - - - - Represents a convention that applies to a BsonCreatorMap. - - - - - Applies a modification to the creator map. - - The creator map. - - - - Represents a discriminator convention. - - - - - Gets the discriminator element name. - - - - - Gets the actual type of an object by reading the discriminator from a BsonReader. - - The reader. - The nominal type. - The actual type. - - - - Gets the discriminator value for an actual type. - - The nominal type. - The actual type. - The discriminator value. - - - - A convention that sets whether to ignore extra elements encountered during deserialization. - - - - - Initializes a new instance of the class. - - Whether to ignore extra elements encountered during deserialization. - - - - Applies a modification to the class map. - - The class map. - - - - A convention that sets whether to ignore default values during serialization. - - - - - Initializes a new instance of the class. - - Whether to ignore default values during serialization. - - - - Applies a modification to the member map. - - The member map. - - - - A convention that sets whether to ignore nulls during serialization. - - - - - Initializes a new instance of the class. - - Whether to ignore nulls during serialization. - - - - Applies a modification to the member map. - - The member map. - - - - Represents a convention that applies to a BsonMemberMap. - - - - - Applies a modification to the member map. - - The member map. - - - - Represents a post processing convention that applies to a BsonClassMap. - - - - - Applies a post processing modification to the class map. - - The class map. - - - - A convention that looks up an id generator for the id member. - - - - - - - MongoDB.Bson.Serialization.Conventions.LookupIdGeneratorConvention - - - - - - - Applies a post processing modification to the class map. - - The class map. - - - - A convention that sets the default value for members of a given type. - - - - - Initializes a new instance of the class. - - The type of the member. - The default value for members of this type. - - - - Applies a modification to the member map. - - The member map. - - - - A convention that sets the element name the same as the member name. - - - - - - - MongoDB.Bson.Serialization.Conventions.MemberNameElementNameConvention - - - - - - - Applies a modification to the member map. - - The member map. - - - - A convention that finds the extra elements member by name (and that is also of type or ). - - - - - Initializes a new instance of the class. - - The names. - - - - Initializes a new instance of the class. - - The names. - The binding flags. - - - - Initializes a new instance of the class. - - The names. - The member types. - - - - Initializes a new instance of the class. - - The names. - The member types. - The binding flags. - - - - - Initializes a new instance of the NamedExtraElementsMemberConvention class. - - The name of the extra elements member. - - - - Applies a modification to the class map. - - The class map. - - - - A convention that finds the id member by name. - - - - - Initializes a new instance of the class. - - The names. - - - - Initializes a new instance of the class. - - The names. - The binding flags. - - - - Initializes a new instance of the class. - - The names. - The member types. - - - - Initializes a new instance of the class. - - The names. - The member types. - The binding flags. - - - - - Initializes a new instance of the class. - - The names. - - - - Applies a modification to the class map. - - The class map. - - - - A convention that uses the names of the creator parameters to find the matching members. - - - - - - - MongoDB.Bson.Serialization.Conventions.NamedParameterCreatorMapConvention - - - - - - - Applies a modification to the creator map. - - The creator map. - - - - A convention that sets a class's IdMember to null. - - - - - - - MongoDB.Bson.Serialization.Conventions.NoIdMemberConvention - - - - - - - Applies a post processing modification to the class map. - - The class map. - - - - Represents the object discriminator convention. - - - - - Initializes a new instance of the ObjectDiscriminatorConvention class. - - The element name. - - - - Gets the discriminator element name. - - - - - Gets the actual type of an object by reading the discriminator from a BsonReader. - - The reader. - The nominal type. - The actual type. - - - - Gets the discriminator value for an actual type. - - The nominal type. - The actual type. - The discriminator value. - - - - Gets an instance of the ObjectDiscriminatorConvention. - - - - - A convention that finds readable and writeable members and adds them to the class map. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The binding flags. - - - - Initializes a new instance of the class. - - The member types. - - - - Initializes a new instance of the class. - - The member types. - The binding flags. - - - - Applies a modification to the class map. - - The class map. - - - - A convention that resets a class map (resetting any changes that earlier conventions may have applied). - - - - - - - MongoDB.Bson.Serialization.Conventions.ResetClassMapConvention - - - - - - - Applies a modification to the class map. - - The class map. - - - - A convention that resets class members (resetting any changes that earlier conventions may have applied). - - - - - - - MongoDB.Bson.Serialization.Conventions.ResetMemberMapsConvention - - - - - - - Applies a modification to the member map. - - The member map. - - - - Represents a discriminator convention where the discriminator is provided by the class map of the actual type. - - - - - Initializes a new instance of the ScalarDiscriminatorConvention class. - - The element name. - - - - Gets the discriminator value for an actual type. - - The nominal type. - The actual type. - The discriminator value. - - - - Represents the standard discriminator conventions (see ScalarDiscriminatorConvention and HierarchicalDiscriminatorConvention). - - - - - Initializes a new instance of the StandardDiscriminatorConvention class. - - The element name. - - - - Gets the discriminator element name. - - - - - Gets the actual type of an object by reading the discriminator from a BsonReader. - - The reader. - The nominal type. - The actual type. - - - - Gets the discriminator value for an actual type. - - The nominal type. - The actual type. - The discriminator value. - - - - Gets an instance of the HierarchicalDiscriminatorConvention. - - - - - Gets an instance of the ScalarDiscriminatorConvention. - - - - - A convention that sets the id generator for a string member with a BSON representation of ObjectId. - - - - - - - MongoDB.Bson.Serialization.Conventions.StringObjectIdIdGeneratorConvention - - - - - - - Applies a post processing modification to the class map. - - The class map. - - - + The child serializer. + The reconfigured serializer. + + + A GUID generator that generates GUIDs in ascending order. To enable an index to make use of the ascending nature make sure to use GuidRepresentation.Standard @@ -15594,5474 +9530,12160 @@ 2 bytes: low order bytes of process Id 3 bytes: increment - - - - - - MongoDB.Bson.Serialization.IdGenerators.AscendingGuidGenerator - - - - - - - Generates a Guid for a document. Note - this is purely used for - unit testing + + + + Gets an instance of AscendingGuidGenerator. - The time portion of the Guid - A 5 byte array with the first 3 bytes - representing a machine id and the next 2 representing a process - id - The increment portion of the Guid. Used - to distinguish between 2 Guids that have the timestamp. Note - only the least significant 3 bytes are used. - A Guid. - - - + + + Generates an ascending Guid for a document. Consecutive invocations should generate Guids that are ascending from a MongoDB perspective - The container of the document (will be a + The container of the document (will be a MongoCollection when called from the driver). - The document it was generated for. - A Guid. - - - - Gets an instance of AscendingGuidGenerator. + The document it was generated for. + A Guid. + + + + Generates a Guid for a document. Note - this is purely used for + unit testing - - - + The time portion of the Guid + A 5 byte array with the first 3 bytes + representing a machine id and the next 2 representing a process + id + The increment portion of the Guid. Used + to distinguish between 2 Guids that have the timestamp. Note + only the least significant 3 bytes are used. + A Guid. + + + Tests whether an id is empty. - The id to test. - True if the Id is empty. False otherwise - - - + The id to test. + True if the Id is empty. False otherwise + + + + Gets the current process id. This method exists because of how + CAS operates on the call stack, checking for permissions before + executing the method. Hence, if we inlined this call, the calling + method would not execute before throwing an exception requiring the + try/catch at an even higher level that we don't necessarily control. + + + + Represents an Id generator for Guids stored in BsonBinaryData values. - - - + + + Initializes a new instance of the BsonBinaryDataGuidGenerator class. - The GuidRepresentation to use when generating new Id values. - - - + The GuidRepresentation to use when generating new Id values. + + + Gets an instance of BsonBinaryDataGuidGenerator for CSharpLegacy GuidRepresentation. - - - - Generates an Id for a document. - - The container of the document (will be a MongoCollection when called from the C# driver). - The document. - An Id. - - - - Gets the instance of BsonBinaryDataGuidGenerator for a GuidRepresentation. - - The GuidRepresentation. - The instance of BsonBinaryDataGuidGenerator for a GuidRepresentation. - - - - Tests whether an Id is empty. - - The Id. - True if the Id is empty. - - - + + + Gets an instance of BsonBinaryDataGuidGenerator for JavaLegacy GuidRepresentation. - - - + + + Gets an instance of BsonBinaryDataGuidGenerator for PythonLegacy GuidRepresentation. - - - + + + Gets an instance of BsonBinaryDataGuidGenerator for Standard GuidRepresentation. - - - + + + Gets an instance of BsonBinaryDataGuidGenerator for Unspecifed GuidRepresentation. - - - + + + + Gets the instance of BsonBinaryDataGuidGenerator for a GuidRepresentation. + + The GuidRepresentation. + The instance of BsonBinaryDataGuidGenerator for a GuidRepresentation. + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + Represents an Id generator for BsonObjectIds. - - - + + + Initializes a new instance of the BsonObjectIdGenerator class. - - - - Generates an Id for a document. - - The container of the document (will be a MongoCollection when called from the C# driver). - The document. - An Id. - - - + + + Gets an instance of ObjectIdGenerator. - - - + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + Tests whether an Id is empty. - The Id. - True if the Id is empty. - - - + The Id. + True if the Id is empty. + + + Represents an Id generator for Guids using the COMB algorithm. - - - + + + Initializes a new instance of the CombGuidGenerator class. - - - - Generates an Id for a document. - - The container of the document (will be a MongoCollection when called from the C# driver). - The document. - An Id. - - - + + + Gets an instance of CombGuidGenerator. - - - + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + Tests whether an Id is empty. - The Id. - True if the Id is empty. - - - + The Id. + True if the Id is empty. + + + Create a new CombGuid from a given Guid and timestamp. - The base Guid. - The timestamp. - A new CombGuid created by combining the base Guid with the timestamp. - - - + The base Guid. + The timestamp. + A new CombGuid created by combining the base Guid with the timestamp. + + + Represents an Id generator for Guids. - - - + + + Initializes a new instance of the GuidGenerator class. - - - - Generates an Id for a document. - - The container of the document (will be a MongoCollection when called from the C# driver). - The document. - An Id. - - - + + + Gets an instance of GuidGenerator. - - - + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + Tests whether an Id is empty. - The Id. - True if the Id is empty. - - - + The Id. + True if the Id is empty. + + + Represents an Id generator that only checks that the Id is not null. - - - + + + Initializes a new instance of the NullIdChecker class. - - - - Generates an Id for a document. - - The container of the document (will be a MongoCollection when called from the C# driver). - The document. - An Id. - - - + + + Gets an instance of NullIdChecker. - - - + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + Tests whether an Id is empty. - The Id. - True if the Id is empty. - - - + The Id. + True if the Id is empty. + + + Represents an Id generator for ObjectIds. - - - + + + Initializes a new instance of the ObjectIdGenerator class. - - - - Generates an Id for a document. - - The container of the document (will be a MongoCollection when called from the C# driver). - The document. - An Id. - - - + + + Gets an instance of ObjectIdGenerator. - - - + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + Tests whether an Id is empty. - The Id. - True if the Id is empty. - - - + The Id. + True if the Id is empty. + + + Represents an Id generator for ObjectIds represented internally as strings. - - - + + + Initializes a new instance of the StringObjectIdGenerator class. - - - - Generates an Id for a document. - - The container of the document (will be a MongoCollection when called from the C# driver). - The document. - An Id. - - - + + + Gets an instance of StringObjectIdGenerator. - - - - Tests whether an Id is empty. - - The Id. - True if the Id is empty. - - - - Represents an Id generator that only checks that the Id is not all zeros. - - The type of the Id. - - - - Initializes a new instance of the ZeroIdChecker class. - - - - + + + Generates an Id for a document. - The container of the document (will be a MongoCollection when called from the C# driver). - The document. - An Id. - - - + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + Tests whether an Id is empty. - The Id. - True if the Id is empty. - - - + The Id. + True if the Id is empty. + + + + Represents an Id generator that only checks that the Id is not all zeros. + + The type of the Id. + + + + Initializes a new instance of the ZeroIdChecker class. + + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Represents a serializer that has a DictionaryRepresentation property. + + + + + Gets the dictionary representation. + + + The dictionary representation. + + + + + Returns a serializer that has been reconfigured with the specified dictionary representation. + + The dictionary representation. + The reconfigured serializer. + + + + Represents a serializer that has a DictionaryRepresentation property. + + The type of the serializer. + + + + Returns a serializer that has been reconfigured with the specified dictionary representation. + + The dictionary representation. + The reconfigured serializer. + + + + Represents a serializer that has a Representation property. + + + + + Gets the representation. + + + The representation. + + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer that has a Representation property. + + The type of the serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer that has a representation converter. + + + + + Gets the converter. + + + The converter. + + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Represents a serializer that has a representation converter. + + The type of the serializer. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + Represents the representation to use for dictionaries. - - - + + + Represent the dictionary as a Document. - - - + + + Represent the dictionary as an array of arrays. - - - + + + Represent the dictionary as an array of documents. - - - + + + Represents the external representation of a field or property. - - - + + + Initializes a new instance of the RepresentationConverter class. - Whether to allow overflow. - Whether to allow truncation. - - - + Whether to allow overflow. + Whether to allow truncation. + + + Gets whether to allow overflow. - - - + + + Gets whether to allow truncation. - - - + + + + Converts a Decimal128 to a Decimal. + + A Decimal128. + A Decimal. + + + Converts a Double to a Decimal. - A Double. - A Decimal. - - - + A Double. + A Decimal. + + + Converts an Int32 to a Decimal. - An Int32. - A Decimal. - - - + An Int32. + A Decimal. + + + Converts an Int64 to a Decimal. - An Int64. - A Decimal. - - - + An Int64. + A Decimal. + + + + Converts a decimal to a Decimal128. + + A decimal. + A Decimal128. + + + + Converts a Double to a Decimal128. + + A Double. + A Decimal128. + + + + Converts an Int32 to a Decimal128. + + An Int32. + A Decimal128. + + + + Converts an Int64 to a Decimal128. + + An Int64. + A Decimal128. + + + + Converts a UInt64 to a Decimal128. + + A UInt64. + A Decimal128. + + + Converts a Decimal to a Double. - A Decimal. - A Double. - - - + A Decimal. + A Double. + + + + Converts a Decimal128 to a Double. + + A Decimal. + A Double. + + + Converts a Double to a Double. - A Double. - A Double. - - - - Converts an Int16 to a Double. - - An Int16. - A Double. - - - - Converts an Int32 to a Double. - - An Int32. - A Double. - - - - Converts an Int64 to a Double. - - An Int64. - A Double. - - - + A Double. + A Double. + + + Converts a Single to a Double. - A Single. - A Double. - - - - Converts a UInt16 to a Double. + A Single. + A Double. + + + + Converts an Int32 to a Double. - A UInt16. - A Double. - - - + An Int32. + A Double. + + + + Converts an Int64 to a Double. + + An Int64. + A Double. + + + + Converts an Int16 to a Double. + + An Int16. + A Double. + + + Converts a UInt32 to a Double. - A UInt32. - A Double. - - - + A UInt32. + A Double. + + + Converts a UInt64 to a Double. - A UInt64. - A Double. - - - + A UInt64. + A Double. + + + + Converts a UInt16 to a Double. + + A UInt16. + A Double. + + + + Converts a Decimal128 to an Int16. + + A Decimal128. + An Int16. + + + Converts a Double to an Int16. - A Double. - An Int16. - - - + A Double. + An Int16. + + + Converts an Int32 to an Int16. - An Int32. - An Int16. - - - + An Int32. + An Int16. + + + Converts an Int64 to an Int16. - An Int64. - An Int16. - - - + An Int64. + An Int16. + + + Converts a Decimal to an Int32. - A Decimal. - An Int32. - - - + A Decimal. + An Int32. + + + + Converts a Decimal128 to an Int32. + + A Decimal128. + An Int32. + + + Converts a Double to an Int32. - A Double. - An Int32. - - - - Converts an Int16 to an Int32. - - An Int16. - An Int32. - - - - Converts an Int32 to an Int32. - - An Int32. - An Int32. - - - - Converts an Int64 to an Int32. - - An Int64. - An Int32. - - - + A Double. + An Int32. + + + Converts a Single to an Int32. - A Single. - An Int32. - - - - Converts a UInt16 to an Int32. + A Single. + An Int32. + + + + Converts an Int32 to an Int32. - A UInt16. - An Int32. - - - + An Int32. + An Int32. + + + + Converts an Int64 to an Int32. + + An Int64. + An Int32. + + + + Converts an Int16 to an Int32. + + An Int16. + An Int32. + + + Converts a UInt32 to an Int32. - A UInt32. - An Int32. - - - + A UInt32. + An Int32. + + + Converts a UInt64 to an Int32. - A UInt64. - An Int32. - - - + A UInt64. + An Int32. + + + + Converts a UInt16 to an Int32. + + A UInt16. + An Int32. + + + Converts a Decimal to an Int64. - A Decimal. - An Int64. - - - + A Decimal. + An Int64. + + + + Converts a Decimal128 to an Int64. + + A Decimal128. + An Int64. + + + Converts a Double to an Int64. - A Double. - An Int64. - - - - Converts an Int16 to an Int64. - - An Int16. - An Int64. - - - - Converts an Int32 to an Int64. - - An Int32. - An Int64. - - - - Converts an Int64 to an Int64. - - An Int64. - An Int64. - - - + A Double. + An Int64. + + + Converts a Single to an Int64. - A Single. - An Int64. - - - - Converts a UInt16 to an Int64. + A Single. + An Int64. + + + + Converts an Int32 to an Int64. - A UInt16. - An Int64. - - - + An Int32. + An Int64. + + + + Converts an Int64 to an Int64. + + An Int64. + An Int64. + + + + Converts an Int16 to an Int64. + + An Int16. + An Int64. + + + Converts a UInt32 to an Int64. - A UInt32. - An Int64. - - - + A UInt32. + An Int64. + + + Converts a UInt64 to an Int64. - A UInt64. - An Int64. - - - + A UInt64. + An Int64. + + + + Converts a UInt16 to an Int64. + + A UInt16. + An Int64. + + + + Converts a Decimal128 to a Single. + + A Decimal128. + A Single. + + + Converts a Double to a Single. - A Double. - A Single. - - - + A Double. + A Single. + + + Converts an Int32 to a Single. - An Int32. - A Single. - - - + An Int32. + A Single. + + + Converts an Int64 to a Single. - An Int64. - A Single. - - - + An Int64. + A Single. + + + + Converts a Decimal128 to a UInt16. + + A Decimal128. + A UInt16. + + + Converts a Double to a UInt16. - A Double. - A UInt16. - - - + A Double. + A UInt16. + + + Converts an Int32 to a UInt16. - An Int32. - A UInt16. - - - + An Int32. + A UInt16. + + + Converts an Int64 to a UInt16. - An Int64. - A UInt16. - - - + An Int64. + A UInt16. + + + + Converts a Decimal128 to a UInt32. + + A Decimal128. + A UInt32. + + + Converts a Double to a UInt32. - A Double. - A UInt32. - - - + A Double. + A UInt32. + + + Converts an Int32 to a UInt32. - An Int32. - A UInt32. - - - + An Int32. + A UInt32. + + + Converts an Int64 to a UInt32. - An Int64. - A UInt32. - - - + An Int64. + A UInt32. + + + + Converts a Decimal128 to a UInt64. + + A Decimal128. + A UInt64. + + + Converts a Double to a UInt64. - A Double. - A UInt64. - - - + A Double. + A UInt64. + + + Converts an Int32 to a UInt64. - An Int32. - A UInt64. - - - + An Int32. + A UInt64. + + + Converts an Int64 to a UInt64. - An Int64. - A UInt64. - - - + An Int64. + A UInt64. + + + Represents the units a TimeSpan is serialized in. - - - + + + Use ticks as the units. - - - + + + Use days as the units. - - - + + + Use hours as the units. - - - + + + Use minutes as the units. - - - + + + Use seconds as the units. - - - + + + Use milliseconds as the units. - - - + + + Use microseconds as the units. - - - + + + Use nanoseconds as the units. - - - + + + + Provides a serializer for interfaces. + + + + + + + + Provides serializers for primitive types. + + + + + + + + Base class for serialization providers. + + + + + + + + + + + Creates the serializer from a serializer type definition and type arguments. + + The serializer type definition. + The type arguments. + A serializer. + + + + Creates the serializer from a serializer type definition and type arguments. + + The serializer type definition. + The type arguments. + The serializer registry. + + A serializer. + + + + + Creates the serializer. + + The serializer type. + A serializer. + + + + Creates the serializer. + + The serializer type. + The serializer registry. + + A serializer. + + + + Represents a serializer for an abstract class. - The type of the class. - - - - - - MongoDB.Bson.Serialization.Serializers.AbstractClassSerializer`1 - - - - - - - Represents a serializer for one-dimensional arrays. - - The type of the elements. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The item serializer. - - - - Initializes a new instance of the class. - - The serializer registry. - - - - Adds the item. - - The accumulator. - The item. - - - - Creates the accumulator. - - The accumulator. - - - - Enumerates the items in serialization order. - - The value. - The items. - - - - Finalizes the result. - - The accumulator. - The result. - - - - Returns a serializer that has been reconfigured with the specified item serializer. - - The item serializer. - The reconfigured serializer. - - - + The type of the class. + + + Represents a serializer for BitArrays. - - - - Initializes a new instance of the class. + + + + Initializes a new instance of the class. - - - - Initializes a new instance of the class. + + + + Initializes a new instance of the class. - The representation. - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - + The representation. + + + Gets the representation. - - - + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + Serializes a value. - The serialization context. - The serialization args. - The value. - - - + The serialization context. + The serialization args. + The value. + + + Returns a serializer that has been reconfigured with the specified representation. - The representation. - The reconfigured serializer. - - - + The representation. + The reconfigured serializer. + + + Represents a serializer for Booleans. - - - - Initializes a new instance of the class. + + + + Initializes a new instance of the class. - - - - Initializes a new instance of the class. + + + + Initializes a new instance of the class. - The representation. - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - + The representation. + + + Gets the representation. - - - + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + Serializes a value. - The serialization context. - The serialization args. - The object. - - - + The serialization context. + The serialization args. + The object. + + + Returns a serializer that has been reconfigured with the specified representation. - The representation. - The reconfigured serializer. - - - + The representation. + The reconfigured serializer. + + + Represents a serializer for BsonArrays. - - - + + + Initializes a new instance of the BsonArraySerializer class. - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - + + + Gets an instance of the BsonArraySerializer class. - - - - Serializes a value. + + + + Deserializes a value. - The serialization context. - The serialization args. - The object. - - - + The deserialization context. + The deserialization args. + A deserialized value. + + + Tries to get the serialization info for the individual items of the array. - The serialization information. - - true if the serialization info exists; otherwise false. + The serialization information. + + true if the serialization info exists; otherwise false. - - - + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + Represents a serializer for BsonBinaryDatas. - - - + + + Initializes a new instance of the BsonBinaryDataSerializer class. - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - + + + Gets an instance of the BsonBinaryDataSerializer class. - - - + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + Serializes a value. - The serialization context. - The serialization args. - The object. - - - - Represents a serializer for BsonBooleans. + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonDecimal128s. - - - + + + Initializes a new instance of the BsonBooleanSerializer class. - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - + + + Gets an instance of the BsonBooleanSerializer class. - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Represents a serializer for BsonDateTimes. - - - - - Initializes a new instance of the BsonDateTimeSerializer class. - - - - + + + Deserializes a value. - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets an instance of the BsonDateTimeSerializer class. - - - - + The deserialization context. + The deserialization args. + A deserialized value. + + + Serializes a value. - The serialization context. - The serialization args. - The object. - - - - Represents a serializer for BsonDocuments. + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonBooleans. - - - - Initializes a new instance of the BsonDocumentSerializer class. + + + + Initializes a new instance of the BsonBooleanSerializer class. - - - + + + + Gets an instance of the BsonBooleanSerializer class. + + + + Deserializes a value. - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets the document Id. - - The document. - The Id. - The nominal type of the Id. - The IdGenerator for the Id type. - True if the document has an Id. - - - - Gets an instance of the BsonDocumentSerializer class. - - - - + The deserialization context. + The deserialization args. + A deserialized value. + + + Serializes a value. - The serialization context. - The serialization args. - The object. - - - - Sets the document Id. - - The document. - The Id. - - - - Tries to get the serialization info for a member. - - Name of the member. - The serialization information. - - true if the serialization info exists; otherwise false. - - - - - Represents a serializer for BsonDocumentWrappers. - - - - - Initializes a new instance of the BsonDocumentWrapperSerializer class. - - - - - Deserializes a class. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Deserializes a class. - - The deserialization context. - The deserialization args. - An object. - - - - Gets an instance of the BsonDocumentWrapperSerializer class. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Represents a serializer for BsonDoubles. - - - - - Initializes a new instance of the BsonDoubleSerializer class. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets an instance of the BsonDoubleSerializer class. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Represents a serializer for BsonInt32s. - - - - - Initializes a new instance of the BsonInt32Serializer class. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets an instance of the BsonInt32Serializer class. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Represents a serializer for BsonInt64s. - - - - - Initializes a new instance of the BsonInt64Serializer class. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets an instance of the BsonInt64Serializer class. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Represents a serializer for BsonJavaScripts. - - - - - Initializes a new instance of the BsonJavaScriptSerializer class. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets an instance of the BsonJavaScriptSerializer class. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Represents a serializer for BsonJavaScriptWithScopes. - - - - - Initializes a new instance of the BsonJavaScriptWithScopeSerializer class. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets an instance of the BsonJavaScriptWithScopeSerializer class. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Represents a serializer for BsonMaxKeys. - - - - - Initializes a new instance of the BsonMaxKeySerializer class. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets an instance of the BsonMaxKeySerializer class. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Represents a serializer for BsonMinKeys. - - - - - Initializes a new instance of the BsonMinKeySerializer class. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets an instance of the BsonMinKeySerializer class. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Represents a serializer for BsonNulls. - - - - - Initializes a new instance of the BsonNullSerializer class. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets an instance of the BsonNullSerializer class. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Represents a serializer for BsonObjectIds. - - - - - Initializes a new instance of the BsonObjectIdSerializer class. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets an instance of the BsonObjectIdSerializer class. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Represents a serializer for BsonRegularExpressions. - - - - - Initializes a new instance of the BsonRegularExpressionSerializer class. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets an instance of the BsonRegularExpressionSerializer class. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Represents a serializer for BsonStrings. - - - - - Initializes a new instance of the BsonStringSerializer class. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets an instance of the BsonStringSerializer class. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Represents a serializer for BsonSymbols. - - - - - Initializes a new instance of the BsonSymbolSerializer class. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets an instance of the BsonSymbolSerializer class. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Represents a serializer for BsonTimestamps. - - - - - Initializes a new instance of the BsonTimestampSerializer class. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets an instance of the BsonTimestampSerializer class. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Represents a serializer for BsonUndefineds. - - - - - Initializes a new instance of the BsonUndefinedSerializer class. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets an instance of the BsonUndefinedSerializer class. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Represents a serializer for a BsonValue that can round trip C# null and implements IBsonArraySerializer and IBsonDocumentSerializer. - - The type of the bson value. - - - - Initializes a new instance of the class. - - The wrapped serializer. - - - - Tries to get the serialization info for the individual items of the array. - - The serialization information. - - The serialization info for the items. - - - - - Tries to get the serialization info for a member. - - Name of the member. - The serialization information. - - true if the serialization info exists; otherwise false. - - - - - Represents a serializer for a BsonValue that can round trip C# null and implements IBsonArraySerializer. - - The type of the bson value. - - - - Initializes a new instance of the class. - - The wrapped serializer. - - - - Tries to get the serialization info for the individual items of the array. - - The serialization information. - - true if the serialization info exists; otherwise false. - - - - - Represents a serializer for a BsonValue that can round trip C# null and implements IBsonDocumentSerializer. - - The type of the bson value. - - - - Initializes a new instance of the class. - - The wrapped serializer. - - - - Tries to get the serialization info for a member. - - Name of the member. - The serialization information. - - true if the serialization info exists; otherwise false. - - - - - Represents a serializer for a BsonValue that can round trip C# null. - - The type of the BsonValue. - - - - Initializes a new instance of the class. - - The wrapped serializer. - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Represents a serializer for BsonValues. - - - - - Initializes a new instance of the BsonValueSerializer class. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets an instance of the BsonValueSerializer class. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Tries to get the serialization info for the individual items of the array. - - The serialization information. - - true if the serialization info exists; otherwise false. - - - - - Tries to get the serialization info for a member. - - Name of the member. - The serialization information. - - true if the serialization info exists; otherwise false. - - - - - Represents a base class for BsonValue serializers. - - The type of the BsonValue. - - - - Initializes a new instance of the class. - - The Bson type. - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Represents a serializer for ByteArrays. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The representation. - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets the representation. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Returns a serializer that has been reconfigured with the specified representation. - - The representation. - The reconfigured serializer. - - - - Represents a serializer for Bytes. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The representation. - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets the representation. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Returns a serializer that has been reconfigured with the specified representation. - - The representation. - The reconfigured serializer. - - - - Represents a serializer for Chars. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The representation. - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets the representation. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Returns a serializer that has been reconfigured with the specified representation. - - The representation. - The reconfigured serializer. - - - - Represents an abstract base class for class serializers. - - The type of the value. - - - - - - MongoDB.Bson.Serialization.Serializers.ClassSerializerBase`1 - - - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Deserializes a class. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets the actual type. - - The context. - The actual type. - - - - Serializes a value. - - The serialization context. - The serialization args. - The value. - - - - Serializes a value of type {TValue}. - - The serialization context. - The serialization args. - The value. - - - - Represents a serializer for CultureInfos. - - - - - Initializes a new instance of the CultureInfoSerializer class. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Represents a serializer for DateTimeOffsets. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The representation. - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets the representation. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Returns a serializer that has been reconfigured with the specified representation. - - The representation. - The reconfigured serializer. - - - - Represents a serializer for DateTimes. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The representation. - - - - Initializes a new instance of the class. - - if set to true [date only]. - - - - Initializes a new instance of the class. - - if set to true [date only]. - The representation. - - - - Initializes a new instance of the class. - - The kind. - - - - Initializes a new instance of the class. - - The kind. - The representation. - - - - Gets whether this DateTime consists of a Date only. - - - - - Gets an instance of DateTimeSerializer with DateOnly=true. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets the DateTimeKind (Local, Unspecified or Utc). - - - - - Gets an instance of DateTimeSerializer with Kind=Local. - - - - - Gets the external representation. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Gets an instance of DateTimeSerializer with Kind=Utc. - - - - - Returns a serializer that has been reconfigured with the specified dateOnly value. - - if set to true the values will be required to be Date's only (zero time component). - - The reconfigured serializer. - - - - - Returns a serializer that has been reconfigured with the specified dateOnly value and representation. - - if set to true the values will be required to be Date's only (zero time component). - The representation. - - The reconfigured serializer. - - - - - Returns a serializer that has been reconfigured with the specified DateTimeKind value. - - The DateTimeKind. - - The reconfigured serializer. - - - - - Returns a serializer that has been reconfigured with the specified DateTimeKind value and representation. - - The DateTimeKind. - The representation. - - The reconfigured serializer. - - - - - Returns a serializer that has been reconfigured with the specified representation. - - The representation. - The reconfigured serializer. - - - - Represents a serializer for Decimals. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The representation. - - - - Initializes a new instance of the class. - - The representation. - The converter. - - - + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for Decimal128s. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + Gets the converter. - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - + + The converter. + + + + Gets the representation. - - - + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + Serializes a value. - The serialization context. - The serialization args. - The object. - - - + The serialization context. + The serialization args. + The object. + + + Returns a serializer that has been reconfigured with the specified item serializer. - The converter. - The reconfigured serializer. - - - + The converter. + The reconfigured serializer. + + + Returns a serializer that has been reconfigured with the specified representation. - The representation. - The reconfigured serializer. - - - - Represents a serializer for a class that implements IDictionary. - - The type of the dictionary. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The dictionary representation. - - - - Initializes a new instance of the class. - - The dictionary representation. - The key serializer. - The value serializer. - - - - Creates the instance. - - The instance. - - - - Returns a serializer that has been reconfigured with the specified dictionary representation. - - The dictionary representation. - The reconfigured serializer. - - - - Returns a serializer that has been reconfigured with the specified dictionary representation and key value serializers. - - The dictionary representation. - The key serializer. - The value serializer. - The reconfigured serializer. - - - - Returns a serializer that has been reconfigured with the specified key serializer. - - The key serializer. - The reconfigured serializer. - - - - Returns a serializer that has been reconfigured with the specified value serializer. - - The value serializer. - The reconfigured serializer. - - - - Represents a serializer for a class that implements . - - The type of the dictionary. - The type of the key. - The type of the value. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The dictionary representation. - - - - Initializes a new instance of the class. - - The dictionary representation. - The key serializer. - The value serializer. - - - - Creates the instance. - - The instance. - - - - Returns a serializer that has been reconfigured with the specified dictionary representation. - - The dictionary representation. - The reconfigured serializer. - - - - Returns a serializer that has been reconfigured with the specified dictionary representation and key value serializers. - - The dictionary representation. - The key serializer. - The value serializer. - The reconfigured serializer. - - - - Returns a serializer that has been reconfigured with the specified key serializer. - - The key serializer. - The reconfigured serializer. - - - - Returns a serializer that has been reconfigured with the specified value serializer. - - The value serializer. - The reconfigured serializer. - - - - Represents a serializer for dictionaries. - - The type of the dictionary. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The dictionary representation. - - - - Initializes a new instance of the class. - - The dictionary representation. - The key serializer. - The value serializer. - - - - Creates the instance. - - The instance. - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets the dictionary representation. - - - - - Gets the key serializer. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Tries to get the serialization info for a member. - - Name of the member. - The serialization information. - - true if the serialization info exists; otherwise false. - - - - Gets the value serializer. - - - - - Represents a serializer for dictionaries. - - The type of the dictionary. - The type of the keys. - The type of the values. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The dictionary representation. - - - - Initializes a new instance of the class. - - The dictionary representation. - The key serializer. - The value serializer. - - - - Initializes a new instance of the class. - - The dictionary representation. - The serializer registry. - - - - Creates the instance. - - The instance. - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets the dictionary representation. - - - - - Gets the key serializer. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Tries to get the serialization info for a member. - - Name of the member. - The serialization information. - - true if the serialization info exists; otherwise false. - - - - Gets the value serializer. - - - - - Represents a serializer for Interfaces. - - The type of the interface. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The discriminator convention. - interfaceType - interfaceType - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The document. - - - - Represents a serializer that serializes values as a discriminator/value pair. - - The type of the value. - - - - Initializes a new instance of the class. - - The discriminator convention. - The wrapped serializer. - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Determines whether the reader is positioned at a discriminated wrapper. - - The context. - True if the reader is positioned at a discriminated wrapper. - - - - Serializes a value. - - The serialization context. - The serialization args. - The value. - - - - Represents a serializer for Doubles. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The representation. - - - - Initializes a new instance of the class. - - The representation. - The converter. - - - - Gets the converter. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets the representation. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Returns a serializer that has been reconfigured with the specified item serializer. - - The converter. - The reconfigured serializer. - - - - Returns a serializer that has been reconfigured with the specified representation. - - The representation. - The reconfigured serializer. - - - - Base serializer for dynamic types. - - The dynamic type. - - - - Initializes a new instance of the class. - - - - - Configures the deserialization context. - - The builder. - - - - Configures the serialization context. - - The builder. - - - - Creates the document. - - A - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Sets the value for the member. - - The document. - Name of the member. - The value. - - - - Tries to get the value for a member. Returns true if the member should be serialized. - - The document. - Name of the member. - The value. - - true if the member should be serialized; otherwise false. - - - - Represents a serializer for a class that implements IEnumerable. - - The type of the value. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The item serializer. - - - - Initializes a new instance of the class. - - - - - - Creates the accumulator. - - The accumulator. - - - - Returns a serializer that has been reconfigured with the specified item serializer. - - The item serializer. - The reconfigured serializer. - - - - Represents a serializer for a class that implementes . - - The type of the value. - The type of the item. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The item serializer. - - - - Initializes a new instance of the class. - - The serializer registry. - - - - Creates the accumulator. - - The accumulator. - - - - Finalizes the result. - - The accumulator. - The final result. - - - - Returns a serializer that has been reconfigured with the specified item serializer. - - The item serializer. - The reconfigured serializer. - - - - Represents a serializer for enumerable values. - - The type of the value. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The item serializer. - - - - Initializes a new instance of the class. - - The serializer registry. - - - - Adds the item. - - The accumulator. - The item. - - - - Enumerates the items in serialization order. - - The value. - The items. - - - - Finalizes the result. - - The accumulator. - The result. - - - - Represents a serializer for enumerable values. - - The type of the value. - The type of the items. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The item serializer. - - - - Initializes a new instance of the class. - - The serializer registry. - - - - Adds the item. - - The accumulator. - The item. - - - - Enumerates the items in serialization order. - - The value. - The items. - - - - Finalizes the result. - - The accumulator. - The result. - - - - Represents a base serializer for enumerable values. - - The type of the value. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The item serializer. - - - - Initializes a new instance of the class. - - The serializer registry. - - - - Adds the item. - - The accumulator. - The item. - - - - Creates the accumulator. - - The accumulator. - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Enumerates the items in serialization order. - - The value. - The items. - - - - Finalizes the result. - - The accumulator. - The final result. - - - - Gets the item serializer. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Tries to get the serialization info for the individual items of the array. - - The serialization information. - - true if the serialization info exists; otherwise false. - - - - - Represents a serializer for enumerable values. - - The type of the value. - The type of the items. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The item serializer. - - - - Initializes a new instance of the class. - - The serializer registry. - - - - Adds the item. - - The accumulator. - The item. - - - - Creates the accumulator. - - The accumulator. - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Enumerates the items in serialization order. - - The value. - The items. - - - - Finalizes the result. - - The accumulator. - The result. - - - - Gets the item serializer. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Tries to get the serialization info for the individual items of the array. - - The serialization information. - - The serialization info for the items. - - - - - Represents a serializer for enums. - - The type of the enum. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The representation. - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets the representation. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Returns a serializer that has been reconfigured with the specified representation. - - The representation. - The reconfigured serializer. - - - - Serializer for . - - - - - Initializes a new instance of the class. - - - - - Configures the deserialization context. - - The builder. - - - - Configures the serialization context. - - The builder. - - - - Creates the document. - - - A . - - - - - Sets the value for the member. - - The document. - Name of the member. - The value. - - - - Tries to get the value for a member. Returns true if the member should be serialized. - - The value. - Name of the member. - The member value. - - true if the member should be serialized; otherwise false. - - - - Represents a serializer for Guids. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The representation. - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets the representation. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Returns a serializer that has been reconfigured with the specified representation. - - The representation. - The reconfigured serializer. - - - - Represents a serializer for Interfaces. - - The type of the interface. - The type of the implementation. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The implementation serializer. - - - - Initializes a new instance of the class. - - The serializer registry. - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - - Gets the dictionary representation. - - - - - - Gets the implementation serializer. - - - - - Gets the key serializer. - - - - - - Serializes a value. - - The serialization context. - The serialization args. - The document. - - - - Tries to get the serialization info for the individual items of the array. - - The serialization information. - - true if the serialization info exists; otherwise false. - - - - - Tries to get the serialization info for a member. - - Name of the member. - The serialization information. - - true if the serialization info exists; otherwise false. - - - - - Gets the value serializer. - - - - - - Returns a serializer that has been reconfigured with the specified implementation serializer. - - The implementation serializer. - - The reconfigured serializer. - - - - - Represents a serializer for Int16s. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The representation. - - - - Initializes a new instance of the class. - - The representation. - The converter. - - - - Gets the converter. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets the representation. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Returns a serializer that has been reconfigured with the specified item serializer. - - The converter. - The reconfigured serializer. - - - - Returns a serializer that has been reconfigured with the specified representation. - - The representation. - The reconfigured serializer. - - - - Represents a serializer for Int32. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The representation. - - - - Initializes a new instance of the class. - - The representation. - The converter. - - - - Gets the converter. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets the representation. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Returns a serializer that has been reconfigured with the specified item serializer. - - The converter. - The reconfigured serializer. - - - - Returns a serializer that has been reconfigured with the specified representation. - - The representation. - The reconfigured serializer. - - - - Represents a serializer for Int64s. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The representation. - - - - Initializes a new instance of the class. - - The representation. - The converter. - - - - Gets the converter. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets the representation. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Returns a serializer that has been reconfigured with the specified item serializer. - - The converter. - The reconfigured serializer. - - - - Returns a serializer that has been reconfigured with the specified representation. - - The representation. - The reconfigured serializer. - - - - Represents a serializer for IPAddresses. - - - - - Initializes a new instance of the class. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Represents a serializer for IPEndPoints. - - - - - Initializes a new instance of the IPEndPointSerializer class. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Represents a serializer for KeyValuePairs. - - The type of the keys. - The type of the values. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The representation. - - - - Initializes a new instance of the class. - - The representation. - The key serializer. - The value serializer. - - - - Initializes a new instance of the class. - - The representation. - The serializer registry. - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets the key serializer. - - - - - Gets the representation. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Gets the value serializer. - - - - - Represents a serializer for LazyBsonArrays. - - - - - Initializes a new instance of the class. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Represents a serializer for LazyBsonDocuments. - - - - - Initializes a new instance of the class. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Represents a serializer for nullable values. - - The underlying type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The serializer. - - - - Initializes a new instance of the class. - - The serializer registry. - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Returns a serializer that has been reconfigured with the specified serializer. - - The serializer. - - The reconfigured serializer. - - - - - Represents a serializer for ObjectIds. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The representation. - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets the representation. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Returns a serializer that has been reconfigured with the specified representation. - - The representation. - The reconfigured serializer. - - - - Represents a serializer for objects. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The discriminator convention. - discriminatorConvention - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets the standard instance. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - + The representation. + The reconfigured serializer. + + + Represents a serializer for a BsonDocument with some parts raw. - - - - Initializes a new instance of the class. + + + + Initializes a new instance of the class. - The name. - The raw serializer. - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - + The name. + The raw serializer. + + + + + + Wraps a serializer and projects using a function. - The type of from. - The type of to. - - - - Initializes a new instance of the class. + The type of from. + The type of to. + + + + Initializes a new instance of the class. - From serializer. - The projector. - - - + From serializer. + The projector. + + + Deserializes a value. - The deserialization context. - The deserialization args. - A deserialized value. - - - - Represents a serializer for Queues. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The item serializer. - - - - Initializes a new instance of the class. - - - - - - Adds the item. - - The accumulator. - The item. - - - - Creates the accumulator. - - The accumulator. - - - - Enumerates the items. - - The value. - The items. - - - - Finalizes the result. - - The instance. - The result. - - - - Returns a serializer that has been reconfigured with the specified item serializer. - - The item serializer. - The reconfigured serializer. - - - - Represents a serializer for Queues. - - The type of the elements. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The item serializer. - - - - Initializes a new instance of the class. - - The serializer registry. - - - - Adds the item. - - The accumulator. - The item. - - - - Creates the accumulator. - - The accumulator. - - - - Enumerates the items in serialization order. - - The value. - The items. - - - - Finalizes the result. - - The accumulator. - The result. - - - - Returns a serializer that has been reconfigured with the specified item serializer. - - The item serializer. - The reconfigured serializer. - - - - Represents a serializer for RawBsonArrays. - - - - - Initializes a new instance of the class. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Represents a serializer for RawBsonDocuments. - - - - - Initializes a new instance of the class. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets the instance. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Represents a serializer for readonly collection. - - The type of the item. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The item serializer. - - - - Initializes a new instance of the class. - - The serializer registry. - - - - Creates the accumulator. - - The accumulator. - - - - Finalizes the result. - - The accumulator. - The final result. - - - - Returns a serializer that has been reconfigured with the specified item serializer. - - The item serializer. - The reconfigured serializer. - - - - Represents a serializer for a subclass of ReadOnlyCollection. - - The type of the value. - The type of the item. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - Initializes a new instance of the class. - - The serializer registry. - - - - Creates the accumulator. - - The accumulator. - - - - Finalizes the result. - - The accumulator. - The final result. - - - - Represents a serializer for SBytes. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The representation. - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets the representation. - - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Returns a serializer that has been reconfigured with the specified representation. - - The representation. - The reconfigured serializer. - - - - Represents an abstract base class for sealed class serializers. - - The type of the value. - - - - - - MongoDB.Bson.Serialization.Serializers.SealedClassSerializerBase`1 - - - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Deserializes a class. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Serializes a value. - - The serialization context. - The serialization args. - The value. - - - - Serializes a value of type {TValue}. - - The serialization context. - The serialization args. - The value. - - - - Represents a serializer for a class that will be serialized as if it were one of its base classes. - - The actual type. - The nominal type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The base class serializer. - - - - Initializes a new instance of the class. - - The serializer registry. - - - - Serializes a value. - - The serialization context. - The serialization args. - The value. - - - - Represents an abstract base class for serializers. - - The type of the value. - - - - - - MongoDB.Bson.Serialization.Serializers.SerializerBase`1 - - - - - - - Creates an exception to throw when a type cannot be deserialized. - - An exception. - - - - Creates an exception to throw when a type cannot be deserialized. - - An exception. - - - - Creates an exception to throw when a type cannot be deserialized from a BsonType. - - The BSON type. - An exception. - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - A deserialized value. - - - - Ensures that the BsonType equals the expected type. - - The reader. - The expected type. - - - - Serializes a value. - - The serialization context. - The serialization args. - The value. - - - - Gets the type of the values. - - - - + The deserialization context. + The deserialization args. + A deserialized value. + + + Represents a helper for serializers. - - - - Initializes a new instance of the class. + + + + Initializes a new instance of the class. - The members. - - - + The members. + + + Deserializes the members. - The deserialization context. - The member handler. - The found member flags. - - - + The deserialization context. + The member handler. + The found member flags. + + + Represents information about a member. - - - + + + Initializes a new instance of the class. - The name of the element. - The flag. - Whether the member is optional. - - - - Gets the name of the element. - - - - + The name of the element. + The flag. + Whether the member is optional. + + + Gets the flag. - - - + + The flag. + + + + + Gets the name of the element. + + + The name of the element. + + + + Gets a value indicating whether this member is optional. - - - - Represents a serializer for Singles. + Whether this member is optional. + + + + Represents a serializer that serializes values as a discriminator/value pair. - - - - Initializes a new instance of the class. + The type of the value. + + + + Initializes a new instance of the class. - - - - Initializes a new instance of the class. - - The representation. - - - - Initializes a new instance of the class. - - The representation. - The converter. - - - - Gets the converter. - - - - + The discriminator convention. + The wrapped serializer. + + + Deserializes a value. - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets the representation. + The deserialization context. + The deserialization args. + A deserialized value. + + + + Determines whether the reader is positioned at a discriminated wrapper. - - - + The context. + True if the reader is positioned at a discriminated wrapper. + + + Serializes a value. - The serialization context. - The serialization args. - The object. - - - - Returns a serializer that has been reconfigured with the specified item serializer. + The serialization context. + The serialization args. + The value. + + + + Represents an abstract base class for serializers. - The converter. - The reconfigured serializer. - - - - Returns a serializer that has been reconfigured with the specified representation. + The type of the value. + + + + Gets the type of the values. - The representation. - The reconfigured serializer. - - - - Represents a serializer for Stacks. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The item serializer. - - - - Initializes a new instance of the class. - - The serializer registry. - - - - Adds the item. - - The accumulator. - The item. - - - - Creates the accumulator. - - The accumulator. - - - - Enumerates the items in serialization order. - - The value. - The items. - - - - Finalizes the result. - - The accumulator. - The result. - - - - Returns a serializer that has been reconfigured with the specified item serializer. - - The item serializer. - The reconfigured serializer. - - - - Represents a serializer for Stacks. - - The type of the elements. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The item serializer. - - - - Initializes a new instance of the class. - - The serializer registry. - - - - Adds the item. - - The accumulator. - The item. - - - - Creates the accumulator. - - The accumulator. - - - - Enumerates the items in serialization order. - - The value. - The items. - - - - Finalizes the result. - - The accumulator. - The result. - - - - Returns a serializer that has been reconfigured with the specified item serializer. - - The item serializer. - The reconfigured serializer. - - - - Represents a serializer for Strings. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The representation. - - - + + The type of the values. + + + + Deserializes a value. - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets the representation. - - - - + The deserialization context. + The deserialization args. + A deserialized value. + + + Serializes a value. - The serialization context. - The serialization args. - The object. - - - - Returns a serializer that has been reconfigured with the specified representation. + The serialization context. + The serialization args. + The value. + + + + Creates an exception to throw when a type cannot be deserialized. - The representation. - The reconfigured serializer. - - - + An exception. + + + + Creates an exception to throw when a type cannot be deserialized. + + An exception. + + + + Creates an exception to throw when a type cannot be deserialized from a BsonType. + + The BSON type. + An exception. + + + + Ensures that the BsonType equals the expected type. + + The reader. + The expected type. + + + + Represents an abstract base class for sealed class serializers. + + The type of the value. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Deserializes a class. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value of type {TValue}. + + The serialization context. + The serialization args. + The value. + + + Represents an abstract base class for struct serializers. - The type of the value. - - - - - - MongoDB.Bson.Serialization.Serializers.StructSerializerBase`1 - - - - - - - Represents a serializer for three-dimensional arrays. + The type of the value. + + + + Represents a serializer for a BsonValue that can round trip C# null. - The type of the elements. - - - - Initializes a new instance of the class. + The type of the BsonValue. + + + + Initializes a new instance of the class. - - - - Initializes a new instance of the class. - - The item serializer. - - - - Initializes a new instance of the class. - - The serializer registry. - - - + The wrapped serializer. + + + Deserializes a value. - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets the item serializer. - - - - + The deserialization context. + The deserialization args. + A deserialized value. + + + Serializes a value. - The serialization context. - The serialization args. - The object. - - - - Returns a serializer that has been reconfigured with the specified item serializer. + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for a BsonValue that can round trip C# null and implements IBsonArraySerializer and IBsonDocumentSerializer. - The item serializer. - The reconfigured serializer. - - - - Represents a serializer for Timespans. + The type of the bson value. + + + + Initializes a new instance of the class. - - - - Initializes a new instance of the class. + The wrapped serializer. + + + + Tries to get the serialization info for the individual items of the array. - - - - Initializes a new instance of the class. + The serialization information. + + The serialization info for the items. + + + + + Tries to get the serialization info for a member. - The representation. - - - - Initializes a new instance of the class. + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Represents a serializer for a BsonValue that can round trip C# null and implements IBsonArraySerializer. - The representation. - The units. - - - + The type of the bson value. + + + + Initializes a new instance of the class. + + The wrapped serializer. + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Represents a serializer for a BsonValue that can round trip C# null and implements IBsonDocumentSerializer. + + The type of the bson value. + + + + Initializes a new instance of the class. + + The wrapped serializer. + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Represents a serializer for BsonDateTimes. + + + + + Initializes a new instance of the BsonDateTimeSerializer class. + + + + + Gets an instance of the BsonDateTimeSerializer class. + + + + Deserializes a value. - The deserialization context. - The deserialization args. - A deserialized value. - - - + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonDocuments. + + + + + Initializes a new instance of the BsonDocumentSerializer class. + + + + + Gets an instance of the BsonDocumentSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the document Id. + + The document. + The Id. + The nominal type of the Id. + The IdGenerator for the Id type. + True if the document has an Id. + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Sets the document Id. + + The document. + The Id. + + + + Represents a serializer for BsonDocumentWrappers. + + + + + Initializes a new instance of the BsonDocumentWrapperSerializer class. + + + + + Gets an instance of the BsonDocumentWrapperSerializer class. + + + + + Deserializes a class. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Deserializes a class. + + The deserialization context. + The deserialization args. + An object. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonDoubles. + + + + + Initializes a new instance of the BsonDoubleSerializer class. + + + + + Gets an instance of the BsonDoubleSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonInt32s. + + + + + Initializes a new instance of the BsonInt32Serializer class. + + + + + Gets an instance of the BsonInt32Serializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonInt64s. + + + + + Initializes a new instance of the BsonInt64Serializer class. + + + + + Gets an instance of the BsonInt64Serializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonJavaScripts. + + + + + Initializes a new instance of the BsonJavaScriptSerializer class. + + + + + Gets an instance of the BsonJavaScriptSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonJavaScriptWithScopes. + + + + + Initializes a new instance of the BsonJavaScriptWithScopeSerializer class. + + + + + Gets an instance of the BsonJavaScriptWithScopeSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonMaxKeys. + + + + + Initializes a new instance of the BsonMaxKeySerializer class. + + + + + Gets an instance of the BsonMaxKeySerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonMinKeys. + + + + + Initializes a new instance of the BsonMinKeySerializer class. + + + + + Gets an instance of the BsonMinKeySerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonNulls. + + + + + Initializes a new instance of the BsonNullSerializer class. + + + + + Gets an instance of the BsonNullSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonObjectIds. + + + + + Initializes a new instance of the BsonObjectIdSerializer class. + + + + + Gets an instance of the BsonObjectIdSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonRegularExpressions. + + + + + Initializes a new instance of the BsonRegularExpressionSerializer class. + + + + + Gets an instance of the BsonRegularExpressionSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonStrings. + + + + + Initializes a new instance of the BsonStringSerializer class. + + + + + Gets an instance of the BsonStringSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonSymbols. + + + + + Initializes a new instance of the BsonSymbolSerializer class. + + + + + Gets an instance of the BsonSymbolSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonTimestamps. + + + + + Initializes a new instance of the BsonTimestampSerializer class. + + + + + Gets an instance of the BsonTimestampSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonUndefineds. + + + + + Initializes a new instance of the BsonUndefinedSerializer class. + + + + + Gets an instance of the BsonUndefinedSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonValues. + + + + + Initializes a new instance of the BsonValueSerializer class. + + + + + Gets an instance of the BsonValueSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a base class for BsonValue serializers. + + The type of the BsonValue. + + + + Initializes a new instance of the class. + + The Bson type. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for ByteArrays. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + Gets the representation. - - - + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + Serializes a value. - The serialization context. - The serialization args. - The object. - - - - Gets the units. - - - - + The serialization context. + The serialization args. + The object. + + + Returns a serializer that has been reconfigured with the specified representation. - The representation. - The reconfigured serializer. - - - - Returns a serializer that has been reconfigured with the specified representation and units. + The representation. + The reconfigured serializer. + + + + Represents a serializer for Bytes. - The representation. - The units. - + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Chars. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for CultureInfos. + + + + + Initializes a new instance of the CultureInfoSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for DateTimeOffsets. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for DateTimes. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + if set to true [date only]. + + + + Initializes a new instance of the class. + + if set to true [date only]. + The representation. + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The kind. + + + + Initializes a new instance of the class. + + The kind. + The representation. + + + + Gets an instance of DateTimeSerializer with DateOnly=true. + + + + + Gets an instance of DateTimeSerializer with Kind=Local. + + + + + Gets an instance of DateTimeSerializer with Kind=Utc. + + + + + Gets whether this DateTime consists of a Date only. + + + + + Gets the DateTimeKind (Local, Unspecified or Utc). + + + + + Gets the external representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified dateOnly value. + + if set to true the values will be required to be Date's only (zero time component). + The reconfigured serializer. - - - - Represents a serializer for a . - - The type of item 1. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The Item1 serializer. - - - - Initializes a new instance of the class. - - The serializer registry. - - - - Deserializes the value. - - The context. - The deserialization args. - A deserialized value. - - - - Gets the Item1 serializer. - - - - - Serializes the value. - - The serialization context. - The serialization args. - The value. - - - - Represents a serializer for a . - - The type of item 1. - The type of item 2. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The Item1 serializer. - The Item2 serializer. - - - - Initializes a new instance of the class. - - The serializer registry. - - - - Deserializes the value. - - The context. - The deserialization args. - A deserialized value. - - - - Gets the Item1 serializer. - - - - - Gets the Item2 serializer. - - - - - Serializes the value. - - The serialization context. - The serialization args. - The value. - - - - Represents a serializer for a . - - The type of item 1. - The type of item 2. - The type of item 3. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The Item1 serializer. - The Item2 serializer. - The Item3 serializer. - - - - Initializes a new instance of the class. - - The serializer registry. - - - - Deserializes the value. - - The context. - The deserialization args. - A deserialized value. - - - - Gets the Item1 serializer. - - - - - Gets the Item2 serializer. - - - - - Gets the Item3 serializer. - - - - - Serializes the value. - - The serialization context. - The serialization args. - The value. - - - - Represents a serializer for a . - - The type of item 1. - The type of item 2. - The type of item 3. - The type of item 4. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The Item1 serializer. - The Item2 serializer. - The Item3 serializer. - The Item4 serializer. - - - - Initializes a new instance of the class. - - The serializer registry. - - - - Deserializes the value. - - The context. - The deserialization args. - A deserialized value. - - - - Gets the Item1 serializer. - - - - - Gets the Item2 serializer. - - - - - Gets the Item3 serializer. - - - - - Gets the Item4 serializer. - - - - - Serializes the value. - - The serialization context. - The serialization args. - The value. - - - - Represents a serializer for a . - - The type of item 1. - The type of item 2. - The type of item 3. - The type of item 4. - The type of item 5. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The Item1 serializer. - The Item2 serializer. - The Item3 serializer. - The Item4 serializer. - The Item5 serializer. - - - - Initializes a new instance of the class. - - The serializer registry. - - - - Deserializes the value. - - The context. - The deserialization args. - A deserialized value. - - - - Gets the Item1 serializer. - - - - - Gets the Item2 serializer. - - - - - Gets the Item3 serializer. - - - - - Gets the Item4 serializer. - - - - - Gets the Item5 serializer. - - - - - Serializes the value. - - The serialization context. - The serialization args. - The value. - - - - Represents a serializer for a . - - The type of item 1. - The type of item 2. - The type of item 3. - The type of item 4. - The type of item 5. - The type of item 6. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The Item1 serializer. - The Item2 serializer. - The Item3 serializer. - The Item4 serializer. - The Item5 serializer. - The Item6 serializer. - - - - Initializes a new instance of the class. - - The serializer registry. - - - - Deserializes the value. - - The context. - The deserialization args. - A deserialized value. - - - - Gets the Item1 serializer. - - - - - Gets the Item2 serializer. - - - - - Gets the Item3 serializer. - - - - - Gets the Item4 serializer. - - - - - Gets the Item5 serializer. - - - - - Gets the Item6 serializer. - - - - - Serializes the value. - - The serialization context. - The serialization args. - The value. - - - - Represents a serializer for a . - - The type of item 1. - The type of item 2. - The type of item 3. - The type of item 4. - The type of item 5. - The type of item 6. - The type of item 7. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The Item1 serializer. - The Item2 serializer. - The Item3 serializer. - The Item4 serializer. - The Item5 serializer. - The Item6 serializer. - The Item7 serializer. - - - - Initializes a new instance of the class. - - The serializer registry. - - - - Deserializes the value. - - The context. - The deserialization args. - A deserialized value. - - - - Gets the Item1 serializer. - - - - - Gets the Item2 serializer. - - - - - Gets the Item3 serializer. - - - - - Gets the Item4 serializer. - - - - - Gets the Item5 serializer. - - - - - Gets the Item6 serializer. - - - - - Gets the Item7 serializer. - - - - - Serializes the value. - - The serialization context. - The serialization args. - The value. - - - - Represents a serializer for a . - - The type of item 1. - The type of item 2. - The type of item 3. - The type of item 4. - The type of item 5. - The type of item 6. - The type of item 7. - The type of the rest item. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The Item1 serializer. - The Item2 serializer. - The Item3 serializer. - The Item4 serializer. - The Item5 serializer. - The Item6 serializer. - The Item7 serializer. - The Rest serializer. - - - - Initializes a new instance of the class. - - The serializer registry. - - - - Deserializes the value. - - The context. - The deserialization args. - A deserialized value. - - - - Gets the Item1 serializer. - - - - - Gets the Item2 serializer. - - - - - Gets the Item3 serializer. - - - - - Gets the Item4 serializer. - - - - - Gets the Item5 serializer. - - - - - Gets the Item6 serializer. - - - - - Gets the Item7 serializer. - - - - - Gets the Rest serializer. - - - - - Serializes the value. - - The serialization context. - The serialization args. - The value. - - - - Represents a serializer for two-dimensional arrays. - - The type of the elements. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The item serializer. - - - - Initializes a new instance of the class. - - The serializer registry. - - - + + + + Returns a serializer that has been reconfigured with the specified dateOnly value and representation. + + if set to true the values will be required to be Date's only (zero time component). + The representation. + + The reconfigured serializer. + + + + + Returns a serializer that has been reconfigured with the specified DateTimeKind value. + + The DateTimeKind. + + The reconfigured serializer. + + + + + Returns a serializer that has been reconfigured with the specified DateTimeKind value and representation. + + The DateTimeKind. + The representation. + + The reconfigured serializer. + + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Decimals. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + The converter. + + + + + Gets the representation. + + + The representation. + + + + Deserializes a value. - The deserialization context. - The deserialization args. - A deserialized value. - - - + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for a class that implements IDictionary. + + The type of the dictionary. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The dictionary representation. + + + + Initializes a new instance of the class. + + The dictionary representation. + The key serializer. + The value serializer. + + + + Returns a serializer that has been reconfigured with the specified dictionary representation. + + The dictionary representation. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified dictionary representation and key value serializers. + + The dictionary representation. + The key serializer. + The value serializer. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified key serializer. + + The key serializer. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified value serializer. + + The value serializer. + The reconfigured serializer. + + + + Creates the instance. + + The instance. + + + + Represents a serializer for a class that implements . + + The type of the dictionary. + The type of the key. + The type of the value. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The dictionary representation. + + + + Initializes a new instance of the class. + + The dictionary representation. + The key serializer. + The value serializer. + + + + Returns a serializer that has been reconfigured with the specified dictionary representation. + + The dictionary representation. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified dictionary representation and key value serializers. + + The dictionary representation. + The key serializer. + The value serializer. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified key serializer. + + The key serializer. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified value serializer. + + The value serializer. + The reconfigured serializer. + + + + Creates the instance. + + The instance. + + + + Represents a serializer for dictionaries. + + The type of the dictionary. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The dictionary representation. + + + + Initializes a new instance of the class. + + The dictionary representation. + The key serializer. + The value serializer. + + + + Gets the dictionary representation. + + + The dictionary representation. + + + + + Gets the key serializer. + + + The key serializer. + + + + + Gets the value serializer. + + + The value serializer. + + + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Creates the instance. + + The instance. + + + + Represents a serializer for dictionaries. + + The type of the dictionary. + The type of the keys. + The type of the values. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The dictionary representation. + + + + Initializes a new instance of the class. + + The dictionary representation. + The key serializer. + The value serializer. + + + + Initializes a new instance of the class. + + The dictionary representation. + The serializer registry. + + + + Gets the dictionary representation. + + + The dictionary representation. + + + + + Gets the key serializer. + + + The key serializer. + + + + + Gets the value serializer. + + + The value serializer. + + + + + + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Creates the instance. + + The instance. + + + + Represents a serializer for Interfaces. + + The type of the interface. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The discriminator convention. + interfaceType + interfaceType + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The document. + + + + Represents a serializer for Doubles. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + The converter. + + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Base serializer for dynamic types. + + The dynamic type. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Configures the deserialization context. + + The builder. + + + + Configures the serialization context. + + The builder. + + + + Creates the document. + + A + + + + Sets the value for the member. + + The document. + Name of the member. + The value. + + + + Tries to get the value for a member. Returns true if the member should be serialized. + + The document. + Name of the member. + The value. + true if the member should be serialized; otherwise false. + + + + Represents a serializer for a class that implements IEnumerable. + + The type of the value. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Creates the accumulator. + + The accumulator. + + + + Represents a serializer for a class that implementes . + + The type of the value. + The type of the item. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Creates the accumulator. + + The accumulator. + + + + Finalizes the result. + + The accumulator. + The final result. + + + + Represents a serializer for enumerable values. + + The type of the value. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Adds the item. + + The accumulator. + The item. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The result. + + + + Represents a serializer for enumerable values. + + The type of the value. + The type of the items. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Adds the item. + + The accumulator. + The item. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The result. + + + + Represents a base serializer for enumerable values. + + The type of the value. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + Gets the item serializer. - - - - Serializes a value. - - The serialization context. - The serialization args. - The object. - - - - Returns a serializer that has been reconfigured with the specified item serializer. - - The item serializer. - The reconfigured serializer. - - - - Represents a serializer for UInt16s. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The representation. - - - - Initializes a new instance of the class. - - The representation. - The converter. - - - - Gets the converter. - - - - + + The item serializer. + + + + Deserializes a value. - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets the representation. + The deserialization context. + The deserialization args. + A deserialized value. + + + + Tries to get the serialization info for the individual items of the array. - - - + The serialization information. + + true if the serialization info exists; otherwise false. + + + + Serializes a value. - The serialization context. - The serialization args. - The object. - - - - Returns a serializer that has been reconfigured with the specified item serializer. + The serialization context. + The serialization args. + The object. + + + + Adds the item. - The converter. - The reconfigured serializer. - - - - Returns a serializer that has been reconfigured with the specified representation. + The accumulator. + The item. + + + + Creates the accumulator. - The representation. - The reconfigured serializer. - - - - Represents a serializer for UInt32s. + The accumulator. + + + + Enumerates the items in serialization order. - - - - Initializes a new instance of the class. + The value. + The items. + + + + Finalizes the result. - - - - Initializes a new instance of the class. + The accumulator. + The final result. + + + + Represents a serializer for enumerable values. - The representation. - - - - Initializes a new instance of the class. + The type of the value. + The type of the items. + + + + Initializes a new instance of the class. - The representation. - The converter. - - - - Gets the converter. + + + + Initializes a new instance of the class. - - - + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the item serializer. + + + The item serializer. + + + + Deserializes a value. - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets the representation. + The deserialization context. + The deserialization args. + A deserialized value. + + + + Tries to get the serialization info for the individual items of the array. - - - + The serialization information. + + The serialization info for the items. + + + + Serializes a value. - The serialization context. - The serialization args. - The object. - - - - Returns a serializer that has been reconfigured with the specified item serializer. + The serialization context. + The serialization args. + The object. + + + + Adds the item. - The converter. - The reconfigured serializer. - - - - Returns a serializer that has been reconfigured with the specified representation. + The accumulator. + The item. + + + + Creates the accumulator. - The representation. - The reconfigured serializer. - - - - Represents a serializer for UInt64s. + The accumulator. + + + + Enumerates the items in serialization order. - - - - Initializes a new instance of the class. + The value. + The items. + + + + Finalizes the result. - - - - Initializes a new instance of the class. + The accumulator. + The result. + + + + Serializer for . - The representation. - - - - Initializes a new instance of the class. + + The use of will serialize any without type information. + To get the best experience out of using an , any member wanting to be used + as an array should use . + + + + + Initializes a new instance of the class. - The representation. - The converter. - - - - Gets the converter. + + + + Configures the deserialization context. - - - + The builder. + + + + Configures the serialization context. + + The builder. + + + + Creates the document. + + + A . + + + + + Sets the value for the member. + + The document. + Name of the member. + The value. + + + + Tries to get the value for a member. Returns true if the member should be serialized. + + The value. + Name of the member. + The member value. + true if the member should be serialized; otherwise false. + + + + Represents a serializer for Guids. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Gets the representation. + + + The representation. + + + + Deserializes a value. - The deserialization context. - The deserialization args. - A deserialized value. - - - - Gets the representation. - - - - + The deserialization context. + The deserialization args. + A deserialized value. + + + Serializes a value. - The serialization context. - The serialization args. - The object. - - - - Returns a serializer that has been reconfigured with the specified item serializer. - - The converter. - The reconfigured serializer. - - - + The serialization context. + The serialization args. + The object. + + + Returns a serializer that has been reconfigured with the specified representation. - The representation. - The reconfigured serializer. - - - - Represents a serializer for interfaces and base classes that delegates to the actual type interface without writing a discriminator. + The representation. + The reconfigured serializer. + + + + Represents a serializer for Interfaces. - Type type of the value. - - - - Initializes a new instance of the class. + The type of the interface. + The type of the implementation. + + + + Initializes a new instance of the class. - - - + + + + Initializes a new instance of the class. + + The implementation serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the dictionary representation. + + + The dictionary representation. + + + + + + Gets the key serializer. + + + The key serializer. + + + + + + Gets the implementation serializer. + + + The implementation serializer. + + + + + Gets the value serializer. + + + The value serializer. + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The document. + + + + Returns a serializer that has been reconfigured with the specified implementation serializer. + + The implementation serializer. + + The reconfigured serializer. + + + + + Represents a serializer for Int16s. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + The converter. + + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Int32. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + The converter. + + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Int64s. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + The converter. + + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for IPAddresses. + + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for IPEndPoints. + + + + + Initializes a new instance of the IPEndPointSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for KeyValuePairs. + + The type of the keys. + The type of the values. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The key serializer. + The value serializer. + + + + Initializes a new instance of the class. + + The representation. + The serializer registry. + + + + Gets the key serializer. + + + The key serializer. + + + + + Gets the representation. + + + The representation. + + + + + Gets the value serializer. + + + The value serializer. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + + + + Represents a serializer for LazyBsonArrays. + + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for LazyBsonDocuments. + + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for nullable values. + + The underlying type. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified serializer. + + The serializer. + + The reconfigured serializer. + + + + + Represents a serializer for ObjectIds. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for objects. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The discriminator convention. + discriminatorConvention + + + + Gets the standard instance. + + + The standard instance. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents an abstract base class for class serializers. + + The type of the value. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Deserializes a class. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the actual type. + + The context. + The actual type. + + + + Serializes a value of type {TValue}. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for enums. + + The type of the enum. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for one-dimensional arrays. + + The type of the elements. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Adds the item. + + The accumulator. + The item. + + + + Creates the accumulator. + + The accumulator. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The result. + + + + Represents a serializer for Queues. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Adds the item. + + The accumulator. + The item. + + + + Creates the accumulator. + + The accumulator. + + + + Enumerates the items. + + The value. + The items. + + + + Finalizes the result. + + The instance. + The result. + + + + Represents a serializer for Queues. + + The type of the elements. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Adds the item. + + The accumulator. + The item. + + + + Creates the accumulator. + + The accumulator. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The result. + + + + Represents a serializer for RawBsonArrays. + + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for RawBsonDocuments. + + + + + Initializes a new instance of the class. + + + + Gets the instance. - - - - Serializes a value. - - The serialization context. - The serialization args. - The document. - - - - Represents a serializer for Uris. - - - - - Initializes a new instance of the UriSerializer class. - - - - + + The instance. + + + + Deserializes a value. - The deserialization context. - The deserialization args. - A deserialized value. - - - + The deserialization context. + The deserialization args. + A deserialized value. + + + Serializes a value. - The serialization context. - The serialization args. - The object. - - - - Represents a serializer for Versions. + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for readonly collection. - - - - Initializes a new instance of the class. + The type of the item. + + + + Initializes a new instance of the class. - - - - Initializes a new instance of the class. + + + + Initializes a new instance of the class. - The representation. - - - - Deserializes a value. + The item serializer. + + + + Initializes a new instance of the class. - The deserialization context. - The deserialization args. - A deserialized value. - - - + The serializer registry. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Creates the accumulator. + + The accumulator. + + + + Finalizes the result. + + The accumulator. + The final result. + + + + Represents a serializer for a subclass of ReadOnlyCollection. + + The type of the value. + The type of the item. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Creates the accumulator. + + The accumulator. + + + + Finalizes the result. + + The accumulator. + The final result. + + + + Represents a serializer for SBytes. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + Gets the representation. - - - + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + Serializes a value. - The serialization context. - The serialization args. - The object. - - - + The serialization context. + The serialization args. + The object. + + + Returns a serializer that has been reconfigured with the specified representation. - The representation. - The reconfigured serializer. - - - \ No newline at end of file + The representation. + The reconfigured serializer. + + + + Represents a serializer for a class that will be serialized as if it were one of its base classes. + + The actual type. + The nominal type. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The base class serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for Singles. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + The converter. + + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Stacks. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Adds the item. + + The accumulator. + The item. + + + + Creates the accumulator. + + The accumulator. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The result. + + + + Represents a serializer for Stacks. + + The type of the elements. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Adds the item. + + The accumulator. + The item. + + + + Creates the accumulator. + + The accumulator. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The result. + + + + Represents a serializer for Strings. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for three-dimensional arrays. + + The type of the elements. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the item serializer. + + + The item serializer. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Represents a serializer for Timespans. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The units. + + + + Gets the representation. + + + The representation. + + + + + Gets the units. + + + The units. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation and units. + + The representation. + The units. + + The reconfigured serializer. + + + + + Represents a serializer for a . + + The type of item 1. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the Item1 serializer. + + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a . + + The type of item 1. + The type of item 2. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + The Item2 serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the Item1 serializer. + + + + + Gets the Item2 serializer. + + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a . + + The type of item 1. + The type of item 2. + The type of item 3. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + The Item2 serializer. + The Item3 serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the Item1 serializer. + + + + + Gets the Item2 serializer. + + + + + Gets the Item3 serializer. + + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a . + + The type of item 1. + The type of item 2. + The type of item 3. + The type of item 4. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + The Item2 serializer. + The Item3 serializer. + The Item4 serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the Item1 serializer. + + + + + Gets the Item2 serializer. + + + + + Gets the Item3 serializer. + + + + + Gets the Item4 serializer. + + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a . + + The type of item 1. + The type of item 2. + The type of item 3. + The type of item 4. + The type of item 5. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + The Item2 serializer. + The Item3 serializer. + The Item4 serializer. + The Item5 serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the Item1 serializer. + + + + + Gets the Item2 serializer. + + + + + Gets the Item3 serializer. + + + + + Gets the Item4 serializer. + + + + + Gets the Item5 serializer. + + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a . + + The type of item 1. + The type of item 2. + The type of item 3. + The type of item 4. + The type of item 5. + The type of item 6. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + The Item2 serializer. + The Item3 serializer. + The Item4 serializer. + The Item5 serializer. + The Item6 serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the Item1 serializer. + + + + + Gets the Item2 serializer. + + + + + Gets the Item3 serializer. + + + + + Gets the Item4 serializer. + + + + + Gets the Item5 serializer. + + + + + Gets the Item6 serializer. + + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a . + + The type of item 1. + The type of item 2. + The type of item 3. + The type of item 4. + The type of item 5. + The type of item 6. + The type of item 7. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + The Item2 serializer. + The Item3 serializer. + The Item4 serializer. + The Item5 serializer. + The Item6 serializer. + The Item7 serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the Item1 serializer. + + + + + Gets the Item2 serializer. + + + + + Gets the Item3 serializer. + + + + + Gets the Item4 serializer. + + + + + Gets the Item5 serializer. + + + + + Gets the Item6 serializer. + + + + + Gets the Item7 serializer. + + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a . + + The type of item 1. + The type of item 2. + The type of item 3. + The type of item 4. + The type of item 5. + The type of item 6. + The type of item 7. + The type of the rest item. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + The Item2 serializer. + The Item3 serializer. + The Item4 serializer. + The Item5 serializer. + The Item6 serializer. + The Item7 serializer. + The Rest serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the Item1 serializer. + + + + + Gets the Item2 serializer. + + + + + Gets the Item3 serializer. + + + + + Gets the Item4 serializer. + + + + + Gets the Item5 serializer. + + + + + Gets the Item6 serializer. + + + + + Gets the Item7 serializer. + + + + + Gets the Rest serializer. + + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for two-dimensional arrays. + + The type of the elements. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the item serializer. + + + The item serializer. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Represents a serializer for UInt16s. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + The converter. + + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for UInt32s. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + The converter. + + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for UInt64s. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + The converter. + + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for interfaces and base classes that delegates to the actual type interface without writing a discriminator. + + Type type of the value. + + + + Initializes a new instance of the class. + + + + + Gets the instance. + + + The instance. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The document. + + + + Represents a serializer for Uris. + + + + + Initializes a new instance of the UriSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for Versions. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Extensions methods for IBsonSerializer. + + + + + Deserializes a value. + + The serializer. + The deserialization context. + A deserialized value. + + + + Deserializes a value. + + The type that this serializer knows how to serialize. + The serializer. + The deserialization context. + A deserialized value. + + + + Serializes a value. + + The serializer. + The serialization context. + The value. + + + + Serializes a value. + + The type that this serializer knows how to serialize. + The serializer. + The serialization context. + The value. + + + + Converts a value to a BsonValue by serializing it. + + The serializer. + The value. + The serialized value. + + + + Converts a value to a BsonValue by serializing it. + + The type of the value. + The serializer. + The value. + The serialized value. + + + + Represents a serializer for TClass (a subclass of BsonDocumentBackedClass). + + The subclass of BsonDocumentBackedClass. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Registers a member. + + The member name. + The element name. + The serializer. + + + + Creates the instance. + + The backing document. + An instance of TClass. + + + + Contract for serializers to implement if they serialize an array of items. + + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Contract for serializers that can get and set Id values. + + + + + Gets the document Id. + + The document. + The Id. + The nominal type of the Id. + The IdGenerator for the Id type. + True if the document has an Id. + + + + Sets the document Id. + + The document. + The Id. + + + + Contract for composite serializers that contain a number of named serializers. + + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + true if the serialization info exists; otherwise false. + + + + Represents the information needed to serialize a member. + + + + + Initializes a new instance of the BsonSerializationInfo class. + + The element name. + The serializer. + The nominal type. + + + + Gets or sets the dotted element name. + + + + + Gets or sets the serializer. + + + + + Gets or sets the nominal type. + + + + + Deserializes the value. + + The value. + A deserialized value. + + + + Merges the new BsonSerializationInfo by taking its properties and concatenating its ElementName. + + The new info. + A new BsonSerializationInfo. + + + + Serializes the value. + + The value. + The serialized value. + + + + Serializes the values. + + The values. + The serialized values. + + + + Creates a new BsonSerializationInfo object using the elementName provided and copying all other attributes. + + Name of the element. + A new BsonSerializationInfo. + + + + Represents a mapping between a class and a BSON document. + + + + + Initializes a new instance of the BsonClassMap class. + + The class type. + + + + Initializes a new instance of the class. + + Type of the class. + The base class map. + + + + Gets all the member maps (including maps for inherited members). + + + + + Gets the base class map. + + + + + Gets the class type. + + + + + Gets the constructor maps. + + + + + Gets the conventions used for auto mapping. + + + + + Gets the declared member maps (only for members declared in this class). + + + + + Gets the discriminator. + + + + + Gets whether a discriminator is required when serializing this class. + + + + + Gets the member map of the member used to hold extra elements. + + + + + Gets whether this class map has any creator maps. + + + + + Gets whether this class has a root class ancestor. + + + + + Gets the Id member map (null if none). + + + + + Gets whether extra elements should be ignored when deserializing. + + + + + Gets whether the IgnoreExtraElements value should be inherited by derived classes. + + + + + Gets whether this class is anonymous. + + + + + Gets whether the class map is frozen. + + + + + Gets whether this class is a root class. + + + + + Gets the known types of this class. + + + + + Gets the element name to member index trie. + + + + + Gets the member index of the member used to hold extra elements. + + + + + Gets the type of a member. + + The member info. + The type of the member. + + + + Gets all registered class maps. + + All registered class maps. + + + + Checks whether a class map is registered for a type. + + The type to check. + True if there is a class map registered for the type. + + + + Looks up a class map (will AutoMap the class if no class map is registered). + + The class type. + The class map. + + + + Creates and registers a class map. + + The class. + The class map. + + + + Creates and registers a class map. + + The class. + The class map initializer. + The class map. + + + + Registers a class map. + + The class map. + + + + Automaps the class. + + + + + Creates an instance of the class. + + An object. + + + + Freezes the class map. + + The frozen class map. + + + + Gets a member map (only considers members declared in this class). + + The member name. + The member map (or null if the member was not found). + + + + Gets the member map for a BSON element. + + The name of the element. + The member map. + + + + Creates a creator map for a constructor and adds it to the class map. + + The constructor info. + The creator map (so method calls can be chained). + + + + Creates a creator map for a constructor and adds it to the class map. + + The constructor info. + The argument names. + The creator map (so method calls can be chained). + + + + Creates a creator map and adds it to the class. + + The delegate. + The factory method map (so method calls can be chained). + + + + Creates a creator map and adds it to the class. + + The delegate. + The argument names. + The factory method map (so method calls can be chained). + + + + Creates a member map for the extra elements field and adds it to the class map. + + The name of the extra elements field. + The member map (so method calls can be chained). + + + + Creates a member map for the extra elements member and adds it to the class map. + + The member info for the extra elements member. + The member map (so method calls can be chained). + + + + Creates a member map for the extra elements property and adds it to the class map. + + The name of the property. + The member map (so method calls can be chained). + + + + Creates a creator map for a factory method and adds it to the class. + + The method info. + The creator map (so method calls can be chained). + + + + Creates a creator map for a factory method and adds it to the class. + + The method info. + The argument names. + The creator map (so method calls can be chained). + + + + Creates a member map for a field and adds it to the class map. + + The name of the field. + The member map (so method calls can be chained). + + + + Creates a member map for the Id field and adds it to the class map. + + The name of the Id field. + The member map (so method calls can be chained). + + + + Creates a member map for the Id member and adds it to the class map. + + The member info for the Id member. + The member map (so method calls can be chained). + + + + Creates a member map for the Id property and adds it to the class map. + + The name of the Id property. + The member map (so method calls can be chained). + + + + Creates a member map for a member and adds it to the class map. + + The member info. + The member map (so method calls can be chained). + + + + Creates a member map for a property and adds it to the class map. + + The name of the property. + The member map (so method calls can be chained). + + + + Resets the class map back to its initial state. + + + + + Sets the creator for the object. + + The creator. + The class map (so method calls can be chained). + + + + Sets the discriminator. + + The discriminator. + + + + Sets whether a discriminator is required when serializing this class. + + Whether a discriminator is required. + + + + Sets the member map of the member used to hold extra elements. + + The extra elements member map. + + + + Adds a known type to the class map. + + The known type. + + + + Sets the Id member. + + The Id member (null if none). + + + + Sets whether extra elements should be ignored when deserializing. + + Whether extra elements should be ignored when deserializing. + + + + Sets whether the IgnoreExtraElements value should be inherited by derived classes. + + Whether the IgnoreExtraElements value should be inherited by derived classes. + + + + Sets whether this class is a root class. + + Whether this class is a root class. + + + + Removes a creator map for a constructor from the class map. + + The constructor info. + + + + Removes a creator map for a factory method from the class map. + + The method info. + + + + Removes the member map for a field from the class map. + + The name of the field. + + + + Removes a member map from the class map. + + The member info. + + + + Removes the member map for a property from the class map. + + The name of the property. + + + + Gets the discriminator convention for the class. + + The discriminator convention for the class. + + + + Represents a mapping between a class and a BSON document. + + The class. + + + + Initializes a new instance of the BsonClassMap class. + + + + + Initializes a new instance of the BsonClassMap class. + + The class map initializer. + + + + Creates an instance. + + An instance. + + + + Gets a member map. + + The member type. + A lambda expression specifying the member. + The member map. + + + + Creates a creator map and adds it to the class map. + + Lambda expression specifying the creator code and parameters to use. + The member map. + + + + Creates a member map for the extra elements field and adds it to the class map. + + The member type. + A lambda expression specifying the extra elements field. + The member map. + + + + Creates a member map for the extra elements member and adds it to the class map. + + The member type. + A lambda expression specifying the extra elements member. + The member map. + + + + Creates a member map for the extra elements property and adds it to the class map. + + The member type. + A lambda expression specifying the extra elements property. + The member map. + + + + Creates a member map for a field and adds it to the class map. + + The member type. + A lambda expression specifying the field. + The member map. + + + + Creates a member map for the Id field and adds it to the class map. + + The member type. + A lambda expression specifying the Id field. + The member map. + + + + Creates a member map for the Id member and adds it to the class map. + + The member type. + A lambda expression specifying the Id member. + The member map. + + + + Creates a member map for the Id property and adds it to the class map. + + The member type. + A lambda expression specifying the Id property. + The member map. + + + + Creates a member map and adds it to the class map. + + The member type. + A lambda expression specifying the member. + The member map. + + + + Creates a member map for the Id property and adds it to the class map. + + The member type. + A lambda expression specifying the Id property. + The member map. + + + + Removes the member map for a field from the class map. + + The member type. + A lambda expression specifying the field. + + + + Removes a member map from the class map. + + The member type. + A lambda expression specifying the member. + + + + Removes a member map for a property from the class map. + + The member type. + A lambda expression specifying the property. + + + + Represents a serializer for a class map. + + The type of the class. + + + + Initializes a new instance of the BsonClassMapSerializer class. + + The class map. + + + + Gets a value indicating whether this serializer's discriminator is compatible with the object serializer. + + + true if this serializer's discriminator is compatible with the object serializer; otherwise, false. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Deserializes a value. + + The deserialization context. + A deserialized value. + + + + Gets the document Id. + + The document. + The Id. + The nominal type of the Id. + The IdGenerator for the Id type. + True if the document has an Id. + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Sets the document Id. + + The document. + The Id. + + + + Represents the mapping between a field or property and a BSON element. + + + + + Initializes a new instance of the BsonMemberMap class. + + The class map this member map belongs to. + The member info. + + + + Gets the class map that this member map belongs to. + + + + + Gets the name of the member. + + + + + Gets the type of the member. + + + + + Gets whether the member type is a BsonValue. + + + + + Gets the name of the element. + + + + + Gets the serialization order. + + + + + Gets the member info. + + + + + Gets the getter function. + + + + + Gets the setter function. + + + + + Gets the Id generator. + + + + + Gets whether a default value was specified. + + + + + Gets whether an element is required for this member when deserialized. + + + + + Gets the method that will be called to determine whether the member should be serialized. + + + + + Gets whether default values should be ignored when serialized. + + + + + Gets whether null values should be ignored when serialized. + + + + + Gets the default value. + + + + + Gets whether the member is readonly. + + + Readonly indicates that the member is written to the database, but not read from the database. + + + + + Applies the default value to the member of an object. + + The object. + + + + Freezes this instance. + + + + + Gets the serializer. + + The serializer. + + + + Resets the member map back to its initial state. + + The member map. + + + + Sets the default value creator. + + The default value creator (note: the supplied delegate must be thread safe). + The member map. + + + + Sets the default value. + + The default value. + The member map. + + + + Sets the name of the element. + + The name of the element. + The member map. + + + + Sets the Id generator. + + The Id generator. + The member map. + + + + Sets whether default values should be ignored when serialized. + + Whether default values should be ignored when serialized. + The member map. + + + + Sets whether null values should be ignored when serialized. + + Wether null values should be ignored when serialized. + The member map. + + + + Sets whether an element is required for this member when deserialized + + Whether an element is required for this member when deserialized + The member map. + + + + Sets the serialization order. + + The serialization order. + The member map. + + + + Sets the serializer. + + The serializer. + + The member map. + + serializer + serializer + + + + Sets the method that will be called to determine whether the member should be serialized. + + The method. + The member map. + + + + Determines whether a value should be serialized + + The object. + The value. + True if the value should be serialized. + + + + A static class that represents the BSON serialization functionality. + + + + + Gets the serializer registry. + + + + + Gets or sets whether to use the NullIdChecker on reference Id types that don't have an IdGenerator registered. + + + + + Gets or sets whether to use the ZeroIdChecker on value Id types that don't have an IdGenerator registered. + + + + + Deserializes an object from a BsonDocument. + + The nominal type of the object. + The BsonDocument. + The configurator. + A deserialized value. + + + + Deserializes a value. + + The nominal type of the object. + The BsonReader. + The configurator. + A deserialized value. + + + + Deserializes an object from a BSON byte array. + + The nominal type of the object. + The BSON byte array. + The configurator. + A deserialized value. + + + + Deserializes an object from a BSON Stream. + + The nominal type of the object. + The BSON Stream. + The configurator. + A deserialized value. + + + + Deserializes an object from a JSON string. + + The nominal type of the object. + The JSON string. + The configurator. + A deserialized value. + + + + Deserializes an object from a JSON TextReader. + + The nominal type of the object. + The JSON TextReader. + The configurator. + A deserialized value. + + + + Deserializes an object from a BsonDocument. + + The BsonDocument. + The nominal type of the object. + The configurator. + A deserialized value. + + + + Deserializes a value. + + The BsonReader. + The nominal type of the object. + The configurator. + A deserialized value. + + + + Deserializes an object from a BSON byte array. + + The BSON byte array. + The nominal type of the object. + The configurator. + A deserialized value. + + + + Deserializes an object from a BSON Stream. + + The BSON Stream. + The nominal type of the object. + The configurator. + A deserialized value. + + + + Deserializes an object from a JSON string. + + The JSON string. + The nominal type of the object. + The configurator. + A deserialized value. + + + + Deserializes an object from a JSON TextReader. + + The JSON TextReader. + The nominal type of the object. + The configurator. + A deserialized value. + + + + Returns whether the given type has any discriminators registered for any of its subclasses. + + A Type. + True if the type is discriminated. + + + + Looks up the actual type of an object to be deserialized. + + The nominal type of the object. + The discriminator. + The actual type of the object. + + + + Looks up the discriminator convention for a type. + + The type. + A discriminator convention. + + + + Looks up an IdGenerator. + + The Id type. + An IdGenerator for the Id type. + + + + Looks up a serializer for a Type. + + The type. + A serializer for type T. + + + + Looks up a serializer for a Type. + + The Type. + A serializer for the Type. + + + + Registers the discriminator for a type. + + The type. + The discriminator. + + + + Registers the discriminator convention for a type. + + Type type. + The discriminator convention. + + + + Registers a generic serializer definition for a generic type. + + The generic type. + The generic serializer definition. + + + + Registers an IdGenerator for an Id Type. + + The Id Type. + The IdGenerator for the Id Type. + + + + Registers a serialization provider. + + The serialization provider. + + + + Registers a serializer for a type. + + The type. + The serializer. + + + + Registers a serializer for a type. + + The type. + The serializer. + + + + Serializes a value. + + The nominal type of the object. + The BsonWriter. + The object. + The serialization context configurator. + The serialization args. + + + + Serializes a value. + + The BsonWriter. + The nominal type of the object. + The object. + The serialization context configurator. + The serialization args. + + + + An interface implemented by Id generators. + + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + An interface implemented by a serializer. + + + + + Gets the type of the value. + + + The type of the value. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + An interface implemented by a serializer for values of type TValue. + + The type that this serializer knows how to serialize. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + An interface implemented by serialization providers. + + + + + Gets a serializer for a type. + + The type. + A serializer. + + + + An interface implemented by serialization providers that are aware of registries. + + + This interface was added to preserve backward compatability (changing IBsonSerializationProvider would have been a backward breaking change). + + + + + Gets a serializer for a type. + + The type. + The serializer registry. + + A serializer. + + + + + Represents a serialization provider based on a mapping from value types to serializer types. + + + + + Initializes a new instance of the class. + + + + + + + + Registers the serializer mapping. + + The type. + Type of the serializer. + + + + Supports using type names as discriminators. + + + + + Resolves a type name discriminator. + + The type name. + The type if type type name can be resolved; otherwise, null. + + + + Gets a type name to be used as a discriminator (like AssemblyQualifiedName but shortened for common DLLs). + + The type. + The type name. + + + + Represents a truncation exception. + + + + + Initializes a new instance of the TruncationException class. + + + + + Initializes a new instance of the TruncationException class. + + The error message. + + + + Initializes a new instance of the TruncationException class. + + The error message. + The inner exception. + + + + Initializes a new instance of the TruncationException class (this overload used by deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Represents the BSON undefined value. + + + + + Compares two BsonUndefined values. + + The first BsonUndefined. + The other BsonUndefined. + True if the two BsonUndefined values are not equal according to ==. + + + + Compares two BsonUndefined values. + + The first BsonUndefined. + The other BsonUndefined. + True if the two BsonUndefined values are equal according to ==. + + + + Gets the singleton instance of BsonUndefined. + + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonUndefined to another BsonUndefined. + + The other BsonUndefined. + A 32-bit signed integer that indicates whether this BsonUndefined is less than, equal to, or greather than the other. + + + + Compares the BsonUndefined to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonUndefined is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonUndefined to another BsonUndefined. + + The other BsonUndefined. + True if the two BsonUndefined values are equal. + + + + Compares this BsonUndefined to another object. + + The other object. + True if the other object is a BsonUndefined and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents a BSON internal exception (almost surely the result of a bug). + + + + + Initializes a new instance of the BsonInternalException class. + + + + + Initializes a new instance of the BsonInternalException class. + + The error message. + + + + Initializes a new instance of the BsonInternalException class. + + The error message. + The inner exception. + + + + Initializes a new instance of the BsonInternalException class (this overload used by deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Represents a BSON serialization exception. + + + + + Initializes a new instance of the BsonSerializationException class. + + + + + Initializes a new instance of the BsonSerializationException class. + + The error message. + + + + Initializes a new instance of the BsonSerializationException class. + + The error message. + The inner exception. + + + + Initializes a new instance of the BsonSerializationException class (this overload used by deserialization). + + The SerializationInfo. + The StreamingContext. + + + + An interface implemented by objects that convert themselves to a BsonDocument. + + + + + Converts this object to a BsonDocument. + + A BsonDocument. + + + + Represents a BSON array. + + + + + Initializes a new instance of the BsonArray class. + + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + The initial capacity of the array. + + + + Compares two BsonArray values. + + The first BsonArray. + The other BsonArray. + True if the two BsonArray values are not equal according to ==. + + + + Compares two BsonArray values. + + The first BsonArray. + The other BsonArray. + True if the two BsonArray values are equal according to ==. + + + + Gets the BsonType of this BsonValue. + + + + + Gets or sets the total number of elements the internal data structure can hold without resizing. + + + + + Gets the count of array elements. + + + + + Gets whether the array is read-only. + + + + + Gets the array elements as raw values (see BsonValue.RawValue). + + + + + Gets the array elements. + + + + + Gets or sets a value by position. + + The position. + The value. + + + + Creates a new BsonArray. + + A value to be mapped to a BsonArray. + A BsonArray or null. + + + + Adds an element to the array. + + The value to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Creates a shallow clone of the array (see also DeepClone). + + A shallow clone of the array. + + + + Clears the array. + + + + + Compares the array to another array. + + The other array. + A 32-bit signed integer that indicates whether this array is less than, equal to, or greather than the other. + + + + Compares the array to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this array is less than, equal to, or greather than the other BsonValue. + + + + Tests whether the array contains a value. + + The value to test for. + True if the array contains the value. + + + + Copies elements from this array to another array. + + The other array. + The zero based index of the other array at which to start copying. + + + + Copies elements from this array to another array as raw values (see BsonValue.RawValue). + + The other array. + The zero based index of the other array at which to start copying. + + + + Creates a deep clone of the array (see also Clone). + + A deep clone of the array. + + + + Compares this array to another array. + + The other array. + True if the two arrays are equal. + + + + Compares this BsonArray to another object. + + The other object. + True if the other object is a BsonArray and equal to this one. + + + + Gets an enumerator that can enumerate the elements of the array. + + An enumerator. + + + + Gets the hash code. + + The hash code. + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index of the value (or -1 if not found). + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index at which to start the search. + The zero based index of the value (or -1 if not found). + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index at which to start the search. + The number of elements to search. + The zero based index of the value (or -1 if not found). + + + + Inserts a new value into the array. + + The zero based index at which to insert the new value. + The new value. + + + + Removes the first occurrence of a value from the array. + + The value to remove. + True if the value was removed. + + + + Removes an element from the array. + + The zero based index of the element to remove. + + + + Converts the BsonArray to an array of BsonValues. + + An array of BsonValues. + + + + Converts the BsonArray to a list of BsonValues. + + A list of BsonValues. + + + + Returns a string representation of the array. + + A string representation of the array. + + + + A static helper class containing BSON defaults. + + + + + Gets or sets the dynamic array serializer. + + + + + Gets or sets the dynamic document serializer. + + + + + Gets or sets the default representation to be used in serialization of + Guids to the database. + + + + + + Gets or sets the default max document size. The default is 4MiB. + + + + + Gets or sets the default max serialization depth (used to detect circular references during serialization). The default is 100. + + + + + Represents a BSON boolean value. + + + + + Initializes a new instance of the BsonBoolean class. + + The value. + + + + Gets the instance of BsonBoolean that represents false. + + + + + Gets the instance of BsonBoolean that represents true. + + + + + Gets the BsonType of this BsonValue. + + + + + Gets the BsonBoolean as a bool. + + + + + Gets the value of this BsonBoolean. + + + + + Converts a bool to a BsonBoolean. + + A bool. + A BsonBoolean. + + + + Compares two BsonBoolean values. + + The first BsonBoolean. + The other BsonBoolean. + True if the two BsonBoolean values are not equal according to ==. + + + + Compares two BsonBoolean values. + + The first BsonBoolean. + The other BsonBoolean. + True if the two BsonBoolean values are equal according to ==. + + + + Returns one of the two possible BsonBoolean values. + + An object to be mapped to a BsonBoolean. + A BsonBoolean or null. + + + + Compares this BsonBoolean to another BsonBoolean. + + The other BsonBoolean. + A 32-bit signed integer that indicates whether this BsonBoolean is less than, equal to, or greather than the other. + + + + Compares the BsonBoolean to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonBoolean is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonBoolean to another BsonBoolean. + + The other BsonBoolean. + True if the two BsonBoolean values are equal. + + + + Compares this BsonBoolean to another object. + + The other object. + True if the other object is a BsonBoolean and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents a BSON DateTime value. + + + + + Initializes a new instance of the BsonDateTime class. + + A DateTime. + + + + Initializes a new instance of the BsonDateTime class. + + Milliseconds since Unix Epoch. + + + + Gets the BsonType of this BsonValue. + + + + + Gets whether this BsonDateTime is a valid .NET DateTime. + + + + + Gets the number of milliseconds since the Unix Epoch. + + + + + Gets the number of milliseconds since the Unix Epoch. + + + + + Gets the DateTime value. + + + + + Converts a DateTime to a BsonDateTime. + + A DateTime. + A BsonDateTime. + + + + Compares two BsonDateTime values. + + The first BsonDateTime. + The other BsonDateTime. + True if the two BsonDateTime values are not equal according to ==. + + + + Compares two BsonDateTime values. + + The first BsonDateTime. + The other BsonDateTime. + True if the two BsonDateTime values are equal according to ==. + + + + Creates a new BsonDateTime. + + An object to be mapped to a BsonDateTime. + A BsonDateTime or null. + + + + Compares this BsonDateTime to another BsonDateTime. + + The other BsonDateTime. + A 32-bit signed integer that indicates whether this BsonDateTime is less than, equal to, or greather than the other. + + + + Compares the BsonDateTime to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonDateTime is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonDateTime to another BsonDateTime. + + The other BsonDateTime. + True if the two BsonDateTime values are equal. + + + + Compares this BsonDateTime to another object. + + The other object. + True if the other object is a BsonDateTime and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Converts this BsonValue to a DateTime in local time. + + A DateTime. + + + + Converts this BsonValue to a DateTime? in local time. + + A DateTime?. + + + + Converts this BsonValue to a DateTime? in UTC. + + A DateTime?. + + + + Converts this BsonValue to a DateTime in UTC. + + A DateTime. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + + + + + + + Represents a BsonDocument wrapper. + + + + + Initializes a new instance of the class. + + The value. + + + + Initializes a new instance of the class. + + The value. + The serializer. + + + + Gets the serializer. + + + The serializer. + + + + + Gets the wrapped value. + + + + + Creates a new instance of the BsonDocumentWrapper class. + + The nominal type of the wrapped object. + The wrapped object. + A BsonDocumentWrapper. + + + + Creates a new instance of the BsonDocumentWrapper class. + + The nominal type of the wrapped object. + The wrapped object. + A BsonDocumentWrapper. + + + + Creates a list of new instances of the BsonDocumentWrapper class. + + The nominal type of the wrapped objects. + A list of wrapped objects. + A list of BsonDocumentWrappers. + + + + Creates a list of new instances of the BsonDocumentWrapper class. + + The nominal type of the wrapped object. + A list of wrapped objects. + A list of BsonDocumentWrappers. + + + + Creates a shallow clone of the document (see also DeepClone). + + + A shallow clone of the document. + + + + + Materializes the BsonDocument. + + The materialized elements. + + + + Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state. + + + + + Represents a BSON long value. + + + + + Initializes a new instance of the BsonInt64 class. + + The value. + + + + Gets the BsonType of this BsonValue. + + + + + Gets the BsonInt64 as a long. + + + + + Gets the value of this BsonInt64. + + + + + Converts a long to a BsonInt64. + + A long. + A BsonInt64. + + + + Compares two BsonInt64 values. + + The first BsonInt64. + The other BsonInt64. + True if the two BsonInt64 values are not equal according to ==. + + + + Compares two BsonInt64 values. + + The first BsonInt64. + The other BsonInt64. + True if the two BsonInt64 values are equal according to ==. + + + + Creates a new BsonInt64. + + An object to be mapped to a BsonInt64. + A BsonInt64 or null. + + + + Compares this BsonInt64 to another BsonInt64. + + The other BsonInt64. + A 32-bit signed integer that indicates whether this BsonInt64 is less than, equal to, or greather than the other. + + + + Compares the BsonInt64 to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonInt64 is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonInt64 to another BsonInt64. + + The other BsonInt64. + True if the two BsonInt64 values are equal. + + + + Compares this BsonInt64 to another object. + + The other object. + True if the other object is a BsonInt64 and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + + + + + + + Converts this BsonValue to a Double. + + A Double. + + + + Converts this BsonValue to an Int32. + + An Int32. + + + + Converts this BsonValue to an Int64. + + An Int32. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Compares this BsonInt32 against another BsonValue. + + The other BsonValue. + True if this BsonInt64 and the other BsonValue are equal according to ==. + + + + Represents the BSON Null value. + + + + + Compares two BsonNull values. + + The first BsonNull. + The other BsonNull. + True if the two BsonNull values are not equal according to ==. + + + + Compares two BsonNull values. + + The first BsonNull. + The other BsonNull. + True if the two BsonNull values are equal according to ==. + + + + Gets the singleton instance of BsonNull. + + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonNull to another BsonNull. + + The other BsonNull. + A 32-bit signed integer that indicates whether this BsonNull is less than, equal to, or greather than the other. + + + + Compares the BsonNull to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonNull is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonNull to another BsonNull. + + The other BsonNull. + True if the two BsonNull values are equal. + + + + Compares this BsonNull to another object. + + The other object. + True if the other object is a BsonNull and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + Converts this BsonValue to a DateTime? in local time. + + A DateTime?. + + + + Converts this BsonValue to a DateTime? in UTC. + + A DateTime?. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents BSON binary data. + + + + + Initializes a new instance of the BsonBinaryData class. + + The binary data. + + + + Initializes a new instance of the BsonBinaryData class. + + The binary data. + The binary data subtype. + + + + Initializes a new instance of the BsonBinaryData class. + + The binary data. + The binary data subtype. + The representation for Guids. + + + + Initializes a new instance of the BsonBinaryData class. + + A Guid. + + + + Initializes a new instance of the BsonBinaryData class. + + A Guid. + The representation for Guids. + + + + Gets the BsonType of this BsonValue. + + + + + Gets the binary data. + + + + + Gets the representation to use when representing the Guid as BSON binary data. + + + + + Gets the BsonBinaryData as a Guid if the subtype is UuidStandard or UuidLegacy, otherwise null. + + + + + Gets the binary data subtype. + + + + + Converts a byte array to a BsonBinaryData. + + A byte array. + A BsonBinaryData. + + + + Converts a Guid to a BsonBinaryData. + + A Guid. + A BsonBinaryData. + + + + Compares two BsonBinaryData values. + + The first BsonBinaryData. + The other BsonBinaryData. + True if the two BsonBinaryData values are not equal according to ==. + + + + Compares two BsonBinaryData values. + + The first BsonBinaryData. + The other BsonBinaryData. + True if the two BsonBinaryData values are equal according to ==. + + + + Creates a new BsonBinaryData. + + An object to be mapped to a BsonBinaryData. + A BsonBinaryData or null. + + + + Compares this BsonBinaryData to another BsonBinaryData. + + The other BsonBinaryData. + A 32-bit signed integer that indicates whether this BsonBinaryData is less than, equal to, or greather than the other. + + + + Compares the BsonBinaryData to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonBinaryData is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonBinaryData to another BsonBinaryData. + + The other BsonBinaryData. + True if the two BsonBinaryData values are equal. + + + + Compares this BsonBinaryData to another object. + + The other object. + True if the other object is a BsonBinaryData and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Converts this BsonBinaryData to a Guid. + + A Guid. + + + + Converts this BsonBinaryData to a Guid. + + The representation for Guids. + A Guid. + + + + Returns a string representation of the binary data. + + A string representation of the binary data. + + + + Represents a BSON JavaScript value with a scope. + + + + + Initializes a new instance of the BsonJavaScriptWithScope class. + + The JavaScript code. + A scope (a set of variables with values). + + + + Compares two BsonJavaScriptWithScope values. + + The first BsonJavaScriptWithScope. + The other BsonJavaScriptWithScope. + True if the two BsonJavaScriptWithScope values are not equal according to ==. + + + + Compares two BsonJavaScriptWithScope values. + + The first BsonJavaScriptWithScope. + The other BsonJavaScriptWithScope. + True if the two BsonJavaScriptWithScope values are equal according to ==. + + + + Gets the BsonType of this BsonValue. + + + + + Gets the scope (a set of variables with values). + + + + + Creates a new BsonJavaScriptWithScope. + + An object to be mapped to a BsonJavaScriptWithScope. + A BsonJavaScriptWithScope or null. + + + + Creates a shallow clone of the BsonJavaScriptWithScope (see also DeepClone). + + A shallow clone of the BsonJavaScriptWithScope. + + + + Creates a deep clone of the BsonJavaScriptWithScope (see also Clone). + + A deep clone of the BsonJavaScriptWithScope. + + + + Compares this BsonJavaScriptWithScope to another BsonJavaScriptWithScope. + + The other BsonJavaScriptWithScope. + A 32-bit signed integer that indicates whether this BsonJavaScriptWithScope is less than, equal to, or greather than the other. + + + + Compares the BsonJavaScriptWithScope to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonJavaScriptWithScope is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonJavaScriptWithScope to another BsonJavaScriptWithScope. + + The other BsonJavaScriptWithScope. + True if the two BsonJavaScriptWithScope values are equal. + + + + Compares this BsonJavaScriptWithScope to another object. + + The other object. + True if the other object is a BsonJavaScriptWithScope and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents an ObjectId (see also BsonObjectId). + + + + + Initializes a new instance of the ObjectId class. + + The bytes. + + + + Initializes a new instance of the ObjectId class. + + The bytes. + The index into the byte array where the ObjectId starts. + + + + Initializes a new instance of the ObjectId class. + + The timestamp (expressed as a DateTime). + The machine hash. + The PID. + The increment. + + + + Initializes a new instance of the ObjectId class. + + The timestamp. + The machine hash. + The PID. + The increment. + + + + Initializes a new instance of the ObjectId class. + + The value. + + + + Gets an instance of ObjectId where the value is empty. + + + + + Gets the timestamp. + + + + + Gets the machine. + + + + + Gets the PID. + + + + + Gets the increment. + + + + + Gets the creation time (derived from the timestamp). + + + + + Compares two ObjectIds. + + The first ObjectId. + The other ObjectId + True if the first ObjectId is less than the second ObjectId. + + + + Compares two ObjectIds. + + The first ObjectId. + The other ObjectId + True if the first ObjectId is less than or equal to the second ObjectId. + + + + Compares two ObjectIds. + + The first ObjectId. + The other ObjectId. + True if the two ObjectIds are equal. + + + + Compares two ObjectIds. + + The first ObjectId. + The other ObjectId. + True if the two ObjectIds are not equal. + + + + Compares two ObjectIds. + + The first ObjectId. + The other ObjectId + True if the first ObjectId is greather than or equal to the second ObjectId. + + + + Compares two ObjectIds. + + The first ObjectId. + The other ObjectId + True if the first ObjectId is greather than the second ObjectId. + + + + Generates a new ObjectId with a unique value. + + An ObjectId. + + + + Generates a new ObjectId with a unique value (with the timestamp component based on a given DateTime). + + The timestamp component (expressed as a DateTime). + An ObjectId. + + + + Generates a new ObjectId with a unique value (with the given timestamp). + + The timestamp component. + An ObjectId. + + + + Packs the components of an ObjectId into a byte array. + + The timestamp. + The machine hash. + The PID. + The increment. + A byte array. + + + + Parses a string and creates a new ObjectId. + + The string value. + A ObjectId. + + + + Tries to parse a string and create a new ObjectId. + + The string value. + The new ObjectId. + True if the string was parsed successfully. + + + + Unpacks a byte array into the components of an ObjectId. + + A byte array. + The timestamp. + The machine hash. + The PID. + The increment. + + + + Gets the current process id. This method exists because of how CAS operates on the call stack, checking + for permissions before executing the method. Hence, if we inlined this call, the calling method would not execute + before throwing an exception requiring the try/catch at an even higher level that we don't necessarily control. + + + + + Compares this ObjectId to another ObjectId. + + The other ObjectId. + A 32-bit signed integer that indicates whether this ObjectId is less than, equal to, or greather than the other. + + + + Compares this ObjectId to another ObjectId. + + The other ObjectId. + True if the two ObjectIds are equal. + + + + Compares this ObjectId to another object. + + The other object. + True if the other object is an ObjectId and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Converts the ObjectId to a byte array. + + A byte array. + + + + Converts the ObjectId to a byte array. + + The destination. + The offset. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + A static class that maps between .NET objects and BsonValues. + + + + + Maps an object to an instance of the closest BsonValue class. + + An object. + A BsonValue. + + + + Maps an object to a specific BsonValue type. + + An object. + The BsonType to map to. + A BsonValue of the desired type (or BsonNull.Value if value is null and bsonType is Null). + + + + Maps a BsonValue to a .NET value using the default BsonTypeMapperOptions. + + The BsonValue. + The mapped .NET value. + + + + Maps a BsonValue to a .NET value. + + The BsonValue. + The BsonTypeMapperOptions. + The mapped .NET value. + + + + Registers a custom type mapper. + + The type. + A custom type mapper. + + + + Tries to map an object to an instance of the closest BsonValue class. + + An object. + The BsonValue. + True if the mapping was successfull. + + + + Compares this Mapping to another object. + + The other object. + True if the other object is a Mapping and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + A static class containing BSON utility methods. + + + + + Gets a friendly class name suitable for use in error messages. + + The type. + A friendly class name. + + + + Parses a hex string into its equivalent byte array. + + The hex string to parse. + The byte equivalent of the hex string. + + + + Converts from number of milliseconds since Unix epoch to DateTime. + + The number of milliseconds since Unix epoch. + A DateTime. + + + + Converts a value to a hex character. + + The value (assumed to be between 0 and 15). + The hex character. + + + + Converts a byte array to a hex string. + + The byte array. + A hex string. + + + + Converts a DateTime to local time (with special handling for MinValue and MaxValue). + + A DateTime. + The DateTime in local time. + + + + Converts a DateTime to number of milliseconds since Unix epoch. + + A DateTime. + Number of seconds since Unix epoch. + + + + Converts a DateTime to UTC (with special handling for MinValue and MaxValue). + + A DateTime. + The DateTime in UTC. + + + + Tries to parse a hex string to a byte array. + + The hex string. + A byte array. + True if the hex string was successfully parsed. + + + + Represents a BSON double value. + + + + + + Initializes a new instance of the BsonDouble class. + + The value. + + + + + + + + + + Gets the value of this BsonDouble. + + + + + Converts a double to a BsonDouble. + + A double. + A BsonDouble. + + + + Compares two BsonDouble values. + + The first BsonDouble. + The other BsonDouble. + True if the two BsonDouble values are not equal according to ==. + + + + Compares two BsonDouble values. + + The first BsonDouble. + The other BsonDouble. + True if the two BsonDouble values are equal according to ==. + + + + Creates a new instance of the BsonDouble class. + + An object to be mapped to a BsonDouble. + A BsonDouble. + + + + Compares this BsonDouble to another BsonDouble. + + The other BsonDouble. + A 32-bit signed integer that indicates whether this BsonDouble is less than, equal to, or greather than the other. + + + + + + + Compares this BsonDouble to another BsonDouble. + + The other BsonDouble. + True if the two BsonDouble values are equal. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents a BSON int value. + + + + + Creates a new instance of the BsonInt32 class. + + The value. + + + + Gets an instance of BsonInt32 that represents -1. + + + + + Gets an instance of BsonInt32 that represents -0. + + + + + Gets an instance of BsonInt32 that represents 1. + + + + + Gets an instance of BsonInt32 that represents 2. + + + + + Gets an instance of BsonInt32 that represents 3. + + + + + Gets the BsonType of this BsonValue. + + + + + Gets the BsonInt32 as an int. + + + + + Gets the value of this BsonInt32. + + + + + Converts an int to a BsonInt32. + + An int. + A BsonInt32. + + + + Compares two BsonInt32 values. + + The first BsonInt32. + The other BsonInt32. + True if the two BsonInt32 values are not equal according to ==. + + + + Compares two BsonInt32 values. + + The first BsonInt32. + The other BsonInt32. + True if the two BsonInt32 values are equal according to ==. + + + + Creates a new BsonInt32. + + An object to be mapped to a BsonInt32. + A BsonInt32 or null. + + + + Compares this BsonInt32 to another BsonInt32. + + The other BsonInt32. + A 32-bit signed integer that indicates whether this BsonInt32 is less than, equal to, or greather than the other. + + + + Compares the BsonInt32 to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonInt32 is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonInt32 to another BsonInt32. + + The other BsonInt32. + True if the two BsonInt32 values are equal. + + + + Compares this BsonInt32 to another object. + + The other object. + True if the other object is a BsonInt32 and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + + + + + + + Converts this BsonValue to a Double. + + A Double. + + + + Converts this BsonValue to an Int32. + + An Int32. + + + + Converts this BsonValue to an Int64. + + An Int32. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Compares this BsonInt32 against another BsonValue. + + The other BsonValue. + True if this BsonInt32 and the other BsonValue are equal according to ==. + + + + Represents a BSON string value. + + + + + Initializes a new instance of the BsonString class. + + The value. + + + + Gets an instance of BsonString that represents an empty string. + + + + + Gets the BsonType of this BsonValue. + + + + + Gets the BsonString as a string. + + + + + Gets the value of this BsonString. + + + + + Converts a string to a BsonString. + + A string. + A BsonString. + + + + Compares two BsonString values. + + The first BsonString. + The other BsonString. + True if the two BsonString values are not equal according to ==. + + + + Compares two BsonString values. + + The first BsonString. + The other BsonString. + True if the two BsonString values are equal according to ==. + + + + Creates a new BsonString. + + An object to be mapped to a BsonString. + A BsonString or null. + + + + Compares this BsonString to another BsonString. + + The other BsonString. + A 32-bit signed integer that indicates whether this BsonString is less than, equal to, or greather than the other. + + + + Compares the BsonString to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonString is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonString to another BsonString. + + The other BsonString. + True if the two BsonString values are equal. + + + + Compares this BsonString to another object. + + The other object. + True if the other object is a BsonString and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + + + + + + + Converts this BsonValue to a Double. + + A Double. + + + + Converts this BsonValue to an Int32. + + An Int32. + + + + Converts this BsonValue to an Int64. + + An Int32. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents a BSON value (this is an abstract class, see the various subclasses). + + + + + Casts the BsonValue to a Boolean (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonArray (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonBinaryData (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonDateTime (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonDocument (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonJavaScript (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonJavaScriptWithScope (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonMaxKey (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonMinKey (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonNull (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonRegularExpression (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonSymbol (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonTimestamp (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonUndefined (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonValue (a way of upcasting subclasses of BsonValue to BsonValue at compile time). + + + + + Casts the BsonValue to a Byte[] (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a DateTime in UTC (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Double (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Guid (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to an Int32 (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a DateTime in the local timezone (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Int64 (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{Boolean} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{DateTime} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{Decimal} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{Decimal128} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{Double} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{Guid} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{Int32} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{Int64} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{ObjectId} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to an ObjectId (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Regex (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a String (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a DateTime in UTC (throws an InvalidCastException if the cast is not valid). + + + + + Gets the BsonType of this BsonValue. + + + + + Tests whether this BsonValue is a Boolean. + + + + + Tests whether this BsonValue is a BsonArray. + + + + + Tests whether this BsonValue is a BsonBinaryData. + + + + + Tests whether this BsonValue is a BsonDateTime. + + + + + Tests whether this BsonValue is a BsonDocument. + + + + + Tests whether this BsonValue is a BsonJavaScript. + + + + + Tests whether this BsonValue is a BsonJavaScriptWithScope. + + + + + Tests whether this BsonValue is a BsonMaxKey. + + + + + Tests whether this BsonValue is a BsonMinKey. + + + + + Tests whether this BsonValue is a BsonNull. + + + + + Tests whether this BsonValue is a BsonRegularExpression. + + + + + Tests whether this BsonValue is a BsonSymbol . + + + + + Tests whether this BsonValue is a BsonTimestamp. + + + + + Tests whether this BsonValue is a BsonUndefined. + + + + + Tests whether this BsonValue is a DateTime. + + + + + Tests whether this BsonValue is a Decimal128. + + + + + Tests whether this BsonValue is a Double. + + + + + Tests whether this BsonValue is a Guid. + + + + + Tests whether this BsonValue is an Int32. + + + + + Tests whether this BsonValue is an Int64. + + + + + Tests whether this BsonValue is a numeric value. + + + + + Tests whether this BsonValue is an ObjectId . + + + + + Tests whether this BsonValue is a String. + + + + + Tests whether this BsonValue is a valid DateTime. + + + + + Gets the raw value of this BsonValue (or null if this BsonValue doesn't have a single scalar value). + + + + + Casts a BsonValue to a bool. + + The BsonValue. + A bool. + + + + Casts a BsonValue to a bool?. + + The BsonValue. + A bool?. + + + + Converts a bool to a BsonValue. + + A bool. + A BsonValue. + + + + Converts a bool? to a BsonValue. + + A bool?. + A BsonValue. + + + + Converts a byte[] to a BsonValue. + + A byte[]. + A BsonValue. + + + + Converts a DateTime to a BsonValue. + + A DateTime. + A BsonValue. + + + + Converts a DateTime? to a BsonValue. + + A DateTime?. + A BsonValue. + + + + Converts a decimal to a BsonValue. + + A decimal. + A BsonValue. + + + + Converts a decimal? to a BsonValue. + + A decimal?. + A BsonValue. + + + + Converts a to a BsonValue. + + A Decimal128. + A BsonValue. + + + + Converts a nullable to a BsonValue. + + A Decimal128?. + A BsonValue. + + + + Converts a double to a BsonValue. + + A double. + A BsonValue. + + + + Converts a double? to a BsonValue. + + A double?. + A BsonValue. + + + + Converts an Enum to a BsonValue. + + An Enum. + A BsonValue. + + + + Converts a Guid to a BsonValue. + + A Guid. + A BsonValue. + + + + Converts a Guid? to a BsonValue. + + A Guid?. + A BsonValue. + + + + Converts an int to a BsonValue. + + An int. + A BsonValue. + + + + Converts an int? to a BsonValue. + + An int?. + A BsonValue. + + + + Converts a long to a BsonValue. + + A long. + A BsonValue. + + + + Converts a long? to a BsonValue. + + A long?. + A BsonValue. + + + + Converts an ObjectId to a BsonValue. + + An ObjectId. + A BsonValue. + + + + Converts an ObjectId? to a BsonValue. + + An ObjectId?. + A BsonValue. + + + + Converts a Regex to a BsonValue. + + A Regex. + A BsonValue. + + + + Converts a string to a BsonValue. + + A string. + A BsonValue. + + + + Casts a BsonValue to a byte[]. + + The BsonValue. + A byte[]. + + + + Casts a BsonValue to a DateTime. + + The BsonValue. + A DateTime. + + + + Casts a BsonValue to a DateTime?. + + The BsonValue. + A DateTime?. + + + + Casts a BsonValue to a decimal. + + The BsonValue. + A decimal. + + + + Casts a BsonValue to a decimal?. + + The BsonValue. + A decimal?. + + + + Casts a BsonValue to a . + + The BsonValue. + A . + + + + Casts a BsonValue to a nullable ?. + + The BsonValue. + A nullable . + + + + Casts a BsonValue to a double. + + The BsonValue. + A double. + + + + Casts a BsonValue to a double?. + + The BsonValue. + A double?. + + + + Casts a BsonValue to a Guid. + + The BsonValue. + A Guid. + + + + Casts a BsonValue to a Guid?. + + The BsonValue. + A Guid?. + + + + Casts a BsonValue to an int. + + The BsonValue. + An int. + + + + Casts a BsonValue to an int?. + + The BsonValue. + An int?. + + + + Casts a BsonValue to a long. + + The BsonValue. + A long. + + + + Casts a BsonValue to a long?. + + The BsonValue. + A long?. + + + + Casts a BsonValue to an ObjectId. + + The BsonValue. + An ObjectId. + + + + Casts a BsonValue to an ObjectId?. + + The BsonValue. + An ObjectId?. + + + + Casts a BsonValue to a Regex. + + The BsonValue. + A Regex. + + + + Casts a BsonValue to a string. + + The BsonValue. + A string. + + + + Compares two BsonValues. + + The first BsonValue. + The other BsonValue. + True if the first BsonValue is less than the other one. + + + + Compares two BsonValues. + + The first BsonValue. + The other BsonValue. + True if the first BsonValue is less than or equal to the other one. + + + + Compares two BsonValues. + + The first BsonValue. + The other BsonValue. + True if the two BsonValues are not equal according to ==. + + + + Compares two BsonValues. + + The first BsonValue. + The other BsonValue. + True if the two BsonValues are equal according to ==. + + + + Compares two BsonValues. + + The first BsonValue. + The other BsonValue. + True if the first BsonValue is greater than the other one. + + + + Compares two BsonValues. + + The first BsonValue. + The other BsonValue. + True if the first BsonValue is greater than or equal to the other one. + + + + Gets or sets a value by position (only applies to BsonDocument and BsonArray). + + The position. + The value. + + + + Gets or sets a value by name (only applies to BsonDocument). + + The name. + The value. + + + + Creates a new instance of the BsonValue class. + + A value to be mapped to a BsonValue. + A BsonValue. + + + + Creates a shallow clone of the BsonValue (see also DeepClone). + + A shallow clone of the BsonValue. + + + + Compares this BsonValue to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonValue is less than, equal to, or greather than the other BsonValue. + + + + Compares the type of this BsonValue to the type of another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether the type of this BsonValue is less than, equal to, or greather than the type of the other BsonValue. + + + + Creates a deep clone of the BsonValue (see also Clone). + + A deep clone of the BsonValue. + + + + Compares this BsonValue to another BsonValue. + + The other BsonValue. + True if the two BsonValue values are equal. + + + + Compares this BsonValue to another object. + + The other object. + True if the other object is a BsonValue and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + Converts this BsonValue to a Decimal. + + A Decimal. + + + + Converts this BsonValue to a Decimal128. + + A Decimal128. + + + + Converts this BsonValue to a Double. + + A Double. + + + + Converts this BsonValue to an Int32. + + An Int32. + + + + Converts this BsonValue to an Int64. + + An Int64. + + + + Converts this BsonValue to a DateTime in local time. + + A DateTime. + + + + Converts this BsonValue to a DateTime? in local time. + + A DateTime?. + + + + Converts this BsonValue to a DateTime? in UTC. + + A DateTime?. + + + + Converts this BsonValue to a DateTime in UTC. + + A DateTime. + + + + Implementation of the IConvertible GetTypeCode method. + + The TypeCode. + + + + Implementation of the IConvertible ToBoolean method. + + The format provider. + A bool. + + + + Implementation of the IConvertible ToByte method. + + The format provider. + A byte. + + + + Implementation of the IConvertible ToChar method. + + The format provider. + A char. + + + + Implementation of the IConvertible ToDateTime method. + + The format provider. + A DateTime. + + + + Implementation of the IConvertible ToDecimal method. + + The format provider. + A decimal. + + + + Implementation of the IConvertible ToDouble method. + + The format provider. + A double. + + + + Implementation of the IConvertible ToInt16 method. + + The format provider. + A short. + + + + Implementation of the IConvertible ToInt32 method. + + The format provider. + An int. + + + + Implementation of the IConvertible ToInt64 method. + + The format provider. + A long. + + + + Implementation of the IConvertible ToSByte method. + + The format provider. + An sbyte. + + + + Implementation of the IConvertible ToSingle method. + + The format provider. + A float. + + + + Implementation of the IConvertible ToString method. + + The format provider. + A string. + + + + Implementation of the IConvertible ToUInt16 method. + + The format provider. + A ushort. + + + + Implementation of the IConvertible ToUInt32 method. + + The format provider. + A uint. + + + + Implementation of the IConvertible ToUInt64 method. + + The format provider. + A ulong. + + + + Implementation of operator ==. + + The other BsonValue. + True if the two BsonValues are equal according to ==. + + + + Represents a BSON JavaScript value. + + + + + Initializes a new instance of the BsonJavaScript class. + + The JavaScript code. + + + + Gets the BsonType of this BsonValue. + + + + + Gets the JavaScript code. + + + + + Compares two BsonJavaScript values. + + The first BsonJavaScript. + The other BsonJavaScript. + True if the two BsonJavaScript values are not equal according to ==. + + + + Compares two BsonJavaScript values. + + The first BsonJavaScript. + The other BsonJavaScript. + True if the two BsonJavaScript values are equal according to ==. + + + + Converts a string to a BsonJavaScript. + + A string. + A BsonJavaScript. + + + + Creates a new BsonJavaScript. + + An object to be mapped to a BsonJavaScript. + A BsonJavaScript or null. + + + + Compares this BsonJavaScript to another BsonJavaScript. + + The other BsonJavaScript. + A 32-bit signed integer that indicates whether this BsonJavaScript is less than, equal to, or greather than the other. + + + + Compares the BsonJavaScript to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonJavaScript is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonJavaScript to another BsonJavaScript. + + The other BsonJavaScript. + True if the two BsonJavaScript values are equal. + + + + Compares this BsonJavaScript to another object. + + The other object. + True if the other object is a BsonJavaScript and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents a BSON timestamp value. + + + + + Initializes a new instance of the BsonTimestamp class. + + The combined timestamp/increment value. + + + + Initializes a new instance of the BsonTimestamp class. + + The timestamp. + The increment. + + + + Compares two BsonTimestamp values. + + The first BsonTimestamp. + The other BsonTimestamp. + True if the two BsonTimestamp values are not equal according to ==. + + + + Compares two BsonTimestamp values. + + The first BsonTimestamp. + The other BsonTimestamp. + True if the two BsonTimestamp values are equal according to ==. + + + + Gets the BsonType of this BsonValue. + + + + + Gets the value of this BsonTimestamp. + + + + + Gets the increment. + + + + + Gets the timestamp. + + + + + Creates a new BsonTimestamp. + + An object to be mapped to a BsonTimestamp. + A BsonTimestamp or null. + + + + Compares this BsonTimestamp to another BsonTimestamp. + + The other BsonTimestamp. + A 32-bit signed integer that indicates whether this BsonTimestamp is less than, equal to, or greather than the other. + + + + Compares the BsonTimestamp to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonTimestamp is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonTimestamp to another BsonTimestamp. + + The other BsonTimestamp. + True if the two BsonTimestamp values are equal. + + + + Compares this BsonTimestamp to another object. + + The other object. + True if the other object is a BsonTimestamp and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + A static class containing BSON constants. + + + + + Gets the number of milliseconds since the Unix epoch for DateTime.MaxValue. + + + + + Gets the number of milliseconds since the Unix epoch for DateTime.MinValue. + + + + + Gets the Unix Epoch for BSON DateTimes (1970-01-01). + + + + + Represents the binary data subtype of a BsonBinaryData. + + + + + Binary data. + + + + + A function. + + + + + Obsolete binary data subtype (use Binary instead). + + + + + A UUID in a driver dependent legacy byte order. + + + + + A UUID in standard network byte order. + + + + + An MD5 hash. + + + + + User defined binary data. + + + + + Represents the type of a BSON element. + + + + + Not a real BSON type. Used to signal the end of a document. + + + + + A BSON double. + + + + + A BSON string. + + + + + A BSON document. + + + + + A BSON array. + + + + + BSON binary data. + + + + + A BSON undefined value. + + + + + A BSON ObjectId. + + + + + A BSON bool. + + + + + A BSON DateTime. + + + + + A BSON null value. + + + + + A BSON regular expression. + + + + + BSON JavaScript code. + + + + + A BSON symbol. + + + + + BSON JavaScript code with a scope (a set of variables with values). + + + + + A BSON 32-bit integer. + + + + + A BSON timestamp. + + + + + A BSON 64-bit integer. + + + + + A BSON 128-bit decimal. + + + + + A BSON MinKey value. + + + + + A BSON MaxKey value. + + + + + Represents a BSON exception. + + + + + Initializes a new instance of the BsonException class. + + + + + Initializes a new instance of the BsonException class. + + The error message. + + + + Initializes a new instance of the BsonException class. + + The error message. + The inner exception. + + + + Initializes a new instance of the BsonException class. + + The error message format string. + One or more args for the error message. + + + + Initializes a new instance of the BsonException class (this overload used by deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Represents the symbol table of BsonSymbols. + + + + + Looks up a symbol (and creates a new one if necessary). + + The name of the symbol. + The symbol. + + + + Represents a BSON document. + + + + + Initializes a new instance of the BsonDocument class. + + + + + Initializes a new instance of the BsonDocument class specifying whether duplicate element names are allowed + (allowing duplicate element names is not recommended). + + Whether duplicate element names are allowed. + + + + Initializes a new instance of the BsonDocument class and adds one element. + + An element to add to the document. + + + + Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs. + + A dictionary to initialize the document from. + + + + Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs. + + A dictionary to initialize the document from. + A list of keys to select values from the dictionary. + + + + Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs. + + A dictionary to initialize the document from. + + + + Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs. + + A dictionary to initialize the document from. + A list of keys to select values from the dictionary. + + + + Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs. + + A dictionary to initialize the document from. + + + + Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs. + + A dictionary to initialize the document from. + A list of keys to select values from the dictionary. + + + + Initializes a new instance of the BsonDocument class and adds new elements from a list of elements. + + A list of elements to add to the document. + + + + Initializes a new instance of the BsonDocument class and adds one or more elements. + + One or more elements to add to the document. + + + + Initializes a new instance of the BsonDocument class and creates and adds a new element. + + The name of the element to add to the document. + The value of the element to add to the document. + + + + Compares two BsonDocument values. + + The first BsonDocument. + The other BsonDocument. + True if the two BsonDocument values are not equal according to ==. + + + + Compares two BsonDocument values. + + The first BsonDocument. + The other BsonDocument. + True if the two BsonDocument values are equal according to ==. + + + + Gets or sets whether to allow duplicate names (allowing duplicate names is not recommended). + + + + + Gets the BsonType of this BsonValue. + + + + + Gets the number of elements. + + + + + Gets the elements. + + + + + Gets the element names. + + + + + Gets the raw values (see BsonValue.RawValue). + + + + + Gets the values. + + + + + Gets or sets a value by position. + + The position. + The value. + + + + Gets the value of an element or a default value if the element is not found. + + The name of the element. + The default value to return if the element is not found. + Teh value of the element or a default value if the element is not found. + + + + Gets or sets a value by name. + + The name. + The value. + + + + Creates a new BsonDocument by mapping an object to a BsonDocument. + + The object to be mapped to a BsonDocument. + A BsonDocument. + + + + Parses a JSON string and returns a BsonDocument. + + The JSON string. + A BsonDocument. + + + + Tries to parse a JSON string and returns a value indicating whether it succeeded or failed. + + The JSON string. + The result. + Whether it succeeded or failed. + + + + Adds an element to the document. + + The element to add. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds a list of elements to the document. + + The list of elements. + The document (so method calls can be chained). + + + + Adds a list of elements to the document. + + The list of elements. + The document (so method calls can be chained). + + + + Creates and adds an element to the document. + + The name of the element. + The value of the element. + The document (so method calls can be chained). + + + + Creates and adds an element to the document, but only if the condition is true. + + The name of the element. + The value of the element. + Whether to add the element to the document. + The document (so method calls can be chained). + + + + Creates and adds an element to the document, but only if the condition is true. + If the condition is false the value factory is not called at all. + + The name of the element. + A delegate called to compute the value of the element if condition is true. + Whether to add the element to the document. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds a list of elements to the document. + + The list of elements. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Clears the document (removes all elements). + + + + + Creates a shallow clone of the document (see also DeepClone). + + A shallow clone of the document. + + + + Compares this document to another document. + + The other document. + A 32-bit signed integer that indicates whether this document is less than, equal to, or greather than the other. + + + + Compares the BsonDocument to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonDocument is less than, equal to, or greather than the other BsonValue. + + + + Tests whether the document contains an element with the specified name. + + The name of the element to look for. + True if the document contains an element with the specified name. + + + + Tests whether the document contains an element with the specified value. + + The value of the element to look for. + True if the document contains an element with the specified value. + + + + Creates a deep clone of the document (see also Clone). + + A deep clone of the document. + + + + Compares this document to another document. + + The other document. + True if the two documents are equal. + + + + Compares this BsonDocument to another object. + + The other object. + True if the other object is a BsonDocument and equal to this one. + + + + Gets an element of this document. + + The zero based index of the element. + The element. + + + + Gets an element of this document. + + The name of the element. + A BsonElement. + + + + Gets an enumerator that can be used to enumerate the elements of this document. + + An enumerator. + + + + Gets the hash code. + + The hash code. + + + + Gets the value of an element. + + The zero based index of the element. + The value of the element. + + + + Gets the value of an element. + + The name of the element. + The value of the element. + + + + Gets the value of an element or a default value if the element is not found. + + The name of the element. + The default value returned if the element is not found. + The value of the element or the default value if the element is not found. + + + + Gets the index of an element. + + The name of the element. + The index of the element, or -1 if the element is not found. + + + + Inserts a new element at a specified position. + + The position of the new element. + The element. + + + + Merges another document into this one. Existing elements are not overwritten. + + The other document. + The document (so method calls can be chained). + + + + Merges another document into this one, specifying whether existing elements are overwritten. + + The other document. + Whether to overwrite existing elements. + The document (so method calls can be chained). + + + + Removes an element from this document (if duplicate element names are allowed + then all elements with this name will be removed). + + The name of the element to remove. + + + + Removes an element from this document. + + The zero based index of the element to remove. + + + + Removes an element from this document. + + The element to remove. + + + + Sets the value of an element. + + The zero based index of the element whose value is to be set. + The new value. + The document (so method calls can be chained). + + + + Sets the value of an element (an element will be added if no element with this name is found). + + The name of the element whose value is to be set. + The new value. + The document (so method calls can be chained). + + + + Sets an element of the document (replacing the existing element at that position). + + The zero based index of the element to replace. + The new element. + The document. + + + + Sets an element of the document (replaces any existing element with the same name or adds a new element if an element with the same name is not found). + + The new element. + The document. + + + + Converts the BsonDocument to a Dictionary<string, object>. + + A dictionary. + + + + Converts the BsonDocument to a Hashtable. + + A hashtable. + + + + Returns a string representation of the document. + + A string representation of the document. + + + + Tries to get an element of this document. + + The name of the element. + The element. + True if an element with that name was found. + + + + Tries to get the value of an element of this document. + + The name of the element. + The value of the element. + True if an element with that name was found. + + + + Represents a BSON element. + + + + + Initializes a new instance of the BsonElement class. + + The name of the element. + The value of the element. + + + + Gets the name of the element. + + + + + Gets or sets the value of the element. + + + + + Compares two BsonElements. + + The first BsonElement. + The other BsonElement. + True if the two BsonElements are equal (or both null). + + + + Compares two BsonElements. + + The first BsonElement. + The other BsonElement. + True if the two BsonElements are not equal (or one is null and the other is not). + + + + Creates a shallow clone of the element (see also DeepClone). + + A shallow clone of the element. + + + + Creates a deep clone of the element (see also Clone). + + A deep clone of the element. + + + + Compares this BsonElement to another BsonElement. + + The other BsonElement. + A 32-bit signed integer that indicates whether this BsonElement is less than, equal to, or greather than the other. + + + + Compares this BsonElement to another BsonElement. + + The other BsonElement. + True if the two BsonElement values are equal. + + + + Compares this BsonElement to another object. + + The other object. + True if the other object is a BsonElement and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents a BSON ObjectId value (see also ObjectId). + + + + + Initializes a new instance of the BsonObjectId class. + + The value. + + + + Initializes a new instance of the BsonObjectId class. + + The bytes. + + + + Initializes a new instance of the BsonObjectId class. + + The timestamp (expressed as a DateTime). + The machine hash. + The PID. + The increment. + + + + Initializes a new instance of the BsonObjectId class. + + The timestamp. + The machine hash. + The PID. + The increment. + + + + Initializes a new instance of the BsonObjectId class. + + The value. + + + + Gets an instance of BsonObjectId where the value is empty. + + + + + Gets the BsonType of this BsonValue. + + + + + Gets the timestamp. + + + + + Gets the machine. + + + + + Gets the PID. + + + + + Gets the increment. + + + + + Gets the creation time (derived from the timestamp). + + + + + Gets the BsonObjectId as an ObjectId. + + + + + Gets the value of this BsonObjectId. + + + + + Converts an ObjectId to a BsonObjectId. + + An ObjectId. + A BsonObjectId. + + + + Compares two BsonObjectId values. + + The first BsonObjectId. + The other BsonObjectId. + True if the two BsonObjectId values are not equal according to ==. + + + + Compares two BsonObjectId values. + + The first BsonObjectId. + The other BsonObjectId. + True if the two BsonObjectId values are equal according to ==. + + + + Creates a new BsonObjectId. + + An object to be mapped to a BsonObjectId. + A BsonObjectId or null. + + + + Generates a new BsonObjectId with a unique value. + + A BsonObjectId. + + + + Generates a new BsonObjectId with a unique value (with the timestamp component based on a given DateTime). + + The timestamp component (expressed as a DateTime). + A BsonObjectId. + + + + Generates a new BsonObjectId with a unique value (with the given timestamp). + + The timestamp component. + A BsonObjectId. + + + + Parses a string and creates a new BsonObjectId. + + The string value. + A BsonObjectId. + + + + Tries to parse a string and create a new BsonObjectId. + + The string value. + The new BsonObjectId. + True if the string was parsed successfully. + + + + Compares this BsonObjectId to another BsonObjectId. + + The other BsonObjectId. + A 32-bit signed integer that indicates whether this BsonObjectId is less than, equal to, or greather than the other. + + + + Compares the BsonObjectId to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonObjectId is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonObjectId to another BsonObjectId. + + The other BsonObjectId. + True if the two BsonObjectId values are equal. + + + + Compares this BsonObjectId to another object. + + The other object. + True if the other object is a BsonObjectId and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Converts the BsonObjectId to a byte array. + + A byte array. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + + + + Represents a BSON regular expression value. + + + + + Initializes a new instance of the BsonRegularExpression class. + + A regular expression pattern. + + + + Initializes a new instance of the BsonRegularExpression class. + + A regular expression pattern. + Regular expression options. + + + + Initializes a new instance of the BsonRegularExpression class. + + A Regex. + + + + Gets the BsonType of this BsonValue. + + + + + Gets the regular expression pattern. + + + + + Gets the regular expression options. + + + + + Converts a Regex to a BsonRegularExpression. + + A Regex. + A BsonRegularExpression. + + + + Converts a string to a BsonRegularExpression. + + A string. + A BsonRegularExpression. + + + + Compares two BsonRegularExpression values. + + The first BsonRegularExpression. + The other BsonRegularExpression. + True if the two BsonRegularExpression values are not equal according to ==. + + + + Compares two BsonRegularExpression values. + + The first BsonRegularExpression. + The other BsonRegularExpression. + True if the two BsonRegularExpression values are equal according to ==. + + + + Creates a new BsonRegularExpression. + + An object to be mapped to a BsonRegularExpression. + A BsonRegularExpression or null. + + + + Compares this BsonRegularExpression to another BsonRegularExpression. + + The other BsonRegularExpression. + A 32-bit signed integer that indicates whether this BsonRegularExpression is less than, equal to, or greather than the other. + + + + Compares the BsonRegularExpression to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonRegularExpression is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonRegularExpression to another BsonRegularExpression. + + The other BsonRegularExpression. + True if the two BsonRegularExpression values are equal. + + + + Compares this BsonRegularExpression to another object. + + The other object. + True if the other object is a BsonRegularExpression and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Converts the BsonRegularExpression to a Regex. + + A Regex. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents a BSON symbol value. + + + + + Gets the BsonType of this BsonValue. + + + + + Gets the name of the symbol. + + + + + Converts a string to a BsonSymbol. + + A string. + A BsonSymbol. + + + + Compares two BsonSymbol values. + + The first BsonSymbol. + The other BsonSymbol. + True if the two BsonSymbol values are not equal according to ==. + + + + Compares two BsonSymbol values. + + The first BsonSymbol. + The other BsonSymbol. + True if the two BsonSymbol values are equal according to ==. + + + + Creates a new BsonSymbol. + + An object to be mapped to a BsonSymbol. + A BsonSymbol or null. + + + + Compares this BsonSymbol to another BsonSymbol. + + The other BsonSymbol. + A 32-bit signed integer that indicates whether this BsonSymbol is less than, equal to, or greather than the other. + + + + Compares the BsonSymbol to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonSymbol is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonSymbol to another BsonSymbol. + + The other BsonSymbol. + True if the two BsonSymbol values are equal. + + + + Compares this BsonSymbol to another object. + + The other object. + True if the other object is a BsonSymbol and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents the BSON MaxKey value. + + + + + Compares two BsonMaxKey values. + + The first BsonMaxKey. + The other BsonMaxKey. + True if the two BsonMaxKey values are not equal according to ==. + + + + Compares two BsonMaxKey values. + + The first BsonMaxKey. + The other BsonMaxKey. + True if the two BsonMaxKey values are equal according to ==. + + + + Gets the singleton instance of BsonMaxKey. + + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonMaxKey to another BsonMaxKey. + + The other BsonMaxKey. + A 32-bit signed integer that indicates whether this BsonMaxKey is less than, equal to, or greather than the other. + + + + Compares the BsonMaxKey to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonMaxKey is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonMaxKey to another BsonMaxKey. + + The other BsonMaxKey. + True if the two BsonMaxKey values are equal. + + + + Compares this BsonMaxKey to another object. + + The other object. + True if the other object is a BsonMaxKey and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents the BSON MinKey value. + + + + + Compares two BsonMinKey values. + + The first BsonMinKey. + The other BsonMinKey. + True if the two BsonMinKey values are not equal according to ==. + + + + Compares two BsonMinKey values. + + The first BsonMinKey. + The other BsonMinKey. + True if the two BsonMinKey values are equal according to ==. + + + + Gets the singleton instance of BsonMinKey. + + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonMinKey to another BsonMinKey. + + The other BsonMinKey. + A 32-bit signed integer that indicates whether this BsonMinKey is less than, equal to, or greather than the other. + + + + Compares the BsonMinKey to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonMinKey is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonMinKey to another BsonMinKey. + + The other BsonMinKey. + True if the two BsonMinKey values are equal. + + + + Compares this BsonMinKey to another object. + + The other object. + True if the other object is a BsonMinKey and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Returns a string representation of the value. + + A string representation of the value. + + + diff --git a/MongoDbGenericRepository/bin/MongoDB.Driver.Core.dll b/MongoDbGenericRepository/bin/MongoDB.Driver.Core.dll index df193d2..130e275 100644 Binary files a/MongoDbGenericRepository/bin/MongoDB.Driver.Core.dll and b/MongoDbGenericRepository/bin/MongoDB.Driver.Core.dll differ diff --git a/MongoDbGenericRepository/bin/MongoDB.Driver.Core.xml b/MongoDbGenericRepository/bin/MongoDB.Driver.Core.xml new file mode 100644 index 0000000..bd1df5e --- /dev/null +++ b/MongoDbGenericRepository/bin/MongoDB.Driver.Core.xml @@ -0,0 +1,14414 @@ + + + + MongoDB.Driver.Core + + + + + Controls whether spaces and punctuation are considered base characters. + + + + + Spaces and punctuation are considered base characters (the default). + + + + + Spaces and characters are not considered base characters, and are only distinguised at strength > 3. + + + + + Uppercase or lowercase first. + + + + + Off (the default). + + + + + Uppercase first. + + + + + Lowercase first. + + + + + Controls which characters are affected by alternate: "Shifted". + + + + + Punctuation and spaces are affected (the default). + + + + + Only spaces. + + + + + Prioritizes the comparison properties. + + + + + Primary. + + + + + Secondary. + + + + + Tertiary (the default). + + + + + Quaternary. + + + + + Identical. + + + + + Represents a MongoDB collation. + + + + + Gets the simple binary compare collation. + + + + + Creates a Collation instance from a BsonDocument. + + The document. + A Collation instance. + + + + Initializes a new instance of the class. + + The locale. + The case level. + The case that is ordered first. + The strength. + Whether numbers are ordered numerically. + The alternate. + The maximum variable. + The normalization. + Whether secondary differences are to be considered in reverse order. + + + + Gets whether spaces and punctuation are considered base characters. + + + + + Gets whether secondary differencs are to be considered in reverse order. + + + + + Gets whether upper case or lower case is ordered first. + + + + + Gets whether the collation is case sensitive at strength 1 and 2. + + + + + Gets the locale. + + + + + Gets which characters are affected by the alternate: "Shifted". + + + + + Gets the normalization. + + + + + Gets whether numbers are ordered numerically. + + + + + Gets the strength. + + + + + Indicates whether the current object is equal to another object of the same type. + + An object to compare with this object. + + true if the current object is equal to the parameter; otherwise, false. + + + + + + + + + + + + + + + + + Creates a new Collation instance with some properties changed. + + The new locale. + The new case level. + The new case first. + The new strength. + The new numeric ordering. + The new alternate. + The new maximum variable. + The new normalization. + The new backwards. + A new Collation instance. + + + + The default authenticator (uses SCRAM-SHA1 if possible, falls back to MONGODB-CR otherwise). + + + + + Initializes a new instance of the class. + + The credential. + + + + + + + + + + + + + A GSSAPI SASL authenticator. + + + + + Gets the name of the canonicalize host name property. + + + The name of the canonicalize host name property. + + + + + Gets the default service name. + + + The default service name. + + + + + Gets the name of the mechanism. + + + The name of the mechanism. + + + + + Gets the name of the realm property. + + + The name of the realm property. + + + + + Gets the name of the service name property. + + + The name of the service name property. + + + + + Gets the name of the service realm property. + + + The name of the service realm property. + + + + + Initializes a new instance of the class. + + The credential. + The properties. + + + + Initializes a new instance of the class. + + The username. + The properties. + + + + + + + SEC_WINNT_AUTH_IDENTITY + + + + + Flag for the AuthIdentity structure. + + + + + SEC_WINNT_AUTH_IDENTITY_ANSI + + + + + SEC_WINNT_AUTH_IDENTITY_UNICODE + + + + + Flags for InitiateSecurityContext. + + + See the TargetDataRep parameter at + http://msdn.microsoft.com/en-us/library/windows/desktop/aa375507(v=vs.85).aspx + + + + + SECURITY_NETWORK_DREP + + + + + SECURITY_NATIVE_DREP + + + + + Flags for EncryptMessage. + + + See the fQOP parameter at + http://msdn.microsoft.com/en-us/library/windows/desktop/aa375378(v=vs.85).aspx. + + + + + SECQOP_WRAP_NO_ENCRYPT + + + + + Creates an exception for the specified error code. + + The error code. + The default message. + + + + + Acquires the credentials handle. + + The principal. + The package. + The credential usage. + The logon id. + The identity. + The key callback. + The key argument. + The credential handle. + The timestamp. + A result code. + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa374712(v=vs.85).aspx + + + + + Acquires the credentials handle. + + The principal. + The package. + The credential usage. + The logon id. + The identity. + The key callback. + The key argument. + The credential handle. + The timestamp. + A result code. + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa374712(v=vs.85).aspx + + + + + Deletes the security context. + + The context. + A result code. + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa375354(v=vs.85).aspx + + + + + Decrypts the message. + + The context. + The p message. + The sequence number. + The quality. + A result code. + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa375211(v=vs.85).aspx + + + + + Encrypts the message. + + The context. + The quality. + The p message. + The sequence number. + A result code. + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa375378(v=vs.85).aspx + + + + + Enumerates the security packages. + + The pc packages. + The pp package information. + A result code. + + http://msdn.microsoft.com/en-us/library/aa375397%28v=VS.85%29.aspx + + + + + Frees the context buffer. + + The context buffer. + A result code. + + http://msdn.microsoft.com/en-us/library/aa375416(v=vs.85).aspx + + + + + Frees the credentials handle. + + The sspi handle. + A result code. + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa375417(v=vs.85).aspx + + + + + Initializes the security context. + + The credential handle. + The in context PTR. + Name of the target. + The flags. + The reserved1. + The data representation. + The input buffer. + The reserved2. + The out context handle. + The output buffer. + The out attributes. + The timestamp. + A result code. + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa375506(v=vs.85).aspx + + + + + Initializes the security context. + + The credential handle. + The in context handle. + Name of the target. + The flags. + The reserved1. + The data representation. + The input buffer. + The reserved2. + The out context. + The output buffer. + The out attributes. + The timestamp. + A result code. + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa375506(v=vs.85).aspx + + + + + Queries the context attributes. + + The in context handle. + The attribute. + The sizes. + A result code. + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa379326(v=vs.85).aspx + + + + + Flags for QueryContextAttributes. + + + See the ulAttribute parameter at + http://msdn.microsoft.com/en-us/library/windows/desktop/aa379326(v=vs.85).aspx. + + + + + SECPKG_ATTR_SIZES + + + + + A SecBuffer structure. + + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa379814(v=vs.85).aspx + + + + + A SecBufferDesc structure. + + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa379815(v=vs.85).aspx + + + + + To the byte array. + + + Object has already been disposed!!! + + + + Types for the SecurityBuffer structure. + + + + + SECBUFFER_VERSION + + + + + SECBUFFER_EMPTY + + + + + SECBUFFER_DATA + + + + + SECBUFFER_TOKEN + + + + + SECBUFFER_PADDING + + + + + SECBUFFER_STREAM + + + + + A wrapper around the SspiHandle structure specifically used as a security context handle. + + + + + A wrapper around the SspiHandle structure specifically used as a credential handle. + + + + + When overridden in a derived class, executes the code required to free the handle. + + + true if the handle is released successfully; otherwise, in the event of a catastrophic failure, false. In this case, it generates a releaseHandleFailed MDA Managed Debugging Assistant. + + + + + Flags for AcquireCredentialsHandle. + + + See the fCredentialUse at http://msdn.microsoft.com/en-us/library/windows/desktop/aa374712(v=vs.85).aspx. + + + + + SECPKG_CRED_OUTBOUND + + + + + A SecPkgContext_Sizes structure. + + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa380097(v=vs.85).aspx + + + + + A SecPkgInfo structure. + + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa380104(v=vs.85).aspx + + + + + Flags for InitiateSecurityContext. + + + See the fContextReq parameter at + http://msdn.microsoft.com/en-us/library/windows/desktop/aa375507(v=vs.85).aspx + + + + + ISC_REQ_MUTUAL_AUTH + + + + + ISC_REQ_CONFIDENTIALITY + + + + + ISC_REQ_INTEGRITY + + + + + A SecHandle structure. + + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa380495(v=vs.85).aspx + + + + + Gets a value indicating whether this instance is zero. + + + true if this instance is zero; otherwise, false. + + + + + Sets to invalid. + + + + + This is represented as a string in AcquireCredentialsHandle. This value will have .ToString() called on it. + + + + + Kerberos + + + + + Thrown from a win32 wrapped operation. + + + + + Initializes a new instance of the class. + + The error code. + + + + Initializes a new instance of the class. + + The error code. + The message. + + + + Initializes a new instance of the class. + + The info. + The context. + + + + A MongoDB-X509 authenticator. + + + + + Gets the name of the mechanism. + + + The name of the mechanism. + + + + + Initializes a new instance of the class. + + The username. + + + + + + + + + + + + + A PLAIN SASL authenticator. + + + + + Gets the name of the mechanism. + + + The name of the mechanism. + + + + + Initializes a new instance of the class. + + The credential. + + + + + + + Base class for a SASL authenticator. + + + + + Initializes a new instance of the class. + + The mechanism. + + + + + + + Gets the name of the database. + + + The name of the database. + + + + + + + + + + + Represents a SASL conversation. + + + + + Initializes a new instance of the class. + + The connection identifier. + + + + Gets the connection identifier. + + + The connection identifier. + + + + + + + + Registers the item for disposal. + + The disposable item. + + + + Represents a SASL mechanism. + + + + + Gets the name of the mechanism. + + + The name. + + + + + Initializes the mechanism. + + The connection. + The connection description. + The initial SASL step. + + + + Represents a SASL step. + + + + + Gets the bytes to send to server. + + + The bytes to send to server. + + + + + Gets a value indicating whether this instance is complete. + + + true if this instance is complete; otherwise, false. + + + + + Transitions the SASL conversation to the next step. + + The SASL conversation. + The bytes received from server. + The next SASL step. + + + + Represents a completed SASL step. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The bytes to send to server. + + + + + + + + + + + + + A SCRAM-SHA1 SASL authenticator. + + + + + Gets the name of the mechanism. + + + The name of the mechanism. + + + + + Initializes a new instance of the class. + + The credential. + + + + + + + Represents a username/password credential. + + + + + Initializes a new instance of the class. + + The source. + The username. + The password. + + + + Initializes a new instance of the class. + + The source. + The username. + The password. + + + + Gets the password. + + + The password. + + + + + Gets the source. + + + The source. + + + + + Gets the username. + + + The username. + + + + + Gets the password (converts the password from a SecureString to a regular string). + + The password. + + + + Represents a connection authenticator. + + + + + Gets the name of the authenticator. + + + The name. + + + + + Authenticates the connection. + + The connection. + The connection description. + The cancellation token. + + + + Authenticates the connection. + + The connection. + The connection description. + The cancellation token. + A Task. + + + + A MONGODB-CR authenticator. + + + + + Gets the name of the mechanism. + + + The name of the mechanism. + + + + + Initializes a new instance of the class. + + The credential. + + + + + + + + + + + + + Represents a read binding that is bound to a channel. + + + + + Initializes a new instance of the class. + + The server. + The channel. + The read preference. + + + + + + + + + + + + + + + + Represents a read-write binding that is bound to a channel. + + + + + Initializes a new instance of the class. + + The server. + The channel. + + + + + + + + + + + + + + + + + + + + + + Represents a read-write binding to a channel source. + + + + + Initializes a new instance of the class. + + The channel source. + The read preference. + + + + + + + + + + + + + + + + + + + + + + Represents a handle to a read-write binding. + + + + + Initializes a new instance of the class. + + The write binding. + + + + + + + + + + + + + + + + + + + + + + + + + Represents a handle to a read binding. + + + + + Initializes a new instance of the class. + + The read binding. + + + + + + + + + + + + + + + + + + + Represents a read binding to a single server; + + + + + Initializes a new instance of the class. + + The server. + The read preference. + + + + + + + + + + + + + + + + Represents a read/write binding to a single server. + + + + + Initializes a new instance of the class. + + The server. + + + + + + + + + + + + + + + + + + + + + + Represents a split read-write binding, where the reads use one binding and the writes use another. + + + + + Initializes a new instance of the class. + + The read binding. + The write binding. + + + + Initializes a new instance of the class. + + The cluster. + The read preference. + + + + + + + + + + + + + + + + + + + + + + Represents a channel source. + + + + + Gets the server. + + + The server. + + + + + Gets the server description. + + + The server description. + + + + + Gets a channel. + + The cancellation token. + A channel. + + + + Gets a channel. + + The cancellation token. + A Task whose result is a channel. + + + + Represents a handle to a channel source. + + + + + Returns a new handle to the underlying channel source. + + A handle to a channel source. + + + + Represents a channel (similar to a connection but operates at the level of protocols rather than messages). + + + + + Gets the connection description. + + + The connection description. + + + + + Executes a Command protocol. + + The type of the result. + The database namespace. + The command. + The command validator. + The response handling. + if set to true sets the SlaveOk bit to true in the command message sent to the server. + The result serializer. + The message encoder settings. + The cancellation token. + The result of the Command protocol. + + + + Executes a Command protocol. + + The type of the result. + The database namespace. + The command. + The command validator. + The response handling. + if set to true sets the SlaveOk bit to true in the command message sent to the server. + The result serializer. + The message encoder settings. + The cancellation token. + A Task whose result is the result of the Command protocol. + + + + Executes a Delete protocol. + + The collection namespace. + The query. + if set to true all matching documents are deleted. + The message encoder settings. + The write concern. + The cancellation token. + The result of the Delete protocol. + + + + Executes a Delete protocol. + + The collection namespace. + The query. + if set to true all matching documents are deleted. + The message encoder settings. + The write concern. + The cancellation token. + A Task whose result is the result of the Delete protocol. + + + + Executes a GetMore protocol. + + The type of the document. + The collection namespace. + The query. + The cursor identifier. + Size of the batch. + The serializer. + The message encoder settings. + The cancellation token. + The result of the GetMore protocol. + + + + Executes a GetMore protocol. + + The type of the document. + The collection namespace. + The query. + The cursor identifier. + Size of the batch. + The serializer. + The message encoder settings. + The cancellation token. + A Task whose result is the result of the GetMore protocol. + + + + Executes an Insert protocol. + + The type of the document. + The collection namespace. + The write concern. + The serializer. + The message encoder settings. + The document source. + The maximum batch count. + Maximum size of the message. + if set to true the server will continue with subsequent Inserts even if errors occur. + A delegate that determines whether to piggy-back a GetLastError messsage with the Insert message. + The cancellation token. + The result of the Insert protocol. + + + + Executes an Insert protocol. + + The type of the document. + The collection namespace. + The write concern. + The serializer. + The message encoder settings. + The document source. + The maximum batch count. + Maximum size of the message. + if set to true the server will continue with subsequent Inserts even if errors occur. + A delegate that determines whether to piggy-back a GetLastError messsage with the Insert message. + The cancellation token. + A Task whose result is the result of the Insert protocol. + + + + Executes a KillCursors protocol. + + The cursor ids. + The message encoder settings. + The cancellation token. + + + + Executes a KillCursors protocol. + + The cursor ids. + The message encoder settings. + The cancellation token. + A Task that represents the KillCursors protocol. + + + + Executes a Query protocol. + + The type of the document. + The collection namespace. + The query. + The fields. + The query validator. + The number of documents to skip. + The size of a batch. + if set to true sets the SlaveOk bit to true in the query message sent to the server. + if set to true the server is allowed to return partial results if any shards are unavailable. + if set to true the server will not timeout the cursor. + if set to true the OplogReplay bit will be set. + if set to true the query should return a tailable cursor. + if set to true the server should await awhile before returning an empty batch for a tailable cursor. + The serializer. + The message encoder settings. + The cancellation token. + The result of the Insert protocol. + + + + Executes a Query protocol. + + The type of the document. + The collection namespace. + The query. + The fields. + The query validator. + The number of documents to skip. + The size of a batch. + if set to true sets the SlaveOk bit to true in the query message sent to the server. + if set to true the server is allowed to return partial results if any shards are unavailable. + if set to true the server will not timeout the cursor. + if set to true the OplogReplay bit will be set. + if set to true the query should return a tailable cursor. + if set to true the server should await awhile before returning an empty batch for a tailable cursor. + The serializer. + The message encoder settings. + The cancellation token. + A Task whose result is the result of the Insert protocol. + + + + Executes an Update protocol. + + The collection namespace. + The message encoder settings. + The write concern. + The query. + The update. + The update validator. + if set to true the Update can affect multiple documents. + if set to true the document will be inserted if it is not found. + The cancellation token. + The result of the Update protocol. + + + + Executes an Update protocol. + + The collection namespace. + The message encoder settings. + The write concern. + The query. + The update. + The update validator. + if set to true the Update can affect multiple documents. + if set to true the document will be inserted if it is not found. + The cancellation token. + A Task whose result is the result of the Update protocol. + + + + Represents a handle to a channel. + + + + + Returns a new handle to the underlying channel. + + A channel handle. + + + + Represents a read binding to a cluster using a ReadPreference to select the server. + + + + + Initializes a new instance of the class. + + The cluster. + The read preference. + + + + + + + + + + + + + + + + Represents a write binding to a writable server. + + + + + Initializes a new instance of the class. + + The cluster. + + + + + + + + + + + + + + + + + + + + + + Represents a handle to a channel source. + + + + + Initializes a new instance of the class. + + The channel source. + + + + + + + + + + + + + + + + + + + + + + Represents a binding that determines which channel source gets used for read operations. + + + + + Gets the read preference. + + + The read preference. + + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Represents a binding that determines which channel source gets used for write operations. + + + + + Gets a channel source for write operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for write operations. + + The cancellation token. + A channel source. + + + + Represents a binding that can be used for both read and write operations. + + + + + Represents a handle to a read binding. + + + + + Returns a new handle to the underlying read binding. + + A read binding handle. + + + + Represents a handle to a write binding. + + + + + Returns a new handle to the underlying write binding. + + A write binding handle. + + + + Represents a handle to a read-write binding. + + + + + Returns a new handle to the underlying read-write binding. + + A read-write binding handle. + + + + Represents a channel source that is bound to a server. + + + + + Initializes a new instance of the class. + + The server. + + + + + + + + + + + + + + + + + + + Represents a connection identifier. + + + + + Initializes a new instance of the class. + + The server identifier. + + + + Initializes a new instance of the class. + + The server identifier. + The local value. + + + + Gets the server identifier. + + + The server identifier. + + + + + Gets the local value. + + + The local value. + + + + + Gets the server value. + + + The server value. + + + + + + + + + + + + + + Compares all fields of two ConnectionId instances (Equals ignores the ServerValue). + + The other ConnectionId. + True if both instances are equal. + + + + + + + Returns a new instance of ConnectionId with a new server value. + + The server value. + A ConnectionId. + + + + Represents a connection using the binary wire protocol over a binary stream. + + + + + Represents a factory of BinaryConnections. + + + + + Represents information describing a connection. + + + + + Initializes a new instance of the class. + + The connection identifier. + The issMaster result. + The buildInfo result. + + + + Gets the buildInfo result. + + + The buildInfo result. + + + + + Gets the connection identifier. + + + The connection identifier. + + + + + Gets the isMaster result. + + + The isMaster result. + + + + + Gets the maximum number of documents in a batch. + + + The maximum number of documents in a batch. + + + + + Gets the maximum size of a document. + + + The maximum size of a document. + + + + + Gets the maximum size of a message. + + + The maximum size of a message. + + + + + Gets the maximum size of a wire document. + + + The maximum size of a wire document. + + + + + Gets the server version. + + + The server version. + + + + + + + + + + + + + + Returns a new instance of ConnectionDescription with a different connection identifier. + + The value. + A connection description. + + + + Represents internal IConnection extension methods (used to easily access the IConnectionInternal methods). + + + + + Represents a connection initializer (opens and authenticates connections). + + + + + Represents a connection. + + + + + Gets the connection identifier. + + + The connection identifier. + + + + + Gets the connection description. + + + The connection description. + + + + + Gets the end point. + + + The end point. + + + + + Gets a value indicating whether this instance is expired. + + + true if this instance is expired; otherwise, false. + + + + + Gets the connection settings. + + + The connection settings. + + + + + Opens the connection. + + The cancellation token. + + + + Opens the connection. + + The cancellation token. + A Task. + + + + Receives a message. + + The id of the sent message for which a response is to be received. + The encoder selector. + The message encoder settings. + The cancellation token. + + The response message. + + + + + Receives a message. + + The id of the sent message for which a response is to be received. + The encoder selector. + The message encoder settings. + The cancellation token. + + A Task whose result is the response message. + + + + + Sends the messages. + + The messages. + The message encoder settings. + The cancellation token. + + + + Sends the messages. + + The messages. + The message encoder settings. + The cancellation token. + A Task. + + + + Represents a handle to a connection. + + + + + A new handle to the underlying connection. + + A connection handle. + + + + Represents a connection factory. + + + + + Creates the connection. + + The server identifier. + The end point. + A connection. + + + + Represents a stream factory. + + + + + Creates a stream. + + The end point. + The cancellation token. + A Stream. + + + + Creates a stream. + + The end point. + The cancellation token. + A Task whose result is the Stream. + + + + Represents a factory for a binary stream over a TCP/IP connection. + + + + + Represents the result of a buildInfo command. + + + + + Initializes a new instance of the class. + + The wrapped result document. + + + + Gets the server version. + + + The server version. + + + + + Gets the wrapped result document. + + + The wrapped result document. + + + + + + + + + + + + + + Represents the result of an isMaster command. + + + + + Initializes a new instance of the class. + + The wrapped result document. + + + + Gets the election identifier. + + + + + Gets a value indicating whether this instance is an arbiter. + + + true if this instance is an arbiter; otherwise, false. + + + + + Gets a value indicating whether this instance is a replica set member. + + + true if this instance is a replica set member; otherwise, false. + + + + + Gets the last write timestamp. + + + The last write timestamp. + + + + + Gets the maximum number of documents in a batch. + + + The maximum number of documents in a batch. + + + + + Gets the maximum size of a document. + + + The maximum size of a document. + + + + + Gets the maximum size of a message. + + + The maximum size of a message. + + + + + Gets the endpoint the server is claiming it is known as. + + + + + Gets the type of the server. + + + The type of the server. + + + + + Gets the replica set tags. + + + The replica set tags. + + + + + Gets the maximum wire version. + + + The maximum wire version. + + + + + Gets the minimum wire version. + + + The minimum wire version. + + + + + Gets the wrapped result document. + + + The wrapped result document. + + + + + + + + + + + + + + Gets the replica set configuration. + + The replica set configuration. + + + + Represents the collation feature. + + + + + + Initializes a new instance of the class. + + The name of the feature. + The first server version that supports the feature. + + + + Throws if collation value is not null and collations are not supported. + + The server version. + The value. + + + + Represents the commands that write accept write concern concern feature. + + + + + + Initializes a new instance of the class. + + The name of the feature. + The first server version that supports the feature. + + + + Returns true if the write concern value supplied is one that should be sent to the server and the server version supports the commands that write accept write concern feature. + + The server version. + The write concern value. + Whether the write concern should be sent to the server. + + + + Represents a feature that is not supported by all versions of the server. + + + + + Gets the aggregate feature. + + + + + Gets the aggregate allow disk use feature. + + + + + Gets the aggregate bucket stage feature. + + + + + Gets the aggregate count stage feature. + + + + + Gets the aggregate cursor result feature. + + + + + Gets the aggregate explain feature. + + + + + Gets the aggregate $facet stage feature. + + + + + Gets the aggregate $graphLookup stage feature. + + + + + Gets the aggregate out feature. + + + + + Gets the bypass document validation feature. + + + + + Gets the collation feature. + + + + + Gets the commands that write accept write concern feature. + + + + + Gets the create indexes command feature. + + + + + Gets the current op command feature. + + + + + Gets the document validation feature. + + + + + Gets the explain command feature. + + + + + Gets the fail points feature. + + + + + Gets the find and modify write concern feature. + + + + + Gets the find command feature. + + + + + Gets the index options defaults feature. + + + + + Gets the list collections command feature. + + + + + Gets the list indexes command feature. + + + + + Gets the maximum staleness feature. + + + + + Gets the maximum time feature. + + + + + Gets the partial indexes feature. + + + + + Gets the read concern feature. + + + + + Gets the scram sha1 authentication feature. + + + + + Gets the server extracts username from X509 certificate feature. + + + + + Gets the user management commands feature. + + + + + Gets the views feature. + + + + + Gets the write commands feature. + + + + + Initializes a new instance of the class. + + The name of the feature. + The first server version that supports the feature. + + + + Gets the name of the feature. + + + + + Gets the first server version that supports the feature. + + + + + Gets the last server version that does not support the feature. + + + + + Determines whether a feature is supported by a version of the server. + + The server version. + Whether a feature is supported by a version of the server. + + + + Returns a version of the server where the feature is or is not supported. + + Whether the feature is supported or not. + A version of the server where the feature is or is not supported. + + + + Throws if the feature is not supported by a version of the server. + + The server version. + + + + Represents the read concern feature. + + + + + + Initializes a new instance of the class. + + The name of the feature. + The first server version that supports the feature. + + + + Throws if the read concern value is not the server default and read concern is not supported. + + The server version. + The value. + + + + A mapper from error responses to custom exceptions. + + + + + Maps the specified response to a custom exception (if possible). + + The connection identifier. + The response. + + The custom exception (or null if the response could not be mapped to a custom exception). + + + + + Maps the specified writeConcernResult to a custom exception (if necessary). + + The connection identifier. + The write concern result. + + The custom exception (or null if the writeConcernResult was not mapped to an exception). + + + + + Maps the server response to a MongoNotPrimaryException or MongoNodeIsRecoveringException (if appropriate). + + The connection identifier. + The server response. + Name of the error message field. + The exception, or null if no exception necessary. + + + + Represents a tentative request to acquire a SemaphoreSlim. + + + + + Initializes a new instance of the class. + + The semaphore. + The cancellation token. + + + + Gets the semaphore wait task. + + + The semaphore wait task. + + + + + + + + Represents a source of items that can be broken into batches. + + The type of the items. + + + + Initializes a new instance of the class. + + + Use this overload when you know the batch is small and won't have to be broken up into sub-batches. + In that case using this overload is simpler than using an enumerator and using the other constructor. + + The single batch. + + + + Initializes a new instance of the class. + + The enumerator that will provide the items for the batch. + + + + Gets the most recent batch. + + + The most recent batch. + + + + + Gets the current item. + + + The current item. + + + + + Gets a value indicating whether there are more items. + + + true if there are more items; otherwise, false. + + + + + Clears the most recent batch. + + + + + Called when the last batch is complete. + + The batch. + + + + Called when an intermediate batch is complete. + + The batch. + The overflow item. + + + + Gets all the remaining items that haven't been previously consumed. + + The remaining items. + + + + Moves to the next item in the source. + + True if there are more items. + + + + Starts a new batch. + + The overflow item of the previous batch if there is one; otherwise, null. + + + + Represents an overflow item that did not fit in the most recent batch and will be become the first item in the next batch. + + + + + The item. + + + + + The state information, if any, that the consumer wishes to associate with the overflow item. + + + + + Represents a range between a minimum and a maximum value. + + The type of the value. + + + + Initializes a new instance of the class. + + The minimum value. + The maximum value. + + + + Gets the maximum value. + + + The maximum value. + + + + + Gets the minimum value. + + + The minimum value. + + + + + + + + + + + + + + Determines whether this range overlaps with another range. + + The other range. + True if this range overlaps with the other + + + + + + + Thread-safe helper to manage a value. + + + + + Represents helper methods for EndPoints. + + + + + Gets an end point equality comparer. + + + An end point equality comparer. + + + + + Determines whether a list of end points contains a specific end point. + + The list of end points. + The specific end point to search for. + True if the list of end points contains the specific end point. + + + + Compares two end points. + + The first end point. + The second end point. + True if both end points are equal, or if both are null. + + + + Creates an end point from object data saved during serialization. + + The object data. + An end point. + + + + Gets the object data required to serialize an end point. + + The end point. + The object data. + + + + Compares two sequences of end points. + + The first sequence of end points. + The second sequence of end points. + True if both sequences contain the same end points in the same order, or if both sequences are null. + + + + Parses the string representation of an end point. + + The value to parse. + An end point. + + + + Returns a that represents the end point. + + The end point. + + A that represents the end point. + + + + + Tries to parse the string representation of an end point. + + The value to parse. + The result. + True if the string representation was parsed successfully. + + + + Represents methods that can be used to ensure that parameter values meet expected conditions. + + + + + Ensures that the value of a parameter is between a minimum and a maximum value. + + Type type of the value. + The value of the parameter. + The minimum value. + The maximum value. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is equal to a comparand. + + Type type of the value. + The value of the parameter. + The comparand. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is greater than or equal to a comparand. + + Type type of the value. + The value of the parameter. + The comparand. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is greater than or equal to zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is greater than or equal to zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is greater than or equal to zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is greater than zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is greater than zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is greater than zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is infinite or greater than or equal to zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is infinite or greater than zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is not null. + + Type type of the value. + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is not null or empty. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null. + + Type type of the value. + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null or greater than or equal to zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null or greater than or equal to zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null or greater than zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null or greater than zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null or greater than zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null, or infinite, or greater than or equal to zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null or not empty. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null or a valid timeout. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is a valid timeout. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that an assertion is true. + + The assertion. + The message to use with the exception that is thrown if the assertion is false. + + + + Ensures that an assertion is true. + + The assertion. + The message to use with the exception that is thrown if the assertion is false. + The parameter name. + + + + Ensures that the value of a parameter meets an assertion. + + Type type of the value. + The value of the parameter. + The assertion. + The name of the parameter. + The message to use with the exception that is thrown if the assertion is false. + The value of the parameter. + + + + Represents a semantic version number. + + + + + Initializes a new instance of the class. + + The major version. + The minor version. + The patch version. + + + + Initializes a new instance of the class. + + The major version. + The minor version. + The patch version. + The pre release version. + + + + Gets the major version. + + + The major version. + + + + + Gets the minor version. + + + The minor version. + + + + + Gets the patch version. + + + The patch version. + + + + + Gets the pre release version. + + + The pre release version. + + + + + + + + + + + + + + + + + + + + Parses a string representation of a semantic version. + + The string value to parse. + A semantic version. + + + + Tries to parse a string representation of a semantic version. + + The string value to parse. + The result. + True if the string representation was parsed successfully; otherwise false. + + + + Determines whether two specified semantic versions have the same value. + + The first semantic version to compare, or null. + The second semantic version to compare, or null. + + True if the value of a is the same as the value of b; otherwise false. + + + + + Determines whether two specified semantic versions have different values. + + The first semantic version to compare, or null. + The second semantic version to compare, or null. + + True if the value of a is different from the value of b; otherwise false. + + + + + Determines whether the first specified SemanticVersion is greater than the second specified SemanticVersion. + + The first semantic version to compare, or null. + The second semantic version to compare, or null. + + True if the value of a is greater than b; otherwise false. + + + + + Determines whether the first specified SemanticVersion is greater than or equal to the second specified SemanticVersion. + + The first semantic version to compare, or null. + The second semantic version to compare, or null. + + True if the value of a is greater than or equal to b; otherwise false. + + + + + Determines whether the first specified SemanticVersion is less than the second specified SemanticVersion. + + The first semantic version to compare, or null. + The second semantic version to compare, or null. + + True if the value of a is less than b; otherwise false. + + + + + Determines whether the first specified SemanticVersion is less than or equal to the second specified SemanticVersion. + + The first semantic version to compare, or null. + The second semantic version to compare, or null. + + True if the value of a is less than or equal to b; otherwise false. + + + + + Represents a create view operation. + + + + + Initializes a new instance of the class. + + The name of the database. + The name of the view. + The name of the collection that the view is on. + The pipeline. + The message encoder settings. + + + + Gets or sets the collation. + + + The collation. + + + + + Gets the namespace of the database. + + + The namespace of the database. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the pipeline. + + + The pipeline. + + + + + Gets the name of the view. + + + The name of the view. + + + + + Gets the name of the collection that the view is on. + + + The name of the collection that the view is on. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + Represents a reindex operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The message encoder settings. + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets the write concern (ignored and will eventually be deprecated and later removed). + + + The write concern. + + + + + + + + + + + Represents a create indexes operation that uses the createIndexes command. + + + + + Initializes a new instance of the class. + + The collection namespace. + The requests. + The message encoder settings. + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the create index requests. + + + The create index requests. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + Represents a create indexes operation that inserts into the system.indexes collection (used with older server versions). + + + + + Initializes a new instance of the class. + + The collection namespace. + The requests. + The message encoder settings. + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the create index requests. + + + The create index requests. + + + + + + + + + + + Represents the geoSearch command. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The point for which to find the closest documents. + The result serializer. + The message encoder settings. + + + + Gets the collection namespace. + + + + + Gets or sets the limit. + + + + + Gets or sets the maximum distance. + + + + + Gets or sets the maximum time. + + + + + Gets the message encoder settings. + + + + + Gets the point for which to find the closest documents. + + + + + Gets or sets the read concern. + + + + + Gets the result serializer. + + + + + Gets or sets the search. + + + + + + + + + + + Represents the geoNear command. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The point for which to find the closest documents. + The result serializer. + The message encoder settings. + + + + Gets or sets the collation. + + + + + Gets the collection namespace. + + + + + Gets or sets the distance multiplier. + + + + + Gets or sets the filter. + + + + + Gets or sets whether to include the locations of the matching documents. + + + + + Gets or sets the limit. + + + + + Gets or sets the maximum distance. + + + + + Gets or sets the maximum time. + + + + + Gets the message encoder settings. + + + + + Gets the point for which to find the closest documents. + + + + + Gets or sets the read concern. + + + + + Gets the result serializer. + + + + + Gets or sets whether to use spherical geometry. + + + + + Gets or sets whether to return a document only once. + + + + + + + + + + + Represents a list collections operation. + + + + + Initializes a new instance of the class. + + The database namespace. + The message encoder settings. + + + + Gets or sets the filter. + + + The filter. + + + + + Gets the database namespace. + + + The database namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + + + + + + + Represents a list collections operation. + + + + + Initializes a new instance of the class. + + The database namespace. + The message encoder settings. + + + + Gets or sets the filter. + + + The filter. + + + + + Gets the database namespace. + + + The database namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + + + + + + + Represents a list indexes operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The message encoder settings. + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + + + + + + + Represents a list indexes operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The message encoder settings. + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + + + + + + + A helper class for deserializing documents in a cursor batch. + + + + + Deserializes the documents. + + The type of the document. + The batch. + The document serializer. + The message encoder settings. + The documents. + + + + Represents a Find command operation. + + The type of the document. + + + + Initializes a new instance of the class. + + The collection namespace. + The result serializer. + The message encoder settings. + + + + Gets or sets a value indicating whether the server is allowed to return partial results if any shards are unavailable. + + + true if the server is allowed to return partial results if any shards are unavailable; otherwise, false. + + + + + Gets or sets the size of a batch. + + + The size of a batch. + + + + + Gets or sets the collation. + + + The collation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets the comment. + + + The comment. + + + + + Gets or sets the type of the cursor. + + + The type of the cursor. + + + + + Gets or sets the filter. + + + The filter. + + + + + Gets or sets the size of the first batch. + + + The size of the first batch. + + + + + Gets or sets the hint. + + + The hint. + + + + + Gets or sets the limit. + + + The limit. + + + + + Gets or sets the max key value. + + + The max key value. + + + + + Gets or sets the maximum await time for TailableAwait cursors. + + + The maximum await time for TailableAwait cursors. + + + + + Gets or sets the max scan. + + + The max scan. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets the min key value. + + + The max min value. + + + + + Gets or sets a value indicating whether the server will not timeout the cursor. + + + true if the server will not timeout the cursor; otherwise, false. + + + + + Gets or sets a value indicating whether the OplogReplay bit will be set. + + + true if the OplogReplay bit will be set; otherwise, false. + + + + + Gets or sets the projection. + + + The projection. + + + + + Gets or sets the read concern. + + + The read concern. + + + + + Gets the result serializer. + + + The result serializer. + + + + + Gets or sets whether to only return the key values. + + + Whether to only return the key values. + + + + + Gets or sets whether the record Id should be added to the result document. + + + Whether the record Id should be added to the result documentr. + + + + + Gets or sets whether to return only a single batch. + + + Whether to return only a single batchThe single batch. + + + + + Gets or sets the number of documents skip. + + + The number of documents skip. + + + + + Gets or sets whether to use snapshot behavior. + + + Whether to use snapshot behavior. + + + + + Gets or sets the sort specification. + + + The sort specification. + + + + + + + + + + + Represents a Find opcode operation. + + The type of the returned documents. + + + + Initializes a new instance of the class. + + The collection namespace. + The result serializer. + The message encoder settings. + + + + Gets or sets a value indicating whether the server is allowed to return partial results if any shards are unavailable. + + + true if the server is allowed to return partial results if any shards are unavailable; otherwise, false. + + + + + Gets or sets the size of a batch. + + + The size of a batch. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets the comment. + + + The comment. + + + + + Gets or sets the type of the cursor. + + + The type of the cursor. + + + + + Gets or sets the filter. + + + The filter. + + + + + Gets or sets the size of the first batch. + + + The size of the first batch. + + + + + Gets or sets the hint. + + + The hint. + + + + + Gets or sets the limit. + + + The limit. + + + + + Gets or sets the max key value. + + + The max key value. + + + + + Gets or sets the max scan. + + + The max scan. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets the min key value. + + + The max min value. + + + + + Gets or sets any additional query modifiers. + + + The additional query modifiers. + + + + + Gets or sets a value indicating whether the server will not timeout the cursor. + + + true if the server will not timeout the cursor; otherwise, false. + + + + + Gets or sets a value indicating whether the OplogReplay bit will be set. + + + true if the OplogReplay bit will be set; otherwise, false. + + + + + Gets or sets the projection. + + + The projection. + + + + + Gets the result serializer. + + + The result serializer. + + + + + Gets or sets whether the record Id should be added to the result document. + + + Whether the record Id should be added to the result documentr. + + + + + Gets or sets the number of documents skip. + + + The number of documents skip. + + + + + Gets or sets whether to use snapshot behavior. + + + Whether to use snapshot behavior. + + + + + Gets or sets the sort specification. + + + The sort specification. + + + + + + + + + + + Returns an explain operation for this find operation. + + The verbosity. + An explain operation. + + + + Represents an aggregate explain operations. + + + + + Initializes a new instance of the class. + + The collection namespace. + The pipeline. + The message encoder settings. + + + + Gets or sets a value indicating whether the server is allowed to use the disk. + + + A value indicating whether the server is allowed to use the disk. + + + + + Gets or sets the collation. + + + The collation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the pipeline. + + + The pipeline. + + + + + + + + + + + Represents a map-reduce operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The map function. + The reduce function. + The message encoder settings. + + + + Gets or sets the read concern. + + + The read concern. + + + + + + + + + + + + + + + + + Represents a bulk write operation exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The result. + The write errors. + The write concern error. + The unprocessed requests. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Gets the result of the bulk write operation. + + + + + Gets the unprocessed requests. + + + The unprocessed requests. + + + + + + Gets the write concern error. + + + The write concern error. + + + + + Gets the write errors. + + + The write errors. + + + + + + + + Represents a create index request. + + + + + Initializes a new instance of the class. + + The keys. + + + + Gets or sets the additional options. + + + The additional options. + + + + + Gets or sets a value indicating whether the index should be created in the background. + + + A value indicating whether the index should be created in the background. + + + + + Gets or sets the bits of precision of the geohash values for 2d geo indexes. + + + The bits of precision of the geohash values for 2d geo indexes. + + + + + Gets or sets the size of the bucket for geo haystack indexes. + + + The size of the bucket for geo haystack indexes. + + + + + Gets or sets the collation. + + + + + Gets or sets the default language for text indexes. + + + The default language for text indexes. + + + + + Gets or sets when documents in a TTL collection expire. + + + When documents in a TTL collection expire. + + + + + Gets or sets the language override for text indexes. + + + The language override for text indexes. + + + + + Gets the keys. + + + The keys. + + + + + Gets or sets the maximum coordinate value for 2d indexes. + + + The maximum coordinate value for 2d indexesThe maximum. + + + + + Gets or sets the minimum coordinate value for 2d indexes. + + + The minimum coordinate value for 2d indexes. + + + + + Gets or sets the index name. + + + The index name. + + + + + Gets or sets the partial filter expression. + + + The partial filter expression. + + + + + Gets or sets a value indicating whether the index is a sparse index. + + + A value indicating whether the index is a sparse index. + + + + + Gets or sets the 2dsphere index version. + + + The 2dsphere index version. + + + + + Gets or sets the storage engine options. + + + The storage engine options. + + + + + Gets or sets the text index version. + + + The text index version. + + + + + Gets or sets a value indicating whether the index enforces the uniqueness of the key values. + + + A value indicating whether the index enforces the uniqueness of the key values. + + + + + Gets or sets the index version. + + + The index version. + + + + + Gets or sets the weights for text indexes. + + + The weights for text indexes. + + + + + Gets the name of the index. + + The name of the index. + + + + The cursor type. + + + + + A non-tailable cursor. This is sufficient for most uses. + + + + + A tailable cursor. + + + + + A tailable cursor with a built-in server sleep. + + + + + Represents an element name validator that checks that element names are valid for MongoDB collections. + + + + + Gets a pre-created instance of a CollectionElementNameValidator. + + + The pre-created instance. + + + + + + + + + + + Represents a factory for element name validators based on the update type. + + + + + Returns an element name validator for the update type. + + Type of the update. + An element name validator. + + + + Represents an element name validator for update operations. + + + + + Gets a pre-created instance of an UpdateElementNameValidator. + + + The pre-created instance. + + + + + + + + + + + Represents an element name validator that will validate element names for either an update or a replacement based on whether the first element name starts with a "$". + + + + + Initializes a new instance of the class. + + + + + + + + + + + Represents an explain operation. + + + + + Initializes a new instance of the class. + + The database namespace. + The command. + The message encoder settings. + + + + Gets the database namespace. + + + The database namespace. + + + + + Gets the command to be explained. + + + The command to be explained. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets the verbosity. + + + The verbosity. + + + + + + + + + + + + + + + + + The verbosity of an explanation. + + + + + Runs the query planner and chooses the winning plan, but does not actually execute it. + + + + + Runs the query optimizer, and then runs the winning plan to completion. In addition to the + planner information, this makes execution stats available. + + + + + Runs the query optimizer and chooses the winning plan, but then runs all generated plans + to completion. This makes execution stats available for all of the query plans. + + + + + Represents a base class for find and modify operations. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The result serializer. + The message encoder settings. + + + + Gets or sets the collation. + + + The collation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the result serializer. + + + The result serializer. + + + + + Gets or sets the write concern. + + + + + + + + + + + Gets the command validator. + + An element name validator for the command. + + + + Represents a deserializer for find and modify result values. + + The type of the result. + + + + Initializes a new instance of the class. + + The value serializer. + + + + + + + Represents a find one and update operation. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The filter. + The update. + The result serializer. + The message encoder settings. + + + + Gets or sets a value indicating whether to bypass document validation. + + + A value indicating whether to bypass document validation. + + + + + Gets the filter. + + + The filter. + + + + + Gets a value indicating whether a document should be inserted if no matching document is found. + + + true if a document should be inserted if no matching document is found; otherwise, false. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets or sets the projection. + + + The projection. + + + + + Gets or sets which version of the modified document to return. + + + Which version of the modified document to return. + + + + + Gets or sets the sort specification. + + + The sort specification. + + + + + Gets or sets the update specification. + + + The update specification. + + + + + + + + Represents a find one and replace operation. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The filter. + The replacement. + The result serializer. + The message encoder settings. + + + + Gets or sets a value indicating whether to bypass document validation. + + + A value indicating whether to bypass document validation. + + + + + Gets the filter. + + + The filter. + + + + + Gets a value indicating whether a document should be inserted if no matching document is found. + + + true if a document should be inserted if no matching document is found; otherwise, false. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets or sets the projection. + + + The projection. + + + + + Gets the replacement document. + + + The replacement document. + + + + + Gets or sets which version of the modified document to return. + + + Which version of the modified document to return. + + + + + Gets or sets the sort specification. + + + The sort specification. + + + + + + + + Represents a find one and delete operation. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The filter. + The result serializer. + The message encoder settings. + + + + Gets the filter. + + + The filter. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets or sets the projection. + + + The projection. + + + + + Gets or sets the sort specification. + + + The sort specification. + + + + + + + + The document to return when executing a FindAndModify command. + + + + + Returns the document before the modification. + + + + + Returns the document after the modification. + + + + + Represents helper methods for index names. + + + + + Gets the name of the index derived from the keys specification. + + The keys specification. + The name of the index. + + + + Gets the name of the index derived from the key names. + + The key names. + The name of the index. + + + + Represents a list indexes operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The message encoder settings. + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + + + + + + + Represents a list collections operation. + + + + + Initializes a new instance of the class. + + The database namespace. + The message encoder settings. + + + + Gets or sets the filter. + + + The filter. + + + + + Gets the database namespace. + + + The database namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + + + + + + + Represents a ping operation. + + + + + Initializes a new instance of the class. + + The message encoder settings. + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + + + + + + + Represents the update type. + + + + + The update type is unknown. + + + + + This update uses an update specification to update an existing document. + + + + + This update completely replaces an existing document with a new one. + + + + + Gets or sets the maximum size of a document. + + + The maximum size of a document. + + + + + Represents the type of a write request. + + + + + A delete request. + + + + + An insert request. + + + + + An udpate request. + + + + + Represents a mixed write bulk operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The requests. + The message encoder settings. + + + + Gets or sets a value indicating whether to bypass document validation. + + + A value indicating whether to bypass document validation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets a value indicating whether the writes must be performed in order. + + + true if the writes must be performed in order; otherwise, false. + + + + + Gets or sets the maximum number of documents in a batch. + + + The maximum number of documents in a batch. + + + + + Gets or sets the maximum length of a batch. + + + The maximum length of a batch. + + + + + Gets or sets the maximum size of a document. + + + The maximum size of a document. + + + + + Gets or sets the maximum size of a wire document. + + + The maximum size of a wire document. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the requests. + + + The requests. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + + + + + + Represents the result of one batch executed using a write command. + + + + + Represents the details of a write error for a particular request. + + + + + Initializes a new instance of the class. + + The index. + The code. + The message. + The details. + + + + Gets the error category. + + + The error category. + + + + + Gets the error code. + + + The error code. + + + + + Gets the error details. + + + The error details. + + + + + Gets the index of the request that had an error. + + + The index. + + + + + Gets the error message. + + + The error message. + + + + + Represents the result of a bulk write operation. + + + + + Initializes a new instance of the class. + + The request count. + The processed requests. + + + + Gets the number of documents that were deleted. + + + The number of document that were deleted. + + + + + Gets the number of documents that were inserted. + + + The number of document that were inserted. + + + + + Gets a value indicating whether the bulk write operation was acknowledged. + + + true if the bulk write operation was acknowledged; otherwise, false. + + + + + Gets a value indicating whether the modified count is available. + + + The modified count is only available when all servers have been upgraded to 2.6 or above. + + + true if the modified count is available; otherwise, false. + + + + + Gets the number of documents that were matched. + + + The number of document that were matched. + + + + + Gets the number of documents that were actually modified during an update. + + + The number of document that were actually modified during an update. + + + + + Gets the processed requests. + + + The processed requests. + + + + + Gets the request count. + + + The request count. + + + + + Gets a list with information about each request that resulted in an upsert. + + + The list with information about each request that resulted in an upsert. + + + + + Represents the result of an acknowledged bulk write operation. + + + + + Initializes a new instance of the class. + + The request count. + The matched count. + The deleted count. + The inserted count. + The modified count. + The processed requests. + The upserts. + + + + + + + + + + + + + + + + + + + + + + + + + Represents the result of an unacknowledged BulkWrite operation. + + + + + Initializes a new instance of the class. + + The request count. + The processed requests. + + + + + + + + + + + + + + + + + + + + + + + + + Represents the information about one Upsert. + + + + + Gets the identifier. + + + The identifier. + + + + + Gets the index. + + + The index. + + + + + Represents a request to insert a document. + + + + + Initializes a new instance of the class. + + The document. + + + + Gets or sets the document. + + + The document. + + + + + Represents the details of a write concern error. + + + + + Initializes a new instance of the class. + + The code. + The message. + The details. + + + + Gets the error code. + + + The error code. + + + + + Gets the error details. + + + The error details. + + + + + Gets the error message. + + + The error message. + + + + + Represents a request to write something to the database. + + + + + Initializes a new instance of the class. + + The request type. + + + + Gets or sets the correlation identifier. + + + + + Gets the request type. + + + The request type. + + + + + Represents an aggregate operation. + + The type of the result values. + + + + Initializes a new instance of the class. + + The collection namespace. + The pipeline. + The result value serializer. + The message encoder settings. + + + + Gets or sets a value indicating whether the server is allowed to use the disk. + + + A value indicating whether the server is allowed to use the disk. + + + + + Gets or sets the size of a batch. + + + The size of a batch. + + + + + Gets or sets the collation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the pipeline. + + + The pipeline. + + + + + Gets or sets the read concern. + + + The read concern. + + + + + Gets the result value serializer. + + + The result value serializer. + + + + + Gets or sets a value indicating whether the server should use a cursor to return the results. + + + A value indicating whether the server should use a cursor to return the results. + + + + + + + + + + + Returns an AggregateExplainOperation for this AggregateOperation. + + The verbosity. + An AggregateExplainOperation. + + + + Represents an aggregate operation that writes the results to an output collection. + + + + + Initializes a new instance of the class. + + The collection namespace. + The pipeline. + The message encoder settings. + + + + Gets or sets a value indicating whether the server is allowed to use the disk. + + + A value indicating whether the server is allowed to use the disk. + + + + + Gets or sets a value indicating whether to bypass document validation. + + + A value indicating whether to bypass document validation. + + + + + Gets or sets the collation. + + + The collation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the pipeline. + + + The pipeline. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + Represents the base class for a command operation. + + The type of the command result. + + + + Initializes a new instance of the class. + + The database namespace. + The command. + The result serializer. + The message encoder settings. + + + + Gets or sets the additional options. + + + The additional options. + + + + + Gets the command. + + + The command. + + + + + Gets or sets the command validator. + + + The command validator. + + + + + Gets or sets the comment. + + + The comment. + + + + + Gets the database namespace. + + + The database namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the result serializer. + + + The result serializer. + + + + + Executes the protocol. + + The channel source. + The read preference. + The cancellation token. + A Task whose result is the command result. + + + + Executes the protocol. + + The channel source. + The read preference. + The cancellation token. + A Task whose result is the command result. + + + + Represents a count operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The message encoder settings. + + + + Gets or sets the collation. + + + The collation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets the filter. + + + The filter. + + + + + Gets or sets the index hint. + + + The index hint. + + + + + Gets or sets a limit on the number of matching documents to count. + + + A limit on the number of matching documents to count. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets the read concern. + + + The read concern. + + + + + Gets or sets the number of documents to skip before counting the remaining matching documents. + + + The number of documents to skip before counting the remaining matching documents. + + + + + + + + + + + Represents a create collection operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The message encoder settings. + + + + Gets or sets a value indicating whether an index on _id should be created automatically. + + + A value indicating whether an index on _id should be created automatically. + + + + + Gets or sets a value indicating whether the collection is a capped collection. + + + A value indicating whether the collection is a capped collection. + + + + + Gets or sets the collation. + + + The collation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets the index option defaults. + + + The index option defaults. + + + + + Gets or sets the maximum number of documents in a capped collection. + + + The maximum number of documents in a capped collection. + + + + + Gets or sets the maximum size of a capped collection. + + + The maximum size of a capped collection. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets whether padding should not be used. + + + + + Gets or sets the storage engine options. + + + The storage engine options. + + + + + Gets or sets a value indicating whether the collection should use power of 2 sizes. + + + A value indicating whether the collection should use power of 2 sizes.. + + + + + Gets or sets the validation action. + + + The validation action. + + + + + Gets or sets the validation level. + + + The validation level. + + + + + Gets or sets the validator. + + + The validator. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + Represents a create indexes operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The requests. + The message encoder settings. + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the create index requests. + + + The create index requests. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + Represents an async cursor. + + The type of the documents. + + + + Initializes a new instance of the class. + + The channel source. + The collection namespace. + The query. + The first batch. + The cursor identifier. + The size of a batch. + The limit. + The serializer. + The message encoder settings. + The maxTime for each batch. + + + + + + + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + + + + + + + Represents a database exists operation. + + + + + Initializes a new instance of the class. + + The database namespace. + The message encoder settings. + + + + Gets the database namespace. + + + The database namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + + + + + + + Represents a delete operation using the delete opcode. + + + + + Initializes a new instance of the class. + + The collection namespace. + The request. + The message encoder settings. + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the request. + + + The request. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + Represents a request to delete one or more documents. + + + + + Initializes a new instance of the class. + + The filter. + + + + Gets or sets the collation. + + + + + Gets or sets the filter. + + + + + Gets or sets a limit on the number of documents that should be deleted. + + + The server only supports 0 or 1, and 0 means that all matching documents should be deleted. + + + A limit on the number of documents that should be deleted. + + + + + Represents a distinct operation. + + The type of the value. + + + + Initializes a new instance of the class. + + The collection namespace. + The value serializer. + The name of the field. + The message encoder settings. + + + + Gets or sets the collation. + + + The collation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets the filter. + + + The filter. + + + + + Gets the name of the field. + + + The name of the field. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets the read concern. + + + The read concern. + + + + + Gets the value serializer. + + + The value serializer. + + + + + + + + + + + Represents a drop collection operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The message encoder settings. + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + Represents a drop database operation. + + + + + Initializes a new instance of the class. + + The database namespace. + The message encoder settings. + + + + Gets the database namespace. + + + The database namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + Represents a drop index operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The keys. + The message encoder settings. + + + + Initializes a new instance of the class. + + The collection namespace. + The name of the index. + The message encoder settings. + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the name of the index. + + + The name of the index. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + Represents an eval operation. + + + + + Initializes a new instance of the class. + + The database namespace. + The JavaScript function. + The message encoder settings. + + + + Gets or sets the arguments to the JavaScript function. + + + The arguments to the JavaScript function. + + + + + Gets the database namespace. + + + The database namespace. + + + + + Gets the JavaScript function. + + + The JavaScript function. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets a value indicating whether the server should not take a global write lock before evaluating the JavaScript function. + + + A value indicating whether the server should not take a global write lock before evaluating the JavaScript function. + + + + + + + + + + + Represents a deserializer that deserializes the selected element and skips any others. + + The type of the value. + + + + Represents a Find operation. + + The type of the returned documents. + + + + Initializes a new instance of the class. + + The collection namespace. + The result serializer. + The message encoder settings. + + + + Gets or sets a value indicating whether the server is allowed to return partial results if any shards are unavailable. + + + true if the server is allowed to return partial results if any shards are unavailable; otherwise, false. + + + + + Gets or sets the size of a batch. + + + The size of a batch. + + + + + Gets or sets the collation. + + + The collation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets the comment. + + + The comment. + + + + + Gets or sets the type of the cursor. + + + The type of the cursor. + + + + + Gets or sets the filter. + + + The filter. + + + + + Gets or sets the size of the first batch. + + + The size of the first batch. + + + + + Gets or sets the hint. + + + The hint. + + + + + Gets or sets the limit. + + + The limit. + + + + + Gets or sets the max key value. + + + The max key value. + + + + + Gets or sets the maximum await time for TailableAwait cursors. + + + The maximum await time for TailableAwait cursors. + + + + + Gets or sets the max scan. + + + The max scan. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets the min key value. + + + The max min value. + + + + + Gets or sets any additional query modifiers. + + + The additional query modifiers. + + + + + Gets or sets a value indicating whether the server will not timeout the cursor. + + + true if the server will not timeout the cursor; otherwise, false. + + + + + Gets or sets a value indicating whether the OplogReplay bit will be set. + + + true if the OplogReplay bit will be set; otherwise, false. + + + + + Gets or sets the projection. + + + The projection. + + + + + Gets or sets the read concern. + + + The read concern. + + + + + Gets the result serializer. + + + The result serializer. + + + + + Gets or sets whether to only return the key values. + + + Whether to only return the key values. + + + + + Gets or sets whether the record Id should be added to the result document. + + + Whether the record Id should be added to the result documentr. + + + + + Gets or sets whether to return only a single batch. + + + Whether to return only a single batchThe single batch. + + + + + Gets or sets the number of documents skip. + + + The number of documents skip. + + + + + Gets or sets whether to use snapshot behavior. + + + Whether to use snapshot behavior. + + + + + Gets or sets the sort specification. + + + The sort specification. + + + + + + + + + + + Represents a group operation. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The key. + The initial aggregation result for each group. + The reduce function. + The filter. + The message encoder settings. + + + + Initializes a new instance of the class. + + The collection namespace. + The key function. + The initial aggregation result for each group. + The reduce function. + The filter. + The message encoder settings. + + + + Gets or sets the collation. + + + The collation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the filter. + + + The filter. + + + + + Gets or sets the finalize function. + + + The finalize function. + + + + + Gets the initial aggregation result for each group. + + + The initial aggregation result for each group. + + + + + Gets the key. + + + The key. + + + + + Gets the key function. + + + The key function. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the reduce function. + + + The reduce function. + + + + + Gets or sets the result serializer. + + + The result serializer. + + + + + + + + + + + Represents an insert operation using the insert opcode. + + The type of the document. + + + + Initializes a new instance of the class. + + The collection namespace. + The document source. + The serializer. + The message encoder settings. + + + + Gets or sets a value indicating whether to bypass document validation. + + + A value indicating whether to bypass document validation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets a value indicating whether the server should continue on error. + + + true if the server should continue on error; otherwise, false. + + + + + Gets the document source. + + + The document source. + + + + + Gets or sets the maximum number of documents in a batch. + + + The maximum number of documents in a batch. + + + + + Gets or sets the maximum size of a document. + + + The maximum size of a document. + + + + + Gets or sets the maximum size of a message. + + + The maximum size of a message. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the serializer. + + + The serializer. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + Represents a database read operation. + + The type of the result. + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Represents a database write operation. + + The type of the result. + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Represents the listDatabases command. + + + + + Initializes a new instance of the class. + + The message encoder settings. + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + + + + + + + Represents a map-reduce operation. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The map function. + The reduce function. + The result serializer. + The message encoder settings. + + + + Gets or sets the read concern. + + + The read concern. + + + + + Gets the result serializer. + + + The result serializer. + + + + + + + + + + + + + + + + + Represents a base class for map-reduce operations. + + + + + Initializes a new instance of the class. + + The collection namespace. + The map function. + The reduce function. + The message encoder settings. + + + + Gets or sets the collation. + + + The collation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets the filter. + + + The filter. + + + + + Gets or sets the finalize function. + + + The finalize function. + + + + + Gets or sets a value indicating whether objects emitted by the map function remain as JavaScript objects. + + + + Setting this value to true can result in faster execution, but requires more memory on the server, and if + there are too many emitted objects the map-reduce operation may fail. + + true if objects emitted by the map function remain as JavaScript objects; otherwise, false. + + + + + Gets or sets the maximum number of documents to pass to the map function. + + + The maximum number of documents to pass to the map function. + + + + + Gets the map function. + + + The map function. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the reduce function. + + + The reduce function. + + + + + Gets or sets the scope document. + + + The scode document defines global variables that are accessible from the map, reduce and finalize functions. + + + The scope document. + + + + + Gets or sets the sort specification. + + + The sort specification. + + + + + Gets or sets a value indicating whether to include extra information, such as timing, in the result. + + + true if extra information, such as timing, should be included in the result; otherwise, false. + + + + + Creates the command. + + The server version. + The command. + + + + Creates the output options. + + The output options. + + + + Represents the map-reduce output mode. + + + + + The output of the map-reduce operation replaces the output collection. + + + + + The output of the map-reduce operation is merged with the output collection. + If an existing document has the same key as the new result, overwrite the existing document. + + + + + The output of the map-reduce operation is merged with the output collection. + If an existing document has the same key as the new result, apply the reduce function to both + the new and the existing documents and overwrite the existing document with the result. + + + + + Represents a map-reduce operation that outputs its results to a collection. + + + + + Initializes a new instance of the class. + + The collection namespace. + The output collection namespace. + The map function. + The reduce function. + The message encoder settings. + + + + Gets or sets a value indicating whether to bypass document validation. + + + A value indicating whether to bypass document validation. + + + + + Gets or sets a value indicating whether the server should not lock the database for merge and reduce output modes. + + + true if the server should not lock the database for merge and reduce output modes; otherwise, false. + + + + + Gets the output collection namespace. + + + The output collection namespace. + + + + + Gets or sets the output mode. + + + The output mode. + + + + + Gets or sets a value indicating whether the output collection should be sharded. + + + true if the output collection should be sharded; otherwise, false. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + + + + + + + Represents extension methods for operations. + + + + + Executes a read operation using a channel source. + + The type of the result. + The read operation. + The channel source. + The read preference. + The cancellation token. + The result of the operation. + + + + Executes a write operation using a channel source. + + The type of the result. + The write operation. + The channel source. + The cancellation token. + The result of the operation. + + + + Executes a read operation using a channel source. + + The type of the result. + The read operation. + The channel source. + The read preference. + The cancellation token. + A Task whose result is the result of the operation. + + + + Executes a write operation using a channel source. + + The type of the result. + The write operation. + The channel source. + The cancellation token. + A Task whose result is the result of the operation. + + + + Represents a parallel scan operation. + + The type of the document. + + + + Initializes a new instance of the class. + + The collection namespace. + The number of cursors. + The serializer. + The message encoder settings. + + + + Gets or sets the size of a batch. + + + The size of a batch. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the number of cursors. + + + The number of cursors. + + + + + Gets or sets the read concern. + + + The read concern. + + + + + Gets the serializer. + + + The serializer. + + + + + + + + + + + Represents a read command operation. + + The type of the command result. + + + + Initializes a new instance of the class. + + The database namespace. + The command. + The result serializer. + The message encoder settings. + + + + + + + + + + Represents a rename collection operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The new collection namespace. + The message encoder settings. + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets a value indicating whether to drop the target collection first if it already exists. + + + true if the target collection should be dropped first if it already exists.; otherwise, false. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the new collection namespace. + + + The new collection namespace. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + Represents an update operation using the update opcode. + + + + + Initializes a new instance of the class. + + The collection namespace. + The request. + The message encoder settings. + + + + Gets or sets a value indicating whether to bypass document validation. + + + A value indicating whether to bypass document validation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets the maximum size of a document. + + + The maximum size of a document. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the request. + + + The request. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + Represents a request to update one or more documents. + + + + + Initializes a new instance of the class. + + The update type. + The filter. + The update. + + + + Gets or sets the collation. + + + + + Gets the filter. + + + + + Gets or sets a value indicating whether this update should affect all matching documents. + + + true if this update should affect all matching documents; otherwise, false. + + + + + Gets or sets a value indicating whether a document should be inserted if no matching document is found. + + + true if a document should be inserted if no matching document is found; otherwise, false. + + + + + Gets the update specification. + + + + + Gets the update type. + + + + + Represents a write command operation. + + The type of the command result. + + + + Initializes a new instance of the class. + + The database namespace. + The command. + The result serializer. + The message encoder settings. + + + + + + + + + + Monitors a server for state changes. + + + + + + Occurs when the server description changes. + + + + + Initializes this instance. + + + + + Instructs the monitor to refresh its description immediately. + + + + + Requests a heartbeat as soon as possible. + + + + + Represents a server monitor factory. + + + + + Creates a server monitor. + + The server identifier. + The end point. + A server monitor. + + + + + + + Represents the arguments to the event that occurs when the server description changes. + + + + + Initializes a new instance of the class. + + The old server description. + The new server description. + + + + Gets the old server description. + + + The old server description. + + + + + Gets the new server description. + + + The new server description. + + + + + Represents a server identifier. + + + + + Initializes a new instance of the class. + + The cluster identifier. + The end point. + + + + Gets the cluster identifier. + + + The cluster identifier. + + + + + Gets the end point. + + + The end point. + + + + + + + + + + + + + + + + + Represents a MongoDB server. + + + + + Occurs when the server description changes. + + + + + Gets the server description. + + + The server description. + + + + + Gets the end point. + + + The end point. + + + + + Gets the server identifier. + + + The server identifier. + + + + + Gets a channel to the server. + + The cancellation token. + A channel. + + + + Gets a channel to the server. + + The cancellation token. + A Task whose result is a channel. + + + + Represents a server that can be part of a cluster. + + + + + Gets a value indicating whether this instance is initialized. + + + true if this instance is initialized; otherwise, false. + + + + + Initializes this instance. + + + + + Invalidates this instance (sets the server type to Unknown and clears the connection pool). + + + + + Requests a heartbeat as soon as possible. + + + + + Represents a server factory. + + + + + Creates the server. + + The cluster identifier. + The end point. + A server. + + + + Represents a server in a MongoDB cluster. + + + + + Represents information about a server. + + + + + Initializes a new instance of the class. + + The server identifier. + The end point. + The average round trip time. + The canonical end point. + The election identifier. + The heartbeat exception. + The heartbeat interval. + The last update timestamp. + The last write timestamp. + The maximum batch count. + The maximum size of a document. + The maximum size of a message. + The maximum size of a wire document. + The replica set configuration. + The server state. + The replica set tags. + The server type. + The server version. + The wire version range. + + + + Gets the average round trip time. + + + The average round trip time. + + + + + Gets the canonical end point. This is the endpoint that the cluster knows this + server by. Currently, it only applies to a replica set config and will match + what is in the replica set configuration. + + + + + Gets the election identifier. + + + + + Gets the end point. + + + The end point. + + + + + Gets the most recent heartbeat exception. + + + The the most recent heartbeat exception (null if the most recent heartbeat succeeded). + + + + + Gets the heartbeat interval. + + + The heartbeat interval. + + + + + Gets the last update timestamp (when the ServerDescription itself was last updated). + + + The last update timestamp. + + + + + Gets the last write timestamp (from the lastWrite field of the isMaster result). + + + The last write timestamp. + + + + + Gets the maximum number of documents in a batch. + + + The maximum number of documents in a batch. + + + + + Gets the maximum size of a document. + + + The maximum size of a document. + + + + + Gets the maximum size of a message. + + + The maximum size of a message. + + + + + Gets the maximum size of a wire document. + + + The maximum size of a wire document. + + + + + Gets the replica set configuration. + + + The replica set configuration. + + + + + Gets the server identifier. + + + The server identifier. + + + + + Gets the server state. + + + The server state. + + + + + Gets the replica set tags. + + + The replica set tags (null if not a replica set or if the replica set has no tags). + + + + + Gets the server type. + + + The server type. + + + + + Gets the server version. + + + The server version. + + + + + Gets the wire version range. + + + The wire version range. + + + + + + + + + + + + + + + + + Returns a new instance of ServerDescription with some values changed. + + The average round trip time. + The canonical end point. + The election identifier. + The heartbeat exception. + The heartbeat interval. + The last update timestamp. + The last write timestamp. + The maximum batch count. + The maximum size of a document. + The maximum size of a message. + The maximum size of a wire document. + The replica set configuration. + The server state. + The replica set tags. + The server type. + The server version. + The wire version range. + + A new instance of ServerDescription. + + + + + + + + Represents the server state. + + + + + The server is disconnected. + + + + + The server is connected. + + + + + Represents the server type. + + + + + The server type is unknown. + + + + + The server is a standalone server. + + + + + The server is a shard router. + + + + + The server is a replica set primary. + + + + + The server is a replica set secondary. + + + + + Use ReplicaSetSecondary instead. + + + + + The server is a replica set arbiter. + + + + + The server is a replica set member of some other type. + + + + + The server is a replica set ghost member. + + + + + Represents extension methods on ServerType. + + + + + Determines whether this server type is a replica set member. + + The type of the server. + Whether this server type is a replica set member. + + + + Determines whether this server type is a writable server. + + The type of the server. + Whether this server type is a writable server. + + + + Infers the cluster type from the server type. + + The type of the server. + The cluster type. + + + + Instructions for handling the response from a command. + + + + + Return the response from the server. + + + + + Ignore the response from the server. + + + + + Represents a message encoder selector that gets the appropriate encoder from an encoder factory. + + + + + Get the appropriate encoder from an encoder factory. + + The encoder factory. + A message encoder. + + + + Represents a message encoder selector for ReplyMessages. + + The type of the document. + + + + Initializes a new instance of the class. + + The document serializer. + + + + + + + Represents a base class for binary message encoders. + + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + + + + Gets the encoding. + + + The encoding. + + + + + Creates a binary reader for this encoder. + + A binary reader. + + + + Creates a binary writer for this encoder. + + A binary writer. + + + + Represents a factory for binary message encoders. + + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + + + + + + + + + + + + + + + + + + + + + + + + + Represents a binary encoder for a Delete message. + + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a binary encoder for a GetMore message. + + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a binary encoder for an Insert message. + + The type of the documents. + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + The serializer. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a binary encoder for a KillCursors message. + + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a binary encoder for a Query message. + + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a binary encoder for a Reply message. + + The type of the documents. + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + The serializer. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a binary encoder for an Update message. + + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a base class for JSON message encoders. + + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + + + + Creates a JsonReader for this encoder. + + A JsonReader. + + + + Creates a JsonWriter for this encoder. + + A JsonWriter. + + + + Represents a JSON encoder for a Delete message. + + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a JSON encoder for a GetMore message. + + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a JSON encoder for an Insert message. + + The type of the documents. + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + The serializer. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a factory for JSON message encoders. + + + + + Initializes a new instance of the class. + + The text reader. + The encoder settings. + + + + Initializes a new instance of the class. + + The text writer. + The encoder settings. + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + + + + + + + + + + + + + + + + + + + + + + + + + Represents a JSON encoder for a KillCursors message. + + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a JSON encoder for a Query message. + + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a JSON encoder for a Reply message. + + The type of the documents. + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + The serializer. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a JSON encoder for an Update message. + + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents the names of different encoder settings. + + + + + The name of the FixOldBinarySubTypeOnInput setting. + + + + + The name of the FixOldBinarySubTypeOnOutput setting. + + + + + The name of the FixOldDateTimeMaxValueOnInput setting. + + + + + The name of the GuidRepresentation setting. + + + + + The name of the MaxDocumentSize setting. + + + + + The name of the MaxSerializationDepth setting. + + + + + The name of the ReadEncoding setting. + + + + + The name of the WriteEncoding setting. + + + + + The name of the Indent setting. + + + + + The name of the IndentChars setting. + + + + + The name of the NewLineChars setting. + + + + + The name of the OutputMode setting. + + + + + The name of the ShellVersion setting. + + + + + Represents settings for message encoders. + + + + + Adds a setting. + + The type of the value. + The name. + The value. + The settings. + + + + + + + Gets a setting, or a default value if the setting does not exist. + + The type of the value. + The name. + The default value. + The value of the setting, or a default value if the setting does not exist. + + + + Represents an encodable message. + + + + + Gets an encoder for the message from an encoder factory. + + The encoder factory. + A message encoder. + + + + Represents a message encoder. + + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a message encoder factory. + + + + + Gets an encoder for a Delete message. + + An encoder. + + + + Gets an encoder for a GetMore message. + + An encoder. + + + + Gets an encoder for an Insert message. + + The type of the document. + The serializer. + An encoder. + + + + Gets an encoder for a KillCursors message. + + An encoder. + + + + Gets an encoder for a Query message. + + An encoder. + + + + Gets an encoder for a Reply message. + + The type of the document. + The serializer. + An encoder. + + + + Gets an encoder for an Update message. + + An encoder. + + + + Represents the type of message. + + + + + OP_DELETE + + + + + OP_GETMORE + + + + + OP_INSERT + + + + + OP_KILLCURSORS + + + + + OP_QUERY + + + + + OP_REPLY + + + + + OP_UPDATE + + + + + Represents a base class for response messages. + + + + + Initializes a new instance of the class. + + The request identifier. + The identifier of the message this is a response to. + + + + + + + Gets the request identifier. + + + + + Gets the identifier of the message this is a response to. + + + + + Represents a Delete message. + + + + + Initializes a new instance of the class. + + The request identifier. + The collection namespace. + The query. + if set to true [is multi]. + + + + Gets the collection namespace. + + + + + Gets a value indicating whether to delete all matching documents. + + + + + + + + Gets the query. + + + + + + + + Represents a GetMore message. + + + + + Initializes a new instance of the class. + + The request identifier. + The collection namespace. + The cursor identifier. + The size of a batch. + + + + Gets the size of a batch. + + + + + Gets the collection namespace. + + + + + Gets the cursor identifier. + + + + + + + + + + + Represents an Insert message. + + The type of the document. + + + + Initializes a new instance of the class. + + The request identifier. + The collection namespace. + The serializer. + The document source. + The maximum batch count. + Maximum size of the message. + if set to true the server should continue on error. + + + + Gets the collection namespace. + + + + + Gets a value indicating whether the server should continue on error. + + + + + Gets the document source. + + + + + Gets the maximum number of documents in a batch. + + + + + Gets the maximum size of a message. + + + + + + + + Gets the serializer. + + + + + + + + Represents a KillCursors message. + + + + + Initializes a new instance of the class. + + The request identifier. + The cursor ids. + + + + Gets the cursor ids. + + + + + + + + + + + Represents a base class for messages. + + + + + Gets the type of the message. + + + + + + + + Represents a Query message. + + + + + Initializes a new instance of the class. + + The request identifier. + The collection namespace. + The query. + The fields. + The query validator. + The number of documents to skip. + The size of a batch. + if set to true it is OK if the server is not the primary. + if set to true the server is allowed to return partial results if any shards are unavailable. + if set to true the server should not timeout the cursor. + if set to true the OplogReplay bit will be set. + if set to true the query should return a tailable cursor. + if set to true the server should await data (used with tailable cursors). + A delegate that determines whether this message should be sent. + + + + Gets a value indicating whether the server should await data (used with tailable cursors). + + + + + Gets the size of a batch. + + + + + Gets the collection namespace. + + + + + Gets the fields. + + + + + + + + Gets a value indicating whether the server should not timeout the cursor. + + + + + Gets a value indicating whether the OplogReplay bit will be set. + + + true if the OplogReplay bit will be set; otherwise, false. + + + + + Gets a value indicating whether the server is allowed to return partial results if any shards are unavailable. + + + + + Gets the query. + + + + + Gets the query validator. + + + + + Gets the number of documents to skip. + + + + + Gets a value indicating whether it is OK if the server is not the primary. + + + + + Gets a value indicating whether the query should return a tailable cursor. + + + + + + + + Represents a Reply message. + + The type of the document. + + + + Initializes a new instance of the class. + + if set to true the server is await capable. + The cursor identifier. + if set to true the cursor was not found. + The documents. + The number of documents returned. + if set to true the query failed. + The query failure document. + The request identifier. + The identifier of the message this is a response to. + The serializer. + The position of the first document in this batch in the overall result. + + + + Gets a value indicating whether the server is await capable. + + + + + Gets the cursor identifier. + + + + + Gets a value indicating whether the cursor was not found. + + + + + Gets the documents. + + + + + + + + Gets the number of documents returned. + + + + + Gets a value indicating whether the query failed. + + + + + Gets the query failure document. + + + + + Gets the serializer. + + + + + Gets the position of the first document in this batch in the overall result. + + + + + + + + Represents a base class for request messages. + + + + + Gets the current global request identifier. + + + The current global request identifier. + + + + + Gets the next request identifier. + + The next request identifier. + + + + Initializes a new instance of the class. + + The request identifier. + A delegate that determines whether this message should be sent. + + + + Gets the request identifier. + + + The request identifier. + + + + + Gets a delegate that determines whether this message should be sent. + + + A delegate that determines whether this message be sent. + + + + + Gets or sets a value indicating whether this message was sent. + + + true if this message was sent; otherwise, false. + + + + + Represents an Update message. + + + + + Initializes a new instance of the class. + + The request identifier. + The collection namespace. + The query. + The update. + The update validator. + if set to true all matching documents should be updated. + if set to true a document should be inserted if no matching document is found. + + + + Gets the collection namespace. + + + + + Gets a value indicating whether all matching documents should be updated. + + + + + Gets a value indicating whether a document should be inserted if no matching document is found. + + + + + + + + Gets the query. + + + + + Gets the update. + + + + + Gets the update validator. + + + + + + + + Represents one result batch (returned from either a Query or a GetMore message) + + The type of the document. + + + + Initializes a new instance of the struct. + + The cursor identifier. + The documents. + + + + Gets the cursor identifier. + + + The cursor identifier. + + + + + Gets the documents. + + + The documents. + + + + + An election id from the server. + + + + + Initializes a new instance of the class. + + The identifier. + + + + Compares the current object with another object of the same type. + + An object to compare with this object. + + A value that indicates the relative order of the objects being compared. The return value has the following meanings: Value Meaning Less than zero This object is less than the parameter.Zero This object is equal to . Greater than zero This object is greater than . + + + + + Determines whether the specified , is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Indicates whether the current object is equal to another object of the same type. + + An object to compare with this object. + + true if the current object is equal to the parameter; otherwise, false. + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Represents a server selector that selects writable servers. + + + + + Gets a WritableServerSelector. + + + A server selector. + + + + + + + + + + + Represents a server selector that wraps a delegate. + + + + + Initializes a new instance of the class. + + The selector. + + + + + + + + + + Represents a selector that selects servers within an acceptable latency range. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The allowed latency range. + + + + + + + + + + Represents a selector that selects servers based on multiple partial selectors + + + + + Initializes a new instance of the class. + + The selectors. + + + + + + + + + + Represents a selector that selects servers based on an end point. + + + + + Initializes a new instance of the class. + + The end point. + + + + + + + + + + Represents a selector that selects servers. + + + + + Selects the servers. + + The cluster. + The servers. + The selected servers. + + + + Represents a selector that selects a random server. + + + + + Initializes a new instance of the class. + + + + + + + + + + + Represents a selector that selects servers based on a read preference. + + + + + Gets a ReadPreferenceServerSelector that selects the Primary. + + + A server selector. + + + + + Initializes a new instance of the class. + + The read preference. + + + + + + + + + + Represents a cluster. + + + + + Represents the cluster connection mode. + + + + + Determine the cluster type automatically. + + + + + Connect directly to a single server of any type. + + + + + Connect directly to a Standalone server. + + + + + Connect to a replica set. + + + + + Connect to one or more shard routers. + + + + + Represents information about a cluster. + + + + + Initializes a new instance of the class. + + The cluster identifier. + The connection mode. + The type. + The servers. + + + + Gets the cluster identifier. + + + + + Gets the connection mode. + + + + + Gets the servers. + + + + + Gets the cluster state. + + + + + Gets the cluster type. + + + + + + + + + + + + + + + + + Returns a new ClusterDescription with a changed ServerDescription. + + The server description. + A ClusterDescription. + + + + Returns a new ClusterDescription with a ServerDescription removed. + + The end point of the server description to remove. + A ClusterDescription. + + + + Returns a new ClusterDescription with a changed ClusterType. + + The value. + A ClusterDescription. + + + + Represents a cluster identifier. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The value. + + + + Gets the value. + + + The value. + + + + + + + + + + + + + + + + + Represents the state of a cluster. + + + + + The cluster is disconnected. + + + + + The cluster is connected. + + + + + Represents the type of a cluster. + + + + + The type of the cluster is unknown. + + + + + The cluster is a standalone cluster. + + + + + The cluster is a replica set. + + + + + The cluster is a sharded cluster. + + + + + Represents the data for the event that fires when a cluster description changes. + + + + + Initializes a new instance of the class. + + The old cluster description. + The new cluster description. + + + + Gets the old cluster description. + + + The old cluster description. + + + + + Gets the new cluster description. + + + The new cluster description. + + + + + Represents a MongoDB cluster. + + + + + Occurs when the cluster description has changed. + + + + + Gets the cluster identifier. + + + The cluster identifier. + + + + + Gets the cluster description. + + + The cluster description. + + + + + Gets the cluster settings. + + + The cluster settings. + + + + + Initializes the cluster. + + + + + Selects a server from the cluster. + + The server selector. + The cancellation token. + The selected server. + + + + Selects a server from the cluster. + + The server selector. + The cancellation token. + A Task representing the operation. The result of the Task is the selected server. + + + + Represents a cluster factory. + + + + + Creates a cluster. + + A cluster. + + + + Represents a multi server cluster. + + + + + Represents the config of a replica set (as reported by one of the members of the replica set). + + + + + Gets an empty replica set config. + + + An empty replica set config. + + + + + Initializes a new instance of the class. + + The members. + The name. + The primary. + The version. + + + + Gets the members. + + + The members. + + + + + Gets the name of the replica set. + + + The name of the replica set. + + + + + Gets the primary. + + + The primary. + + + + + Gets the replica set config version. + + + The replica set config version. + + + + + + + + + + + + + + Represents a standalone cluster. + + + + + Represents settings for an SSL stream. + + + + + Initializes a new instance of the class. + + Whether to check for certificate revocation. + The client certificates. + The client certificate selection callback. + The enabled protocols. + The server certificate validation callback. + + + + Gets a value indicating whether to check for certificate revocation. + + + true if certificate should be checked for revocation; otherwise, false. + + + + + Gets the client certificates. + + + The client certificates. + + + + + Gets the client certificate selection callback. + + + The client certificate selection callback. + + + + + Gets the enabled SSL protocols. + + + The enabled SSL protocols. + + + + + Gets the server certificate validation callback. + + + The server certificate validation callback. + + + + + Returns a new SsslStreamSettings instance with some settings changed. + + Whether to check certificate revocation. + The client certificates. + The client certificate selection callback. + The enabled protocols. + The server certificate validation callback. + A new SsslStreamSettings instance. + + + + Represents settings for a cluster. + + + + + Initializes a new instance of the class. + + The connection mode. + The end points. + Maximum size of the server selection wait queue. + Name of the replica set. + The server selection timeout. + The pre server selector. + The post server selector. + + + + Gets the connection mode. + + + The connection mode. + + + + + Gets the end points. + + + The end points. + + + + + Gets the maximum size of the server selection wait queue. + + + The maximum size of the server selection wait queue. + + + + + Gets the name of the replica set. + + + The name of the replica set. + + + + + Gets the server selection timeout. + + + The server selection timeout. + + + + + Gets the pre server selector. + + + The pre server selector. + + + + + Gets the post server selector. + + + The post server selector. + + + + + Returns a new ClusterSettings instance with some settings changed. + + The connection mode. + The end points. + Maximum size of the server selection wait queue. + Name of the replica set. + The server selection timeout. + The pre server selector. + The post server selector. + A new ClusterSettings instance. + + + + Represents a cluster builder. + + + + + Initializes a new instance of the class. + + + + + Builds the cluster. + + A cluster. + + + + Configures the cluster settings. + + The cluster settings configurator delegate. + A reconfigured cluster builder. + + + + Configures the connection settings. + + The connection settings configurator delegate. + A reconfigured cluster builder. + + + + Configures the connection pool settings. + + The connection pool settings configurator delegate. + A reconfigured cluster builder. + + + + Configures the server settings. + + The server settings configurator delegate. + A reconfigured cluster builder. + + + + Configures the SSL stream settings. + + The SSL stream settings configurator delegate. + A reconfigured cluster builder. + + + + Configures the TCP stream settings. + + The TCP stream settings configurator delegate. + A reconfigured cluster builder. + + + + Registers a stream factory wrapper. + + The stream factory wrapper. + A reconfigured cluster builder. + + + + Subscribes to events of type . + + The type of the event. + The handler. + A reconfigured cluster builder. + + + + Subscribes the specified subscriber. + + The subscriber. + A reconfigured cluster builder. + + + + Extension methods for a ClusterBuilder. + + + + + Configures a cluster builder from a connection string. + + The cluster builder. + The connection string. + A reconfigured cluster builder. + + + + Configures a cluster builder from a connection string. + + The cluster builder. + The connection string. + A reconfigured cluster builder. + + + + Configures the cluster to write performance counters. + + The cluster builder. + The name of the application. + if set to true install the performance counters first. + A reconfigured cluster builder. + + + + Configures the cluster to trace events to the specified . + + The builder. + The trace source. + A reconfigured cluster builder. + + + + Configures the cluster to trace command events to the specified . + + The builder. + The trace source. + A reconfigured cluster builder. + + + + Represents settings for a connection pool. + + + + + Initializes a new instance of the class. + + The maintenance interval. + The maximum number of connections. + The minimum number of connections. + Size of the wait queue. + The wait queue timeout. + + + + Gets the maintenance interval. + + + The maintenance interval. + + + + + Gets the maximum number of connections. + + + The maximum number of connections. + + + + + Gets the minimum number of connections. + + + The minimum number of connections. + + + + + Gets the size of the wait queue. + + + The size of the wait queue. + + + + + Gets the wait queue timeout. + + + The wait queue timeout. + + + + + Returns a new ConnectionPoolSettings instance with some settings changed. + + The maintenance interval. + The maximum connections. + The minimum connections. + Size of the wait queue. + The wait queue timeout. + A new ConnectionPoolSettings instance. + + + + Represents settings for a connection. + + + + + Initializes a new instance of the class. + + The authenticators. + The maximum idle time. + The maximum life time. + The application name. + + + + Gets the name of the application. + + + The name of the application. + + + + + Gets the authenticators. + + + The authenticators. + + + + + Gets the maximum idle time. + + + The maximum idle time. + + + + + Gets the maximum life time. + + + The maximum life time. + + + + + Returns a new ConnectionSettings instance with some settings changed. + + The authenticators. + The maximum idle time. + The maximum life time. + The application name. + A new ConnectionSettings instance. + + + + Represents settings for a TCP stream. + + + + + Initializes a new instance of the class. + + The address family. + The connect timeout. + The read timeout. + Size of the receive buffer. + Size of the send buffer. + The socket configurator. + The write timeout. + + + + Gets the address family. + + + The address family. + + + + + Gets the connect timeout. + + + The connect timeout. + + + + + Gets the read timeout. + + + The read timeout. + + + + + Gets the size of the receive buffer. + + + The size of the receive buffer. + + + + + Gets the size of the send buffer. + + + The size of the send buffer. + + + + + Gets the socket configurator. + + + The socket configurator. + + + + + Gets the write timeout. + + + The write timeout. + + + + + Returns a new TcpStreamSettings instance with some settings changed. + + The address family. + The connect timeout. + The read timeout. + Size of the receive buffer. + Size of the send buffer. + The socket configurator. + The write timeout. + A new TcpStreamSettings instance. + + + + Represents a connection string. + + + + + Initializes a new instance of the class. + + The connection string. + + + + Gets all the option names. + + + + + Gets all the unknown option names. + + + + + Gets the application name. + + + + + Gets the auth mechanism. + + + + + Gets the auth mechanism properties. + + + + + Gets the auth source. + + + + + Gets the connection mode. + + + + + Gets the connect timeout. + + + + + Gets the name of the database. + + + + + Gets the fsync value of the write concern. + + + + + Gets the heartbeat interval. + + + + + Gets the heartbeat timeout. + + + + + Gets the hosts. + + + + + Gets whether to use IPv6. + + + + + Gets the journal value of the write concern. + + + + + Gets the local threshold. + + + + + Gets the max idle time. + + + + + Gets the max life time. + + + + + Gets the max size of the connection pool. + + + + + Gets the max staleness. + + + + + Gets the min size of the connection pool. + + + + + Gets the password. + + + + + Gets the read concern level. + + + The read concern level. + + + + + Gets the read preference. + + + + + Gets the replica set name. + + + + + Gets the read preference tags. + + + + + Gets the server selection timeout. + + + + + Gets the socket timeout. + + + + + Gets whether to use SSL. + + + + + Gets whether to verify SSL certificates. + + + + + Gets the username. + + + + + Gets the UUID representation. + + + + + Gets the wait queue multiple. + + + + + Gets the wait queue size. + + + + + Gets the wait queue timeout. + + + + + Gets the w value of the write concern. + + + + + Gets the wtimeout value of the write concern. + + + + + Gets the option. + + The name. + The option with the specified name. + + + + + + + Represents settings for a server. + + + + + Gets the default heartbeat interval. + + + + + Gets the default heartbeat timeout. + + + + + Initializes a new instance of the class. + + The heartbeat interval. + The heartbeat timeout. + + + + Gets the heartbeat interval. + + + The heartbeat interval. + + + + + Gets the heartbeat timeout. + + + The heartbeat timeout. + + + + + Returns a new ServerSettings instance with some settings changed. + + The heartbeat interval. + The heartbeat timeout. + A new ServerSettings instance. + + + + + Occurs before a server is selected. + + + + + Initializes a new instance of the struct. + + The cluster description. + The server selector. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the cluster description. + + + + + Gets the operation identifier. + + + + + Gets the server selector. + + + + + + Occurs after a server is selected. + + + + + Initializes a new instance of the struct. + + The cluster description. + The server selector. + The selected server. + The duration of time it took to select the server. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the cluster description. + + + + + Gets the duration of time it took to select the server. + + + + + Gets the operation identifier. + + + + + Gets the server selector. + + + + + Gets the selected server. + + + + + + Occurs when selecting a server fails. + + + + + Initializes a new instance of the struct. + + The cluster description. + The server selector. + The exception. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the cluster description. + + + + + Gets the exception. + + + + + Gets the operation identifier. + + + + + Gets the server selector. + + + + + + Occurs when a cluster has changed. + + + + + Initializes a new instance of the struct. + + The old description. + The new description. + + + + Gets the cluster identifier. + + + + + Gets the old description. + + + + + Gets the new description. + + + + + + Occurs before a server is removed from the cluster. + + + + + Initializes a new instance of the struct. + + The server identifier. + The reason the server is being removed. + + + + Gets the cluster identifier. + + + + + Gets the reason the server is being removed. + + + + + Gets the server identifier. + + + + + + Occurs after a server has been removed from the cluster. + + + + + Initializes a new instance of the struct. + + The server identifier. + The reason. + The duration of time it took to remove the server. + + + + Gets the cluster identifier. + + + + + Gets the duration of time it took to remove the server. + + + + + Gets the reason the server was removed. + + + + + Gets the server identifier. + + + + + + Occurs after a cluster is closed. + + + + + Initializes a new instance of the struct. + + The cluster identifier. + The duration of time it took to close the cluster. + + + + Gets the cluster identifier. + + + + + Gets the duration of time it took to close the cluster. + + + + + + Occurs after a cluster is opened. + + + + + Initializes a new instance of the struct. + + The cluster identifier. + The cluster settings. + The duration of time it took to open the cluster. + + + + Gets the cluster identifier. + + + + + Gets the cluster settings. + + + + + Gets the duration of time it took to open the cluster. + + + + + + Occurs after a server is added to the cluster. + + + + + Initializes a new instance of the struct. + + The server identifier. + The duration of time it took to add the server. + + + + Gets the cluster identifier. + + + + + Gets the duration of time it took to add a server, + + + + + Gets the server identifier. + + + + + + Occurs before a server is added to the cluster. + + + + + Initializes a new instance of the struct. + + The cluster identifier. + The end point. + + + + Gets the cluster identifier. + + + + + Gets the end point. + + + + + + Occurs before a cluster is opened. + + + + + Initializes a new instance of the struct. + + The cluster identifier. + The cluster settings. + + + + Gets the cluster identifier. + + + + + Gets the cluster settings. + + + + + + Occurs before a cluster is closed. + + + + + Initializes a new instance of the struct. + + The cluster identifier. + + + + Gets the cluster identifier. + + + + + Occurs when a command has failed. + + + + + Initializes a new instance of the struct. + + Name of the command. + The exception. + The operation identifier. + The request identifier. + The connection identifier. + The duration. + + + + Gets the name of the command. + + + + + Gets the connection identifier. + + + + + Gets the duration. + + + + + Gets the exception. + + + + + Gets the operation identifier. + + + + + Gets the request identifier. + + + + + Occurs when a command has succeeded. + + + + + Initializes a new instance of the struct. + + Name of the command. + The reply. + The operation identifier. + The request identifier. + The connection identifier. + The duration. + + + + Gets the name of the command. + + + + + Gets the connection identifier. + + + + + Gets the duration. + + + + + Gets the operation identifier. + + + + + Gets the reply. + + + + + Gets the request identifier. + + + + + Occurs when a command has started. + + + + + Initializes a new instance of the class. + + Name of the command. + The command. + The database namespace. + The operation identifier. + The request identifier. + The connection identifier. + + + + Gets the command. + + + + + Gets the name of the command. + + + + + Gets the connection identifier. + + + + + Gets the database namespace. + + + + + Gets the operation identifier. + + + + + Gets the request identifier. + + + + + + Occurs after a connection is closed. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The duration of time it took to close the connection. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to close the connection. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs before a connection is closed. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs after a connection is opened. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The connection settings. + The duration of time it took to open the connection. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the connection settings. + + + + + Gets the duration of time it took to open the connection. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs before a connection is opened. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The connection settings. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the connection settings. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs when a connection fails to open. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The connection settings. + The exception. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the connection settings. + + + + + Gets the exception. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + Occurs after a message is received. + + + + + + Initializes a new instance of the struct. + + The connection identifier. + The id of the message we received a response to. + The length of the received message. + The duration of network time it took to receive the message. + The duration of deserialization time it took to receive the message. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to receive the message. + + + + + Gets the duration of deserialization time it took to receive the message. + + + + + Gets the duration of network time it took to receive the message. + + + + + Gets the length of the received message. + + + + + Gets the operation identifier. + + + + + Gets the id of the message we received a response to. + + + + + Gets the server identifier. + + + + + + Occurs before a message is received. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The id of the message we are receiving a response to. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the operation identifier. + + + + + Gets the id of the message we are receiving a response to. + + + + + Gets the server identifier. + + + + + + Occurs when a message was unable to be received. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The id of the message we were receiving a response to. + The exception. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the exception. + + + + + Gets the operation identifier. + + + + + Gets id of the message we were receiving a response to. + + + + + Gets the server identifier. + + + + + + Occurs before a message is sent. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The request ids. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the request ids. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs when a message could not be sent. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The request ids. + The exception. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the exception. + + + + + Gets the operation identifier. + + + + + Gets the request ids. + + + + + Gets the server identifier. + + + + + + Occurs after a message has been sent. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The request ids. + The length. + The duration of time spent on the network. + The duration of time spent serializing the messages. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to send the message. + + + + + Gets the duration of time spent on the network. + + + + + Gets the operation identifier. + + + + + Gets the duration of time spent serializing the messages. + + + + + Gets the combined length of the messages. + + + + + Gets the request ids. + + + + + Gets the server identifier. + + + + + An event subscriber that writes command events to a trace source. + + + + + Initializes a new instance of the class. + + The trace source. + + + + + + + An event subscriber that writes to a trace source. + + + + + Initializes a new instance of the class. + + The trace source. + + + + + + + + Represents an event subscriber that records certain events to Windows performance counters. + + + + + Installs the performance counters. + + + + + Initializes a new instance of the class. + + The name of the application. + + + + + + + A subscriber to events. + + + + + Tries to get an event handler for an event of type . + + The type of the event. + The handler. + true if this subscriber has provided an event handler; otherwise false. + + + + Subscribes methods with a single argument to events + of that single argument's type. + + + + + Initializes a new instance of the class. + + The instance. + Name of the method to match against. + The binding flags. + + + + + + + + Occurs after a server is closed. + + + + + Initializes a new instance of the struct. + + The server identifier. + The duration of time it took to close the server. + + + + Gets the cluster identifier. + + + + + Gets the duration of time it took to close the server. + + + + + Gets the server identifier. + + + + + + Occurs after a server's description has changed. + + + + + Initializes a new instance of the struct. + + The old description. + The new description. + + + + Gets the cluster identifier. + + + + + Gets the new description. + + + + + Gets the old description. + + + + + Gets the server identifier. + + + + + + Occurs when a heartbeat failed. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The exception. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the exception. + + + + + Gets the server identifier. + + + + + + Occurs after a server is opened. + + + + + Initializes a new instance of the struct. + + The server identifier. + The server settings. + The duration of time it took to open the server. + + + + Gets the cluster identifier. + + + + + Gets the duration of time it took to open the server. + + + + + Gets the server identifier. + + + + + Gets the server settings. + + + + + + Occurs before heartbeat is issued. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The duration of time it took to complete the heartbeat. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to complete the heartbeat. + + + + + Gets the server identifier. + + + + + + Occurs when a heartbeat succeeded. + + + + + Initializes a new instance of the struct. + + The connection identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the server identifier. + + + + + + Occurs before a server is opened. + + + + + Initializes a new instance of the struct. + + The server identifier. + The server settings. + + + + Gets the cluster identifier. + + + + + Gets the server identifier. + + + + + Gets the server settings. + + + + + + Occurs before a server is closed. + + + + + Initializes a new instance of the struct. + + The server identifier. + + + + Gets the cluster identifier. + + + + + Gets the server identifier. + + + + + + Occurs after a connection is checked in to the pool. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The duration of time it took to check in the connection. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to check in the connection. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs after a connection is checked out of the pool. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The duration of time it took to check out the connection. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to check out the connection. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs before a connection is checked in to the pool. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs before a connection is checking out of the pool. + + + + + Initializes a new instance of the struct. + + The server identifier. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs when a connection could not be checked out of the pool. + + + + + Initializes a new instance of the struct. + + The server identifier. + The exception. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the exception. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs before a connection is removed from the pool. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs after a connection is removed from the pool. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The duration of time it took to remove the connection from the pool. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to remove the connection from the pool. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs after the pool is opened. + + + + + Initializes a new instance of the struct. + + The server identifier. + The connection pool settings. + + + + Gets the cluster identifier. + + + + + Gets the connection pool settings. + + + + + Gets the server identifier. + + + + + + Occurs after the pool is closed. + + + + + Initializes a new instance of the struct. + + The server identifier. + + + + Gets the cluster identifier. + + + + + Gets the server identifier. + + + + + + Occurs after a connection is added to the pool. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The duration of time it took to add the connection to the pool. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to add the server to the pool. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs before a connection is added to the pool. + + + + + Initializes a new instance of the struct. + + The server identifier. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs before the pool is closed. + + + + + Initializes a new instance of the struct. + + The server identifier. + + + + Gets the cluster identifier. + + + + + Gets the server identifier. + + + + + + Occurs before the pool is opened. + + + + + Initializes a new instance of the struct. + + The server identifier. + The connection pool settings. + + + + Gets the cluster identifier. + + + + + Gets the connection pool settings. + + + + + Gets the server identifier. + + + + + Occurs when a connection fails. + + + + + + Initializes a new instance of the struct. + + The connection identifier. + The exception. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the exception. + + + The exception. + + + + + Gets the server identifier. + + + + + Subscriber for a single type of event. + + The type of the single event. + + + + Initializes a new instance of the class. + + The handler. + + + + + + + Represents a connection pool. + + + + + Gets the server identifier. + + + The server identifier. + + + + + Acquires a connection. + + The cancellation token. + A connection. + + + + Acquires a connection. + + The cancellation token. + A Task whose result is a connection. + + + + Clears the connection pool. + + + + + Initializes the connection pool. + + + + + Represents a connection pool factory. + + + + + Creates a connection pool. + + The server identifier. + The end point. + A connection pool. + + + + Represents the document validation action. + + + + + Validation failures result in an error. + + + + + Validation failures result in a warning. + + + + + Represents the document validation level. + + + + + Strict document validation. + + + + + Moderate document validation. + + + + + No document validation. + + + + + Represents helper methods for use with the struct. + + + + + Creates an instance of an optional parameter with a value. + + + This helper method can be used when the implicit conversion doesn't work (due to compiler limitations). + + The type of the optional parameter. + The value. + An instance of an optional parameter with a value. + + + + Creates an instance of an optional parameter with an enumerable value. + + The type of the items of the optional paramater. + The value. + An instance of an optional parameter with an enumerable value. + + + + Represents an optional parameter that might or might not have a value. + + The type of the parameter. + + + + Initializes a new instance of the struct with a value. + + The value of the parameter. + + + + Gets a value indicating whether the optional parameter has a value. + + + true if the optional parameter has a value; otherwise, false. + + + + + Gets the value of the optional parameter. + + + The value of the optional parameter. + + + + + Performs an implicit conversion from to an with a value. + + The value. + + The result of the conversion. + + + + + Returns a value indicating whether this optional parameter contains a value that is not equal to an existing value. + + The value. + True if this optional parameter contains a value that is not equal to an existing value. + + + + Returns either the value of this optional parameter if it has a value, otherwise a default value. + + The default value. + Either the value of this optional parameter if it has a value, otherwise a default value. + + + + Represents a read concern. + + + + + Gets a default read concern. + + + + + Gets a linearizable read concern. + + + + + Gets a local read concern. + + + + + Gets a majority read concern. + + + + + Creates a read concern from a document. + + The document. + A read concern. + + + + Initializes a new instance of the class. + + The level. + + + + Gets a value indicating whether this is the server's default read concern. + + + true if this instance is default; otherwise, false. + + + + + Gets the level. + + + + + + + + + + + + + + Converts this read concern to a BsonDocument suitable to be sent to the server. + + + A BsonDocument. + + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Returns a new instance of ReadConcern with some values changed. + + The level. + + A ReadConcern. + + + + + The leve of the read concern. + + + + + Reads data committed locally. + + + + + Reads data committed to a majority of nodes. + + + + + Avoids returning data from a "stale" primary + (one that has already been superseded by a new primary but doesn't know it yet). + It is important to note that readConcern level linearizable does not by itself + produce linearizable reads; they must be issued in conjunction with w:majority + writes to the same document(s) in order to be linearizable. + + + + + Represents the category for an error from the server. + + + + + An error without a category. + + + + + A duplicate key error. + + + + + An execution timeout error. + + + + + Represents a cursor for an operation that is not actually executed until MoveNextAsync is called for the first time. + + The type of the document. + + + + Initializes a new instance of the class. + + The delegate to execute the first time MoveNext is called. + The delegate to execute the first time MoveNextAsync is called. + + + + + + + + + + + + + + + + Represents an asynchronous cursor. + + The type of the document. + + + + Gets the current batch of documents. + + + The current batch of documents. + + + + + Moves to the next batch of documents. + + The cancellation token. + Whether any more documents are available. + + + + Moves to the next batch of documents. + + The cancellation token. + A Task whose result indicates whether any more documents are available. + + + + Represents extension methods for IAsyncCursor. + + + + + Determines whether the cursor contains any documents. + + The type of the document. + The cursor. + The cancellation token. + True if the cursor contains any documents. + + + + Determines whether the cursor contains any documents. + + The type of the document. + The cursor. + The cancellation token. + A Task whose result is true if the cursor contains any documents. + + + + Returns the first document of a cursor. + + The type of the document. + The cursor. + The cancellation token. + The first document. + + + + Returns the first document of a cursor. + + The type of the document. + The cursor. + The cancellation token. + A Task whose result is the first document. + + + + Returns the first document of a cursor, or a default value if the cursor contains no documents. + + The type of the document. + The cursor. + The cancellation token. + The first document of the cursor, or a default value if the cursor contains no documents. + + + + Returns the first document of the cursor, or a default value if the cursor contains no documents. + + The type of the document. + The cursor. + The cancellation token. + A task whose result is the first document of the cursor, or a default value if the cursor contains no documents. + + + + Calls a delegate for each document returned by the cursor. + + The type of the document. + The source. + The processor. + The cancellation token. + A Task that completes when all the documents have been processed. + + + + Calls a delegate for each document returned by the cursor. + + The type of the document. + The source. + The processor. + The cancellation token. + A Task that completes when all the documents have been processed. + + + + Calls a delegate for each document returned by the cursor. + + + If your delegate is going to take a long time to execute or is going to block + consider using a different overload of ForEachAsync that uses a delegate that + returns a Task instead. + + The type of the document. + The source. + The processor. + The cancellation token. + A Task that completes when all the documents have been processed. + + + + Calls a delegate for each document returned by the cursor. + + + If your delegate is going to take a long time to execute or is going to block + consider using a different overload of ForEachAsync that uses a delegate that + returns a Task instead. + + The type of the document. + The source. + The processor. + The cancellation token. + A Task that completes when all the documents have been processed. + + + + Returns the only document of a cursor. This method throws an exception if the cursor does not contain exactly one document. + + The type of the document. + The cursor. + The cancellation token. + The only document of a cursor. + + + + Returns the only document of a cursor. This method throws an exception if the cursor does not contain exactly one document. + + The type of the document. + The cursor. + The cancellation token. + A Task whose result is the only document of a cursor. + + + + Returns the only document of a cursor, or a default value if the cursor contains no documents. + This method throws an exception if the cursor contains more than one document. + + The type of the document. + The cursor. + The cancellation token. + The only document of a cursor, or a default value if the cursor contains no documents. + + + + Returns the only document of a cursor, or a default value if the cursor contains no documents. + This method throws an exception if the cursor contains more than one document. + + The type of the document. + The cursor. + The cancellation token. + A Task whose result is the only document of a cursor, or a default value if the cursor contains no documents. + + + + Wraps a cursor in an IEnumerable that can be enumerated one time. + + The type of the document. + The cursor. + The cancellation token. + An IEnumerable + + + + Returns a list containing all the documents returned by a cursor. + + The type of the document. + The source. + The cancellation token. + The list of documents. + + + + Returns a list containing all the documents returned by a cursor. + + The type of the document. + The source. + The cancellation token. + A Task whose value is the list of documents. + + + + Represents a collection namespace. + + + + + Creates a new instance of the class from a collection full name. + + The collection full name. + A CollectionNamespace. + + + + Determines whether the specified collection name is valid. + + The name of the collection. + Whether the specified collection name is valid. + + + + Initializes a new instance of the class. + + The name of the database. + The name of the collection. + + + + Initializes a new instance of the class. + + The database namespace. + The name of the collection. + + + + Gets the name of the collection. + + + The name of the collection. + + + + + Gets the database namespace. + + + The database namespace. + + + + + Gets the collection full name. + + + The collection full name. + + + + + + + + + + + + + + + + + Represents a database namespace. + + + + + Gets the admin database namespace. + + + The admin database namespace. + + + + + Determines whether the specified database name is valid. + + The database name. + True if the database name is valid. + + + + Initializes a new instance of the class. + + The name of the database. + + + + Gets the name of the database. + + + The name of the database. + + + + + + + + + + + + + + + + + Represents a MongoDB execution timeout exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + The inner exception. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Represents an operation that will return a cursor when executed. + + The type of the document. + + + + Executes the operation and returns a cursor to the results. + + The cancellation token. + A cursor. + + + + Executes the operation and returns a cursor to the results. + + The cancellation token. + A Task whose result is a cursor. + + + + Represents extension methods for IAsyncCursorSource. + + + + + Determines whether the cursor returned by a cursor source contains any documents. + + The type of the document. + The source. + The cancellation token. + True if the cursor contains any documents. + + + + Determines whether the cursor returned by a cursor source contains any documents. + + The type of the document. + The source. + The cancellation token. + A Task whose result is true if the cursor contains any documents. + + + + Returns the first document of a cursor returned by a cursor source. + + The type of the document. + The source. + The cancellation token. + The first document. + + + + Returns the first document of a cursor returned by a cursor source. + + The type of the document. + The source. + The cancellation token. + A Task whose result is the first document. + + + + Returns the first document of a cursor returned by a cursor source, or a default value if the cursor contains no documents. + + The type of the document. + The source. + The cancellation token. + The first document of the cursor, or a default value if the cursor contains no documents. + + + + Returns the first document of a cursor returned by a cursor source, or a default value if the cursor contains no documents. + + The type of the document. + The source. + The cancellation token. + A Task whose result is the first document of the cursor, or a default value if the cursor contains no documents. + + + + Calls a delegate for each document returned by the cursor. + + The type of the document. + The source. + The processor. + The cancellation token. + A Task that completes when all the documents have been processed. + + + + Calls a delegate for each document returned by the cursor. + + The type of the document. + The source. + The processor. + The cancellation token. + A Task that completes when all the documents have been processed. + + + + Calls a delegate for each document returned by the cursor. + + + If your delegate is going to take a long time to execute or is going to block + consider using a different overload of ForEachAsync that uses a delegate that + returns a Task instead. + + The type of the document. + The source. + The processor. + The cancellation token. + A Task that completes when all the documents have been processed. + + + + Calls a delegate for each document returned by the cursor. + + + If your delegate is going to take a long time to execute or is going to block + consider using a different overload of ForEachAsync that uses a delegate that + returns a Task instead. + + The type of the document. + The source. + The processor. + The cancellation token. + A Task that completes when all the documents have been processed. + + + + Returns the only document of a cursor returned by a cursor source. This method throws an exception if the cursor does not contain exactly one document. + + The type of the document. + The source. + The cancellation token. + The only document of a cursor. + + + + Returns the only document of a cursor returned by a cursor source. This method throws an exception if the cursor does not contain exactly one document. + + The type of the document. + The source. + The cancellation token. + A Task whose result is the only document of a cursor. + + + + Returns the only document of a cursor returned by a cursor source, or a default value if the cursor contains no documents. + This method throws an exception if the cursor contains more than one document. + + The type of the document. + The source. + The cancellation token. + The only document of a cursor, or a default value if the cursor contains no documents. + + + + Returns the only document of a cursor returned by a cursor source, or a default value if the cursor contains no documents. + This method throws an exception if the cursor contains more than one document. + + The type of the document. + The source. + The cancellation token. + A Task whose result is the only document of a cursor, or a default value if the cursor contains no documents. + + + + Wraps a cursor source in an IEnumerable. Each time GetEnumerator is called a new cursor is fetched from the cursor source. + + The type of the document. + The source. + The cancellation token. + An IEnumerable. + + + + Returns a list containing all the documents returned by the cursor returned by a cursor source. + + The type of the document. + The source. + The cancellation token. + The list of documents. + + + + Returns a list containing all the documents returned by the cursor returned by a cursor source. + + The type of the document. + The source. + The cancellation token. + A Task whose value is the list of documents. + + + + Represents a MongoDB client exception. + + + + + Initializes a new instance of the class. + + The error message. + + + + Initializes a new instance of the class. + + The error message. + The inner exception. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Represents a MongoDB cursor not found exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The cursor identifier. + The query. + + + + Initializes a new instance of the class. + + The information. + The context. + + + + Gets the cursor identifier. + + + The cursor identifier. + + + + + + + + Represents a MongoDB incompatible driver exception. + + + + + Initializes a new instance of the class. + + The cluster description. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Represents a MongoDB server exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + The inner exception. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Gets the connection identifier. + + + + + + + + Represents a MongoDB connection pool wait queue full exception. + + + + + Initializes a new instance of the class. + + The error message. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Represents a MongoDB node is recovering exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The result. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Gets the result from the server. + + + The result from the server. + + + + + + + + Represents a MongoDB not primary exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The result. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Gets the result from the server. + + + The result from the server. + + + + + + + + Represents a cursor that wraps another cursor with a transformation function on the documents. + + The type of from document. + The type of to document. + + + + + Initializes a new instance of the class. + + The wrapped. + The transformer. + + + + + + + + + + + + + + + + Represents a read preference. + + + + + Gets an instance of ReadPreference that represents a Nearest read preference. + + + An instance of ReadPreference that represents a Nearest read preference. + + + + + Gets an instance of ReadPreference that represents a Primary read preference. + + + An instance of ReadPreference that represents a Primary read preference. + + + + + Gets an instance of ReadPreference that represents a PrimaryPreferred read preference. + + + An instance of ReadPreference that represents a PrimaryPreferred read preference. + + + + + Gets an instance of ReadPreference that represents a Secondary read preference. + + + An instance of ReadPreference that represents a Secondary read preference. + + + + + Gets an instance of ReadPreference that represents a SecondaryPreferred read preference. + + + An instance of ReadPreference that represents a SecondaryPreferred read preference. + + + + + Initializes a new instance of the class. + + The read preference mode. + The tag sets. + The maximum staleness. + + + + Gets the maximum staleness. + + + The maximum staleness. + + + + + Gets the read preference mode. + + + The read preference mode. + + + + + Gets the tag sets. + + + The tag sets. + + + + + + + + + + + + + + + + + Returns a new instance of ReadPreference with some values changed. + + The read preference mode. + A new instance of ReadPreference. + + + + Returns a new instance of ReadPreference with some values changed. + + The tag sets. + A new instance of ReadPreference. + + + + Returns a new instance of ReadPreference with some values changed. + + The maximum staleness. + A new instance of ReadPreference. + + + + Represents the read preference mode. + + + + + Reads should be from the primary. + + + + + Reads should be from the primary if possible, otherwise from a secondary. + + + + + Reads should be from a secondary. + + + + + Reads should be from a secondary if possible, otherwise from the primary. + + + + + Reads should be from any server that is within the latency threshold window. + + + + + Represents a replica set member tag. + + + + + Initializes a new instance of the class. + + The name. + The value. + + + + Gets the name. + + + The name. + + + + + Gets the value. + + + The value. + + + + + + + + + + + + + + + + + Represents a replica set member tag set. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The tags. + + + + Gets a value indicating whether the tag set is empty. + + + true if the tag set is empty; otherwise, false. + + + + + Gets the tags. + + + The tags. + + + + + Determines whether the tag set contains all of the required tags. + + The required tags. + True if the tag set contains all of the required tags. + + + + + + + + + + + + + + + + Represents a MongoDB configuration exception. + + + + + Initializes a new instance of the class. + + The error message. + + + + Initializes a new instance of the class. + + The error message. + The inner exception. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Represents a MongoDB connection failed exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Represents the results of an operation performed with an acknowledged WriteConcern. + + + + + Initializes a new instance of the class. + + The response. + + + + Gets the number of documents affected. + + + + + Gets whether the result has a LastErrorMessage. + + + + + Gets the last error message (null if none). + + + + + Gets the _id of an upsert that resulted in an insert. + + + + + Gets whether the last command updated an existing document. + + + + + Gets the wrapped result. + + + + + Represents a MongoDB authentication exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + The inner exception. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Represents a MongoDB connection exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + The inner exception. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Gets the connection identifier. + + + + + + + + Represents a MongoDB duplicate key exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + The command result. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Represents a MongoDB exception. + + + + + Initializes a new instance of the class. + + The error message. + + + + Initializes a new instance of the class. + + The error message. + The inner exception. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Represents a MongoDB internal exception (almost surely the result of a bug). + + + + + Initializes a new instance of the class. + + The error message. + + + + Initializes a new instance of the class. + + The error message. + The inner exception. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Represents a MongoDB query exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The message. + The query. + The query result. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Gets the query. + + + The query. + + + + + Gets the query result. + + + The query result. + + + + + + + + Represents a MongoDB write concern exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + The command result. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Gets the write concern result. + + + The write concern result. + + + + + + + + Represents a MongoDB command exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The message. + The command. + + + + Initializes a new instance of the class. + + The connection identifier. + The message. + The command. + The command result. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Gets the error code. + + + The error code. + + + + + Gets the command. + + + The command. + + + + + Gets the error message. + + + The error message. + + + + + Gets the command result. + + + The command result. + + + + + + + + Represents a write concern. + + + + + Gets an instance of WriteConcern that represents an acknowledged write concern. + + + An instance of WriteConcern that represents an acknowledged write concern. + + + + + Gets an instance of WriteConcern that represents an unacknowledged write concern. + + + An instance of WriteConcern that represents an unacknowledged write concern. + + + + + Gets an instance of WriteConcern that represents a W1 write concern. + + + An instance of WriteConcern that represents a W1 write concern. + + + + + Gets an instance of WriteConcern that represents a W2 write concern. + + + An instance of WriteConcern that represents a W2 write concern. + + + + + Gets an instance of WriteConcern that represents a W3 write concern. + + + An instance of WriteConcern that represents a W3 write concern. + + + + + Gets an instance of WriteConcern that represents a majority write concern. + + + An instance of WriteConcern that represents a majority write concern. + + + + + Creates a write concern from a document. + + The document. + A write concern. + + + + Initializes a new instance of the class. + + The w value. + The wtimeout value. + The fsync value . + The journal value. + + + + Initializes a new instance of the class. + + The mode. + The wtimeout value. + The fsync value . + The journal value. + + + + Initializes a new instance of the class. + + The w value. + The wtimeout value. + The fsync value . + The journal value. + + + + Gets the fsync value. + + + The fsync value. + + + + + Gets a value indicating whether this instance is an acknowledged write concern. + + + true if this instance is an acknowledged write concern; otherwise, false. + + + + + Gets a value indicating whether this write concern will use the default on the server. + + + true if this instance is the default; otherwise, false. + + + + + Gets the journal value. + + + The journal value. + + + + + Gets the w value. + + + The w value. + + + + + Gets the wtimeout value. + + + The wtimeout value. + + + + + + + + + + + + + + Converts this write concern to a BsonDocument suitable to be sent to the server. + + + A BsonDocument. + + + + + + + + Returns a new instance of WriteConcern with some values changed. + + The w value. + The wtimeout value. + The fsync value. + The journal value. + A WriteConcern. + + + + Returns a new instance of WriteConcern with some values changed. + + The mode. + The wtimeout value. + The fsync value. + The journal value. + A WriteConcern. + + + + Returns a new instance of WriteConcern with some values changed. + + The w value. + The wtimeout value. + The fsync value. + The journal value. + A WriteConcern. + + + + Represents the base class for w values. + + + + + Parses the specified value. + + The value. + A WValue. + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from Nullable{Int32} to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + + + + Converts this WValue to a BsonValue suitable to be included in a BsonDocument representing a write concern. + + A BsonValue. + + + + Represents a numeric WValue. + + + + + Initializes a new instance of the class. + + The w value. + + + + Gets the value. + + + The value. + + + + + + + + + + + + + + + + + + + + Represents a mode string WValue. + + + + + Gets an instance of WValue that represents the majority mode. + + + An instance of WValue that represents the majority mode. + + + + + Initializes a new instance of the class. + + The mode. + + + + Gets the value. + + + The value. + + + + + + + + + + + + + + + + + + + diff --git a/MongoDbGenericRepository/bin/MongoDB.Driver.dll b/MongoDbGenericRepository/bin/MongoDB.Driver.dll index 297e0cd..d3174e4 100644 Binary files a/MongoDbGenericRepository/bin/MongoDB.Driver.dll and b/MongoDbGenericRepository/bin/MongoDB.Driver.dll differ diff --git a/MongoDbGenericRepository/bin/MongoDB.Driver.xml b/MongoDbGenericRepository/bin/MongoDB.Driver.xml index ec9854a..fb4ec02 100644 --- a/MongoDbGenericRepository/bin/MongoDB.Driver.xml +++ b/MongoDbGenericRepository/bin/MongoDB.Driver.xml @@ -1,14895 +1,16420 @@ - + - - MongoDB.Driver - - - - - Base class for implementors of . + + MongoDB.Driver + + + + + Represents the granularity value for a $bucketAuto stage. - The type of the document. - - - - - - MongoDB.Driver.AggregateFluentBase`1 - - - - - - - Appends the stage to the pipeline. + + + + Gets the E6 granularity. - The stage. - The type of the result of the stage. - The fluent aggregate interface. - - - - Appends a project stage to the pipeline. + + + + Gets the E12 granularity. - The new result serializer. - The type of the new result. - The fluent aggregate interface. - - - - Appends a group stage to the pipeline. + + + + Gets the E24 granularity. - The group projection. - The type of the result of the stage. - The fluent aggregate interface. - - - - Appends a limit stage to the pipeline. + + + + Gets the E48 granularity. - The limit. - The fluent aggregate interface. - - - - Appends a lookup stage to the pipeline. + + + + Gets the E96 granularity. - Name of the other collection. - The local field. - The foreign field. - The field in to place the foreign results. - The options. - The type of the foreign document. - The type of the new result. - The fluent aggregate interface. - - - - Appends a match stage to the pipeline. + + + + Gets the E192 granularity. - The filter. - The fluent aggregate interface. - - - - Appends a match stage to the pipeline that matches derived documents and changes the result type to the derived type. + + + + Gets the POWERSOF2 granularity. - The new result serializer. - The type of the derived documents. - The fluent aggregate interface. - - - - Gets the options. + + + + Gets the R5 granularity. - - - - Appends an out stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection. + + + + Gets the R10 granularity. - Name of the collection. - The cancellation token. - A cursor. - - - - Appends an out stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection. + + + + Gets the R20 granularity. - Name of the collection. - The cancellation token. - A Task whose result is a cursor. - - - - Appends a project stage to the pipeline. + + + + Gets the R40 granularity. - The projection. - The type of the result of the stage. - - The fluent aggregate interface. + + + + Gets the R80 granularity. + + + + + Gets the 1-2-5 granularity. + + + + + Initializes a new instance of the struct. + + The value. + + + + Gets the value. + + + + + Represents options for the BucketAuto method. + + + + + Gets or sets the granularity. + + + + + Represents the result of the $bucketAuto stage. + + The type of the value. + + + + Initializes a new instance of the class. + + The inclusive lower boundary of the bucket. + The count. + + + + Initializes a new instance of the class. + + The minimum. + The maximum. + The count. + + + + Gets the inclusive lower boundary of the bucket. + + + The inclusive lower boundary of the bucket. + + + + + Gets the count. + + + The count. + + + + + Gets the maximum. + + + + + Gets the minimum. + + + + + Represents the _id value in the result of a $bucketAuto stage. + + The type of the values. + + + + Initializes a new instance of the class. + + The minimum. + The maximum. + + + + Gets the max value. + + + + + Gets the min value. + + + + + Represents options for the Bucket method. + + The type of the value. + + + + Gets or sets the default bucket. + + + + + Represents the result of the $bucket stage. + + The type of the value. + + + + Initializes a new instance of the class. + + The inclusive lower boundary of the bucket. + The count. + + + + Gets the inclusive lower boundary of the bucket. + + + The inclusive lower boundary of the bucket. + + + + + Gets the count. + + + The count. + + + + + Result type for the aggregate $count stage. + + + + + Initializes a new instance of the class. + + The count. + + + + Gets the count. + + + The count. + + + + + An aggregation expression. + + The type of the source. + The type of the result. + + + + Performs an implicit conversion from to . + + The expression. + + The result of the conversion. - - - - Appends a skip stage to the pipeline. + + + + Performs an implicit conversion from to . - The number of documents to skip. - The fluent aggregate interface. - - - - Appends a sort stage to the pipeline. - - The sort specification. - The fluent aggregate interface. - - - - Gets the stages. - - - - - Executes the operation and returns a cursor to the results. - - The cancellation token. - A cursor. - - - - Executes the operation and returns a cursor to the results. - - The cancellation token. - A Task whose result is a cursor. - - - - Appends an unwind stage to the pipeline. - - The field. - The new result serializer. - The type of the result of the stage. - - The fluent aggregate interface. + The expression. + + The result of the conversion. - - - - Appends an unwind stage to the pipeline. + + + + Renders the aggregation expression. - The field. - The options. - The type of the new result. - The fluent aggregate interface. - - - + The source serializer. + The serializer registry. + The rendered aggregation expression. + + + + A based aggregate expression. + + The type of the source. + The type of the result. + + + + + Initializes a new instance of the class. + + The expression. + + + + + + + A based aggregate expression. + + The type of the source. + The type of the result. + + + + + Initializes a new instance of the class. + + The expression. + The translation options. + + + + + + + Represents static methods for creating facets. + + + + + Creates a new instance of the class. + + The type of the input documents. + The type of the output documents. + The facet name. + The facet pipeline. + + A new instance of the class + + + + + Represents a facet to be passed to the Facet method. + + The type of the input documents. + + + + Initializes a new instance of the class. + + The facet name. + + + + Gets the facet name. + + + + + Gets the output serializer. + + + + + Gets the type of the output documents. + + + + + Renders the facet pipeline. + + The input serializer. + The serializer registry. + The rendered pipeline. + + + + Represents a facet to be passed to the Facet method. + + The type of the input documents. + The type of the otuput documents. + + + + Initializes a new instance of the class. + + The facet name. + The facet pipeline. + + + + + + + + + + Gets the facet pipeline. + + + + + + + + Options for the aggregate $facet stage. + + The type of the output documents. + + + + Gets or sets the output serializer. + + + + + Represents an abstract AggregateFacetResult with an arbitrary TOutput type. + + + + + Initializes a new instance of the class. + + The name of the facet. + + + + Gets the name of the facet. + + + + + Gets the output of the facet. + + The type of the output documents. + The output of the facet. + + + + Represents the result of a single facet. + + The type of the output. + + + + Initializes a new instance of the class. + + The name. + The output. + + + + Gets or sets the output. + + + The output. + + + + + Represents the results of a $facet stage with an arbitrary number of facets. + + + + + Initializes a new instance of the class. + + The facets. + + + + Gets the facets. + + + + + Represents options for the GraphLookup method. + + The type of from documents. + The type of the as field elements. + The type of the output documents. + + + + Gets or sets the TAsElement serialzier. + + + + + Gets or sets the TFrom serializer. + + + + + Gets or sets the maximum depth. + + + + + Gets or sets the output serializer. + + + + + Gets the filter to restrict the search with. + + + + Options for the aggregate $lookup stage. - The type of the foreign document. - The type of the result. - - - - - - MongoDB.Driver.AggregateLookupOptions`2 - - - - - - + The type of the foreign document. + The type of the result. + + + Gets or sets the foreign document serializer. - - - + + + Gets or sets the result serializer. - - - - Options for an aggregate operation. + + + + Result type for the aggregate $sortByCount stage. - - - - - - MongoDB.Driver.AggregateOptions - - - - - - - Gets or sets a value indicating whether to allow disk use. + The type of the identifier. + + + + Initializes a new instance of the class. - - - - Gets or sets the size of a batch. + The identifier. + The count. + + + + Gets the count. - - - - Gets or sets a value indicating whether to bypass document validation. + + The count. + + + + + Gets the identifier. - - - - Gets or sets the maximum time. + + The identifier. + + + + + Option for which expression to generate for certain string operations. - - - - Gets or sets a value indicating whether to use a cursor. + + + + Translate to the byte variation. - - - - Options for the $unwind aggregation stage. + + + + Translate to the code points variation. This is only supported in >= MongoDB 3.4. - The type of the result. - - - - - - MongoDB.Driver.AggregateUnwindOptions`1 - - - - - - - Gets or sets the field with which to include the array index. - - - - - Gets or sets whether to preserve null and empty arrays. - - - - - Gets or sets the result serializer. - - - - - A based command. - - The type of the result. - - - - Initializes a new instance of the class. - - The document. - The result serializer. - - - - Gets the document. - - - - - Renders the command to a . - - The serializer registry. - A . - - - - Gets the result serializer. - - - - - A based filter. - - The type of the document. - - - - Initializes a new instance of the class. - - The document. - - - - Gets the document. - - - - - Renders the filter to a . - - The document serializer. - The serializer registry. - A . - - - - A based index keys definition. - - The type of the document. - - - - Initializes a new instance of the class. - - The document. - - - - Gets the document. - - - - - Renders the index keys definition to a . - - The document serializer. - The serializer registry. - A . - - - - A based stage. - - The type of the input. - The type of the output. - - - - Initializes a new instance of the class. - - The document. - The output serializer. - - - - Gets the name of the pipeline operator. - - - - - Renders the specified document serializer. - - The input serializer. - The serializer registry. - A - - - - A based projection whose projection type is not yet known. - - The type of the source. - - - - Initializes a new instance of the class. - - The document. - - - - Gets the document. - - - - - Renders the projection to a . - - The source serializer. - The serializer registry. - A . - - - - A based projection. - - The type of the source. - The type of the projection. - - - - Initializes a new instance of the class. - - The document. - The projection serializer. - - - - Gets the document. - - - - - Gets the projection serializer. - - - - - Renders the projection to a . - - The source serializer. - The serializer registry. - A . - - - - A based sort. - - The type of the document. - - - - Initializes a new instance of the class. - - The document. - - - - Gets the document. - - - - - Renders the sort to a . - - The document serializer. - The serializer registry. - A . - - - - A pipeline composed of instances of . - - The type of the input. - The type of the output. - - - - Initializes a new instance of the class. - - The stages. - The output serializer. - - - - Renders the pipeline. - - The input serializer. - The serializer registry. - A - - - - Gets the stages. - - - - - A based update. - - The type of the document. - - - - Initializes a new instance of the class. - - The document. - - - - Gets the document. - - - - - Renders the update to a . - - The document serializer. - The serializer registry. - A . - - - + + + A static helper class containing various builders. - The type of the document. - - - - Gets a . - - - - - Gets an . - - - - - Gets a . - - - - - Gets a . - - - - - Gets an . - - - - - Represents the details of a write error for a particular request. - - - - - Gets the index of the request that had an error. - - - - - Options for a bulk write operation. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to bypass document validation. - - - - - Gets or sets a value indicating whether the requests are fulfilled in order. - - - - - Represents the result of a bulk write operation. - - - - - Initializes a new instance of the class. - - The request count. - - - - Gets the number of documents that were deleted. - - - - - Gets the number of documents that were inserted. - - - - - Gets a value indicating whether the bulk write operation was acknowledged. - - - - - Gets a value indicating whether the modified count is available. - - - - - Gets the number of documents that were matched. - - - - - Gets the number of documents that were actually modified during an update. - - - - - Gets the request count. - - - - - Gets a list with information about each request that resulted in an upsert. - - - - - Represents the result of a bulk write operation. - - The type of the document. - - - - Initializes a new instance of the class. - - The request count. - The processed requests. - - - - Gets the processed requests. - - - - - Result from an acknowledged write concern. - - - - - Initializes a new instance of the class. - - The request count. - The matched count. - The deleted count. - The inserted count. - The modified count. - The processed requests. - The upserts. - - - - Gets the number of documents that were deleted. - - - - - Gets the number of documents that were inserted. - - - - - Gets a value indicating whether the bulk write operation was acknowledged. - - - - - Gets a value indicating whether the modified count is available. - - - - - Gets the number of documents that were matched. - - - - - Gets the number of documents that were actually modified during an update. - - - - - Gets a list with information about each request that resulted in an upsert. - - - - - Result from an unacknowledged write concern. - - - - - Initializes a new instance of the class. - - The request count. - The processed requests. - - - - Gets the number of documents that were deleted. - - - - - Gets the number of documents that were inserted. - - - - - Gets a value indicating whether the bulk write operation was acknowledged. - - - - - Gets a value indicating whether the modified count is available. - - - - - Gets the number of documents that were matched. - - - - - Gets the number of documents that were actually modified during an update. - - - - - Gets a list with information about each request that resulted in an upsert. - - - - - Represents the information about one Upsert. - - - - - Gets the id. - - - - - Gets the index. - - - - - A client side only projection that is implemented solely by deserializing using a different serializer. - - The type of the source. - The type of the projection. - - - - Initializes a new instance of the class. - - The projection serializer. - - - - Renders the projection to a . - - The source serializer. - The serializer registry. - A . - - - - Gets the result serializer. - - - - - A pipeline defined by combining two pipeline definitions. - - The type of the input. - The type of the intermediate output. - The type of the output. - - - - Initializes a new instance of the class. - - The first pipeline. - The second pipeline. - - - - Gets the first pipeline. - - - - - Renders the pipeline. - - The input serializer. - The serializer registry. - A - - - - Gets the second pipeline. - - - - - Base class for commands. - - The type of the result. - - - - - - MongoDB.Driver.Command`1 - - - - - - - Performs an implicit conversion from to . - - The document. - - The result of the conversion. - - - - - Performs an implicit conversion from to . - - The JSON string. - - The result of the conversion. - - - - - Renders the command to a . - - The serializer registry. - A . - - - - Server connection mode. - - - - - Automatically determine how to connect. - - - - - Connect directly to a server. - - - - - Connect to a replica set. - - - - - Connect to one or more shard routers. - - - - - Connect to a standalone server. - - - - - Options for a count operation. - - - - - - - MongoDB.Driver.CountOptions - - - - - - - Gets or sets the hint. - - - - - Gets or sets the limit. - - - - - Gets or sets the maximum time. - - - - - Gets or sets the skip. - - - - - Options for creating a collection. - - - - - - - MongoDB.Driver.CreateCollectionOptions - - - - - - - Gets or sets a value indicating whether to automatically create an index on the _id. - - - - - Gets or sets a value indicating whether the collection is capped. - - - - - Gets or sets the index option defaults. - - - - - Gets or sets the maximum number of documents (used with capped collections). - - - - - Gets or sets the maximum size of the collection (used with capped collections). - - - - - Gets or sets the serializer registry. - - - - - Gets or sets the storage engine options. - - - - - Gets or sets a value indicating whether to use power of 2 sizes. - - - - - Gets or sets the validation action. - - - - - Gets or sets the validation level. - - - - - Options for creating a collection. - - The type of the document. - - - - - - MongoDB.Driver.CreateCollectionOptions`1 - - - - - - - Gets or sets the document serializer. - - - - - Gets or sets the validator. - - - - + The type of the document. + + + + Gets a . + + + + + Gets an . + + + + + Gets a . + + + + + Gets a . + + + + + Gets an . + + + + Model for creating an index. - The type of the document. - - - - Initializes a new instance of the class. + The type of the document. + + + + Initializes a new instance of the class. - The keys. - The options. - - - + The keys. + The options. + + + Gets the keys. - - - + + + Gets the options. - - - - Options for creating an index. - - - - - - - MongoDB.Driver.CreateIndexOptions - - - - - - - Gets or sets a value indicating whether to create the index in the background. - - - - - Gets or sets the precision, in bits, used with geohash indexes. - - - - - Gets or sets the size of a geohash bucket. - - - - - Gets or sets the default language. - - - - - Gets or sets when documents expire (used with TTL indexes). - - - - - Gets or sets the language override. - - - - - Gets or sets the max value for 2d indexes. - - - - - Gets or sets the min value for 2d indexes. - - - - - Gets or sets the index name. - - - - - Gets or sets a value indicating whether the index is a sparse index. - - - - - Gets or sets the index version for 2dsphere indexes. - - - - - Gets or sets the storage engine options. - - - - - Gets or sets the index version for text indexes. - - - - - Gets or sets a value indicating whether the index is a unique index. - - - - - Gets or sets the version of the index. - - - - - Gets or sets the weights for text indexes. - - - - - Options for creating an index. - - The type of the document. - - - - - - MongoDB.Driver.CreateIndexOptions`1 - - - - - - - Gets or sets the partial filter expression. - - - - - The cursor type. - - - - - A non-tailable cursor. This is sufficient for a vast majority of uses. - - - - - A tailable cursor. - - - - - A tailable cursor with a built-in server sleep. - - - - - Model for deleting many documents. - - The type of the document. - - - - Initializes a new instance of the class. - - The filter. - - - - Gets the filter. - - - - - Gets the type of the model. - - - - - Model for deleting a single document. - - The type of the document. - - - - Initializes a new instance of the class. - - The filter. - - - - Gets the filter. - - - - - Gets the type of the model. - - - - - The result of a delete operation. - - - - - Initializes a new instance of the class. - - - - - Gets the deleted count. If IsAcknowledged is false, this will throw an exception. - - - - - Gets a value indicating whether the result is acknowleded. - - - - - The result of an acknowledged delete operation. - - - - - Initializes a new instance of the class. - - The deleted count. - - - - Gets the deleted count. If IsAcknowledged is false, this will throw an exception. - - - - - Gets a value indicating whether the result is acknowleded. - - - - - The result of an unacknowledged delete operation. - - - - - Gets the deleted count. If IsAcknowledged is false, this will throw an exception. - - - - - Gets the instance. - - - - - Gets a value indicating whether the result is acknowleded. - - - - - Options for the distinct command. - - - - - - - MongoDB.Driver.DistinctOptions - - - - - - - Gets or sets the maximum time. - - - - - An based field. - - The type of the document. - - - - Initializes a new instance of the class. - - The expression. - - - - Gets the expression. - - - - - Renders the field to a . - - The document serializer. - The serializer registry. - A . - - - - An based field. - - The type of the document. - The type of the field. - - - - Initializes a new instance of the class. - - The expression. - - - - Gets the expression. - - - - - Renders the field to a . - - The document serializer. - The serializer registry. - A . - - - - An based filter. - - The type of the document. - - - - Initializes a new instance of the class. - - The expression. - - - - Gets the expression. - - - - - Renders the filter to a . - - The document serializer. - The serializer registry. - A . - - - - Evidence of a MongoIdentity via an external mechanism. For example, on windows this may - be the current process' user or, on linux, via kinit. - - - - - Initializes a new instance of the class. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Base class for field names. - - The type of the document. - - - - - - MongoDB.Driver.FieldDefinition`1 - - - - - - - Performs an implicit conversion from to . - - Name of the field. - - The result of the conversion. - - - - - Renders the field to a . - - The document serializer. - The serializer registry. - A . - - - - Base class for field names. - - The type of the document. - The type of the field. - - - - - - MongoDB.Driver.FieldDefinition`2 - - - - - - - Performs an implicit conversion from to . - - The field. - - The result of the conversion. - - - - - Performs an implicit conversion from to . - - Name of the field. - - The result of the conversion. - - - - - Renders the field to a . - - The document serializer. - The serializer registry. - A . - - - - Base class for filters. - - The type of the document. - - - - - - MongoDB.Driver.FilterDefinition`1 - - - - - - - Gets an empty filter. An empty filter matches everything. - - - - - Implements the operator &. - - The LHS. - The RHS. - - The result of the operator. - - - - - Implements the operator |. - - The LHS. - The RHS. - - The result of the operator. - - - - - Performs an implicit conversion from to . - - The document. - - The result of the conversion. - - - - - Performs an implicit conversion from a predicate expression to . - - The predicate. - - The result of the conversion. - - - - - Performs an implicit conversion from to . - - The JSON string. - - The result of the conversion. - - - - - Implements the operator !. - - The op. - - The result of the operator. - - - - - Renders the filter to a . - - The document serializer. - The serializer registry. - A . - - - - A builder for a . - - The type of the document. - - - - - - MongoDB.Driver.FilterDefinitionBuilder`1 - - - - - - - Creates an all filter for an array field. - - The field. - The values. - The type of the item. - An all filter. - - - - Creates an all filter for an array field. - - The field. - The values. - The type of the item. - An all filter. - - - - Creates an and filter. - - The filters. - A filter. - - - - Creates an and filter. - - The filters. - An and filter. - - - - Creates an equality filter for an array field. - - The field. - The value. - The type of the item. - An equality filter. - - - - Creates an equality filter for an array field. - - The field. - The value. - The type of the item. - An equality filter. - - - - Creates a greater than filter for an array field. - - The field. - The value. - The type of the item. - A greater than filter. - - - - Creates a greater than filter for an array field. - - The field. - The value. - The type of the item. - A greater than filter. - - - - Creates a greater than or equal filter for an array field. - - The field. - The value. - The type of the item. - A greater than or equal filter. - - - - Creates a greater than or equal filter for an array field. - - The field. - The value. - The type of the item. - A greater than or equal filter. - - - - Creates an in filter for an array field. - - The field. - The values. - The type of the item. - An in filter. - - - - Creates an in filter for an array field. - - The field. - The values. - The type of the item. - An in filter. - - - - Creates a less than filter for an array field. - - The field. - The value. - The type of the item. - A less than filter. - - - - Creates a less than filter for an array field. - - The field. - The value. - The type of the item. - A less than filter. - - - - Creates a less than or equal filter for an array field. - - The field. - The value. - The type of the item. - A less than or equal filter. - - - - Creates a less than or equal filter for an array field. - - The field. - The value. - The type of the item. - A less than or equal filter. - - - - Creates a not equal filter for an array field. - - The field. - The value. - The type of the item. - A not equal filter. - - - - Creates a not equal filter for an array field. - - The field. - The value. - The type of the item. - A not equal filter. - - - - Creates a not in filter for an array field. - - The field. - The values. - The type of the item. - A not in filter. - - - - Creates a not in filter for an array field. - - The field. - The values. - The type of the item. - A not in filter. - - - - Creates a bits all clear filter. - - The field. - The bitmask. - A bits all clear filter. - - - - Creates a bits all clear filter. - - The field. - The bitmask. - A bits all clear filter. - - - - Creates a bits all set filter. - - The field. - The bitmask. - A bits all set filter. - - - - Creates a bits all set filter. - - The field. - The bitmask. - A bits all set filter. - - - - Creates a bits any clear filter. - - The field. - The bitmask. - A bits any clear filter. - - - - Creates a bits any clear filter. - - The field. - The bitmask. - A bits any clear filter. - - - - Creates a bits any set filter. - - The field. - The bitmask. - A bits any set filter. - - - - Creates a bits any set filter. - - The field. - The bitmask. - A bits any set filter. - - - - Creates an element match filter for an array field. - - The field. - The filter. - The type of the item. - An element match filter. - - - - Creates an element match filter for an array field. - - The field. - The filter. - The type of the item. - An element match filter. - - - - Creates an element match filter for an array field. - - The field. - The filter. - The type of the item. - An element match filter. - - - - Gets an empty filter. An empty filter matches everything. - - - - - Creates an equality filter. - - The field. - The value. - The type of the field. - An equality filter. - - - - Creates an equality filter. - - The field. - The value. - The type of the field. - An equality filter. - - - - Creates an exists filter. - - The field. - if set to true [exists]. - An exists filter. - - - - Creates an exists filter. - - The field. - if set to true [exists]. - An exists filter. - - - - Creates a geo intersects filter. - - The field. - The geometry. - The type of the coordinates. - A geo intersects filter. - - - - Creates a geo intersects filter. - - The field. - The geometry. - The type of the coordinates. - A geo intersects filter. - - - - Creates a geo within filter. - - The field. - The geometry. - The type of the coordinates. - A geo within filter. - - - - Creates a geo within filter. - - The field. - The geometry. - The type of the coordinates. - A geo within filter. - - - - Creates a geo within box filter. - - The field. - The lower left x. - The lower left y. - The upper right x. - The upper right y. - A geo within box filter. - - - - Creates a geo within box filter. - - The field. - The lower left x. - The lower left y. - The upper right x. - The upper right y. - A geo within box filter. - - - - Creates a geo within center filter. - - The field. - The x. - The y. - The radius. - A geo within center filter. - - - - Creates a geo within center filter. - - The field. - The x. - The y. - The radius. - A geo within center filter. - - - - Creates a geo within center sphere filter. - - The field. - The x. - The y. - The radius. - A geo within center sphere filter. - - - - Creates a geo within center sphere filter. - - The field. - The x. - The y. - The radius. - A geo within center sphere filter. - - - - Creates a geo within polygon filter. - - The field. - The points. - A geo within polygon filter. - - - - Creates a geo within polygon filter. - - The field. - The points. - A geo within polygon filter. - - - - Creates a greater than filter. - - The field. - The value. - The type of the field. - A greater than filter. - - - - Creates a greater than filter. - - The field. - The value. - The type of the field. - A greater than filter. - - - - Creates a greater than or equal filter. - - The field. - The value. - The type of the field. - A greater than or equal filter. - - - - Creates a greater than or equal filter. - - The field. - The value. - The type of the field. - A greater than or equal filter. - - - - Creates an in filter. - - The field. - The values. - The type of the field. - An in filter. - - - - Creates an in filter. - - The field. - The values. - The type of the field. - An in filter. - - - - Creates a less than filter. - - The field. - The value. - The type of the field. - A less than filter. - - - - Creates a less than filter. - - The field. - The value. - The type of the field. - A less than filter. - - - - Creates a less than or equal filter. - - The field. - The value. - The type of the field. - A less than or equal filter. - - - - Creates a less than or equal filter. - - The field. - The value. - The type of the field. - A less than or equal filter. - - - - Creates a modulo filter. - - The field. - The modulus. - The remainder. - A modulo filter. - - - - Creates a modulo filter. - - The field. - The modulus. - The remainder. - A modulo filter. - - - - Creates a not equal filter. - - The field. - The value. - The type of the field. - A not equal filter. - - - - Creates a not equal filter. - - The field. - The value. - The type of the field. - A not equal filter. - - - - Creates a near filter. - - The field. - The geometry. - The maximum distance. - The minimum distance. - The type of the coordinates. - A near filter. - - - - Creates a near filter. - - The field. - The x. - The y. - The maximum distance. - The minimum distance. - A near filter. - - - - Creates a near filter. - - The field. - The geometry. - The maximum distance. - The minimum distance. - The type of the coordinates. - A near filter. - - - - Creates a near filter. - - The field. - The x. - The y. - The maximum distance. - The minimum distance. - A near filter. - - - - Creates a near sphere filter. - - The field. - The geometry. - The maximum distance. - The minimum distance. - The type of the coordinates. - A near sphere filter. - - - - Creates a near sphere filter. - - The field. - The x. - The y. - The maximum distance. - The minimum distance. - A near sphere filter. - - - - Creates a near sphere filter. - - The field. - The geometry. - The maximum distance. - The minimum distance. - The type of the coordinates. - A near sphere filter. - - - - Creates a near sphere filter. - - The field. - The x. - The y. - The maximum distance. - The minimum distance. - A near sphere filter. - - - - Creates a not in filter. - - The field. - The values. - The type of the field. - A not in filter. - - - - Creates a not in filter. - - The field. - The values. - The type of the field. - A not in filter. - - - - Creates a not filter. - - The filter. - A not filter. - - - - Creates an OfType filter that matches documents of a derived type. - - The type of the matching derived documents. - An OfType filter. - - - - Creates an OfType filter that matches documents with a field of a derived typer. - - The field. - The type of the field. - The type of the matching derived field value. - An OfType filter. - - - - Creates an OfType filter that matches documents with a field of a derived type and that also match a filter on the derived field. - - The field. - A filter on the derived field. - The type of the field. - The type of the matching derived field value. - An OfType filter. - - - - Creates an OfType filter that matches documents of a derived type and that also match a filter on the derived document. - - A filter on the derived document. - The type of the matching derived documents. - An OfType filter. - - - - Creates an OfType filter that matches documents of a derived type and that also match a filter on the derived document. - - A filter on the derived document. - The type of the matching derived documents. - An OfType filter. - - - - Creates an OfType filter that matches documents with a field of a derived type. - - The field. - The type of the field. - The type of the matching derived field value. - An OfType filter. - - - - Creates an OfType filter that matches documents with a field of a derived type and that also match a filter on the derived field. - - The field. - A filter on the derived field. - The type of the field. - The type of the matching derived field value. - An OfType filter. - - - - Creates an or filter. - - The filters. - An or filter. - - - - Creates an or filter. - - The filters. - An or filter. - - - - Creates a regular expression filter. - - The field. - The regex. - A regular expression filter. - - - - Creates a regular expression filter. - - The field. - The regex. - A regular expression filter. - - - - Creates a size filter. - - The field. - The size. - A size filter. - - - - Creates a size filter. - - The field. - The size. - A size filter. - - - - Creates a size greater than filter. - - The field. - The size. - A size greater than filter. - - - - Creates a size greater than filter. - - The field. - The size. - A size greater than filter. - - - - Creates a size greater than or equal filter. - - The field. - The size. - A size greater than or equal filter. - - - - Creates a size greater than or equal filter. - - The field. - The size. - A size greater than or equal filter. - - - - Creates a size less than filter. - - The field. - The size. - A size less than filter. - - - - Creates a size less than filter. - - The field. - The size. - A size less than filter. - - - - Creates a size less than or equal filter. - - The field. - The size. - A size less than or equal filter. - - - - Creates a size less than or equal filter. - - The field. - The size. - A size less than or equal filter. - - - - Creates a text filter. - - The search. - The text search options. - A text filter. - - - - Creates a text filter. - - The search. - The language. - A text filter. - - - - Creates a type filter. - - The field. - The type. - A type filter. - - - - Creates a type filter. - - The field. - The type. - A type filter. - - - - Creates a type filter. - - The field. - The type. - A type filter. - - - - Creates a type filter. - - The field. - The type. - A type filter. - - - - Creates a filter based on the expression. - - The expression. - An expression filter. - - - - A find based projection. - - The type of the source. - The type of the projection. - - - - Initializes a new instance of the class. - - The expression. - - - - Gets the expression. - - - - - Renders the projection to a . - - The source serializer. - The serializer registry. - A . - - - - Base class for implementors of . - - The type of the document. - The type of the projection (same as TDocument if there is no projection). - - - - - - MongoDB.Driver.FindFluentBase`2 - - - - - - - A simplified type of projection that changes the result type by using a different serializer. - - The result serializer. - The type of the result. - The fluent find interface. - - - - Counts the number of documents. - - The cancellation token. - The count. - - - - Counts the number of documents. - - The cancellation token. - A Task whose result is the count. - - - - Gets or sets the filter. - - - - - Limits the number of documents. - - The limit. - The fluent find interface. - - - - Gets the options. - - - - - Projects the the result. - - The projection. - The type of the projection. - The fluent find interface. - - - - Skips the the specified number of documents. - - The skip. - The fluent find interface. - - - - Sorts the the documents. - - The sort. - The fluent find interface. - - - - Executes the operation and returns a cursor to the results. - - The cancellation token. - A cursor. - - - - Executes the operation and returns a cursor to the results. - - The cancellation token. - A Task whose result is a cursor. - - - - Options for a findAndModify command to delete an object. - - The type of the document and the result. - - - - - - MongoDB.Driver.FindOneAndDeleteOptions`1 - - - - - - - Options for a findAndModify command to delete an object. - - The type of the document. - The type of the projection (same as TDocument if there is no projection). - - - - - - MongoDB.Driver.FindOneAndDeleteOptions`2 - - - - - - - Gets or sets the maximum time. - - - - - Gets or sets the projection. - - - - - Gets or sets the sort. - - - - - Options for a findAndModify command to replace an object. - - The type of the document and the result. - - - - - - MongoDB.Driver.FindOneAndReplaceOptions`1 - - - - - - - Options for a findAndModify command to replace an object. - - The type of the document. - The type of the projection (same as TDocument if there is no projection). - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to bypass document validation. - - - - - Gets or sets a value indicating whether to insert the document if it doesn't already exist. - - - - - Gets or sets the maximum time. - - - - - Gets or sets the projection. - - - - - Gets or sets which version of the document to return. - - - - - Gets or sets the sort. - - - - - Options for a findAndModify command to update an object. - - The type of the document and the result. - - - - - - MongoDB.Driver.FindOneAndUpdateOptions`1 - - - - - - - Options for a findAndModify command to update an object. - - The type of the document. - The type of the projection (same as TDocument if there is no projection). - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to bypass document validation. - - - - - Gets or sets a value indicating whether to insert the document if it doesn't already exist. - - - - - Gets or sets the maximum time. - - - - - Gets or sets the projection. - - - - - Gets or sets which version of the document to return. - - - - - Gets or sets the sort. - - - - - Options for finding documents. - - - - - - - MongoDB.Driver.FindOptions - - - - - - - Options for finding documents. - - The type of the document and the result. - - - - - - MongoDB.Driver.FindOptions`1 - - - - - - - Options for finding documents. - - The type of the document. - The type of the projection (same as TDocument if there is no projection). - - - - - - MongoDB.Driver.FindOptions`2 - - - - - - - Gets or sets how many documents to return. - - - - - Gets or sets the projection. - - - - - Gets or sets how many documents to skip before returning the rest. - - - - - Gets or sets the sort. - - - - - Options for a find operation. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to allow partial results when some shards are unavailable. - - - - - Gets or sets the size of a batch. - - - - - Gets or sets the comment. - - - - - Gets or sets the type of the cursor. - - - - - Gets or sets the maximum await time for TailableAwait cursors. - - - - - Gets or sets the maximum time. - - - - - Gets or sets the modifiers. - - - - - Gets or sets whether a cursor will time out. - - - - - Gets or sets whether the OplogReplay bit will be set. - - - - - Fluent interface for aggregate. - - The type of the result of the pipeline. - - - - Appends the stage to the pipeline. - - The stage. - The type of the result of the stage. - The fluent aggregate interface. - - - - Appends a project stage to the pipeline. - - The new result serializer. - The type of the new result. - The fluent aggregate interface. - - - - Appends a group stage to the pipeline. - - The group projection. - The type of the result of the stage. - The fluent aggregate interface. - - - - Appends a limit stage to the pipeline. - - The limit. - The fluent aggregate interface. - - - - Appends a lookup stage to the pipeline. - - Name of the other collection. - The local field. - The foreign field. - The field in to place the foreign results. - The options. - The type of the foreign document. - The type of the new result. - The fluent aggregate interface. - - - - Appends a match stage to the pipeline. - - The filter. - The fluent aggregate interface. - - - - Appends a match stage to the pipeline that matches derived documents and changes the result type to the derived type. - - The new result serializer. - The type of the derived documents. - The fluent aggregate interface. - - - - Gets the options. - - - - - Appends an out stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection. - - Name of the collection. - The cancellation token. - A cursor. - - - - Appends an out stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection. - - Name of the collection. - The cancellation token. - A Task whose result is a cursor. - - - - Appends a project stage to the pipeline. - - The projection. - The type of the result of the stage. - - The fluent aggregate interface. - - - - - Appends a skip stage to the pipeline. - - The number of documents to skip. - The fluent aggregate interface. - - - - Appends a sort stage to the pipeline. - - The sort specification. - The fluent aggregate interface. - - - - Gets the stages. - - - - - Appends an unwind stage to the pipeline. - - The field. - The new result serializer. - The type of the result of the stage. - - The fluent aggregate interface. - - - - - Appends an unwind stage to the pipeline. - - The field. - The options. - The type of the new result. - The fluent aggregate interface. - - - - Extension methods for - - - - Returns the first document of the aggregate result. - - The aggregate. - The cancellation token. - The type of the result. - - The fluent aggregate interface. - - - - - Returns the first document of the aggregate result. - - The aggregate. - The cancellation token. - The type of the result. - - The fluent aggregate interface. - - - - - Returns the first document of the aggregate result, or the default value if the result set is empty. - - The aggregate. - The cancellation token. - The type of the result. - - The fluent aggregate interface. - - - - - Returns the first document of the aggregate result, or the default value if the result set is empty. - - The aggregate. - The cancellation token. - The type of the result. - - The fluent aggregate interface. - - - - - Appends a group stage to the pipeline. - - The aggregate. - The group projection. - The type of the result. - - The fluent aggregate interface. - - - - - Appends a group stage to the pipeline. - - The aggregate. - The id. - The group projection. - The type of the result. - The type of the key. - The type of the new result. - - The fluent aggregate interface. - - - - - Appends a lookup stage to the pipeline. - - The aggregate. - The foreign collection. - The local field. - The foreign field. - The field in the result to place the foreign matches. - The options. - The type of the result. - The type of the foreign collection. - The type of the new result. - The fluent aggregate interface. - - - - Appends a lookup stage to the pipeline. - - The aggregate. - Name of the foreign collection. - The local field. - The foreign field. - The field in the result to place the foreign matches. - The type of the result. - The fluent aggregate interface. - - - - Appends a match stage to the pipeline. - - The aggregate. - The filter. - The type of the result. - - The fluent aggregate interface. - - - - - Appends a project stage to the pipeline. - - The aggregate. - The projection. - The type of the result. - - The fluent aggregate interface. - - - - - Appends a project stage to the pipeline. - - The aggregate. - The projection. - The type of the result. - The type of the new result. - - The fluent aggregate interface. - - - - - Returns the only document of the aggregate result. Throws an exception if the result set does not contain exactly one document. - - The aggregate. - The cancellation token. - The type of the result. - - The fluent aggregate interface. - - - - - Returns the only document of the aggregate result. Throws an exception if the result set does not contain exactly one document. - - The aggregate. - The cancellation token. - The type of the result. - - The fluent aggregate interface. - - - - - Returns the only document of the aggregate result, or the default value if the result set is empty. Throws an exception if the result set contains more than one document. - - The aggregate. - The cancellation token. - The type of the result. - - The fluent aggregate interface. - - - - - Returns the only document of the aggregate result, or the default value if the result set is empty. Throws an exception if the result set contains more than one document. - - The aggregate. - The cancellation token. - The type of the result. - - The fluent aggregate interface. - - - - - Appends an ascending sort stage to the pipeline. - - The aggregate. - The field to sort by. - The type of the result. - - The fluent aggregate interface. - - - - - Appends a descending sort stage to the pipeline. - - The aggregate. - The field to sort by. - The type of the result. - - The fluent aggregate interface. - - - - - Modifies the current sort stage by appending an ascending field specification to it. - - The aggregate. - The field to sort by. - The type of the result. - - The fluent aggregate interface. - - - - - Modifies the current sort stage by appending a descending field specification to it. - - The aggregate. - The field to sort by. - The type of the result. - - The fluent aggregate interface. - - - - - Appends an unwind stage to the pipeline. - - The aggregate. - The field to unwind. - The type of the result. - - The fluent aggregate interface. - - - - - Appends an unwind stage to the pipeline. - - The aggregate. - The field to unwind. - The type of the result. - - The fluent aggregate interface. - - - - - Appends an unwind stage to the pipeline. - - The aggregate. - The field to unwind. - The new result serializer. - The type of the result. - The type of the new result. - - The fluent aggregate interface. - - - - - Appends an unwind stage to the pipeline. - - The aggregate. - The field to unwind. - The options. - The type of the result. - The type of the new result. - - The fluent aggregate interface. - - - - - A filtered mongo collection. The filter will be and'ed with all filters. - - The type of the document. - - - - Gets the filter. - - - - - Fluent interface for find. - - The type of the document. - The type of the projection (same as TDocument if there is no projection). - - - - A simplified type of projection that changes the result type by using a different serializer. - - The result serializer. - The type of the result. - The fluent find interface. - - - - Counts the number of documents. - - The cancellation token. - The count. - - - - Counts the number of documents. - - The cancellation token. - A Task whose result is the count. - - - - Gets or sets the filter. - - - - - Limits the number of documents. - - The limit. - The fluent find interface. - - - - Gets the options. - - - - - Projects the the result. - - The projection. - The type of the projection. - The fluent find interface. - - - - Skips the the specified number of documents. - - The skip. - The fluent find interface. - - - - Sorts the the documents. - - The sort. - The fluent find interface. - - - - Extension methods for - - - - Get the first result. - - The fluent find. - The cancellation token. - The type of the document. - The type of the projection (same as TDocument if there is no projection). - A Task whose result is the first result. - - - - Get the first result. - - The fluent find. - The cancellation token. - The type of the document. - The type of the projection (same as TDocument if there is no projection). - A Task whose result is the first result. - - - - Get the first result or null. - - The fluent find. - The cancellation token. - The type of the document. - The type of the projection (same as TDocument if there is no projection). - A Task whose result is the first result or null. - - - - Get the first result or null. - - The fluent find. - The cancellation token. - The type of the document. - The type of the projection (same as TDocument if there is no projection). - A Task whose result is the first result or null. - - - - Projects the result. - - The fluent find. - The projection. - The type of the document. - The type of the projection (same as TDocument if there is no projection). - The fluent find interface. - - - - Projects the result. - - The fluent find. - The projection. - The type of the document. - The type of the projection (same as TDocument if there is no projection). - The type of the new projection. - The fluent find interface. - - - - Gets a single result. - - The fluent find. - The cancellation token. - The type of the document. - The type of the projection (same as TDocument if there is no projection). - A Task whose result is the single result. - - - - Gets a single result. - - The fluent find. - The cancellation token. - The type of the document. - The type of the projection (same as TDocument if there is no projection). - A Task whose result is the single result. - - - - Gets a single result or null. - - The fluent find. - The cancellation token. - The type of the document. - The type of the projection (same as TDocument if there is no projection). - A Task whose result is the single result or null. - - - - Gets a single result or null. - - The fluent find. - The cancellation token. - The type of the document. - The type of the projection (same as TDocument if there is no projection). - A Task whose result is the single result or null. - - - - Sorts the results by an ascending field. - - The fluent find. - The field. - The type of the document. - The type of the projection (same as TDocument if there is no projection). - The fluent find interface. - - - - Sorts the results by a descending field. - - The fluent find. - The field. - The type of the document. - The type of the projection (same as TDocument if there is no projection). - The fluent find interface. - - - - Adds an ascending field to the existing sort. - - The fluent find. - The field. - The type of the document. - The type of the projection (same as TDocument if there is no projection). - The fluent find interface. - - - - Adds a descending field to the existing sort. - - The fluent find. - The field. - The type of the document. - The type of the projection (same as TDocument if there is no projection). - The fluent find interface. - - - - The client interface to MongoDB. - - - - - Gets the cluster. - - - - - Drops the database with the specified name. - - The name of the database to drop. - The cancellation token. - - - - Drops the database with the specified name. - - The name of the database to drop. - The cancellation token. - A task. - - - - Gets a database. - - The name of the database. - The database settings. - An implementation of a database. - - - - Lists the databases on the server. - - The cancellation token. - A cursor. - - - - Lists the databases on the server. - - The cancellation token. - A Task whose result is a cursor. - - - - Gets the settings. - - - - - Represents a typed collection in MongoDB. - - The type of the documents stored in the collection. - - - - Runs an aggregation pipeline. - - The pipeline. - The options. - The cancellation token. - The type of the result. - A cursor. - - - - Runs an aggregation pipeline. - - The pipeline. - The options. - The cancellation token. - The type of the result. - A Task whose result is a cursor. - - - - Performs multiple write operations. - - The requests. - The options. - The cancellation token. - The result of writing. - - - - Performs multiple write operations. - - The requests. - The options. - The cancellation token. - The result of writing. - - - - Gets the namespace of the collection. - - - - - Counts the number of documents in the collection. - - The filter. - The options. - The cancellation token. - - The number of documents in the collection. - - - - - Counts the number of documents in the collection. - - The filter. - The options. - The cancellation token. - - The number of documents in the collection. - - - - - Gets the database. - - - - - Deletes multiple documents. - - The filter. - The cancellation token. - - The result of the delete operation. - - - - - Deletes multiple documents. - - The filter. - The cancellation token. - - The result of the delete operation. - - - - - Deletes a single document. - - The filter. - The cancellation token. - - The result of the delete operation. - - - - - Deletes a single document. - - The filter. - The cancellation token. - - The result of the delete operation. - - - - - Gets the distinct values for a specified field. - - The field. - The filter. - The options. - The cancellation token. - The type of the result. - A cursor. - - - - Gets the distinct values for a specified field. - - The field. - The filter. - The options. - The cancellation token. - The type of the result. - A Task whose result is a cursor. - - - - Gets the document serializer. - - - - - Finds the documents matching the filter. - - The filter. - The options. - The cancellation token. - The type of the projection (same as TDocument if there is no projection). - A Task whose result is a cursor. - - - - Finds a single document and deletes it atomically. - - The filter. - The options. - The cancellation token. - The type of the projection (same as TDocument if there is no projection). - - The returned document. - - - - - Finds a single document and deletes it atomically. - - The filter. - The options. - The cancellation token. - The type of the projection (same as TDocument if there is no projection). - - The returned document. - - - - - Finds a single document and replaces it atomically. - - The filter. - The replacement. - The options. - The cancellation token. - The type of the projection (same as TDocument if there is no projection). - - The returned document. - - - - - Finds a single document and replaces it atomically. - - The filter. - The replacement. - The options. - The cancellation token. - The type of the projection (same as TDocument if there is no projection). - - The returned document. - - - - - Finds a single document and updates it atomically. - - The filter. - The update. - The options. - The cancellation token. - The type of the projection (same as TDocument if there is no projection). - - The returned document. - - - - - Finds a single document and updates it atomically. - - The filter. - The update. - The options. - The cancellation token. - The type of the projection (same as TDocument if there is no projection). - - The returned document. - - - - - Finds the documents matching the filter. - - The filter. - The options. - The cancellation token. - The type of the projection (same as TDocument if there is no projection). - A cursor. - - - - Gets the index manager. - - - - - Inserts many documents. - - The documents. - The options. - The cancellation token. - - - - Inserts many documents. - - The documents. - The options. - The cancellation token. - - The result of the insert operation. - - - - - Inserts a single document. - - The document. - The options. - The cancellation token. - - - - Inserts a single document. - - The document. - The options. - The cancellation token. - - The result of the insert operation. - - - - - Inserts a single document. - - The document. - The cancellation token. - - The result of the insert operation. - - - - - Executes a map-reduce command. - - The map function. - The reduce function. - The options. - The cancellation token. - The type of the result. - A cursor. - - - - Executes a map-reduce command. - - The map function. - The reduce function. - The options. - The cancellation token. - The type of the result. - A Task whose result is a cursor. - - - - Returns a filtered collection that appears to contain only documents of the derived type. - All operations using this filtered collection will automatically use discriminators as necessary. - - The type of the derived document. - A filtered collection. - - - - Replaces a single document. - - The filter. - The replacement. - The options. - The cancellation token. - - The result of the replacement. - - - - - Replaces a single document. - - The filter. - The replacement. - The options. - The cancellation token. - - The result of the replacement. - - - - - Gets the settings. - - - - - Updates many documents. - - The filter. - The update. - The options. - The cancellation token. - - The result of the update operation. - - - - - Updates many documents. - - The filter. - The update. - The options. - The cancellation token. - - The result of the update operation. - - - - - Updates a single document. - - The filter. - The update. - The options. - The cancellation token. - - The result of the update operation. - - - - - Updates a single document. - - The filter. - The update. - The options. - The cancellation token. - - The result of the update operation. - - - - - Returns a new collection with a different read concern. - - The read concern. - A new collection. - - - - Returns a new collection with a different read preference. - - The read preference. - A new collection. - - - - Returns a new collection with a different write concern. - - The write concern. - A new collection. - - - - Extension methods for . - - - - - Begins a fluent aggregation interface. - - The collection. - The options. - The type of the document. - - A fluent aggregate interface. - - - - - Creates a queryable source of documents. - - The collection. - The type of the document. - A queryable source of documents. - - - - Counts the number of documents in the collection. - - The collection. - The filter. - The options. - The cancellation token. - The type of the document. - - The number of documents in the collection. - - - - - Counts the number of documents in the collection. - - The collection. - The filter. - The options. - The cancellation token. - The type of the document. - - The number of documents in the collection. - - - - - Deletes multiple documents. - - The collection. - The filter. - The cancellation token. - The type of the document. - - The result of the delete operation. - - - - - Deletes multiple documents. - - The collection. - The filter. - The cancellation token. - The type of the document. - - The result of the delete operation. - - - - - Deletes a single document. - - The collection. - The filter. - The cancellation token. - The type of the document. - - The result of the delete operation. - - - - - Deletes a single document. - - The collection. - The filter. - The cancellation token. - The type of the document. - - The result of the delete operation. - - - - - Gets the distinct values for a specified field. - - The collection. - The field. - The filter. - The options. - The cancellation token. - The type of the document. - The type of the result. - - The distinct values for the specified field. - - - - - Gets the distinct values for a specified field. - - The collection. - The field. - The filter. - The options. - The cancellation token. - The type of the document. - The type of the result. - - The distinct values for the specified field. - - - - - Gets the distinct values for a specified field. - - The collection. - The field. - The filter. - The options. - The cancellation token. - The type of the document. - The type of the result. - - The distinct values for the specified field. - - - - - Gets the distinct values for a specified field. - - The collection. - The field. - The filter. - The options. - The cancellation token. - The type of the document. - The type of the result. - - The distinct values for the specified field. - - - - - Gets the distinct values for a specified field. - - The collection. - The field. - The filter. - The options. - The cancellation token. - The type of the document. - The type of the result. - - The distinct values for the specified field. - - - - - Gets the distinct values for a specified field. - - The collection. - The field. - The filter. - The options. - The cancellation token. - The type of the document. - The type of the result. - - The distinct values for the specified field. - - - - - Begins a fluent find interface. - - The collection. - The filter. - The options. - The type of the document. - - A fluent find interface. - - - - - Begins a fluent find interface. - - The collection. - The filter. - The options. - The type of the document. - - A fluent interface. - - - - - Finds the documents matching the filter. - - The collection. - The filter. - The options. - The cancellation token. - The type of the document. - A Task whose result is a cursor. - - - - Finds the documents matching the filter. - - The collection. - The filter. - The options. - The cancellation token. - The type of the document. - A Task whose result is a cursor. - - - - Finds a single document and deletes it atomically. - - The collection. - The filter. - The options. - The cancellation token. - The type of the document. - - The deleted document if one was deleted. - - - - - Finds a single document and deletes it atomically. - - The collection. - The filter. - The options. - The cancellation token. - The type of the document. - - The deleted document if one was deleted. - - - - - Finds a single document and deletes it atomically. - - The collection. - The filter. - The options. - The cancellation token. - The type of the document. - The type of the projection (same as TDocument if there is no projection). - - The returned document. - - - - - Finds a single document and deletes it atomically. - - The collection. - The filter. - The options. - The cancellation token. - The type of the document. - - The deleted document if one was deleted. - - - - - Finds a single document and deletes it atomically. - - The collection. - The filter. - The options. - The cancellation token. - The type of the document. - - The deleted document if one was deleted. - - - - - Finds a single document and deletes it atomically. - - The collection. - The filter. - The options. - The cancellation token. - The type of the document. - The type of the projection (same as TDocument if there is no projection). - - The returned document. - - - - - Finds a single document and replaces it atomically. - - The collection. - The filter. - The replacement. - The options. - The cancellation token. - The type of the document. - - The returned document. - - - - - Finds a single document and replaces it atomically. - - The collection. - The filter. - The replacement. - The options. - The cancellation token. - The type of the document. - - The returned document. - - - - - Finds a single document and replaces it atomically. - - The collection. - The filter. - The replacement. - The options. - The cancellation token. - The type of the document. - The type of the projection (same as TDocument if there is no projection). - - The returned document. - - - - - Finds a single document and replaces it atomically. - - The collection. - The filter. - The replacement. - The options. - The cancellation token. - The type of the document. - - The returned document. - - - - - Finds a single document and replaces it atomically. - - The collection. - The filter. - The replacement. - The options. - The cancellation token. - The type of the document. - - The returned document. - - - - - Finds a single document and replaces it atomically. - - The collection. - The filter. - The replacement. - The options. - The cancellation token. - The type of the document. - The type of the projection (same as TDocument if there is no projection). - - The returned document. - - - - - Finds a single document and updates it atomically. - - The collection. - The filter. - The update. - The options. - The cancellation token. - The type of the document. - - The returned document. - - - - - Finds a single document and updates it atomically. - - The collection. - The filter. - The update. - The options. - The cancellation token. - The type of the document. - - The returned document. - - - - - Finds a single document and updates it atomically. - - The collection. - The filter. - The update. - The options. - The cancellation token. - The type of the document. - The type of the projection (same as TDocument if there is no projection). - - The returned document. - - - - - Finds a single document and updates it atomically. - - The collection. - The filter. - The update. - The options. - The cancellation token. - The type of the document. - - The returned document. - - - - - Finds a single document and updates it atomically. - - The collection. - The filter. - The update. - The options. - The cancellation token. - The type of the document. - - The returned document. - - - - - Finds a single document and updates it atomically. - - The collection. - The filter. - The update. - The options. - The cancellation token. - The type of the document. - The type of the projection (same as TDocument if there is no projection). - - The returned document. - - - - - Finds the documents matching the filter. - - The collection. - The filter. - The options. - The cancellation token. - The type of the document. - A Task whose result is a cursor. - - - - Finds the documents matching the filter. - - The collection. - The filter. - The options. - The cancellation token. - The type of the document. - A Task whose result is a cursor. - - - - Replaces a single document. - - The collection. - The filter. - The replacement. - The options. - The cancellation token. - The type of the document. - - The result of the replacement. - - - - - Replaces a single document. - - The collection. - The filter. - The replacement. - The options. - The cancellation token. - The type of the document. - - The result of the replacement. - - - - - Updates many documents. - - The collection. - The filter. - The update. - The options. - The cancellation token. - The type of the document. - - The result of the update operation. - - - - - Updates many documents. - - The collection. - The filter. - The update. - The options. - The cancellation token. - The type of the document. - - The result of the update operation. - - - - - Updates a single document. - - The collection. - The filter. - The update. - The options. - The cancellation token. - The type of the document. - - The result of the update operation. - - - - - Updates a single document. - - The collection. - The filter. - The update. - The options. - The cancellation token. - The type of the document. - - The result of the update operation. - - - - - Representats a database in MongoDB. - - - - - Gets the client. - - - - - Creates the collection with the specified name. - - The name. - The options. - The cancellation token. - - - - Creates the collection with the specified name. - - The name. - The options. - The cancellation token. - A task. - - - - Gets the namespace of the database. - - - - - Drops the collection with the specified name. - - The name of the collection to drop. - The cancellation token. - - - - Drops the collection with the specified name. - - The name of the collection to drop. - The cancellation token. - A task. - - - - Gets a collection. - - The name of the collection. - The settings. - The document type. - An implementation of a collection. - - - - Lists all the collections on the server. - - The options. - The cancellation token. - A cursor. - - - - Lists all the collections on the server. - - The options. - The cancellation token. - A Task whose result is a cursor. - - - - Renames the collection. - - The old name. - The new name. - The options. - The cancellation token. - - - - Renames the collection. - - The old name. - The new name. - The options. - The cancellation token. - A task. - - - - Runs a command. - - The command. - The read preference. - The cancellation token. - The result type of the command. - - The result of the command. - - - - - Runs a command. - - The command. - The read preference. - The cancellation token. - The result type of the command. - - The result of the command. - - - - - Gets the settings. - - - - - An interface representing methods used to create, delete and modify indexes. - - The type of the document. - - - - Gets the namespace of the collection. - - - - - Creates multiple indexes. - - The models defining each of the indexes. - The cancellation token. - - An of the names of the indexes that were created. - - - - - Creates multiple indexes. - - The models defining each of the indexes. - The cancellation token. - - A task whose result is an of the names of the indexes that were created. - - - - - Creates an index. - - The keys. - The options. - The cancellation token. - - The name of the index that was created. - - - - - Creates an index. - - The keys. - The options. - The cancellation token. - - A task whose result is the name of the index that was created. - - - - - Gets the document serializer. - - - - - Drops all the indexes. - - The cancellation token. - - - - Drops all the indexes. - - The cancellation token. - A task. - - - - Drops an index by its name. - - The name. - The cancellation token. - - - - Drops an index by its name. - - The name. - The cancellation token. - A task. - - - - Lists the indexes. - - The cancellation token. - A cursor. - - - - Lists the indexes. - - The cancellation token. - A Task whose result is a cursor. - - - - Gets the collection settings. - - - - + + + + Options for creating a view. + + The type of the documents. + + + + Gets or sets the collation. + + + The collation. + + + + + Gets or sets the document serializer. + + + The document serializer. + + + + + Gets or sets the serializer registry. + + + The serializer registry. + + + + + Options for the Delete methods. + + + + + Gets or sets the collation. + + + + Base class for an index keys definition. - The type of the document. - - - - - - MongoDB.Driver.IndexKeysDefinition`1 - - - - - - - Performs an implicit conversion from to . + The type of the document. + + + + Renders the index keys definition to a . - The document. - + The document serializer. + The serializer registry. + A . + + + + Performs an implicit conversion from to . + + The document. + The result of the conversion. - - - + + + Performs an implicit conversion from to . - The JSON string. - + The JSON string. + The result of the conversion. - - - - Renders the index keys definition to a . + + + + A based index keys definition. - The document serializer. - The serializer registry. - A . - - - - A builder for an . + The type of the document. + + + + Initializes a new instance of the class. - The type of the document. - - - - - - MongoDB.Driver.IndexKeysDefinitionBuilder`1 - - - - - - - Creates an ascending index key definition. - - The field. - An ascending index key definition. - - - - Creates an ascending index key definition. - - The field. - An ascending index key definition. - - - - Creates a combined index keys definition. - - The keys. - A combined index keys definition. - - - - Creates a combined index keys definition. - - The keys. - A combined index keys definition. - - - - Creates a descending index key definition. - - The field. - A descending index key definition. - - - - Creates a descending index key definition. - - The field. - A descending index key definition. - - - - Creates a 2d index key definition. - - The field. - A 2d index key definition. - - - - Creates a 2d index key definition. - - The field. - A 2d index key definition. - - - - Creates a 2dsphere index key definition. - - The field. - A 2dsphere index key definition. - - - - Creates a 2dsphere index key definition. - - The field. - A 2dsphere index key definition. - - - - Creates a geo haystack index key definition. - - The field. - Name of the additional field. - - A geo haystack index key definition. - - - - - Creates a geo haystack index key definition. - - The field. - Name of the additional field. - - A geo haystack index key definition. - - - - - Creates a hashed index key definition. - - The field. - A hashed index key definition. - - - - Creates a hashed index key definition. - - The field. - A hashed index key definition. - - - - Creates a text index key definition. - - The field. - A text index key definition. - - - - Creates a text index key definition. - - The field. - A text index key definition. - - - - Extension methods for an index keys definition. - - - - - Combines an existing index keys definition with an ascending index key definition. - - The keys. - The field. - The type of the document. - - A combined index keys definition. - - - - - Combines an existing index keys definition with an ascending index key definition. - - The keys. - The field. - The type of the document. - - A combined index keys definition. - - - - - Combines an existing index keys definition with a descending index key definition. - - The keys. - The field. - The type of the document. - - A combined index keys definition. - - - - - Combines an existing index keys definition with a descending index key definition. - - The keys. - The field. - The type of the document. - - A combined index keys definition. - - - - - Combines an existing index keys definition with a 2d index key definition. - - The keys. - The field. - The type of the document. - - A combined index keys definition. - - - - - Combines an existing index keys definition with a 2d index key definition. - - The keys. - The field. - The type of the document. - - A combined index keys definition. - - - - - Combines an existing index keys definition with a 2dsphere index key definition. - - The keys. - The field. - The type of the document. - - A combined index keys definition. - - - - - Combines an existing index keys definition with a 2dsphere index key definition. - - The keys. - The field. - The type of the document. - - A combined index keys definition. - - - - - Combines an existing index keys definition with a geo haystack index key definition. - - The keys. - The field. - Name of the additional field. - The type of the document. - - A combined index keys definition. - - - - - Combines an existing index keys definition with a geo haystack index key definition. - - The keys. - The field. - Name of the additional field. - The type of the document. - - A combined index keys definition. - - - - - Combines an existing index keys definition with a hashed index key definition. - - The keys. - The field. - The type of the document. - - A combined index keys definition. - - - - - Combines an existing index keys definition with a hashed index key definition. - - The keys. - The field. - The type of the document. - - A combined index keys definition. - - - - - Combines an existing index keys definition with a text index key definition. - - The keys. - The field. - The type of the document. - - A combined index keys definition. - - - - - Combines an existing index keys definition with a text index key definition. - - The keys. - The field. - The type of the document. - - A combined index keys definition. - - - - - Represents index option defaults. - - - - - - - MongoDB.Driver.IndexOptionDefaults - - - - - - - Gets or sets the storage engine options. - - - - - Options for inserting many documents. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to bypass document validation. - - - - - Gets or sets a value indicating whether the requests are fulfilled in order. - - - - - Model for inserting a single document. - - The type of the document. - - - - Initializes a new instance of the class. - - The document. - - - + The document. + + + Gets the document. - - - - Gets the type of the model. - - - - - Options for inserting one document. - - - - - - - MongoDB.Driver.InsertOneOptions - - - - - - - Gets or sets a value indicating whether to bypass document validation. - - - - - Fluent interface for aggregate. - - The type of the result. - - - - Fluent interface for find. - - The type of the document. - The type of the projection (same as TDocument if there is no projection). - - - - A pipeline stage. - - - - - Gets the type of the input. - - - - - Gets the name of the pipeline operator. - - - - - Gets the type of the output. - - - - - Renders the specified document serializer. - - The input serializer. - The serializer registry. - An - - - - A rendered pipeline stage. - - - - - Gets the document. - - - - - Gets the name of the pipeline operator. - - - - - Gets the output serializer. - - - - - A JSON based command. - - The type of the result. - - - - Initializes a new instance of the class. - - The json. - The result serializer. - - - - Gets the json. - - - - - Renders the command to a . - - The serializer registry. - A . - - - - Gets the result serializer. - - - - - A JSON based filter. - - The type of the document. - - - - Initializes a new instance of the class. - - The json. - - - - Gets the json. - - - - - Renders the filter to a . - - The document serializer. - The serializer registry. - A . - - - + + + + + + A JSON based index keys definition. - The type of the document. - - - - Initializes a new instance of the class. + The type of the document. + + + + Initializes a new instance of the class. - The json. - - - + The json. + + + Gets the json. - - - - Renders the index keys definition to a . + + + + + + + Represents index option defaults. - The document serializer. - The serializer registry. - A . - - - - A JSON based pipeline stage. + + + + Gets or sets the storage engine options. - The type of the input. - The type of the output. - - - - Initializes a new instance of the class. + + + + Returns this instance represented as a BsonDocument. - The json. - The output serializer. - - - - Gets the json. + A BsonDocument. + + + + Options for inserting one document. - - - - Gets the name of the pipeline operator. - - - - - Gets the output serializer. - - - - - Renders the specified document serializer. - - The input serializer. - The serializer registry. - A - - - - A JSON based projection whose projection type is not yet known. - - The type of the source. - - - - Initializes a new instance of the class. - - The json. - - - - Gets the json. - - - - - Renders the projection to a . - - The source serializer. - The serializer registry. - A . - - - - A JSON based projection. - - The type of the source. - The type of the projection. - - - - Initializes a new instance of the class. - - The json. - The projection serializer. - - - - Gets the json. - - - - - Gets the projection serializer. - - - - - Renders the projection to a . - - The source serializer. - The serializer registry. - A . - - - - A JSON based sort. - - The type of the document. - - - - Initializes a new instance of the class. - - The json. - - - - Gets the json. - - - - - Renders the sort to a . - - The document serializer. - The serializer registry. - A . - - - - A JSON based update. - - The type of the document. - - - - Initializes a new instance of the class. - - The json. - - - - Gets the json. - - - - - Renders the update to a . - - The document serializer. - The serializer registry. - A . - - - - Options for a list collections operation. - - - - - - - MongoDB.Driver.ListCollectionsOptions - - - - - - - Gets or sets the filter. - - - - - Represents the options for a map-reduce operation. - - The type of the document. - The type of the result. - - - - - - MongoDB.Driver.MapReduceOptions`2 - - - - - - + + + Gets or sets a value indicating whether to bypass document validation. - - - - Gets or sets the filter. - - - - - Gets or sets the finalize function. - - - - - Gets or sets the java script mode. - - - - - Gets or sets the limit. - - - - - Gets or sets the maximum time. - - - - - Gets or sets the output options. - - - - - Gets or sets the result serializer. - - - - - Gets or sets the scope. - - - - - Gets or sets the sort. - - - - - Gets or sets whether to include timing information. - - - - - Represents the output options for a map-reduce operation. - - - - - An inline map-reduce output options. - - - - - A merge map-reduce output options. - - The name of the collection. - The name of the database. - Whether the output collection should be sharded. - Whether the server should not lock the database for the duration of the merge. - A merge map-reduce output options. - - - - A reduce map-reduce output options. - - The name of the collection. - The name of the database. - Whether the output collection should be sharded. - Whether the server should not lock the database for the duration of the reduce. - A reduce map-reduce output options. - - - - A replace map-reduce output options. - - The name of the collection. - Name of the database. - Whether the output collection should be sharded. - A replace map-reduce output options. - - - - Represents a bulk write exception. - - - - - Initializes a new instance of the class. - - The connection identifier. - The write errors. - The write concern error. - - - - Initializes a new instance of the MongoQueryException class (this overload supports deserialization). - - The SerializationInfo. - The StreamingContext. - - - - Gets the object data. - - The information. - The context. - - - - Gets the write concern error. - - - - - Gets the write errors. - - - - - Represents a bulk write exception. - - The type of the document. - - - - Initializes a new instance of the class. - - The connection identifier. - The result. - The write errors. - The write concern error. - The unprocessed requests. - - - - Initializes a new instance of the MongoQueryException class (this overload supports deserialization). - - The SerializationInfo. - The StreamingContext. - - - - Gets the object data. - - The information. - The context. - - - - Gets the result of the bulk write operation. - - - - - Gets the unprocessed requests. - - - - - Base class for implementors of . - - - - - Initializes a new instance of the MongoClient class. - - - - - Initializes a new instance of the MongoClient class. - - The settings. - - - - Initializes a new instance of the MongoClient class. - - The URL. - - - - Initializes a new instance of the MongoClient class. - - The connection string. - - - - Gets the cluster. - - - - - Drops the database with the specified name. - - The name of the database to drop. - The cancellation token. - - - - Drops the database with the specified name. - - The name of the database to drop. - The cancellation token. - A task. - - - - Gets a database. - - The name of the database. - The database settings. - An implementation of a database. - - - - Lists the databases on the server. - - The cancellation token. - A cursor. - - - - Lists the databases on the server. - - The cancellation token. - A Task whose result is a cursor. - - - - Gets the settings. - - - - - Base class for implementors of . - - - - - - - MongoDB.Driver.MongoClientBase - - - - - - - Gets the cluster. - - - - - Drops the database with the specified name. - - The name of the database to drop. - The cancellation token. - - - - Drops the database with the specified name. - - The name of the database to drop. - The cancellation token. - A task. - - - - Gets a database. - - The name of the database. - The database settings. - An implementation of a database. - - - - Lists the databases on the server. - - The cancellation token. - A cursor. - - - - Lists the databases on the server. - - The cancellation token. - A Task whose result is a cursor. - - - - Gets the settings. - - - - - The settings for a MongoDB client. - - - - - Creates a new instance of MongoClientSettings. Usually you would use a connection string instead. - - - - - Creates a clone of the settings. - - A clone of the settings. - - - - Gets or sets the cluster configurator. - - - - - Gets or sets the connection mode. - - - - - Gets or sets the connect timeout. - - - - - Gets or sets the credentials. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Freezes the settings. - - The frozen settings. - - - - Gets a MongoClientSettings object intialized with values from a MongoURL. - - The MongoURL. - A MongoClientSettings. - - - - Returns a frozen copy of the settings. - - A frozen copy of the settings. - - - - Gets the hash code. - - The hash code. - - - - Gets or sets the representation to use for Guids. - - - - - Gets or sets a value indicating whether to use IPv6. - - - - - Gets a value indicating whether the settings have been frozen to prevent further changes. - - - - - Gets or sets the local threshold. - - - - - Gets or sets the max connection idle time. - - - - - Gets or sets the max connection life time. - - - - - Gets or sets the max connection pool size. - - - - - Gets or sets the min connection pool size. - - - - - Determines whether two instances are equal. - - The LHS. - The RHS. - - true if the left hand side is equal to the right hand side; otherwise, false. - - - - - Determines whether two instances are not equal. - - The LHS. - The RHS. - - true if the left hand side is not equal to the right hand side; otherwise, false. - - - - - Gets or sets the read concern. - - - - - Gets or sets the Read Encoding. - - - - - Gets or sets the read preferences. - - - - - Gets or sets the name of the replica set. - - - - - Gets or sets the address of the server (see also Servers if using more than one address). - - - - - Gets or sets the list of server addresses (see also Server if using only one address). - - - - - Gets or sets the server selection timeout. - - - - - Gets or sets the socket timeout. - - - - - Gets or sets the SSL settings. - - - - - Returns a string representation of the settings. - - A string representation of the settings. - - - - Gets or sets a value indicating whether to use SSL. - - - - - Gets or sets a value indicating whether to verify an SSL certificate. - - - - - Gets or sets the wait queue size. - - - - - Gets or sets the wait queue timeout. - - - - - Gets or sets the WriteConcern to use. - - - - - Gets or sets the Write Encoding. - - - - - Base class for implementors of . - - The type of the document. - - - - - - MongoDB.Driver.MongoCollectionBase`1 - - - - - - - Runs an aggregation pipeline. - - The pipeline. - The options. - The cancellation token. - The type of the result. - A cursor. - - - - Runs an aggregation pipeline. - - The pipeline. - The options. - The cancellation token. - The type of the result. - A Task whose result is a cursor. - - - - Performs multiple write operations. - - The requests. - The options. - The cancellation token. - The result of writing. - - - - Performs multiple write operations. - - The requests. - The options. - The cancellation token. - The result of writing. - - - - Gets the namespace of the collection. - - - - - Counts the number of documents in the collection. - - The filter. - The options. - The cancellation token. - - The number of documents in the collection. - - - - - Counts the number of documents in the collection. - - The filter. - The options. - The cancellation token. - - The number of documents in the collection. - - - - - Gets the database. - - - - - Deletes multiple documents. - - The filter. - The cancellation token. - - The result of the delete operation. - - - - - Deletes multiple documents. - - The filter. - The cancellation token. - - The result of the delete operation. - - - - - Deletes a single document. - - The filter. - The cancellation token. - - The result of the delete operation. - - - - - Deletes a single document. - - The filter. - The cancellation token. - - The result of the delete operation. - - - - - Gets the distinct values for a specified field. - - The field. - The filter. - The options. - The cancellation token. - The type of the result. - A cursor. - - - - Gets the distinct values for a specified field. - - The field. - The filter. - The options. - The cancellation token. - The type of the result. - A Task whose result is a cursor. - - - - Gets the document serializer. - - - - - Finds the documents matching the filter. - - The filter. - The options. - The cancellation token. - The type of the projection (same as TDocument if there is no projection). - A Task whose result is a cursor. - - - - Finds a single document and deletes it atomically. - - The filter. - The options. - The cancellation token. - The type of the projection (same as TDocument if there is no projection). - - The returned document. - - - - - Finds a single document and deletes it atomically. - - The filter. - The options. - The cancellation token. - The type of the projection (same as TDocument if there is no projection). - - The returned document. - - - - - Finds a single document and replaces it atomically. - - The filter. - The replacement. - The options. - The cancellation token. - The type of the projection (same as TDocument if there is no projection). - - The returned document. - - - - - Finds a single document and replaces it atomically. - - The filter. - The replacement. - The options. - The cancellation token. - The type of the projection (same as TDocument if there is no projection). - - The returned document. - - - - - Finds a single document and updates it atomically. - - The filter. - The update. - The options. - The cancellation token. - The type of the projection (same as TDocument if there is no projection). - - The returned document. - - - - - Finds a single document and updates it atomically. - - The filter. - The update. - The options. - The cancellation token. - The type of the projection (same as TDocument if there is no projection). - - The returned document. - - - - - Finds the documents matching the filter. - - The filter. - The options. - The cancellation token. - The type of the projection (same as TDocument if there is no projection). - A cursor. - - - - Gets the index manager. - - - - - Inserts many documents. - - The documents. - The options. - The cancellation token. - - - - Inserts many documents. - - The documents. - The options. - The cancellation token. - - The result of the insert operation. - - - - - Inserts a single document. - - The document. - The options. - The cancellation token. - - - - Inserts a single document. - - The document. - The options. - The cancellation token. - - The result of the insert operation. - - - - - Inserts a single document. - - The document. - The cancellation token. - - The result of the insert operation. - - - - - Executes a map-reduce command. - - The map function. - The reduce function. - The options. - The cancellation token. - The type of the result. - A cursor. - - - - Executes a map-reduce command. - - The map function. - The reduce function. - The options. - The cancellation token. - The type of the result. - A Task whose result is a cursor. - - - - Returns a filtered collection that appears to contain only documents of the derived type. - All operations using this filtered collection will automatically use discriminators as necessary. - - The type of the derived document. - A filtered collection. - - - - Replaces a single document. - - The filter. - The replacement. - The options. - The cancellation token. - - The result of the replacement. - - - - - Replaces a single document. - - The filter. - The replacement. - The options. - The cancellation token. - - The result of the replacement. - - - - - Gets the settings. - - - - - Updates many documents. - - The filter. - The update. - The options. - The cancellation token. - - The result of the update operation. - - - - - Updates many documents. - - The filter. - The update. - The options. - The cancellation token. - - The result of the update operation. - - - - - Updates a single document. - - The filter. - The update. - The options. - The cancellation token. - - The result of the update operation. - - - - - Updates a single document. - - The filter. - The update. - The options. - The cancellation token. - - The result of the update operation. - - - - - Returns a new collection with a different read concern. - - The read concern. - A new collection. - - - - Returns a new collection with a different read preference. - - The read preference. - A new collection. - - - - Returns a new collection with a different write concern. - - The write concern. - A new collection. - - - - The settings used to access a collection. - - - - - Initializes a new instance of the MongoCollectionSettings class. - - - - - Gets or sets a value indicating whether the driver should assign Id values when missing. - - - - - Creates a clone of the settings. - - A clone of the settings. - - - - Compares two MongoCollectionSettings instances. - - The other instance. - True if the two instances are equal. - - - - Freezes the settings. - - The frozen settings. - - - - Returns a frozen copy of the settings. - - A frozen copy of the settings. - - - - Gets the hash code. - - The hash code. - - - - Gets or sets the representation used for Guids. - - - - - Gets a value indicating whether the settings have been frozen to prevent further changes. - - - - - Gets or sets the read concern. - - - - - Gets or sets the Read Encoding. - - - - - Gets or sets the read preference to use. - - - - - Gets the serializer registry. - - - - - Returns a string representation of the settings. - - A string representation of the settings. - - - - Gets or sets the WriteConcern to use. - - - - - Gets or sets the Write Encoding. - - - - - Credential to access a MongoDB database. - - - - - Initializes a new instance of the class. - - Mechanism to authenticate with. - The identity. - The evidence. - - - - Creates a default credential. - - Name of the database. - The username. - The password. - A default credential. - - - - Creates a default credential. - - Name of the database. - The username. - The password. - A default credential. - - - - Creates a GSSAPI credential. - - The username. - A credential for GSSAPI. - - - - Creates a GSSAPI credential. - - The username. - The password. - A credential for GSSAPI. - - - - Creates a GSSAPI credential. - - The username. - The password. - A credential for GSSAPI. - - - - Creates a credential used with MONGODB-CR. - - Name of the database. - The username. - The password. - A credential for MONGODB-CR. - - - - Creates a credential used with MONGODB-CR. - - Name of the database. - The username. - The password. - A credential for MONGODB-CR. - - - - Creates a credential used with MONGODB-CR. - - The username. - A credential for MONGODB-X509. - - - - Creates a PLAIN credential. - - Name of the database. - The username. - The password. - A credential for PLAIN. - - - - Creates a PLAIN credential. - - Name of the database. - The username. - The password. - A credential for PLAIN. - - - - Compares this MongoCredential to another MongoCredential. - - The other credential. - True if the two credentials are equal. - - - - Compares this MongoCredential to another MongoCredential. - - The other credential. - True if the two credentials are equal. - - - - Gets the evidence. - - - - - Gets the hashcode for the credential. - - The hashcode. - - - - Gets the mechanism property. - - The key. - The default value. - The type of the mechanism property. - The mechanism property if one was set; otherwise the default value. - - - - Gets the identity. - - - - - Gets the mechanism to authenticate with. - - - - - Compares two MongoCredentials. - - The first MongoCredential. - The other MongoCredential. - True if the two MongoCredentials are equal (or both null). - - - - Compares two MongoCredentials. - - The first MongoCredential. - The other MongoCredential. - True if the two MongoCredentials are not equal (or one is null and the other is not). - - - - Gets the password. - - - - - Gets the source. - - - - - Returns a string representation of the credential. - - A string representation of the credential. - - - - Gets the username. - - - - - Creates a new MongoCredential with the specified mechanism property. - - The key. - The value. - A new MongoCredential with the specified mechanism property. - - - - Base class for implementors of . - - - - - - - MongoDB.Driver.MongoDatabaseBase - - - - - - - Gets the client. - - - - - Creates the collection with the specified name. - - The name. - The options. - The cancellation token. - - - - Creates the collection with the specified name. - - The name. - The options. - The cancellation token. - A task. - - - - Gets the namespace of the database. - - - - - Drops the collection with the specified name. - - The name of the collection to drop. - The cancellation token. - - - - Drops the collection with the specified name. - - The name of the collection to drop. - The cancellation token. - A task. - - - - Gets a collection. - - The name of the collection. - The settings. - The document type. - An implementation of a collection. - - - - Lists all the collections on the server. - - The options. - The cancellation token. - A cursor. - - - - Lists all the collections on the server. - - The options. - The cancellation token. - A Task whose result is a cursor. - - - - Renames the collection. - - The old name. - The new name. - The options. - The cancellation token. - - - - Renames the collection. - - The old name. - The new name. - The options. - The cancellation token. - A task. - - - - Runs a command. - - The command. - The read preference. - The cancellation token. - The result type of the command. - - The result of the command. - - - - - Runs a command. - - The command. - The read preference. - The cancellation token. - The result type of the command. - - The result of the command. - - - - - Gets the settings. - - - - - The settings used to access a database. - - - - - Creates a new instance of MongoDatabaseSettings. - - - - - Creates a clone of the settings. - - A clone of the settings. - - - - Compares two MongoDatabaseSettings instances. - - The other instance. - True if the two instances are equal. - - - - Freezes the settings. - - The frozen settings. - - - - Returns a frozen copy of the settings. - - A frozen copy of the settings. - - - - Gets the hash code. - - The hash code. - - - - Gets or sets the representation to use for Guids. - - - - - Gets a value indicating whether the settings have been frozen to prevent further changes. - - - - - Gets or sets the read concern. - - - - - Gets or sets the Read Encoding. - - - - - Gets or sets the read preference. - - - - - Gets the serializer registry. - - - - - Returns a string representation of the settings. - - A string representation of the settings. - - - - Gets or sets the WriteConcern to use. - - - - - Gets or sets the Write Encoding. - - - - - Represents a DBRef (a convenient way to refer to a document). - - - - - Creates a MongoDBRef. - - The name of the collection that contains the document. - The Id of the document. - - - - Creates a MongoDBRef. - - The name of the database that contains the document. - The name of the collection that contains the document. - The Id of the document. - - - - Gets the name of the collection that contains the document. - - - - - Gets the name of the database that contains the document. - - - - - Determines whether this instance and another specified MongoDBRef object have the same value. - - The MongoDBRef object to compare to this instance. - True if the value of the rhs parameter is the same as this instance; otherwise, false. - - - - Determines whether two specified MongoDBRef objects have the same value. - - The first value to compare, or null. - The second value to compare, or null. - True if the value of lhs is the same as the value of rhs; otherwise, false. - - - - Determines whether this instance and a specified object, which must also be a MongoDBRef object, have the same value. - - The MongoDBRef object to compare to this instance. - True if obj is a MongoDBRef object and its value is the same as this instance; otherwise, false. - - - - Returns the hash code for this MongoDBRef object. - - A 32-bit signed integer hash code. - - - - Gets the Id of the document. - - - - - Determines whether two specified MongoDBRef objects have the same value. - - The first value to compare, or null. - The second value to compare, or null. - True if the value of lhs is the same as the value of rhs; otherwise, false. - - - - Determines whether two specified MongoDBRef objects have different values. - - The first value to compare, or null. - The second value to compare, or null. - True if the value of lhs is different from the value of rhs; otherwise, false. - - - - Returns a string representation of the value. - - A string representation of the value. - - - - Represents a serializer for MongoDBRefs. - - - - - Initializes a new instance of the class. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - The value. - - - - Serializes a value. - - The serialization context. - The serialization args. - The value. - - - - Tries to get the serialization info for a member. - - Name of the member. - The serialization information. - - true if the serialization info exists; otherwise false. - - - - - Default values for various Mongo settings. - - - - - Gets or sets whether the driver should assign a value to empty Ids on Insert. - - - - - Gets or sets the default authentication mechanism. - - - - - Gets the actual wait queue size (either WaitQueueSize or WaitQueueMultiple x MaxConnectionPoolSize). - - - - - Gets or sets the connect timeout. - - - - - Gets or sets the representation to use for Guids (this is an alias for BsonDefaults.GuidRepresentation). - - - - - Gets or sets the default local threshold. - - - - - Gets or sets the maximum batch count. - - - - - Gets or sets the max connection idle time. - - - - - Gets or sets the max connection life time. - - - - - Gets or sets the max connection pool size. - - - - - Gets or sets the max document size - - - - - Gets or sets the max message length. - - - - - Gets or sets the min connection pool size. - - - - - Gets or sets the operation timeout. - - - - - Gets or sets the Read Encoding. - - - - - Gets or sets the server selection timeout. - - - - - Gets or sets the socket timeout. - - - - - Gets or sets the TCP receive buffer size. - - - - - Gets or sets the TCP send buffer size. - - - - - Gets or sets the wait queue multiple (the actual wait queue size will be WaitQueueMultiple x MaxConnectionPoolSize, see also WaitQueueSize). - - - - - Gets or sets the wait queue size (see also WaitQueueMultiple). - - - - - Gets or sets the wait queue timeout. - - - - - Gets or sets the Write Encoding. - - - - - Represents an identity defined outside of mongodb. - - - - - Initializes a new instance of the class. - - The username. - - - - Initializes a new instance of the class. - - The source. - The username. - - - - Represents an identity in MongoDB. - - - - - Determines whether the specified instance is equal to this instance. - - The right-hand side. - - true if the specified instance is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Compares two MongoIdentity values. - - The first MongoIdentity. - The other MongoIdentity. - True if the two MongoIdentity values are equal (or both null). - - - - Compares two MongoIdentity values. - - The first MongoIdentity. - The other MongoIdentity. - True if the two MongoIdentity values are not equal (or one is null and the other is not). - - - - Gets the source. - - - - - Gets the username. - - - - - Evidence used as proof of a MongoIdentity. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Compares two MongoIdentityEvidences. - - The first MongoIdentityEvidence. - The other MongoIdentityEvidence. - True if the two MongoIdentityEvidences are equal (or both null). - - - - Compares two MongoIdentityEvidences. - - The first MongoIdentityEvidence. - The other MongoIdentityEvidence. - True if the two MongoIdentityEvidences are not equal (or one is null and the other is not). - - - - Base class for implementors of . - - The type of the document. - - - - - - MongoDB.Driver.MongoIndexManagerBase`1 - - - - - - - Gets the namespace of the collection. - - - - - Creates multiple indexes. - - The models defining each of the indexes. - The cancellation token. - - An of the names of the indexes that were created. - - - - - Creates multiple indexes. - - The models defining each of the indexes. - The cancellation token. - - A task whose result is an of the names of the indexes that were created. - - - - - Creates an index. - - The keys. - The options. - The cancellation token. - - The name of the index that was created. - - - - - Creates an index. - - The keys. - The options. - The cancellation token. - - A task whose result is the name of the index that was created. - - - - - Gets the document serializer. - - - - - Drops all the indexes. - - The cancellation token. - - - - Drops all the indexes. - - The cancellation token. - A task. - - - - Drops an index by its name. - - The name. - The cancellation token. - - - - Drops an index by its name. - - The name. - The cancellation token. - A task. - - - - Lists the indexes. - - The cancellation token. - A cursor. - - - - Lists the indexes. - - The cancellation token. - A Task whose result is a cursor. - - - - Gets the collection settings. - - - - - Represents an identity defined inside mongodb. - - - - - Initializes a new instance of the class. - - Name of the database. - The username. - - - - The address of a MongoDB server. - - - - - Initializes a new instance of MongoServerAddress. - - The server's host name. - - - - Initializes a new instance of MongoServerAddress. - - The server's host name. - The server's port number. - - - - Compares two server addresses. - - The other server address. - True if the two server addresses are equal. - - - - Compares two server addresses. - - The other server address. - True if the two server addresses are equal. - - - - Gets the hash code for this object. - - The hash code. - - - - Gets the server's host name. - - - - - Compares two server addresses. - - The first address. - The other address. - True if the two addresses are equal (or both are null). - - - - Compares two server addresses. - - The first address. - The other address. - True if the two addresses are not equal (or one is null and the other is not). - - - - Parses a string representation of a server address. - - The string representation of a server address. - A new instance of MongoServerAddress initialized with values parsed from the string. - - - - Gets the server's port number. - - - - - Returns a string representation of the server address. - - A string representation of the server address. - - - - Tries to parse a string representation of a server address. - - The string representation of a server address. - The server address (set to null if TryParse fails). - True if the string is parsed succesfully. - - - - Represents an immutable URL style connection string. See also MongoUrlBuilder. - - - - - Creates a new instance of MongoUrl. - - The URL containing the settings. - - - - Gets the authentication mechanism. - - - - - Gets the authentication mechanism properties. - - - - - Gets the authentication source. - - - - - Clears the URL cache. When a URL is parsed it is stored in the cache so that it doesn't have to be - parsed again. There is rarely a need to call this method. - - - - - Gets the actual wait queue size (either WaitQueueSize or WaitQueueMultiple x MaxConnectionPoolSize). - - - - - Gets the connection mode. - - - - - Gets the connect timeout. - - - - - Creates an instance of MongoUrl (might be an existing existence if the same URL has been used before). - - The URL containing the settings. - An instance of MongoUrl. - - - - Gets the optional database name. - - - - - Compares two MongoUrls. - - The other URL. - True if the two URLs are equal. - - - - Compares two MongoUrls. - - The other URL. - True if the two URLs are equal. - - - - Gets the FSync component of the write concern. - - - - - Gets the hash code. - - The hash code. - - - - Returns a WriteConcern value based on this instance's settings and a default enabled value. - - The default enabled value. - A WriteConcern. - - - - Gets the representation to use for Guids. - - - - - Gets a value indicating whether to use IPv6. - - - - - Gets the Journal component of the write concern. - - - - - Gets the local threshold. - - - - - Gets the max connection idle time. - - - - - Gets the max connection life time. - - - - - Gets the max connection pool size. - - - - - Gets the min connection pool size. - - - - - Compares two MongoUrls. - - The first URL. - The other URL. - True if the two URLs are equal (or both null). - - - - Compares two MongoUrls. - - The first URL. - The other URL. - True if the two URLs are not equal (or one is null and the other is not). - - - - Gets the password. - - - - - Gets the read concern level. - - - - - Gets the read preference. - - - - - Gets the name of the replica set. - - - - - Gets the address of the server (see also Servers if using more than one address). - - - - - Gets the list of server addresses (see also Server if using only one address). - - - - - Gets the server selection timeout. - - - - - Gets the socket timeout. - - - - - Returns the canonical URL based on the settings in this MongoUrlBuilder. - - The canonical URL. - - - - Gets the URL (in canonical form). - - - - - Gets the username. - - - - - Gets a value indicating whether to use SSL. - - - - - Gets a value indicating whether to verify an SSL certificate. - - - - - Gets the W component of the write concern. - - - - - Gets the wait queue multiple (the actual wait queue size will be WaitQueueMultiple x MaxConnectionPoolSize). - - - - - Gets the wait queue size. - - - - - Gets the wait queue timeout. - - - - - Gets the WTimeout component of the write concern. - - - - - Represents URL style connection strings. This is the recommended connection string style, but see also - MongoConnectionStringBuilder if you wish to use .NET style connection strings. - - - - - Creates a new instance of MongoUrlBuilder. - - - - - Creates a new instance of MongoUrlBuilder. - - The initial settings. - - - - Gets or sets the authentication mechanism. - - - - - Gets or sets the authentication mechanism properties. - - - - - Gets or sets the authentication source. - - - - - Gets the actual wait queue size (either WaitQueueSize or WaitQueueMultiple x MaxConnectionPoolSize). - - - - - Gets or sets the connection mode. - - - - - Gets or sets the connect timeout. - - - - - Gets or sets the optional database name. - - - - - Gets or sets the FSync component of the write concern. - - - - - Returns a WriteConcern value based on this instance's settings and a default enabled value. - - The default enabled value. - A WriteConcern. - - - - Gets or sets the representation to use for Guids. - - - - - Gets or sets a value indicating whether to use IPv6. - - - - - Gets or sets the Journal component of the write concern. - - - - - Gets or sets the local threshold. - - - - - Gets or sets the max connection idle time. - - - - - Gets or sets the max connection life time. - - - - - Gets or sets the max connection pool size. - - - - - Gets or sets the min connection pool size. - - - - - Parses a URL and sets all settings to match the URL. - - The URL. - - - - Gets or sets the password. - - - - - Gets or sets the read concern level. - - - - - Gets or sets the read preference. - - - - - Gets or sets the name of the replica set. - - - - - Gets or sets the address of the server (see also Servers if using more than one address). - - - - - Gets or sets the list of server addresses (see also Server if using only one address). - - - - - Gets or sets the server selection timeout. - - - - - Gets or sets the socket timeout. - - - - - Creates a new instance of MongoUrl based on the settings in this MongoUrlBuilder. - - A new instance of MongoUrl. - - - - Returns the canonical URL based on the settings in this MongoUrlBuilder. - - The canonical URL. - - - - Gets or sets the username. - - - - - Gets or sets a value indicating whether to use SSL. - - - - - Gets or sets a value indicating whether to verify an SSL certificate. - - - - - Gets or sets the W component of the write concern. - - - - - Gets or sets the wait queue multiple (the actual wait queue size will be WaitQueueMultiple x MaxConnectionPoolSize). - - - - - Gets or sets the wait queue size. - - - - - Gets or sets the wait queue timeout. - - - - - Gets or sets the WTimeout component of the write concern. - - - - - Various static utility methods. - - - - - Gets the MD5 hash of a string. - - The string to get the MD5 hash of. - The MD5 hash. - - - - Creates a TimeSpan from microseconds. - - The microseconds. - The TimeSpan. - - - - Converts a string to camel case by lower casing the first letter (only the first letter is modified). - - The string to camel case. - The camel cased string. - - - - Represents a write exception. - - - - - Initializes a new instance of the class. - - The connection identifier. - The write error. - The write concern error. - The inner exception. - - - - Initializes a new instance of the MongoQueryException class (this overload supports deserialization). - - The SerializationInfo. - The StreamingContext. - - - - Gets the object data. - - The information. - The context. - - - - Gets the write concern error. - - - - - Gets the write error. - - - - - An based command. - - The type of the result. - - - - Initializes a new instance of the class. - - The object. - The result serializer. - - - - Gets the object. - - - - - Renders the command to a . - - The serializer registry. - A . - - - - Gets the result serializer. - - - - - An based filter. - - The type of the document. - - - - Initializes a new instance of the class. - - The object. - - - - Gets the object. - - - - - Renders the filter to a . - - The document serializer. - The serializer registry. - A . - - - - An based projection whose projection type is not yet known. - - The type of the source. - - - - Initializes a new instance of the class. - - The object. - - - - Gets the object. - - - - - Renders the projection to a . - - The source serializer. - The serializer registry. - A . - - - - An based projection. - - The type of the source. - The type of the projection. - - - - Initializes a new instance of the class. - - The object. - The projection serializer. - - - - Gets the object. - - - - - Gets the projection serializer. - - - - - Renders the projection to a . - - The source serializer. - The serializer registry. - A . - - - - An based sort. - - The type of the document. - - - - Initializes a new instance of the class. - - The object. - - - - Gets the object. - - - - - Renders the sort to a . - - The document serializer. - The serializer registry. - A . - - - - An based update. - - The type of the document. - - - - Initializes a new instance of the class. - - The object. - - - - Gets the object. - - - - - Renders the update to a . - - The document serializer. - The serializer registry. - A . - - - - Evidence of a MongoIdentity via a shared secret. - - - - - Initializes a new instance of the class. - - The password. - - - - Initializes a new instance of the class. - - The password. - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Gets the password. - - - - - Base class for a pipeline. - - The type of the input. - The type of the output. - - - - - - MongoDB.Driver.PipelineDefinition`2 - - - - - - - Performs an implicit conversion from [] to . - - The stages. - - The result of the conversion. - - - - - Performs an implicit conversion from [] to . - - The stages. - - The result of the conversion. - - - - - Performs an implicit conversion from to . - - The stages. - - The result of the conversion. - - - - - Performs an implicit conversion from to . - - The stages. - - The result of the conversion. - - - - - Renders the pipeline. - - The input serializer. - The serializer registry. - A - - - - Base class for pipeline stages. - - The type of the input. - The type of the output. - - - - - - MongoDB.Driver.PipelineStageDefinition`2 - - - - - - - Gets the type of the input. - - - - - Performs an implicit conversion from to . - - The document. - - The result of the conversion. - - - - - Performs an implicit conversion from to . - - The JSON string. - - The result of the conversion. - - - - - Gets the name of the pipeline operator. - - - - - Gets the type of the output. - - - - - Renders the specified document serializer. - - The input serializer. - The serializer registry. - A - - - - A pipeline composed of instances of . - - The type of the input. - The type of the output. - - - - Initializes a new instance of the class. - - The stages. - The output serializer. - - - - Renders the pipeline. - - The input serializer. - The serializer registry. - A - - - - Gets the serializer. - - - - - Gets the stages. - - - - - Base class for projections whose projection type is not yet known. - - The type of the source. - - - - - - MongoDB.Driver.ProjectionDefinition`1 - - - - - - - Performs an implicit conversion from to . - - The document. - - The result of the conversion. - - - - - Performs an implicit conversion from to . - - The JSON string. - - The result of the conversion. - - - - - Renders the projection to a . - - The source serializer. - The serializer registry. - A . - - - - Base class for projections. - - The type of the source. - The type of the projection. - - - - - - MongoDB.Driver.ProjectionDefinition`2 - - - - - - - Performs an implicit conversion from to . - - The document. - - The result of the conversion. - - - - - Performs an implicit conversion from to . - - The projection. - - The result of the conversion. - - - - - Performs an implicit conversion from to . - - The JSON string. - - The result of the conversion. - - - - - Renders the projection to a . - - The source serializer. - The serializer registry. - A . - - - - A builder for a projection. - - The type of the source. - - - - - - MongoDB.Driver.ProjectionDefinitionBuilder`1 - - - - - - - Creates a client side projection that is implemented solely by using a different serializer. - - The projection serializer. - The type of the projection. - A client side deserialization projection. - - - - Combines the specified projections. - - The projections. - - A combined projection. - - - - - Combines the specified projections. - - The projections. - - A combined projection. - - - - - Creates a projection that filters the contents of an array. - - The field. - The filter. - The type of the item. - - An array filtering projection. - - - - - Creates a projection that filters the contents of an array. - - The field. - The filter. - The type of the item. - - An array filtering projection. - - - - - Creates a projection that filters the contents of an array. - - The field. - The filter. - The type of the item. - - An array filtering projection. - - - - - Creates a projection that excludes a field. - - The field. - - An exclusion projection. - - - - - Creates a projection that excludes a field. - - The field. - - An exclusion projection. - - - - - Creates a projection based on the expression. - - The expression. - The type of the result. - - An expression projection. - - - - - Creates a projection that includes a field. - - The field. - - An inclusion projection. - - - - - Creates a projection that includes a field. - - The field. - - An inclusion projection. - - - - - Creates a text score projection. - - The field. - - A text score projection. - - - - - Creates an array slice projection. - - The field. - The skip. - The limit. - - An array slice projection. - - - - - Creates an array slice projection. - - The field. - The skip. - The limit. - - An array slice projection. - - - - - Extension methods for projections. - - - - - Combines an existing projection with a projection that filters the contents of an array. - - The projection. - The field. - The filter. - The type of the document. - The type of the item. - - A combined projection. - - - - - Combines an existing projection with a projection that filters the contents of an array. - - The projection. - The field. - The filter. - The type of the document. - The type of the item. - - A combined projection. - - - - - Combines an existing projection with a projection that filters the contents of an array. - - The projection. - The field. - The filter. - The type of the document. - The type of the item. - - A combined projection. - - - - - Combines an existing projection with a projection that excludes a field. - - The projection. - The field. - The type of the document. - - A combined projection. - - - - - Combines an existing projection with a projection that excludes a field. - - The projection. - The field. - The type of the document. - - A combined projection. - - - - - Combines an existing projection with a projection that includes a field. - - The projection. - The field. - The type of the document. - - A combined projection. - - - - - Combines an existing projection with a projection that includes a field. - - The projection. - The field. - The type of the document. - - A combined projection. - - - - - Combines an existing projection with a text score projection. - - The projection. - The field. - The type of the document. - - A combined projection. - - - - - Combines an existing projection with an array slice projection. - - The projection. - The field. - The skip. - The limit. - The type of the document. - - A combined projection. - - - - - Combines an existing projection with an array slice projection. - - The projection. - The field. - The skip. - The limit. - The type of the document. - - A combined projection. - - - - - Options for renaming a collection. - - - - - - - MongoDB.Driver.RenameCollectionOptions - - - - - - - Gets or sets a value indicating whether to drop the target collection first if it already exists. - - - - - A rendered command. - - The type of the result. - - - - Initializes a new instance of the class. - - The document. - The result serializer. - - - - Gets the document. - - - - - Gets the result serializer. - - - - - A rendered field. - - - - - Initializes a new instance of the class. - - The field name. - The field serializer. - - - - Gets the field name. - - - - - Gets the field serializer. - - - - - A rendered field. - - The type of the field. - - - - Initializes a new instance of the class. - - The field name. - The field serializer. - - - - Gets the field name. - - - - - Gets the field serializer. - - - - - A rendered pipeline. - - The type of the output. - - - - Initializes a new instance of the class. - - The pipeline. - The output serializer. - - - - Gets the documents. - - - - - Gets the serializer. - - - - - A rendered pipeline stage. - - The type of the output. - - - - Initializes a new instance of the class. - - Name of the pipeline operator. - The document. - The output serializer. - - - - Gets the document. - - - - - Gets the name of the pipeline operator. - - - - - Gets the output serializer. - - - - - A rendered projection. - - The type of the projection. - - - - Initializes a new instance of the class. - - The document. - The projection serializer. - - - - Gets the document. - - - - - Gets the serializer. - - - - - Model for replacing a single document. - - The type of the document. - - - - Initializes a new instance of the class. - - The filter. - The replacement. - - - - Gets the filter. - - - - - Gets or sets a value indicating whether to insert the document if it doesn't already exist. - - - - - Gets the type of the model. - - - - - Gets the replacement. - - - - - The result of an update operation. - - - - - Initializes a new instance of the class. - - - - - Gets a value indicating whether the result is acknowleded. - - - - - Gets a value indicating whether the modified count is available. - - - - - Gets the matched count. If IsAcknowledged is false, this will throw an exception. - - - - - Gets the modified count. If IsAcknowledged is false, this will throw an exception. - - - - - Gets the upserted id, if one exists. If IsAcknowledged is false, this will throw an exception. - - - - - The result of an acknowledged update operation. - - - - - Initializes a new instance of the class. - - The matched count. - The modified count. - The upserted id. - - - - Gets a value indicating whether the result is acknowleded. - - - - - Gets a value indicating whether the modified count is available. - - - - - Gets the matched count. If IsAcknowledged is false, this will throw an exception. - - - - - Gets the modified count. If IsAcknowledged is false, this will throw an exception. - - - - - Gets the upserted id, if one exists. If IsAcknowledged is false, this will throw an exception. - - - - - The result of an unacknowledged update operation. - - - - - Gets the instance. - - - - - Gets a value indicating whether the result is acknowleded. - - - - - Gets a value indicating whether the modified count is available. - - - - - Gets the matched count. If IsAcknowledged is false, this will throw an exception. - - - - - Gets the modified count. If IsAcknowledged is false, this will throw an exception. - - - - - Gets the upserted id, if one exists. If IsAcknowledged is false, this will throw an exception. - - - - - Which version of the document to return when executing a FindAndModify command. - - - - - Return the document before the modification. - - - - - Return the document after the modification. - - - - - Represents a setting that may or may not have been set. - - The type of the value. - - - - Gets a value indicating whether the setting has been set. - - - - - Resets the setting to the unset state. - - - - - Gets a canonical string representation for this setting. - - A canonical string representation for this setting. - - - - Gets the value of the setting. - - - - - Base class for sorts. - - The type of the document. - - - - - - MongoDB.Driver.SortDefinition`1 - - - - - - - Performs an implicit conversion from to . - - The document. - - The result of the conversion. - - - - - Performs an implicit conversion from to . - - The JSON string. - - The result of the conversion. - - - - - Renders the sort to a . - - The document serializer. - The serializer registry. - A . - - - - A builder for a . - - The type of the document. - - - - - - MongoDB.Driver.SortDefinitionBuilder`1 - - - - - - - Creates an ascending sort. - - The field. - An ascending sort. - - - - Creates an ascending sort. - - The field. - An ascending sort. - - - - Creates a combined sort. - - The sorts. - A combined sort. - - - - Creates a combined sort. - - The sorts. - A combined sort. - - - - Creates a descending sort. - - The field. - A descending sort. - - - - Creates a descending sort. - - The field. - A descending sort. - - - - Creates a descending sort on the computed relevance score of a text search. - The name of the key should be the name of the projected relevence score field. - - The field. - A meta text score sort. - - - - Extension methods for SortDefinition. - - - - - Combines an existing sort with an ascending field. - - The sort. - The field. - The type of the document. - - A combined sort. - - - - - Combines an existing sort with an ascending field. - - The sort. - The field. - The type of the document. - - A combined sort. - - - - - Combines an existing sort with an descending field. - - The sort. - The field. - The type of the document. - - A combined sort. - - - - - Combines an existing sort with an descending field. - - The sort. - The field. - The type of the document. - - A combined sort. - - - - - Combines an existing sort with a descending sort on the computed relevance score of a text search. - The field name should be the name of the projected relevance score field. - - The sort. - The field. - The type of the document. - - A combined sort. - - - - - The direction of the sort. - - - - - Ascending. - - - - - Descending. - - - - - Represents the settings for using SSL. - - - - - - - MongoDB.Driver.SslSettings - - - - - - - Gets or sets a value indicating whether to check for certificate revocation. - - - - - Gets or sets the client certificates. - - - - - Gets or sets the client certificate selection callback. - - - - - Clones an SslSettings. - - The cloned SslSettings. - - - - Gets or sets the enabled SSL protocols. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Freezes the settings. - - The frozen settings. - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Determines whether two instances are equal. - - The LHS. - The RHS. - - true if the left hand side is equal to the right hand side; otherwise, false. - - - - - Determines whether two instances are not equal. - - The LHS. - The RHS. - - true if the left hand side is not equal to the right hand side; otherwise, false. - - - - - Gets or sets the server certificate validation callback. - - - - - Returns a string representation of the settings. - - A string representation of the settings. - - - - A based field name. - - The type of the document. - - - - Initializes a new instance of the class. - - Name of the field. - - - - Renders the field to a . - - The document serializer. - The serializer registry. - A . - - - - A based field name. - - The type of the document. - The type of the field. - - - - Initializes a new instance of the class. - - Name of the field. - The field serializer. - - - - Renders the field to a . - - The document serializer. - The serializer registry. - A . - - - - Represents text search options. - - - - - - - MongoDB.Driver.TextSearchOptions - - - - - - - Gets or sets whether a text search should be case sensitive. - - - - - Gets or sets whether a text search should be diacritic sensitive. - - - - - Gets or sets the language for a text search. - - - - - Base class for updates. - - The type of the document. - - - - - - MongoDB.Driver.UpdateDefinition`1 - - - - - - - Performs an implicit conversion from to . - - The document. - - The result of the conversion. - - - - - Performs an implicit conversion from to . - - The JSON string. - - The result of the conversion. - - - - - Renders the update to a . - - The document serializer. - The serializer registry. - A . - - - - A builder for an . - - The type of the document. - - - - - - MongoDB.Driver.UpdateDefinitionBuilder`1 - - - - - - - Creates an add to set operator. - - The field. - The value. - The type of the item. - An add to set operator. - - - - Creates an add to set operator. - - The field. - The value. - The type of the item. - An add to set operator. - - - - Creates an add to set operator. - - The field. - The values. - The type of the item. - An add to set operator. - - - - Creates an add to set operator. - - The field. - The values. - The type of the item. - An add to set operator. - - - - Creates a bitwise and operator. - - The field. - The value. - The type of the field. - A bitwise and operator. - - - - Creates a bitwise and operator. - - The field. - The value. - The type of the field. - A bitwise and operator. - - - - Creates a bitwise or operator. - - The field. - The value. - The type of the field. - A bitwise or operator. - - - - Creates a bitwise or operator. - - The field. - The value. - The type of the field. - A bitwise or operator. - - - - Creates a bitwise xor operator. - - The field. - The value. - The type of the field. - A bitwise xor operator. - - - - Creates a bitwise xor operator. - - The field. - The value. - The type of the field. - A bitwise xor operator. - - - - Creates a combined update. - - The updates. - A combined update. - - - - Creates a combined update. - - The updates. - A combined update. - - - - Creates a current date operator. - - The field. - The type. - A current date operator. - - - - Creates a current date operator. - - The field. - The type. - A current date operator. - - - - Creates an increment operator. - - The field. - The value. - The type of the field. - An increment operator. - - - - Creates an increment operator. - - The field. - The value. - The type of the field. - An increment operator. - - - - Creates a max operator. - - The field. - The value. - The type of the field. - A max operator. - - - - Creates a max operator. - - The field. - The value. - The type of the field. - A max operator. - - - - Creates a min operator. - - The field. - The value. - The type of the field. - A min operator. - - - - Creates a min operator. - - The field. - The value. - The type of the field. - A min operator. - - - - Creates a multiply operator. - - The field. - The value. - The type of the field. - A multiply operator. - - - - Creates a multiply operator. - - The field. - The value. - The type of the field. - A multiply operator. - - - - Creates a pop operator. - - The field. - A pop operator. - - - - Creates a pop first operator. - - The field. - A pop first operator. - - - - Creates a pop operator. - - The field. - A pop operator. - - - - Creates a pop first operator. - - The field. - A pop first operator. - - - - Creates a pull operator. - - The field. - The value. - The type of the item. - A pull operator. - - - - Creates a pull operator. - - The field. - The value. - The type of the item. - A pull operator. - - - - Creates a pull operator. - - The field. - The values. - The type of the item. - A pull operator. - - - - Creates a pull operator. - - The field. - The values. - The type of the item. - A pull operator. - - - - Creates a pull operator. - - The field. - The filter. - The type of the item. - A pull operator. - - - - Creates a pull operator. - - The field. - The filter. - The type of the item. - A pull operator. - - - - Creates a pull operator. - - The field. - The filter. - The type of the item. - A pull operator. - - - - Creates a push operator. - - The field. - The value. - The type of the item. - A push operator. - - - - Creates a push operator. - - The field. - The value. - The type of the item. - A push operator. - - - - Creates a push operator. - - The field. - The values. - The slice. - The position. - The sort. - The type of the item. - A push operator. - - - - Creates a push operator. - - The field. - The values. - The slice. - The position. - The sort. - The type of the item. - A push operator. - - - - Creates a field renaming operator. - - The field. - The new name. - A field rename operator. - - - - Creates a field renaming operator. - - The field. - The new name. - A field rename operator. - - - - Creates a set operator. - - The field. - The value. - The type of the field. - A set operator. - - - - Creates a set operator. - - The field. - The value. - The type of the field. - A set operator. - - - - Creates a set on insert operator. - - The field. - The value. - The type of the field. - A set on insert operator. - - - - Creates a set on insert operator. - - The field. - The value. - The type of the field. - A set on insert operator. - - - - Creates an unset operator. - - The field. - An unset operator. - - - - Creates an unset operator. - - The field. - An unset operator. - - - - The type to use for a $currentDate operator. - - - - - A date. - - - - - A timestamp. - - - - - Extension methods for UpdateDefinition. - - - - - Combines an existing update with an add to set operator. - - The update. - The field. - The value. - The type of the document. - The type of the item. - - A combined update. - - - - - Combines an existing update with an add to set operator. - - The update. - The field. - The value. - The type of the document. - The type of the item. - - A combined update. - - - - - Combines an existing update with an add to set operator. - - The update. - The field. - The values. - The type of the document. - The type of the item. - - A combined update. - - - - - Combines an existing update with an add to set operator. - - The update. - The field. - The values. - The type of the document. - The type of the item. - - A combined update. - - - - - Combines an existing update with a bitwise and operator. - - The update. - The field. - The value. - The type of the document. - The type of the field. - - A combined update. - - - - - Combines an existing update with a bitwise and operator. - - The update. - The field. - The value. - The type of the document. - The type of the field. - - A combined update. - - - - - Combines an existing update with a bitwise or operator. - - The update. - The field. - The value. - The type of the document. - The type of the field. - - A combined update. - - - - - Combines an existing update with a bitwise or operator. - - The update. - The field. - The value. - The type of the document. - The type of the field. - - A combined update. - - - - - Combines an existing update with a bitwise xor operator. - - The update. - The field. - The value. - The type of the document. - The type of the field. - - A combined update. - - - - - Combines an existing update with a bitwise xor operator. - - The update. - The field. - The value. - The type of the document. - The type of the field. - - A combined update. - - - - - Combines an existing update with a current date operator. - - The update. - The field. - The type. - The type of the document. - - A combined update. - - - - - Combines an existing update with a current date operator. - - The update. - The field. - The type. - The type of the document. - - A combined update. - - - - - Combines an existing update with an increment operator. - - The update. - The field. - The value. - The type of the document. - The type of the field. - - A combined update. - - - - - Combines an existing update with an increment operator. - - The update. - The field. - The value. - The type of the document. - The type of the field. - - A combined update. - - - - - Combines an existing update with a max operator. - - The update. - The field. - The value. - The type of the document. - The type of the field. - - A combined update. - - - - - Combines an existing update with a max operator. - - The update. - The field. - The value. - The type of the document. - The type of the field. - - A combined update. - - - - - Combines an existing update with a min operator. - - The update. - The field. - The value. - The type of the document. - The type of the field. - - A combined update. - - - - - Combines an existing update with a min operator. - - The update. - The field. - The value. - The type of the document. - The type of the field. - - A combined update. - - - - - Combines an existing update with a multiply operator. - - The update. - The field. - The value. - The type of the document. - The type of the field. - - A combined update. - - - - - Combines an existing update with a multiply operator. - - The update. - The field. - The value. - The type of the document. - The type of the field. - - A combined update. - - - - - Combines an existing update with a pop operator. - - The update. - The field. - The type of the document. - - A combined update. - - - - - Combines an existing update with a pop operator. - - The update. - The field. - The type of the document. - - A combined update. - - - - - Combines an existing update with a pop operator. - - The update. - The field. - The type of the document. - - A combined update. - - - - - Combines an existing update with a pop operator. - - The update. - The field. - The type of the document. - - A combined update. - - - - - Combines an existing update with a pull operator. - - The update. - The field. - The value. - The type of the document. - The type of the item. - - A combined update. - - - - - Combines an existing update with a pull operator. - - The update. - The field. - The value. - The type of the document. - The type of the item. - - A combined update. - - - - - Combines an existing update with a pull operator. - - The update. - The field. - The values. - The type of the document. - The type of the item. - - A combined update. - - - - - Combines an existing update with a pull operator. - - The update. - The field. - The values. - The type of the document. - The type of the item. - - A combined update. - - - - - Combines an existing update with a pull operator. - - The update. - The field. - The filter. - The type of the document. - The type of the item. - - A combined update. - - - - - Combines an existing update with a pull operator. - - The update. - The field. - The filter. - The type of the document. - The type of the item. - - A combined update. - - - - - Combines an existing update with a pull operator. - - The update. - The field. - The filter. - The type of the document. - The type of the item. - - A combined update. - - - - - Combines an existing update with a push operator. - - The update. - The field. - The value. - The type of the document. - The type of the item. - - A combined update. - - - - - Combines an existing update with a push operator. - - The update. - The field. - The value. - The type of the document. - The type of the item. - - A combined update. - - - - - Combines an existing update with a push operator. - - The update. - The field. - The values. - The slice. - The position. - The sort. - The type of the document. - The type of the item. - - A combined update. - - - - - Combines an existing update with a push operator. - - The update. - The field. - The values. - The slice. - The position. - The sort. - The type of the document. - The type of the item. - - A combined update. - - - - - Combines an existing update with a field renaming operator. - - The update. - The field. - The new name. - The type of the document. - - A combined update. - - - - - Combines an existing update with a field renaming operator. - - The update. - The field. - The new name. - The type of the document. - - A combined update. - - - - - Combines an existing update with a set operator. - - The update. - The field. - The value. - The type of the document. - The type of the field. - - A combined update. - - - - - Combines an existing update with a set operator. - - The update. - The field. - The value. - The type of the document. - The type of the field. - - A combined update. - - - - - Combines an existing update with a set on insert operator. - - The update. - The field. - The value. - The type of the document. - The type of the field. - - A combined update. - - - - - Combines an existing update with a set on insert operator. - - The update. - The field. - The value. - The type of the document. - The type of the field. - - A combined update. - - - - - Combines an existing update with an unset operator. - - The update. - The field. - The type of the document. - - A combined update. - - - - - Combines an existing update with an unset operator. - - The update. - The field. - The type of the document. - - A combined update. - - - - - Model for updating many documents. - - The type of the document. - - - - Initializes a new instance of the class. - - The filter. - The update. - - - - Gets the filter. - - - - - Gets or sets a value indicating whether to insert the document if it doesn't already exist. - - - - - Gets the type of the model. - - - - - Gets the update. - - - - - Model for updating a single document. - - The type of the document. - - - - Initializes a new instance of the class. - - The filter. - The update. - - - - Gets the filter. - - - - - Gets or sets a value indicating whether to insert the document if it doesn't already exist. - - - - - Gets the type of the model. - - - - - Gets the update. - - - - - Options for updating a single document. - - - - - - - MongoDB.Driver.UpdateOptions - - - - - - - Gets or sets a value indicating whether to bypass document validation. - - - - - Gets or sets a value indicating whether to insert the document if it doesn't already exist. - - - - - The result of an update operation. - - - - - Initializes a new instance of the class. - - - - - Gets a value indicating whether the result is acknowleded. - - - - - Gets a value indicating whether the modified count is available. - - - - - Gets the matched count. If IsAcknowledged is false, this will throw an exception. - - - - - Gets the modified count. If IsAcknowledged is false, this will throw an exception. - - - - - Gets the upserted id, if one exists. If IsAcknowledged is false, this will throw an exception. - - - - - The result of an acknowledgede update operation. - - - - - Initializes a new instance of the class. - - The matched count. - The modified count. - The upserted id. - - - - Gets a value indicating whether the result is acknowleded. - - - - - Gets a value indicating whether the modified count is available. - - - - - Gets the matched count. If IsAcknowledged is false, this will throw an exception. - - - - - Gets the modified count. If IsAcknowledged is false, this will throw an exception. - - - - - Gets the upserted id, if one exists. If IsAcknowledged is false, this will throw an exception. - - - - - The result of an acknowledgede update operation. - - - - - Gets the instance. - - - - - Gets a value indicating whether the result is acknowleded. - - - - - Gets a value indicating whether the modified count is available. - - - - - Gets the matched count. If IsAcknowledged is false, this will throw an exception. - - - - - Gets the modified count. If IsAcknowledged is false, this will throw an exception. - - - - - Gets the upserted id, if one exists. If IsAcknowledged is false, this will throw an exception. - - - - - Represents the details of a write concern error. - - - - - Gets the error code. - - - - - Gets the error information. - - - - - Gets the error message. - - - - - Represents the details of a write error. - - - - - Gets the category. - - - - - Gets the error code. - - - - - Gets the error details. - - - - - Gets the error message. - - - - - Base class for a write model. - - The type of the document. - - - - Gets the type of the model. - - - - - The type of a write model. - - - - - A model to insert a single document. - - - - - A model to delete a single document. - - - - - A model to delete multiple documents. - - - - - A model to replace a single document. - - - - - A model to update a single document. - - - - - A model to update many documents. - - - - - A static class containing helper methods to create GeoJson objects. - - - - - Creates a GeoJson bounding box. - - The min. - The max. - The type of the coordinates. - A GeoJson bounding box. - - - - Creates a GeoJson Feature object. - - The additional args. - The geometry. - The type of the coordinates. - A GeoJson Feature object. - - - - Creates a GeoJson Feature object. - - The geometry. - The type of the coordinates. - A GeoJson Feature object. - - - - Creates a GeoJson FeatureCollection object. - - The features. - The type of the coordinates. - A GeoJson FeatureCollection object. - - - - Creates a GeoJson FeatureCollection object. - - The additional args. - The features. - The type of the coordinates. - A GeoJson FeatureCollection object. - - - - Creates a GeoJson 2D geographic position (longitude, latitude). - - The longitude. - The latitude. - A GeoJson 2D geographic position. - - - - Creates a GeoJson 3D geographic position (longitude, latitude, altitude). - - The longitude. - The latitude. - The altitude. - A GeoJson 3D geographic position. - - - - Creates a GeoJson GeometryCollection object. - - The geometries. - The type of the coordinates. - A GeoJson GeometryCollection object. - - - - Creates a GeoJson GeometryCollection object. - - The additional args. - The geometries. - The type of the coordinates. - A GeoJson GeometryCollection object. - - - - Creates the coordinates of a GeoJson linear ring. - - The positions. - The type of the coordinates. - The coordinates of a GeoJson linear ring. - - - - Creates a GeoJson LineString object. - - The additional args. - The positions. - The type of the coordinates. - A GeoJson LineString object. - - - - Creates a GeoJson LineString object. - - The positions. - The type of the coordinates. - A GeoJson LineString object. - - - - Creates the coordinates of a GeoJson LineString. - - The positions. - The type of the coordinates. - The coordinates of a GeoJson LineString. - - - - Creates a GeoJson MultiLineString object. - - The line strings. - The type of the coordinates. - A GeoJson MultiLineString object. - - - - Creates a GeoJson MultiLineString object. - - The additional args. - The line strings. - The type of the coordinates. - A GeoJson MultiLineString object. - - - - Creates a GeoJson MultiPoint object. - - The additional args. - The positions. - The type of the coordinates. - A GeoJson MultiPoint object. - - - - Creates a GeoJson MultiPoint object. - - The positions. - The type of the coordinates. - A GeoJson MultiPoint object. - - - - Creates a GeoJson MultiPolygon object. - - The additional args. - The polygons. - The type of the coordinates. - A GeoJson MultiPolygon object. - - - - Creates a GeoJson MultiPolygon object. - - The polygons. - The type of the coordinates. - A GeoJson MultiPolygon object. - - - - Creates a GeoJson Point object. - - The additional args. - The coordinates. - The type of the coordinates. - A GeoJson Point object. - - - - Creates a GeoJson Point object. - - The coordinates. - The type of the coordinates. - A GeoJson Point object. - - - - Creates a GeoJson Polygon object. - - The additional args. - The coordinates. - The type of the coordinates. - A GeoJson Polygon object. - - - - Creates a GeoJson Polygon object. - - The additional args. - The positions. - The type of the coordinates. - A GeoJson Polygon object. - - - - Creates a GeoJson Polygon object. - - The coordinates. - The type of the coordinates. - A GeoJson Polygon object. - - - - Creates a GeoJson Polygon object. - - The positions. - The type of the coordinates. - A GeoJson Polygon object. - - - - Creates the coordinates of a GeoJson Polygon object. - - The exterior. - The holes. - The type of the coordinates. - The coordinates of a GeoJson Polygon object. - - - - Creates the coordinates of a GeoJson Polygon object. - - The positions. - The type of the coordinates. - The coordinates of a GeoJson Polygon object. - - - - Creates a GeoJson 2D position (x, y). - - The x. - The y. - A GeoJson 2D position. - - - - Creates a GeoJson 3D position (x, y, z). - - The x. - The y. - The z. - A GeoJson 3D position. - - - - Creates a GeoJson 2D projected position (easting, northing). - - The easting. - The northing. - A GeoJson 2D projected position. - - - - Creates a GeoJson 3D projected position (easting, northing, altitude). - - The easting. - The northing. - The altitude. - A GeoJson 3D projected position. - - - - Represents a GeoJson 2D position (x, y). - - - - - Initializes a new instance of the class. - - The x coordinate. - The y coordinate. - - - - Gets the coordinate values. - - - - - Gets the X coordinate. - - - - - Gets the Y coordinate. - - - - - Represents a GeoJson 2D geographic position (longitude, latitude). - - - - - Initializes a new instance of the class. - - The longitude. - The latitude. - - - - Gets the latitude. - - - - - Gets the longitude. - - - - - Gets the coordinate values. - - - - - Represents a GeoJson 2D projected position (easting, northing). - - - - - Initializes a new instance of the class. - - The easting. - The northing. - - - - Gets the easting. - - - - - Gets the northing. - - - - - Gets the coordinate values. - - - - - Represents a GeoJson 3D position (x, y, z). - - - - - Initializes a new instance of the class. - - The x coordinate. - The y coordinate. - The z coordinate. - - - - Gets the coordinate values. - - - - - Gets the X coordinate. - - - - - Gets the Y coordinate. - - - - - Gets the Z coordinate. - - - - - Represents a GeoJson 3D geographic position (longitude, latitude, altitude). - - - - - Initializes a new instance of the class. - - The longitude. - The latitude. - The altitude. - - - - Gets the altitude. - - - - - Gets the latitude. - - - - - Gets the longitude. - - - - - Gets the coordinate values. - - - - - Represents a GeoJson 3D projected position (easting, northing, altitude). - - - - - Initializes a new instance of the class. - - The easting. - The northing. - The altitude. - - - - Gets the altitude. - - - - - Gets the easting. - - - - - Gets the northing. - - - - - Gets the coordinate values. - - - - - Represents a GeoJson bounding box. - - The type of the coordinates. - - - - Initializes a new instance of the class. - - The min. - The max. - - - - Gets the max. - - - - - Gets the min. - - - - - Represents a GeoJson coordinate reference system (see subclasses). - - - - - - - MongoDB.Driver.GeoJsonObjectModel.GeoJsonCoordinateReferenceSystem - - - - - - - Gets the type of the GeoJson coordinate reference system. - - - - - Represents a GeoJson position in some coordinate system (see subclasses). - - - - - - - MongoDB.Driver.GeoJsonObjectModel.GeoJsonCoordinates - - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Determines whether two instances are equal. - - The LHS. - The RHS. - - true if the left hand side is equal to the right hand side; otherwise, false. - - - - - Determines whether two instances are not equal. - - The LHS. - The RHS. - - true if the left hand side is not equal to the right hand side; otherwise, false. - - - - - Gets the coordinate values. - - - - - Represents a GeoJson Feature object. - - The type of the coordinates. - - - - Initializes a new instance of the class. - - The additional args. - The geometry. - - - - Initializes a new instance of the class. - - The geometry. - - - - Gets the geometry. - - - - - Gets the id. - - - - - Gets the properties. - - - - - Gets the type of the GeoJson object. - - - - - Represents additional arguments for a GeoJson Feature object. - - The type of the coordinates. - - - - - - MongoDB.Driver.GeoJsonObjectModel.GeoJsonFeatureArgs`1 - - - - - - - Gets or sets the id. - - - - - Gets or sets the properties. - - - - - Represents a GeoJson FeatureCollection. - - The type of the coordinates. - - - - Initializes a new instance of the class. - - The additional args. - The features. - - - - Initializes a new instance of the class. - - The features. - - - - Gets the features. - - - - - Gets the type of the GeoJson object. - - - - - Represents a GeoJson Geometry object. - - The type of the coordinates. - - - - Initializes a new instance of the class. - - The additional args. - - - - Represents a GeoJson GeometryCollection object. - - The type of the coordinates. - - - - Initializes a new instance of the class. - - The additional args. - The geometries. - - - - Initializes a new instance of the class. - - The geometries. - - - - Gets the geometries. - - - - - Gets the type of the GeoJson object. - - - - - Represents the coordinates of a GeoJson linear ring. - - The type of the coordinates. - - - - Initializes a new instance of the class. - - The positions. - - - - Represents a GeoJson LineString object. - - The type of the coordinates. - - - - Initializes a new instance of the class. - - The coordinates. - - - - Initializes a new instance of the class. - - The additional args. - The coordinates. - - - - Gets the coordinates. - - - - - Gets the type of the GeoJson object. - - - - - Represents the coordinates of a GeoJson LineString object. - - The type of the coordinates. - - - - Initializes a new instance of the class. - - The positions. - - - - Gets the positions. - - - - - Represents a GeoJson linked coordinate reference system. - - - - - Initializes a new instance of the class. - - The href. - - - - Initializes a new instance of the class. - - The href. - Type of the href. - - - - Gets the href. - - - - - Gets the type of the href. - - - - - Gets the type of the GeoJson coordinate reference system. - - - - - Represents a GeoJson MultiLineString object. - - The type of the coordinates. - - - - Initializes a new instance of the class. - - The coordinates. - - - - Initializes a new instance of the class. - - The additional args. - The coordinates. - - - - Gets the coordinates. - - - - - Gets the type of the GeoJson object. - - - - - Represents the coordinates of a GeoJson MultiLineString object. - - The type of the coordinates. - - - - Initializes a new instance of the class. - - The line strings. - - - - Gets the LineStrings. - - - - - Represents a GeoJson MultiPoint object. - - The type of the coordinates. - - - - Initializes a new instance of the class. - - The coordinates. - - - - Initializes a new instance of the class. - - The additional args. - The coordinates. - - - - Gets the coordinates. - - - - - Gets the type of the GeoJson object. - - - - - Represents the coordinates of a GeoJson MultiPoint object. - - The type of the coordinates. - - - - Initializes a new instance of the class. - - The positions. - - - - Gets the positions. - - - - - Represents a GeoJson MultiPolygon object. - - The type of the coordinates. - - - - Initializes a new instance of the class. - - The coordinates. - - - - Initializes a new instance of the class. - - The additional args. - The coordinates. - - - - Gets the coordinates. - - - - - Gets the type of the GeoJson object. - - - - - Represents the coordinates of a GeoJson MultiPolygon object. - - The type of the coordinates. - - - - Initializes a new instance of the class. - - The polygons. - - - - Gets the Polygons. - - - - - Represents a GeoJson named coordinate reference system. - - - - - Initializes a new instance of the class. - - The name. - - - - Gets the name. - - - - - Gets the type of the GeoJson coordinate reference system. - - - - - Represents a GeoJson object (see subclasses). - - The type of the coordinates. - - - - Initializes a new instance of the class. - - The additional args. - - - - Gets the bounding box. - - - - - Gets the coordinate reference system. - - - - - Gets the extra members. - - - - - Gets the type of the GeoJson object. - - - - - Represents additional args provided when creating a GeoJson object. - - The type of the coordinates. - - - - - - MongoDB.Driver.GeoJsonObjectModel.GeoJsonObjectArgs`1 - - - - - - - Gets or sets the bounding box. - - - - - Gets or sets the coordinate reference system. - - - - - Gets or sets the extra members. - - - - - Represents the type of a GeoJson object. - - - - - A Feature. - - - - - A FeatureCollection. - - - - - A GeometryCollection. - - - - - A LineString. - - - - - A MultiLineString. - - - - - A MultiPoint. - - - - - A MultiPolygon. - - - - - A Point. - - - - - A Polygon. - - - - - Represents a GeoJson Point object. - - The type of the coordinates. - - - - Initializes a new instance of the class. - - The additional args. - The coordinates. - - - - Initializes a new instance of the class. - - The coordinates. - - - - Gets the coordinates. - - - - - Gets the type of the GeoJson object. - - - - - Represents a GeoJson Polygon object. - - The type of the coordinates. - - - - Initializes a new instance of the class. - - The additional args. - The coordinates. - - - - Initializes a new instance of the class. - - The coordinates. - - - - Gets the coordinates. - - - - - Gets the type of the GeoJson object. - - - - - Represents the coordinates of a GeoJson Polygon object. - - The type of the coordinates. - - - - Initializes a new instance of the class. - - The exterior. - - - - Initializes a new instance of the class. - - The exterior. - The holes. - - - - Gets the exterior. - - - - - Gets the holes. - - - - - Represents a serializer for a GeoJson2DCoordinates value. - - - - - - - MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJson2DCoordinatesSerializer - - - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - The value. - - - - Serializes a value. - - The serialization context. - The serialization args. - The value. - - - - Represents a serializer for a GeoJson2DGeographicCoordinates value. - - - - - - - MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJson2DGeographicCoordinatesSerializer - - - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - The value. - - - - Serializes a value. - - The serialization context. - The serialization args. - The value. - - - - Represents a serializer for a GeoJson2DProjectedCoordinates value. - - - - - - - MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJson2DProjectedCoordinatesSerializer - - - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - The value. - - - - Serializes a value. - - The serialization context. - The serialization args. - The value. - - - - Represents a serializer for a GeoJson3DCoordinates value. - - - - - - - MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJson3DCoordinatesSerializer - - - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - The value. - - - - Serializes a value. - - The serialization context. - The serialization args. - The value. - - - - Represents a serializer for a GeoJson3DGeographicCoordinates value. - - - - - - - MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJson3DGeographicCoordinatesSerializer - - - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - The value. - - - - Serializes a value. - - The serialization context. - The serialization args. - The value. - - - - Represents a serializer for a GeoJson3DProjectedCoordinates value. - - - - - - - MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJson3DProjectedCoordinatesSerializer - - - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - The value. - - - - Serializes a value. - - The serialization context. - The serialization args. - The value. - - - - Represents a serializer for a GeoJsonBoundingBox value. - - The type of the coordinates. - - - - - - MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJsonBoundingBoxSerializer`1 - - - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - The value. - - - - Serializes a value. - - The serialization context. - The serialization args. - The value. - - - - Represents a serializer for a GeoJsonCoordinateReferenceSystem value. - - - - - - - MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJsonCoordinateReferenceSystemSerializer - - - - - - - Gets the actual type. - - The context. - The actual type. - - - - Represents a serializer for a GeoJsonCoordinates value. - - - - - - - MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJsonCoordinatesSerializer - - - - - - - Gets the actual type. - - The context. - The actual type. - - - - Represents a serializer for a GeoJsonFeatureCollection value. - - The type of the coordinates. - - - - Initializes a new instance of the class. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - The value. - - - - Serializes a value. - - The serialization context. - The serialization args. - The value. - - - - Represents a serializer for a GeoJsonFeature value. - - The type of the coordinates. - - - - Initializes a new instance of the class. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - The value. - - - - Serializes a value. - - The serialization context. - The serialization args. - The value. - - - - Represents a serializer for a GeoJsonGeometryCollection value. - - The type of the coordinates. - - - - Initializes a new instance of the class. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - The value. - - - - Serializes a value. - - The serialization context. - The serialization args. - The value. - - - - Represents a serializer for a GeoJsonGeometry value. - - The type of the coordinates. - - - - - - MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJsonGeometrySerializer`1 - - - - - - - Gets the actual type. - - The context. - The actual type. - - - - Represents a serializer for a GeoJsonLinearRingCoordinates value. - - The type of the coordinates. - - - - - - MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJsonLinearRingCoordinatesSerializer`1 - - - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - The value. - - - - Serializes a value. - - The serialization context. - The serialization args. - The value. - - - - Represents a serializer for a GeoJsonLineStringCoordinates value. - - The type of the coordinates. - - - - - - MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJsonLineStringCoordinatesSerializer`1 - - - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - The value. - - - - Serializes a value. - - The serialization context. - The serialization args. - The value. - - - - Represents a serializer for a GeoJsonLineString value. - - The type of the coordinates. - - - - Initializes a new instance of the class. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - The value. - - - - Serializes a value. - - The serialization context. - The serialization args. - The value. - - - - Represents a serializer for a GeoJsonLinkedCoordinateReferenceSystem value. - - - - - Initializes a new instance of the class. - - - - - Deserializes a class. - - The deserialization context. - The deserialization args. - An object. - - - - Serializes a value. - - The serialization context. - The serialization args. - The value. - - - - Represents a serializer for a GeoJsonMultiLineStringCoordinates value. - - The type of the coordinates. - - - - - - MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJsonMultiLineStringCoordinatesSerializer`1 - - - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - The value. - - - - Serializes a value. - - The serialization context. - The serialization args. - The value. - - - - Represents a serializer for a GeoJsonMultiLineString value. - - The type of the coordinates. - - - - Initializes a new instance of the class. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - The value. - - - - Serializes a value. - - The serialization context. - The serialization args. - The value. - - - - Represents a serializer for a GeoJsonMultiPointCoordinates value. - - The type of the coordinates. - - - - - - MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJsonMultiPointCoordinatesSerializer`1 - - - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - The value. - - - - Serializes a value. - - The serialization context. - The serialization args. - The value. - - - - Represents a serializer for a GeoJsonMultiPoint value. - - The type of the coordinates. - - - - Initializes a new instance of the class. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - The value. - - - - Serializes a value. - - The serialization context. - The serialization args. - The value. - - - - Represents a serializer for a GeoJsonMultiPolygonCoordinates value. - - The type of the coordinates. - - - - - - MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJsonMultiPolygonCoordinatesSerializer`1 - - - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - The value. - - - - Serializes a value. - - The serialization context. - The serialization args. - The value. - - - - Represents a serializer for a GeoJsonMultiPolygon value. - - The type of the coordinates. - - - - Initializes a new instance of the class. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - The value. - - - - Serializes a value. - - The serialization context. - The serialization args. - The value. - - - - Represents a serializer for a GeoJsonNamedCoordinateReferenceSystem value. - - - - - Initializes a new instance of the class. - - - - - Deserializes a class. - - The deserialization context. - The deserialization args. - An object. - - - - Serializes a value. - - The serialization context. - The serialization args. - The value. - - - - Represents a serializer for a GeoJson object. - - The type of the coordinates. - - - - - - MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJsonObjectSerializer`1 - - - - - - - Gets the actual type. - - The context. - The actual type. - - - - Represents a serializer helper for GeoJsonObjects. - - The type of the coordinates. - - - - Initializes a new instance of the class. - - The type. - The derived members. - - - - Deserializes a base member. - - The context. - The element name. - The flag. - The arguments. - - - - Serializes the members. - - The context. - The value. - The delegate to serialize the derived members. - The type of the value. - - - - Represents a serializer for a GeoJsonPoint value. - - The type of the coordinates. - - - - Initializes a new instance of the class. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - The value. - - - - Serializes a value. - - The serialization context. - The serialization args. - The value. - - - - Represents a serializer for a GeoJsonPolygonCoordinates value. - - The type of the coordinates. - - - - - - MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJsonPolygonCoordinatesSerializer`1 - - - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - The value. - - - - Serializes a value. - - The serialization context. - The serialization args. - The value. - - - - Represents a serializer for a GeoJsonPolygon value. - - The type of the coordinates. - - - - Initializes a new instance of the class. - - - - - Deserializes a value. - - The deserialization context. - The deserialization args. - The value. - - - - Serializes a value. - - The serialization context. - The serialization args. - The value. - - - + + + A model for a queryable to be executed using the aggregation framework. - The type of the output. - - - - Gets the output serializer. - - - - - Gets the type of the output. - - - - + The type of the output. + + + Gets the stages. - - - + + + + Gets the output serializer. + + + + + Gets the type of the output. + + + + Returns a that represents this instance. - + A that represents this instance. - - - + + + + Compare two expressions to determine if they are equivalent. + + + + Provides functionality to evaluate queries against MongoDB. - - - + + + Gets the execution model. - + The execution model. - - - + + + Provides functionality to evaluate queries against MongoDB wherein the type of the data is known. - + The type of the data in the data source. This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics. - - - + + + Represents the result of a sorting operation. - + The type of the data in the data source. This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics. - - - + + + + An implementation of for MongoDB. + + + + + Gets the collection namespace. + + + + + Gets the collection document serializer. + + + + + Gets the execution model. + + The expression. + The execution model. + + + + Executes the strongly-typed query represented by a specified expression tree. + + The type of the result. + An expression tree that represents a LINQ query. + The cancellation token. + The value that results from executing the specified query. + + + + This static class holds methods that can be used to express MongoDB specific operations in LINQ queries. + + + + + Injects a low level FilterDefinition{TDocument} into a LINQ where clause. Can only be used in LINQ queries. + + The type of the document. + The filter. + + Throws an InvalidOperationException if called. + + + + Enumerable Extensions for MongoDB. - - - + + + Computes the population standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Extension for . - - - - Determines whether any element of a sequence satisfies a condition. - - A sequence whose elements to test for a condition. - A function to test each element for a condition. - The cancellation token. - The type of the elements of . - - true if any elements in the source sequence pass the test in the specified predicate; otherwise, false. - - - - + + + Determines whether a sequence contains any elements. - A sequence to check for being empty. - The cancellation token. - The type of the elements of . - + The type of the elements of . + A sequence to check for being empty. + The cancellation token. + true if the source sequence contains any elements; otherwise, false. - - - - Computes the average of a sequence of values. + + + + Determines whether any element of a sequence satisfies a condition. - A sequence of values to calculate the average of. - The cancellation token. - The average of the values in the sequence. - - - - Computes the average of a sequence of values. + The type of the elements of . + A sequence whose elements to test for a condition. + A function to test each element for a condition. + The cancellation token. + + true if any elements in the source sequence pass the test in the specified predicate; otherwise, false. + + + + + Computes the average of a sequence of values. - A sequence of values to calculate the average of. - The cancellation token. - The average of the values in the sequence. - - - - Computes the average of a sequence of values. + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. - A sequence of values to calculate the average of. - The cancellation token. - The average of the values in the sequence. - - - - Computes the average of a sequence of values. + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. - A sequence of values to calculate the average of. - The cancellation token. - The average of the values in the sequence. - - - - Computes the average of a sequence of values. + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. - A sequence of values to calculate the average of. - The cancellation token. - The average of the values in the sequence. - - - - Computes the average of a sequence of values. + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. - A sequence of values to calculate the average of. - The cancellation token. - The average of the values in the sequence. - - - - Computes the average of a sequence of values. + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. - A sequence of values to calculate the average of. - The cancellation token. - The average of the values in the sequence. - - - - Computes the average of a sequence of values. + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. - A sequence of values to calculate the average of. - The cancellation token. - The average of the values in the sequence. - - - - Computes the average of a sequence of values. + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. - A sequence of values to calculate the average of. - The cancellation token. - The average of the values in the sequence. - - - - Computes the average of a sequence of values. + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. - A sequence of values to calculate the average of. - The cancellation token. - The average of the values in the sequence. - - - + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + Computes the average of the sequence of values that is obtained by invoking a projection function on each element of the input sequence. - A sequence of values. - A projection function to apply to each element. - The cancellation token. - The type of the elements of . - + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The average of the projected values. - - - + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The average of the projected values. + + + + Computes the average of the sequence of values that is obtained by invoking a projection function on each element of the input sequence. - A sequence of values. - A projection function to apply to each element. - The cancellation token. - The type of the elements of . - + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The average of the projected values. - - - - Computes the average of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - A sequence of values. - A projection function to apply to each element. - The cancellation token. - The type of the elements of . - - The average of the projected values. - - - - - Computes the average of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - A sequence of values. - A projection function to apply to each element. - The cancellation token. - The type of the elements of . - - The average of the projected values. - - - - + + + Computes the average of the sequence of values that is obtained by invoking a projection function on each element of the input sequence. - A sequence of values. - A projection function to apply to each element. - The cancellation token. - The type of the elements of . - + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The average of the projected values. - - - - Computes the average of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - A sequence of values. - A projection function to apply to each element. - The cancellation token. - The type of the elements of . - - The average of the projected values. - - - - - Computes the average of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - A sequence of values. - A projection function to apply to each element. - The cancellation token. - The type of the elements of . - - The average of the projected values. - - - - - Computes the average of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - A sequence of values. - A projection function to apply to each element. - The cancellation token. - The type of the elements of . - - The average of the projected values. - - - - - Computes the average of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - A sequence of values. - A projection function to apply to each element. - The cancellation token. - The type of the elements of . - - The average of the projected values. - - - - + + + Computes the average of the sequence of values that is obtained by invoking a projection function on each element of the input sequence. - A sequence of values. - A projection function to apply to each element. - The cancellation token. - The type of the elements of . - + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The average of the projected values. - - - - Returns the number of elements in the specified sequence that satisfies a condition. + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. - An that contains the elements to be counted. - A function to test each element for a condition. - The cancellation token. - The type of the elements of . - - The number of elements in the sequence that satisfies the condition in the predicate function. + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The average of the projected values. - - - + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The average of the projected values. + + + + Returns the number of elements in a sequence. - The that contains the elements to be counted. - The cancellation token. - The type of the elements of . - + The type of the elements of . + The that contains the elements to be counted. + The cancellation token. + The number of elements in the input sequence. - - - + + + + Returns the number of elements in the specified sequence that satisfies a condition. + + The type of the elements of . + An that contains the elements to be counted. + A function to test each element for a condition. + The cancellation token. + + The number of elements in the sequence that satisfies the condition in the predicate function. + + + + Returns distinct elements from a sequence by using the default equality comparer to compare values. - The to remove duplicates from. - The type of the elements of . - + The type of the elements of . + The to remove duplicates from. + An that contains distinct elements from . - - - - Returns the first element of a sequence that satisfies a specified condition. - - An to return an element from. - A function to test each element for a condition. - The cancellation token. - The type of the elements of . - - The first element in that passes the test in . - - - - + + + Returns the first element of a sequence. - The to return the first element of. - The cancellation token. - The type of the elements of . - + The type of the elements of . + The to return the first element of. + The cancellation token. + The first element in . - - - - Returns the first element of a sequence that satisfies a specified condition or a default value if no such element is found. + + + + Returns the first element of a sequence that satisfies a specified condition. - An to return an element from. - A function to test each element for a condition. - The cancellation token. - The type of the elements of . - - default() if is empty or if no element passes the test specified by ; otherwise, the first element in that passes the test specified by . + The type of the elements of . + An to return an element from. + A function to test each element for a condition. + The cancellation token. + + The first element in that passes the test in . - - - + + + Returns the first element of a sequence, or a default value if the sequence contains no elements. - The to return the first element of. - The cancellation token. - The type of the elements of . - + The type of the elements of . + The to return the first element of. + The cancellation token. + default() if is empty; otherwise, the first element in . - - - + + + + Returns the first element of a sequence that satisfies a specified condition or a default value if no such element is found. + + The type of the elements of . + An to return an element from. + A function to test each element for a condition. + The cancellation token. + + default() if is empty or if no element passes the test specified by ; otherwise, the first element in that passes the test specified by . + + + + Groups the elements of a sequence according to a specified key selector function. - An whose elements to group. - A function to extract the key for each element. - The type of the elements of . - The type of the key returned by the function represented in keySelector. - - An that has a type argument of - and where each object contains a sequence of objects + The type of the elements of . + The type of the key returned by the function represented in keySelector. + An whose elements to group. + A function to extract the key for each element. + + An that has a type argument of + and where each object contains a sequence of objects and a key. - - - + + + Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. - An whose elements to group. - A function to extract the key for each element. - A function to create a result value from each group. - The type of the elements of . - The type of the key returned by the function represented in keySelector. - The type of the result value returned by resultSelector. - + The type of the elements of . + The type of the key returned by the function represented in keySelector. + The type of the result value returned by resultSelector. + An whose elements to group. + A function to extract the key for each element. + A function to create a result value from each group. + An that has a type argument of TResult and where each element represents a projection over a group and its key. - - - + + + Correlates the elements of two sequences based on key equality and groups the results. - The first sequence to join. - The collection to join to the first sequence. - A function to extract the join key from each element of the first sequence. - A function to extract the join key from each element of the second sequence. - A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. - The type of the elements of the first sequence. - The type of the elements of the second sequence. - The type of the keys returned by the key selector functions. - The type of the result elements. - + The type of the elements of the first sequence. + The type of the elements of the second sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first sequence to join. + The sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. + An that contains elements of type obtained by performing a grouped join on two sequences. - - - + + + Correlates the elements of two sequences based on key equality and groups the results. - The first sequence to join. - The sequence to join to the first sequence. - A function to extract the join key from each element of the first sequence. - A function to extract the join key from each element of the second sequence. - A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. - The type of the elements of the first sequence. - The type of the elements of the second sequence. - The type of the keys returned by the key selector functions. - The type of the result elements. - + The type of the elements of the first sequence. + The type of the elements of the second sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first sequence to join. + The collection to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. + An that contains elements of type obtained by performing a grouped join on two sequences. - - - + + + Correlates the elements of two sequences based on matching keys. - The first sequence to join. - The sequence to join to the first sequence. - A function to extract the join key from each element of the first sequence. - A function to extract the join key from each element of the second sequence. - A function to create a result element from two matching elements. - The type of the elements of the first sequence. - The type of the elements of the second sequence. - The type of the keys returned by the key selector functions. - The type of the result elements. - + The type of the elements of the first sequence. + The type of the elements of the second sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first sequence to join. + The sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from two matching elements. + An that has elements of type obtained by performing an inner join on two sequences. - - - + + + Correlates the elements of two sequences based on matching keys. - The first sequence to join. - The sequence to join to the first sequence. - A function to extract the join key from each element of the first sequence. - A function to extract the join key from each element of the second sequence. - A function to create a result element from two matching elements. - The type of the elements of the first sequence. - The type of the elements of the second sequence. - The type of the keys returned by the key selector functions. - The type of the result elements. - + The type of the elements of the first sequence. + The type of the elements of the second sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first sequence to join. + The sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from two matching elements. + An that has elements of type obtained by performing an inner join on two sequences. - - - - Returns the number of elements in the specified sequence that satisfies a condition. - - An that contains the elements to be counted. - A function to test each element for a condition. - The cancellation token. - The type of the elements of . - - The number of elements in the sequence that satisfies the condition in the predicate function. - - - - + + + Returns the number of elements in a sequence. - The that contains the elements to be counted. - The cancellation token. - The type of the elements of . - + The type of the elements of . + The that contains the elements to be counted. + The cancellation token. + The number of elements in the input sequence. - - - - Invokes a projection function on each element of a generic and returns the maximum resulting value. + + + + Returns the number of elements in the specified sequence that satisfies a condition. - A sequence of values to determine the maximum of. - A projection function to apply to each element. - The cancellation token. - The type of the elements of . - The type of the value returned by the function represented by . - - The maximum value in the sequence. + The type of the elements of . + An that contains the elements to be counted. + A function to test each element for a condition. + The cancellation token. + + The number of elements in the sequence that satisfies the condition in the predicate function. - - - + + + Returns the maximum value in a generic . - A sequence of values to determine the maximum of. - The cancellation token. - The type of the elements of . - + The type of the elements of . + A sequence of values to determine the maximum of. + The cancellation token. + The maximum value in the sequence. - - - - Invokes a projection function on each element of a generic and returns the minimum resulting value. + + + + Invokes a projection function on each element of a generic and returns the maximum resulting value. - A sequence of values to determine the minimum of. - A projection function to apply to each element. - The cancellation token. - The type of the elements of . - The type of the value returned by the function represented by . - - The minimum value in the sequence. + The type of the elements of . + The type of the value returned by the function represented by . + A sequence of values to determine the maximum of. + A projection function to apply to each element. + The cancellation token. + + The maximum value in the sequence. - - - + + + Returns the minimum value in a generic . - A sequence of values to determine the minimum of. - The cancellation token. - The type of the elements of . - + The type of the elements of . + A sequence of values to determine the minimum of. + The cancellation token. + The minimum value in the sequence. - - - + + + + Invokes a projection function on each element of a generic and returns the minimum resulting value. + + The type of the elements of . + The type of the value returned by the function represented by . + A sequence of values to determine the minimum of. + A projection function to apply to each element. + The cancellation token. + + The minimum value in the sequence. + + + + Filters the elements of an based on a specified type. - An whose elements to filter. - The type to filter the elements of the sequence on. - + The type to filter the elements of the sequence on. + An whose elements to filter. + A collection that contains the elements from that have type . - - - + + + Sorts the elements of a sequence in ascending order according to a key. - A sequence of values to order. - A function to extract a key from an element. - The type of the elements of . - The type of the key returned by the function that is represented by keySelector. - - An whose elements are sorted according to a key. + The type of the elements of . + The type of the key returned by the function that is represented by keySelector. + A sequence of values to order. + A function to extract a key from an element. + + An whose elements are sorted according to a key. - - - + + + Sorts the elements of a sequence in descending order according to a key. - A sequence of values to order. - A function to extract a key from an element. - The type of the elements of . - The type of the key returned by the function that is represented by keySelector. - - An whose elements are sorted in descending order according to a key. + The type of the elements of . + The type of the key returned by the function that is represented by keySelector. + A sequence of values to order. + A function to extract a key from an element. + + An whose elements are sorted in descending order according to a key. - - - - Returns a sample of the elements in the . + + + + Returns a sample of the elements in the . - An to return a sample of. - The number of elements in the sample. - The type of the elements of . - - A sample of the elements in the . + The type of the elements of . + An to return a sample of. + The number of elements in the sample. + + A sample of the elements in the . - - - + + + Projects each element of a sequence into a new form by incorporating the element's index. - A sequence of values to project. - A projection function to apply to each element. - The type of the elements of . - The type of the value returned by the function represented by selector. - - An whose elements are the result of invoking a + The type of the elements of . + The type of the value returned by the function represented by selector. + A sequence of values to project. + A projection function to apply to each element. + + An whose elements are the result of invoking a projection function on each element of source. - - - + + + + Projects each element of a sequence to an and combines the resulting sequences into one sequence. + + The type of the elements of . + The type of the elements of the sequence returned by the function represented by . + A sequence of values to project. + A projection function to apply to each element. + + An whose elements are the result of invoking a one-to-many projection function on each element of the input sequence. + + + + Projects each element of a sequence to an and invokes a result selector function on each element therein. The resulting values from each intermediate sequence are combined into a single, one-dimensional sequence and returned. - A sequence of values to project. - A projection function to apply to each element of the input sequence. - A projection function to apply to each element of each intermediate sequence. - The type of the elements of . - The type of the intermediate elements collected by the function represented by . - The type of the elements of the resulting sequence. - + The type of the elements of . + The type of the intermediate elements collected by the function represented by . + The type of the elements of the resulting sequence. + A sequence of values to project. + A projection function to apply to each element of the input sequence. + A projection function to apply to each element of each intermediate sequence. + An whose elements are the result of invoking the one-to-many projection function on each element of and then mapping each of those sequence elements and their corresponding element to a result element. - - - - Projects each element of a sequence to an and combines the resulting sequences into one sequence. - - A sequence of values to project. - A projection function to apply to each element. - The type of the elements of . - The type of the elements of the sequence returned by the function represented by . - - An whose elements are the result of invoking a one-to-many projection function on each element of the input sequence. - - - - - Returns the only element of a sequence that satisfies a specified condition, and throws an exception if more than one such element exists. - - An to return a single element from. - A function to test an element for a condition. - The cancellation token. - The type of the elements of . - - The single element of the input sequence that satisfies the condition in . - - - - + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. - An to return the single element of. - The cancellation token. - The type of the elements of . - + The type of the elements of . + An to return the single element of. + The cancellation token. + The single element of the input sequence. - - - - Returns the only element of a sequence that satisfies a specified condition or a default value if no such element exists; this method throws an exception if more than one element satisfies the condition. + + + + Returns the only element of a sequence that satisfies a specified condition, and throws an exception if more than one such element exists. - An to return a single element from. - A function to test an element for a condition. - The cancellation token. - The type of the elements of . - - The single element of the input sequence that satisfies the condition in , or default() if no such element is found. + The type of the elements of . + An to return a single element from. + A function to test an element for a condition. + The cancellation token. + + The single element of the input sequence that satisfies the condition in . - - - + + + Returns the only element of a sequence, or a default value if the sequence is empty; this method throws an exception if there is more than one element in the sequence. - An to return the single element of. - The cancellation token. - The type of the elements of . - + The type of the elements of . + An to return the single element of. + The cancellation token. + The single element of the input sequence, or default() if the sequence contains no elements. - - - + + + + Returns the only element of a sequence that satisfies a specified condition or a default value if no such element exists; this method throws an exception if more than one element satisfies the condition. + + The type of the elements of . + An to return a single element from. + A function to test an element for a condition. + The cancellation token. + + The single element of the input sequence that satisfies the condition in , or default() if no such element is found. + + + + Bypasses a specified number of elements in a sequence and then returns the remaining elements. - An to return elements from. - The number of elements to skip before returning the remaining elements. - The type of the elements of source - - An that contains elements that occur after the + The type of the elements of source + An to return elements from. + The number of elements to skip before returning the remaining elements. + + An that contains elements that occur after the specified index in the input sequence. - - - + + + Computes the population standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - The cancellation token. - + A sequence of values to calculate the population standard deviation of. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - The cancellation token. - + A sequence of values to calculate the population standard deviation of. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - The cancellation token. - + A sequence of values to calculate the population standard deviation of. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - The cancellation token. - + A sequence of values to calculate the population standard deviation of. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - The cancellation token. - + A sequence of values to calculate the population standard deviation of. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - The cancellation token. - + A sequence of values to calculate the population standard deviation of. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - The cancellation token. - + A sequence of values to calculate the population standard deviation of. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - The cancellation token. - + A sequence of values to calculate the population standard deviation of. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - The cancellation token. - + A sequence of values to calculate the population standard deviation of. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - The cancellation token. - + A sequence of values to calculate the population standard deviation of. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The cancellation token. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The cancellation token. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The cancellation token. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The cancellation token. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The cancellation token. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The cancellation token. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The cancellation token. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The cancellation token. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The cancellation token. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The cancellation token. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - + A sequence of values to calculate the population standard deviation of. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - The cancellation token. - + A sequence of values to calculate the population standard deviation of. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - The cancellation token. - + A sequence of values to calculate the population standard deviation of. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - The cancellation token. - + A sequence of values to calculate the population standard deviation of. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - The cancellation token. - + A sequence of values to calculate the population standard deviation of. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - The cancellation token. - + A sequence of values to calculate the population standard deviation of. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - The cancellation token. - + A sequence of values to calculate the population standard deviation of. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - The cancellation token. - + A sequence of values to calculate the population standard deviation of. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - The cancellation token. - + A sequence of values to calculate the population standard deviation of. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - The cancellation token. - + A sequence of values to calculate the population standard deviation of. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values. - A sequence of values to calculate the population standard deviation of. - The cancellation token. - + A sequence of values to calculate the population standard deviation of. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The cancellation token. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The cancellation token. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The cancellation token. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The cancellation token. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The cancellation token. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The cancellation token. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The cancellation token. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The cancellation token. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The cancellation token. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The population standard deviation of the sequence of values. - - - + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - A sequence of values to calculate the population standard deviation of. - A transform function to apply to each element. - The cancellation token. - The type of the elements of . - + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The population standard deviation of the sequence of values. - - - - Computes the sum of a sequence of values. + + + + Computes the sum of a sequence of values. - A sequence of values to calculate the sum of. - The cancellation token. - The sum of the values in the sequence. - - - - Computes the sum of a sequence of values. + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. - A sequence of values to calculate the sum of. - The cancellation token. - The sum of the values in the sequence. - - - - Computes the sum of a sequence of values. + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. - A sequence of values to calculate the sum of. - The cancellation token. - The sum of the values in the sequence. - - - - Computes the sum of a sequence of values. + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. - A sequence of values to calculate the sum of. - The cancellation token. - The sum of the values in the sequence. - - - - Computes the sum of a sequence of values. + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. - A sequence of values to calculate the sum of. - The cancellation token. - The sum of the values in the sequence. - - - - Computes the sum of a sequence of values. + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. - A sequence of values to calculate the sum of. - The cancellation token. - The sum of the values in the sequence. - - - - Computes the sum of a sequence of values. + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. - A sequence of values to calculate the sum of. - The cancellation token. - The sum of the values in the sequence. - - - - Computes the sum of a sequence of values. + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. - A sequence of values to calculate the sum of. - The cancellation token. - The sum of the values in the sequence. - - - - Computes the sum of a sequence of values. + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. - A sequence of values to calculate the sum of. - The cancellation token. - The sum of the values in the sequence. - - - - Computes the sum of a sequence of values. + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. - A sequence of values to calculate the sum of. - The cancellation token. - The sum of the values in the sequence. - - - + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + Computes the sum of the sequence of values that is obtained by invoking a projection function on each element of the input sequence. - A sequence of values. - A projection function to apply to each element. - The cancellation token. - The type of the elements of . - + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The sum of the projected values. - - - + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The sum of the projected values. + + + + Computes the sum of the sequence of values that is obtained by invoking a projection function on each element of the input sequence. - A sequence of values. - A projection function to apply to each element. - The cancellation token. - The type of the elements of . - + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The sum of the projected values. - - - - Computes the sum of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - A sequence of values. - A projection function to apply to each element. - The cancellation token. - The type of the elements of . - - The sum of the projected values. - - - - - Computes the sum of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - A sequence of values. - A projection function to apply to each element. - The cancellation token. - The type of the elements of . - - The sum of the projected values. - - - - + + + Computes the sum of the sequence of values that is obtained by invoking a projection function on each element of the input sequence. - A sequence of values. - A projection function to apply to each element. - The cancellation token. - The type of the elements of . - + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The sum of the projected values. - - - - Computes the sum of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - A sequence of values. - A projection function to apply to each element. - The cancellation token. - The type of the elements of . - - The sum of the projected values. - - - - - Computes the sum of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - A sequence of values. - A projection function to apply to each element. - The cancellation token. - The type of the elements of . - - The sum of the projected values. - - - - - Computes the sum of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - A sequence of values. - A projection function to apply to each element. - The cancellation token. - The type of the elements of . - - The sum of the projected values. - - - - - Computes the sum of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - A sequence of values. - A projection function to apply to each element. - The cancellation token. - The type of the elements of . - - The sum of the projected values. - - - - + + + Computes the sum of the sequence of values that is obtained by invoking a projection function on each element of the input sequence. - A sequence of values. - A projection function to apply to each element. - The cancellation token. - The type of the elements of . - + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The sum of the projected values. - - - + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The sum of the projected values. + + + + Returns a specified number of contiguous elements from the start of a sequence. - The sequence to return elements from. - The number of elements to return. - The type of the elements of . - - An that contains the specified number of elements + The type of the elements of . + The sequence to return elements from. + The number of elements to return. + + An that contains the specified number of elements from the start of source. - - - + + + Performs a subsequent ordering of the elements in a sequence in ascending order according to a key. - A sequence of values to order. - A function to extract a key from an element. - The type of the elements of . - The type of the key returned by the function that is represented by keySelector. - - An whose elements are sorted according to a key. + The type of the elements of . + The type of the key returned by the function that is represented by keySelector. + A sequence of values to order. + A function to extract a key from an element. + + An whose elements are sorted according to a key. - - - + + + Performs a subsequent ordering of the elements in a sequence in descending order according to a key. - A sequence of values to order. - A function to extract a key from an element. - The type of the elements of . - The type of the key returned by the function that is represented by keySelector. - - An whose elements are sorted in descending order according to a key. + The type of the elements of . + The type of the key returned by the function that is represented by keySelector. + A sequence of values to order. + A function to extract a key from an element. + + An whose elements are sorted in descending order according to a key. - - - + + + Filters a sequence of values based on a predicate. - An to return elements from. - A function to test each element for a condition. - The type of the elements of . - - An that contains elements from the input sequence + The type of the elements of . + An to return elements from. + A function to test each element for a condition. + + An that contains elements from the input sequence that satisfy the condition specified by predicate. - - - + + + + MongoDB only supports constants on the RHS for certain expressions, so we'll move them around + to make it easier to generate MongoDB syntax. + + + + + VB creates coalescing operations when dealing with nullable value comparisons, so we try and make this look like C# + + + + + VB uses a method for string comparisons, so we'll convert this into a BinaryExpression. + + + + + VB creates an IsNothing comparison using a method call. We'll translate this to a simple + null comparison. + + + + + VB introduces a Convert on the LHS with a Nothing comparison, so we make it look like + C# which does not have one with a comparison to null. + + + + + VB creates string index expressions using character comparison whereas C# uses ascii value comparison + we make VB's string index comparison look like C#. + + + + An execution model. - - - + + + Gets the type of the output. - - - \ No newline at end of file + + + + This guy is going to replace calls like store.GetValue("d.y") with nestedStore.GetValue("y"). + + + + + Options for controlling translation from .NET expression trees into MongoDB expressions. + + + + + Gets or sets the string translation mode. + + + + + Represents an identity defined by an X509 certificate. + + + + + Initializes a new instance of the class. + + The username. + + + + Extension methods for adding stages to a pipeline. + + + + + Appends a stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + The pipeline. + The stage. + The output serializer. + A new pipeline with an additional stage. + + + + Changes the output type of the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + The pipeline. + The output serializer. + + A new pipeline with an additional stage. + + + + + Appends a $bucket stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the values. + The pipeline. + The group by expression. + The boundaries. + The options. + + A new pipeline with an additional stage. + + + + + Appends a $bucket stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the values. + The type of the output documents. + The pipeline. + The group by expression. + The boundaries. + The output projection. + The options. + + A new pipeline with an additional stage. + + + + + Appends a $bucket stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the values. + The pipeline. + The group by expression. + The boundaries. + The options. + The translation options. + + The fluent aggregate interface. + + + + + Appends a $bucket stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the values. + The type of the output documents. + The pipeline. + The group by expression. + The boundaries. + The output projection. + The options. + The translation options. + + The fluent aggregate interface. + + + + + Appends a $bucketAuto stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the values. + The pipeline. + The group by expression. + The number of buckets. + The options. + + A new pipeline with an additional stage. + + + + + Appends a $bucketAuto stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the values. + The type of the output documents. + The pipeline. + The group by expression. + The number of buckets. + The output projection. + The options. + + A new pipeline with an additional stage. + + + + + Appends a $bucketAuto stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the value. + The pipeline. + The group by expression. + The number of buckets. + The options (optional). + The translation options. + + The fluent aggregate interface. + + + + + Appends a $bucketAuto stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the value. + The type of the output documents. + The pipeline. + The group by expression. + The number of buckets. + The output projection. + The options (optional). + The translation options. + + The fluent aggregate interface. + + + + + Appends a $count stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The pipeline. + + A new pipeline with an additional stage. + + + + + Appends a $facet stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + The pipeline. + The facets. + The options. + + A new pipeline with an additional stage. + + + + + Appends a $facet stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The pipeline. + The facets. + + The fluent aggregate interface. + + + + + Appends a $facet stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The pipeline. + The facets. + + The fluent aggregate interface. + + + + + Appends a $facet stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + The pipeline. + The facets. + + The fluent aggregate interface. + + + + + Used to start creating a pipeline for {TInput} documents. + + The type of the output. + The inputSerializer serializer. + + The fluent aggregate interface. + + + + + Appends a $graphLookup stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field elements. + The type of the as field. + The type of the output documents. + The pipeline. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The options. + The fluent aggregate interface. + + + + Appends a $graphLookup stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field. + The type of the output documents. + The pipeline. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The options. + The stage. + + + + Appends a $graphLookup stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the from documents. + The pipeline. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The fluent aggregate interface. + + + + Appends a $graphLookup stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field. + The type of the output documents. + The pipeline. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The options. + The translation options. + The stage. + + + + Appends a $graphLookup stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field elements. + The type of the as field. + The type of the output documents. + The pipeline. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The options. + The translation options. + The stage. + + + + Appends a $group stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + The pipeline. + The group projection. + + A new pipeline with an additional stage. + + + + + Appends a group stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The pipeline. + The group projection. + + The fluent aggregate interface. + + + + + Appends a group stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the key. + The type of the output documents. + The pipeline. + The id. + The group projection. + The translation options. + + The fluent aggregate interface. + + + + + Appends a $limit stage to the pipeline. + + The type of the input documents. + The type of the output documents. + The pipeline. + The limit. + + A new pipeline with an additional stage. + + + + + Appends a $lookup stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the foreign collection documents. + The type of the output documents. + The pipeline. + The foreign collection. + The local field. + The foreign field. + The "as" field. + The options. + + A new pipeline with an additional stage. + + + + + Appends a lookup stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the foreign collection documents. + The type of the output documents. + The pipeline. + The foreign collection. + The local field. + The foreign field. + The "as" field. + The options. + + The fluent aggregate interface. + + + + + Appends a $match stage to the pipeline. + + The type of the input documents. + The type of the output documents. + The pipeline. + The filter. + + A new pipeline with an additional stage. + + + + + Appends a match stage to the pipeline. + + The type of the input documents. + The type of the output documents. + The pipeline. + The filter. + + The fluent aggregate interface. + + + + + Appends a $match stage to the pipeline to select documents of a certain type. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + The pipeline. + The output serializer. + + A new pipeline with an additional stage. + + + + + + Appends a $out stage to the pipeline. + + The type of the input documents. + The type of the output documents. + The pipeline. + The output collection. + + A new pipeline with an additional stage. + + + + + + Appends a $project stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + The pipeline. + The projection. + + A new pipeline with an additional stage. + + + + + + Appends a project stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The pipeline. + The projection. + + The fluent aggregate interface. + + + + + Appends a project stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + The pipeline. + The projection. + The translation options. + + The fluent aggregate interface. + + + + + Appends a $replaceRoot stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + The pipeline. + The new root. + + A new pipeline with an additional stage. + + + + + Appends a $replaceRoot stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + The pipeline. + The new root. + The translation options. + + The fluent aggregate interface. + + + + + Appends a $skip stage to the pipeline. + + The type of the input documents. + The type of the output documents. + The pipeline. + The number of documents to skip. + + A new pipeline with an additional stage. + + + + + Appends a $sort stage to the pipeline. + + The type of the input documents. + The type of the output documents. + The pipeline. + The sort definition. + + A new pipeline with an additional stage. + + + + + Appends a $sortByCount stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the values. + The pipeline. + The value expression. + + A new pipeline with an additional stage. + + + + + Appends a sortByCount stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the values. + The pipeline. + The value expression. + The translation options. + + The fluent aggregate interface. + + + + + Appends an $unwind stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + The pipeline. + The field. + The options. + + A new pipeline with an additional stage. + + + + + Appends an unwind stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The pipeline. + The field to unwind. + The options. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The pipeline. + The field to unwind. + The options. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + The pipeline. + The field to unwind. + The options. + + The fluent aggregate interface. + + + + + Represents a pipeline consisting of an existing pipeline with one additional stage appended. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + + + Initializes a new instance of the class. + + The pipeline. + The stage. + The output serializer. + + + + + + + + + + + + + Represents an empty pipeline. + + The type of the input documents. + + + + Initializes a new instance of the class. + + The output serializer. + + + + + + + + + + + + + Represents a pipeline consisting of an existing pipeline with one additional stage prepended. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + + + Initializes a new instance of the class. + + The stage. + The pipeline. + The output serializer. + + + + + + + + + + + + + Represents a pipeline with the output serializer replaced. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + + + + Initializes a new instance of the class. + + The pipeline. + The output serializer. + + + + + + + + + + + + + A rendered pipeline stage. + + + + + Gets the name of the pipeline operator. + + + The name of the pipeline operator. + + + + + Gets the document. + + + + + Gets the output serializer. + + + + + A rendered pipeline stage. + + The type of the output. + + + + Initializes a new instance of the class. + + Name of the pipeline operator. + The document. + The output serializer. + + + + + + + Gets the output serializer. + + + + + + + + + + + A pipeline stage. + + + + + Gets the type of the input. + + + + + Gets the name of the pipeline operator. + + + + + Gets the type of the output. + + + + + Renders the specified document serializer. + + The input serializer. + The serializer registry. + An + + + + Returns a that represents this instance. + + The input serializer. + The serializer registry. + + A that represents this instance. + + + + + Base class for pipeline stages. + + The type of the input. + The type of the output. + + + + Gets the type of the input. + + + + + + + + Gets the type of the output. + + + + + Renders the specified document serializer. + + The input serializer. + The serializer registry. + A + + + + + + + Returns a that represents this instance. + + The input serializer. + The serializer registry. + + A that represents this instance. + + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + + + + A based stage. + + The type of the input. + The type of the output. + + + + Initializes a new instance of the class. + + The document. + The output serializer. + + + + + + + + + + A JSON based pipeline stage. + + The type of the input. + The type of the output. + + + + Initializes a new instance of the class. + + The json. + The output serializer. + + + + Gets the json. + + + + + + + + Gets the output serializer. + + + + + + + + A rendered pipeline. + + The type of the output. + + + + Initializes a new instance of the class. + + The pipeline. + The output serializer. + + + + Gets the documents. + + + + + Gets the serializer. + + + + + Base class for a pipeline. + + The type of the input. + The type of the output. + + + + Gets the output serializer. + + + + + Gets the stages. + + + + + Renders the pipeline. + + The input serializer. + The serializer registry. + A + + + + + + + Returns a that represents this instance. + + The input serializer. + The serializer registry. + + A that represents this instance. + + + + + Creates a pipeline. + + The stages. + The output serializer. + A . + + + + Creates a pipeline. + + The stages. + The output serializer. + A . + + + + Creates a pipeline. + + The stages. + The output serializer. + A . + + + + Creates a pipeline. + + The stages. + A . + + + + Creates a pipeline. + + The stages. + A . + + + + Performs an implicit conversion from [] to . + + The stages. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The stages. + + The result of the conversion. + + + + + Performs an implicit conversion from [] to . + + The stages. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The stages. + + The result of the conversion. + + + + + A pipeline composed of instances of . + + The type of the input. + The type of the output. + + + + Initializes a new instance of the class. + + The stages. + The output serializer. + + + + + + + Gets the stages. + + + + + + + + + + + A pipeline composed of instances of . + + The type of the input. + The type of the output. + + + + Initializes a new instance of the class. + + The stages. + The output serializer. + + + + + + + Gets the serializer. + + + + + Gets the stages. + + + + + + + + + + + + + + Represents the details of a write error for a particular request. + + + + + Gets the index of the request that had an error. + + + + + Server connection mode. + + + + + Automatically determine how to connect. + + + + + Connect directly to a server. + + + + + Connect to a replica set. + + + + + Connect to one or more shard routers. + + + + + Connect to a standalone server. + + + + + Base class for filters. + + The type of the document. + + + + Gets an empty filter. An empty filter matches everything. + + + + + Renders the filter to a . + + The document serializer. + The serializer registry. + A . + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from a predicate expression to . + + The predicate. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + Implements the operator &. + + The LHS. + The RHS. + + The result of the operator. + + + + + Implements the operator |. + + The LHS. + The RHS. + + The result of the operator. + + + + + Implements the operator !. + + The op. + + The result of the operator. + + + + + A based filter. + + The type of the document. + + + + Initializes a new instance of the class. + + The document. + + + + Gets the document. + + + + + + + + + + + An based filter. + + The type of the document. + + + + Initializes a new instance of the class. + + The expression. + + + + Gets the expression. + + + + + + + + A JSON based filter. + + The type of the document. + + + + Initializes a new instance of the class. + + The json. + + + + Gets the json. + + + + + + + + An based filter. + + The type of the document. + + + + Initializes a new instance of the class. + + The object. + + + + Gets the object. + + + + + + + + Base class for implementors of . + + The type of the document. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Methods for building pipeline stages. + + + + + Creates a $bucket stage. + + The type of the input documents. + The type of the values. + The group by expression. + The boundaries. + The options. + The stage. + + + + Creates a $bucket stage. + + The type of the input documents. + The type of the values. + The type of the output documents. + The group by expression. + The boundaries. + The output projection. + The options. + The stage. + + + + Creates a $bucket stage. + + The type of the input documents. + The type of the values. + The group by expression. + The boundaries. + The options. + The translation options. + The stage. + + + + Creates a $bucket stage. + + The type of the input documents. + The type of the values. + The type of the output documents. + The group by expression. + The boundaries. + The output projection. + The options. + The translation options. + The stage. + + + + Creates a $bucketAuto stage. + + The type of the input documents. + The type of the values. + The group by expression. + The number of buckets. + The options. + The stage. + + + + Creates a $bucketAuto stage. + + The type of the input documents. + The type of the values. + The type of the output documents. + The group by expression. + The number of buckets. + The output projection. + The options. + The stage. + + + + Creates a $bucketAuto stage. + + The type of the input documents. + The type of the value. + The group by expression. + The number of buckets. + The options (optional). + The translation options. + The stage. + + + + Creates a $bucketAuto stage. + + The type of the input documents. + The type of the output documents. + The type of the output documents. + The group by expression. + The number of buckets. + The output projection. + The options (optional). + The translation options. + The stage. + + + + Creates a $count stage. + + The type of the input documents. + The stage. + + + + Creates a $facet stage. + + The type of the input documents. + The type of the output documents. + The facets. + The options. + The stage. + + + + Creates a $facet stage. + + The type of the input documents. + The facets. + The stage. + + + + Creates a $facet stage. + + The type of the input documents. + The facets. + The stage. + + + + Creates a $facet stage. + + The type of the input documents. + The type of the output documents. + The facets. + The stage. + + + + Creates a $graphLookup stage. + + The type of the input documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field elements. + The type of the as field. + The type of the output documents. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The options. + The stage. + + + + Creates a $graphLookup stage. + + The type of the input documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field. + The type of the output documents. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The options. + The stage. + + + + Creates a $graphLookup stage. + + The type of the input documents. + The type of the from documents. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The fluent aggregate interface. + + + + Creates a $graphLookup stage. + + The type of the input documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field. + The type of the output documents. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The options. + The translation options. + The stage. + + + + Creates a $graphLookup stage. + + The type of the input documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field elements. + The type of the as field. + The type of the output documents. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The options. + The translation options. + The stage. + + + + Creates a $group stage. + + The type of the input documents. + The type of the output documents. + The group projection. + The stage. + + + + Creates a $group stage. + + The type of the input documents. + The group projection. + The stage. + + + + Creates a $group stage. + + The type of the input documents. + The type of the values. + The type of the output documents. + The value field. + The group projection. + The translation options. + The stage. + + + + Creates a $limit stage. + + The type of the input documents. + The limit. + The stage. + + + + Creates a $lookup stage. + + The type of the input documents. + The type of the foreign collection documents. + The type of the output documents. + The foreign collection. + The local field. + The foreign field. + The "as" field. + The options. + The stage. + + + + Creates a $lookup stage. + + The type of the input documents. + The type of the foreign collection documents. + The type of the output documents. + The foreign collection. + The local field. + The foreign field. + The "as" field. + The options. + The stage. + + + + Creates a $match stage. + + The type of the input documents. + The filter. + The stage. + + + + Creates a $match stage. + + The type of the input documents. + The filter. + The stage. + + + + Create a $match stage that select documents of a sub type. + + The type of the input documents. + The type of the output documents. + The output serializer. + The stage. + + + + Creates a $out stage. + + The type of the input documents. + The output collection. + The stage. + + + + Creates a $project stage. + + The type of the input documents. + The type of the output documents. + The projection. + The stage. + + + + Creates a $project stage. + + The type of the input documents. + The projection. + The stage. + + + + Creates a $project stage. + + The type of the input documents. + The type of the output documents. + The projection. + The translation options. + The stage. + + + + Creates a $replaceRoot stage. + + The type of the input documents. + The type of the output documents. + The new root. + The stage. + + + + Creates a $replaceRoot stage. + + The type of the input documents. + The type of the output documents. + The new root. + The translation options. + The stage. + + + + Creates a $skip stage. + + The type of the input documents. + The skip. + The stage. + + + + Creates a $sort stage. + + The type of the input documents. + The sort. + The stage. + + + + Creates a $sortByCount stage. + + The type of the input documents. + The type of the values. + The value expression. + The stage. + + + + Creates a $sortByCount stage. + + The type of the input documents. + The type of the values. + The value. + The translation options. + The stage. + + + + Creates an $unwind stage. + + The type of the input documents. + The type of the output documents. + The field. + The options. + The stage. + + + + Creates an $unwind stage. + + The type of the input documents. + The field to unwind. + The options. + The stage. + + + + Creates an $unwind stage. + + The type of the input documents. + The field to unwind. + The options. + The stage. + + + + Creates an $unwind stage. + + The type of the input documents. + The type of the output documents. + The field to unwind. + The options. + The stage. + + + + Extension methods for projections. + + + + + Combines an existing projection with a projection that filters the contents of an array. + + The type of the document. + The type of the item. + The projection. + The field. + The filter. + + A combined projection. + + + + + Combines an existing projection with a projection that filters the contents of an array. + + The type of the document. + The type of the item. + The projection. + The field. + The filter. + + A combined projection. + + + + + Combines an existing projection with a projection that filters the contents of an array. + + The type of the document. + The type of the item. + The projection. + The field. + The filter. + + A combined projection. + + + + + Combines an existing projection with a projection that excludes a field. + + The type of the document. + The projection. + The field. + + A combined projection. + + + + + Combines an existing projection with a projection that excludes a field. + + The type of the document. + The projection. + The field. + + A combined projection. + + + + + Combines an existing projection with a projection that includes a field. + + The type of the document. + The projection. + The field. + + A combined projection. + + + + + Combines an existing projection with a projection that includes a field. + + The type of the document. + The projection. + The field. + + A combined projection. + + + + + Combines an existing projection with a text score projection. + + The type of the document. + The projection. + The field. + + A combined projection. + + + + + Combines an existing projection with an array slice projection. + + The type of the document. + The projection. + The field. + The skip. + The limit. + + A combined projection. + + + + + Combines an existing projection with an array slice projection. + + The type of the document. + The projection. + The field. + The skip. + The limit. + + A combined projection. + + + + + A builder for a projection. + + The type of the source. + + + + Creates a client side projection that is implemented solely by using a different serializer. + + The type of the projection. + The projection serializer. + A client side deserialization projection. + + + + Combines the specified projections. + + The projections. + + A combined projection. + + + + + Combines the specified projections. + + The projections. + + A combined projection. + + + + + Creates a projection that filters the contents of an array. + + The type of the item. + The field. + The filter. + + An array filtering projection. + + + + + Creates a projection that filters the contents of an array. + + The type of the item. + The field. + The filter. + + An array filtering projection. + + + + + Creates a projection that filters the contents of an array. + + The type of the item. + The field. + The filter. + + An array filtering projection. + + + + + Creates a projection that excludes a field. + + The field. + + An exclusion projection. + + + + + Creates a projection that excludes a field. + + The field. + + An exclusion projection. + + + + + Creates a projection based on the expression. + + The type of the result. + The expression. + + An expression projection. + + + + + Creates a projection that includes a field. + + The field. + + An inclusion projection. + + + + + Creates a projection that includes a field. + + The field. + + An inclusion projection. + + + + + Creates a text score projection. + + The field. + + A text score projection. + + + + + Creates an array slice projection. + + The field. + The skip. + The limit. + + An array slice projection. + + + + + Creates an array slice projection. + + The field. + The skip. + The limit. + + An array slice projection. + + + + + Extension methods for an index keys definition. + + + + + Combines an existing index keys definition with an ascending index key definition. + + The type of the document. + The keys. + The field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with an ascending index key definition. + + The type of the document. + The keys. + The field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a descending index key definition. + + The type of the document. + The keys. + The field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a descending index key definition. + + The type of the document. + The keys. + The field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a 2d index key definition. + + The type of the document. + The keys. + The field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a 2d index key definition. + + The type of the document. + The keys. + The field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a geo haystack index key definition. + + The type of the document. + The keys. + The field. + Name of the additional field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a geo haystack index key definition. + + The type of the document. + The keys. + The field. + Name of the additional field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a 2dsphere index key definition. + + The type of the document. + The keys. + The field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a 2dsphere index key definition. + + The type of the document. + The keys. + The field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a hashed index key definition. + + The type of the document. + The keys. + The field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a hashed index key definition. + + The type of the document. + The keys. + The field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a text index key definition. + + The type of the document. + The keys. + The field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a text index key definition. + + The type of the document. + The keys. + The field. + + A combined index keys definition. + + + + + A builder for an . + + The type of the document. + + + + Creates an ascending index key definition. + + The field. + An ascending index key definition. + + + + Creates an ascending index key definition. + + The field. + An ascending index key definition. + + + + Creates a combined index keys definition. + + The keys. + A combined index keys definition. + + + + Creates a combined index keys definition. + + The keys. + A combined index keys definition. + + + + Creates a descending index key definition. + + The field. + A descending index key definition. + + + + Creates a descending index key definition. + + The field. + A descending index key definition. + + + + Creates a 2d index key definition. + + The field. + A 2d index key definition. + + + + Creates a 2d index key definition. + + The field. + A 2d index key definition. + + + + Creates a geo haystack index key definition. + + The field. + Name of the additional field. + + A geo haystack index key definition. + + + + + Creates a geo haystack index key definition. + + The field. + Name of the additional field. + + A geo haystack index key definition. + + + + + Creates a 2dsphere index key definition. + + The field. + A 2dsphere index key definition. + + + + Creates a 2dsphere index key definition. + + The field. + A 2dsphere index key definition. + + + + Creates a hashed index key definition. + + The field. + A hashed index key definition. + + + + Creates a hashed index key definition. + + The field. + A hashed index key definition. + + + + Creates a text index key definition. + + The field. + A text index key definition. + + + + Creates a text index key definition. + + The field. + A text index key definition. + + + + Extension methods for SortDefinition. + + + + + Combines an existing sort with an ascending field. + + The type of the document. + The sort. + The field. + + A combined sort. + + + + + Combines an existing sort with an ascending field. + + The type of the document. + The sort. + The field. + + A combined sort. + + + + + Combines an existing sort with an descending field. + + The type of the document. + The sort. + The field. + + A combined sort. + + + + + Combines an existing sort with an descending field. + + The type of the document. + The sort. + The field. + + A combined sort. + + + + + Combines an existing sort with a descending sort on the computed relevance score of a text search. + The field name should be the name of the projected relevance score field. + + The type of the document. + The sort. + The field. + + A combined sort. + + + + + A builder for a . + + The type of the document. + + + + Creates an ascending sort. + + The field. + An ascending sort. + + + + Creates an ascending sort. + + The field. + An ascending sort. + + + + Creates a combined sort. + + The sorts. + A combined sort. + + + + Creates a combined sort. + + The sorts. + A combined sort. + + + + Creates a descending sort. + + The field. + A descending sort. + + + + Creates a descending sort. + + The field. + A descending sort. + + + + Creates a descending sort on the computed relevance score of a text search. + The name of the key should be the name of the projected relevence score field. + + The field. + A meta text score sort. + + + + A builder for a . + + The type of the document. + + + + Gets an empty filter. An empty filter matches everything. + + + + + Creates an all filter for an array field. + + The type of the item. + The field. + The values. + An all filter. + + + + Creates an all filter for an array field. + + The type of the item. + The field. + The values. + An all filter. + + + + Creates an and filter. + + The filters. + A filter. + + + + Creates an and filter. + + The filters. + An and filter. + + + + Creates an equality filter for an array field. + + The type of the item. + The field. + The value. + An equality filter. + + + + Creates an equality filter for an array field. + + The type of the item. + The field. + The value. + An equality filter. + + + + Creates a greater than filter for an array field. + + The type of the item. + The field. + The value. + A greater than filter. + + + + Creates a greater than filter for an array field. + + The type of the item. + The field. + The value. + A greater than filter. + + + + Creates a greater than or equal filter for an array field. + + The type of the item. + The field. + The value. + A greater than or equal filter. + + + + Creates a greater than or equal filter for an array field. + + The type of the item. + The field. + The value. + A greater than or equal filter. + + + + Creates a less than filter for an array field. + + The type of the item. + The field. + The value. + A less than filter. + + + + Creates a less than filter for an array field. + + The type of the item. + The field. + The value. + A less than filter. + + + + Creates a less than or equal filter for an array field. + + The type of the item. + The field. + The value. + A less than or equal filter. + + + + Creates a less than or equal filter for an array field. + + The type of the item. + The field. + The value. + A less than or equal filter. + + + + Creates an in filter for an array field. + + The type of the item. + The field. + The values. + An in filter. + + + + Creates an in filter for an array field. + + The type of the item. + The field. + The values. + An in filter. + + + + Creates a not equal filter for an array field. + + The type of the item. + The field. + The value. + A not equal filter. + + + + Creates a not equal filter for an array field. + + The type of the item. + The field. + The value. + A not equal filter. + + + + Creates a not in filter for an array field. + + The type of the item. + The field. + The values. + A not in filter. + + + + Creates a not in filter for an array field. + + The type of the item. + The field. + The values. + A not in filter. + + + + Creates a bits all clear filter. + + The field. + The bitmask. + A bits all clear filter. + + + + Creates a bits all clear filter. + + The field. + The bitmask. + A bits all clear filter. + + + + Creates a bits all set filter. + + The field. + The bitmask. + A bits all set filter. + + + + Creates a bits all set filter. + + The field. + The bitmask. + A bits all set filter. + + + + Creates a bits any clear filter. + + The field. + The bitmask. + A bits any clear filter. + + + + Creates a bits any clear filter. + + The field. + The bitmask. + A bits any clear filter. + + + + Creates a bits any set filter. + + The field. + The bitmask. + A bits any set filter. + + + + Creates a bits any set filter. + + The field. + The bitmask. + A bits any set filter. + + + + Creates an element match filter for an array field. + + The type of the item. + The field. + The filter. + An element match filter. + + + + Creates an element match filter for an array field. + + The type of the item. + The field. + The filter. + An element match filter. + + + + Creates an element match filter for an array field. + + The type of the item. + The field. + The filter. + An element match filter. + + + + Creates an equality filter. + + The type of the field. + The field. + The value. + An equality filter. + + + + Creates an equality filter. + + The type of the field. + The field. + The value. + An equality filter. + + + + Creates an exists filter. + + The field. + if set to true [exists]. + An exists filter. + + + + Creates an exists filter. + + The field. + if set to true [exists]. + An exists filter. + + + + Creates a geo intersects filter. + + The type of the coordinates. + The field. + The geometry. + A geo intersects filter. + + + + Creates a geo intersects filter. + + The type of the coordinates. + The field. + The geometry. + A geo intersects filter. + + + + Creates a geo within filter. + + The type of the coordinates. + The field. + The geometry. + A geo within filter. + + + + Creates a geo within filter. + + The type of the coordinates. + The field. + The geometry. + A geo within filter. + + + + Creates a geo within box filter. + + The field. + The lower left x. + The lower left y. + The upper right x. + The upper right y. + A geo within box filter. + + + + Creates a geo within box filter. + + The field. + The lower left x. + The lower left y. + The upper right x. + The upper right y. + A geo within box filter. + + + + Creates a geo within center filter. + + The field. + The x. + The y. + The radius. + A geo within center filter. + + + + Creates a geo within center filter. + + The field. + The x. + The y. + The radius. + A geo within center filter. + + + + Creates a geo within center sphere filter. + + The field. + The x. + The y. + The radius. + A geo within center sphere filter. + + + + Creates a geo within center sphere filter. + + The field. + The x. + The y. + The radius. + A geo within center sphere filter. + + + + Creates a geo within polygon filter. + + The field. + The points. + A geo within polygon filter. + + + + Creates a geo within polygon filter. + + The field. + The points. + A geo within polygon filter. + + + + Creates a greater than filter for a UInt32 field. + + The field. + The value. + A greater than filter. + + + + Creates a greater than filter for a UInt64 field. + + The field. + The value. + A greater than filter. + + + + Creates a greater than filter. + + The type of the field. + The field. + The value. + A greater than filter. + + + + Creates a greater than filter for a UInt32 field. + + The field. + The value. + A greater than filter. + + + + Creates a greater than filter for a UInt64 field. + + The field. + The value. + A greater than filter. + + + + Creates a greater than filter. + + The type of the field. + The field. + The value. + A greater than filter. + + + + Creates a greater than or equal filter for a UInt32 field. + + The field. + The value. + A greater than or equal filter. + + + + Creates a greater than or equal filter for a UInt64 field. + + The field. + The value. + A greater than or equal filter. + + + + Creates a greater than or equal filter. + + The type of the field. + The field. + The value. + A greater than or equal filter. + + + + Creates a greater than or equal filter for a UInt32 field. + + The field. + The value. + A greater than or equal filter. + + + + Creates a greater than or equal filter for a UInt64 field. + + The field. + The value. + A greater than or equal filter. + + + + Creates a greater than or equal filter. + + The type of the field. + The field. + The value. + A greater than or equal filter. + + + + Creates an in filter. + + The type of the field. + The field. + The values. + An in filter. + + + + Creates an in filter. + + The type of the field. + The field. + The values. + An in filter. + + + + Creates a less than filter for a UInt32 field. + + The field. + The value. + A less than filter. + + + + Creates a less than filter for a UInt64 field. + + The field. + The value. + A less than filter. + + + + Creates a less than filter. + + The type of the field. + The field. + The value. + A less than filter. + + + + Creates a less than filter for a UInt32 field. + + The field. + The value. + A less than filter. + + + + Creates a less than filter for a UInt64 field. + + The field. + The value. + A less than filter. + + + + Creates a less than filter. + + The type of the field. + The field. + The value. + A less than filter. + + + + Creates a less than or equal filter for a UInt32 field. + + The field. + The value. + A less than or equal filter. + + + + Creates a less than or equal filter for a UInt64 field. + + The field. + The value. + A less than or equal filter. + + + + Creates a less than or equal filter. + + The type of the field. + The field. + The value. + A less than or equal filter. + + + + Creates a less than or equal filter for a UInt32 field. + + The field. + The value. + A less than or equal filter. + + + + Creates a less than or equal filter for a UInt64 field. + + The field. + The value. + A less than or equal filter. + + + + Creates a less than or equal filter. + + The type of the field. + The field. + The value. + A less than or equal filter. + + + + Creates a modulo filter. + + The field. + The modulus. + The remainder. + A modulo filter. + + + + Creates a modulo filter. + + The field. + The modulus. + The remainder. + A modulo filter. + + + + Creates a not equal filter. + + The type of the field. + The field. + The value. + A not equal filter. + + + + Creates a not equal filter. + + The type of the field. + The field. + The value. + A not equal filter. + + + + Creates a near filter. + + The field. + The x. + The y. + The maximum distance. + The minimum distance. + A near filter. + + + + Creates a near filter. + + The field. + The x. + The y. + The maximum distance. + The minimum distance. + A near filter. + + + + Creates a near filter. + + The type of the coordinates. + The field. + The geometry. + The maximum distance. + The minimum distance. + A near filter. + + + + Creates a near filter. + + The type of the coordinates. + The field. + The geometry. + The maximum distance. + The minimum distance. + A near filter. + + + + Creates a near sphere filter. + + The field. + The x. + The y. + The maximum distance. + The minimum distance. + A near sphere filter. + + + + Creates a near sphere filter. + + The field. + The x. + The y. + The maximum distance. + The minimum distance. + A near sphere filter. + + + + Creates a near sphere filter. + + The type of the coordinates. + The field. + The geometry. + The maximum distance. + The minimum distance. + A near sphere filter. + + + + Creates a near sphere filter. + + The type of the coordinates. + The field. + The geometry. + The maximum distance. + The minimum distance. + A near sphere filter. + + + + Creates a not in filter. + + The type of the field. + The field. + The values. + A not in filter. + + + + Creates a not in filter. + + The type of the field. + The field. + The values. + A not in filter. + + + + Creates a not filter. + + The filter. + A not filter. + + + + Creates an OfType filter that matches documents of a derived type. + + The type of the matching derived documents. + An OfType filter. + + + + Creates an OfType filter that matches documents of a derived type and that also match a filter on the derived document. + + The type of the matching derived documents. + A filter on the derived document. + An OfType filter. + + + + Creates an OfType filter that matches documents of a derived type and that also match a filter on the derived document. + + The type of the matching derived documents. + A filter on the derived document. + An OfType filter. + + + + Creates an OfType filter that matches documents with a field of a derived typer. + + The type of the field. + The type of the matching derived field value. + The field. + An OfType filter. + + + + Creates an OfType filter that matches documents with a field of a derived type and that also match a filter on the derived field. + + The type of the field. + The type of the matching derived field value. + The field. + A filter on the derived field. + An OfType filter. + + + + Creates an OfType filter that matches documents with a field of a derived type. + + The type of the field. + The type of the matching derived field value. + The field. + An OfType filter. + + + + Creates an OfType filter that matches documents with a field of a derived type and that also match a filter on the derived field. + + The type of the field. + The type of the matching derived field value. + The field. + A filter on the derived field. + An OfType filter. + + + + Creates an or filter. + + The filters. + An or filter. + + + + Creates an or filter. + + The filters. + An or filter. + + + + Creates a regular expression filter. + + The field. + The regex. + A regular expression filter. + + + + Creates a regular expression filter. + + The field. + The regex. + A regular expression filter. + + + + Creates a size filter. + + The field. + The size. + A size filter. + + + + Creates a size filter. + + The field. + The size. + A size filter. + + + + Creates a size greater than filter. + + The field. + The size. + A size greater than filter. + + + + Creates a size greater than filter. + + The field. + The size. + A size greater than filter. + + + + Creates a size greater than or equal filter. + + The field. + The size. + A size greater than or equal filter. + + + + Creates a size greater than or equal filter. + + The field. + The size. + A size greater than or equal filter. + + + + Creates a size less than filter. + + The field. + The size. + A size less than filter. + + + + Creates a size less than filter. + + The field. + The size. + A size less than filter. + + + + Creates a size less than or equal filter. + + The field. + The size. + A size less than or equal filter. + + + + Creates a size less than or equal filter. + + The field. + The size. + A size less than or equal filter. + + + + Creates a text filter. + + The search. + The text search options. + A text filter. + + + + Creates a text filter. + + The search. + The language. + A text filter. + + + + Creates a type filter. + + The field. + The type. + A type filter. + + + + Creates a type filter. + + The field. + The type. + A type filter. + + + + Creates a type filter. + + The field. + The type. + A type filter. + + + + Creates a type filter. + + The field. + The type. + A type filter. + + + + Creates a filter based on the expression. + + The expression. + An expression filter. + + + + Extension methods for + + + + + Appends a $bucket stage to the pipeline. + + The type of the result. + The type of the value. + The aggregate. + The expression providing the value to group by. + The bucket boundaries. + The options. + The fluent aggregate interface. + + + + Appends a $bucket stage to the pipeline. + + The type of the result. + The type of the value. + The type of the new result. + The aggregate. + The expression providing the value to group by. + The bucket boundaries. + The output projection. + The options. + The fluent aggregate interface. + + + + Appends a $bucketAuto stage to the pipeline. + + The type of the result. + The type of the value. + The aggregate. + The expression providing the value to group by. + The number of buckets. + The options (optional). + The fluent aggregate interface. + + + + Appends a $bucketAuto stage to the pipeline. + + The type of the result. + The type of the value. + The type of the new result. + The aggregate. + The expression providing the value to group by. + The number of buckets. + The output projection. + The options (optional). + The fluent aggregate interface. + + + + Appends a $facet stage to the pipeline. + + The type of the result. + The aggregate. + The facets. + The fluent aggregate interface. + + + + Appends a $facet stage to the pipeline. + + The type of the result. + The aggregate. + The facets. + The fluent aggregate interface. + + + + Appends a $facet stage to the pipeline. + + The type of the result. + The type of the new result. + The aggregate. + The facets. + + The fluent aggregate interface. + + + + + Appends a $graphLookup stage to the pipeline. + + The type of the result. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field. + The type of the new result (must be same as TResult with an additional as field). + The aggregate. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The options. + The fluent aggregate interface. + + + + Appends a $graphLookup stage to the pipeline. + + The type of the result. + The type of the from documents. + The aggregate. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The fluent aggregate interface. + + + + Appends a $graphLookup stage to the pipeline. + + The type of the result. + The type of the new result (must be same as TResult with an additional as field). + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field. + The aggregate. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The options. + The fluent aggregate interface. + + + + Appends a $graphLookup stage to the pipeline. + + The type of the result. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field elements. + The type of the as field. + The type of the new result (must be same as TResult with an additional as field). + The aggregate. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The options. + The fluent aggregate interface. + + + + Appends a group stage to the pipeline. + + The type of the result. + The aggregate. + The group projection. + + The fluent aggregate interface. + + + + + Appends a group stage to the pipeline. + + The type of the result. + The type of the key. + The type of the new result. + The aggregate. + The id. + The group projection. + + The fluent aggregate interface. + + + + + Appends a lookup stage to the pipeline. + + The type of the result. + The aggregate. + Name of the foreign collection. + The local field. + The foreign field. + The field in the result to place the foreign matches. + The fluent aggregate interface. + + + + Appends a lookup stage to the pipeline. + + The type of the result. + The type of the foreign collection. + The type of the new result. + The aggregate. + The foreign collection. + The local field. + The foreign field. + The field in the result to place the foreign matches. + The options. + The fluent aggregate interface. + + + + Appends a match stage to the pipeline. + + The type of the result. + The aggregate. + The filter. + + The fluent aggregate interface. + + + + + Appends a project stage to the pipeline. + + The type of the result. + The aggregate. + The projection. + + The fluent aggregate interface. + + + + + Appends a project stage to the pipeline. + + The type of the result. + The type of the new result. + The aggregate. + The projection. + + The fluent aggregate interface. + + + + + Appends a $replaceRoot stage to the pipeline. + + The type of the result. + The type of the new result. + The aggregate. + The new root. + + The fluent aggregate interface. + + + + + Appends an ascending sort stage to the pipeline. + + The type of the result. + The aggregate. + The field to sort by. + + The fluent aggregate interface. + + + + + Appends a sortByCount stage to the pipeline. + + The type of the result. + The type of the key. + The aggregate. + The id. + + The fluent aggregate interface. + + + + + Appends a descending sort stage to the pipeline. + + The type of the result. + The aggregate. + The field to sort by. + + The fluent aggregate interface. + + + + + Modifies the current sort stage by appending an ascending field specification to it. + + The type of the result. + The aggregate. + The field to sort by. + + The fluent aggregate interface. + + + + + Modifies the current sort stage by appending a descending field specification to it. + + The type of the result. + The aggregate. + The field to sort by. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The type of the result. + The aggregate. + The field to unwind. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The type of the result. + The aggregate. + The field to unwind. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The type of the result. + The type of the new result. + The aggregate. + The field to unwind. + The new result serializer. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The type of the result. + The type of the new result. + The aggregate. + The field to unwind. + The options. + + The fluent aggregate interface. + + + + + Returns the first document of the aggregate result. + + The type of the result. + The aggregate. + The cancellation token. + + The fluent aggregate interface. + + + + + Returns the first document of the aggregate result. + + The type of the result. + The aggregate. + The cancellation token. + + The fluent aggregate interface. + + + + + Returns the first document of the aggregate result, or the default value if the result set is empty. + + The type of the result. + The aggregate. + The cancellation token. + + The fluent aggregate interface. + + + + + Returns the first document of the aggregate result, or the default value if the result set is empty. + + The type of the result. + The aggregate. + The cancellation token. + + The fluent aggregate interface. + + + + + Returns the only document of the aggregate result. Throws an exception if the result set does not contain exactly one document. + + The type of the result. + The aggregate. + The cancellation token. + + The fluent aggregate interface. + + + + + Returns the only document of the aggregate result. Throws an exception if the result set does not contain exactly one document. + + The type of the result. + The aggregate. + The cancellation token. + + The fluent aggregate interface. + + + + + Returns the only document of the aggregate result, or the default value if the result set is empty. Throws an exception if the result set contains more than one document. + + The type of the result. + The aggregate. + The cancellation token. + + The fluent aggregate interface. + + + + + Returns the only document of the aggregate result, or the default value if the result set is empty. Throws an exception if the result set contains more than one document. + + The type of the result. + The aggregate. + The cancellation token. + + The fluent aggregate interface. + + + + + Options for an aggregate operation. + + + + + Gets or sets a value indicating whether to allow disk use. + + + + + Gets or sets the size of a batch. + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets the collation. + + + + + Gets or sets the maximum time. + + + + + Gets or sets the translation options. + + + + + Gets or sets a value indicating whether to use a cursor. + + + + + Options for a bulk write operation. + + + + + Initializes a new instance of the class. + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets a value indicating whether the requests are fulfilled in order. + + + + + Represents a registry of already created clusters. + + + + + Gets the default cluster registry. + + + The default cluster registry. + + + + + Unregisters and disposes the cluster. + + The cluster. + + + + Options for a count operation. + + + + + Gets or sets the collation. + + + + + Gets or sets the hint. + + + + + Gets or sets the limit. + + + + + Gets or sets the maximum time. + + + + + Gets or sets the skip. + + + + + Options for creating an index. + + + + + Gets or sets a value indicating whether to create the index in the background. + + + + + Gets or sets the precision, in bits, used with geohash indexes. + + + + + Gets or sets the size of a geohash bucket. + + + + + Gets or sets the collation. + + + + + Gets or sets the default language. + + + + + Gets or sets when documents expire (used with TTL indexes). + + + + + Gets or sets the language override. + + + + + Gets or sets the max value for 2d indexes. + + + + + Gets or sets the min value for 2d indexes. + + + + + Gets or sets the index name. + + + + + Gets or sets a value indicating whether the index is a sparse index. + + + + + Gets or sets the index version for 2dsphere indexes. + + + + + Gets or sets the storage engine options. + + + + + Gets or sets the index version for text indexes. + + + + + Gets or sets a value indicating whether the index is a unique index. + + + + + Gets or sets the version of the index. + + + + + Gets or sets the weights for text indexes. + + + + + Options for creating an index. + + The type of the document. + + + + Gets or sets the partial filter expression. + + + + + Fluent interface for aggregate. + + + This interface is not guaranteed to remain stable. Implementors should use + . + + The type of the result of the pipeline. + + + + Gets the database. + + + + + Gets the options. + + + + + Gets the stages. + + + + + Appends the stage to the pipeline. + + The type of the result of the stage. + The stage. + The fluent aggregate interface. + + + + Changes the result type of the pipeline. + + The type of the new result. + The new result serializer. + The fluent aggregate interface. + + + + Appends a $bucket stage to the pipeline. + + The type of the value. + The expression providing the value to group by. + The bucket boundaries. + The options. + The fluent aggregate interface. + + + + Appends a $bucket stage to the pipeline with a custom projection. + + The type of the value. + The type of the new result. + The expression providing the value to group by. + The bucket boundaries. + The output projection. + The options. + The fluent aggregate interface. + + + + Appends a $bucketAuto stage to the pipeline. + + The type of the value. + The expression providing the value to group by. + The number of buckets. + The options (optional). + The fluent aggregate interface. + + + + Appends a $bucketAuto stage to the pipeline with a custom projection. + + The type of the value. + The type of the new result. + The expression providing the value to group by. + The number of buckets. + The output projection. + The options (optional). + The fluent aggregate interface. + + + + Appends a count stage to the pipeline. + + The fluent aggregate interface. + + + + Appends a $facet stage to the pipeline. + + The type of the new result. + The facets. + The options. + + The fluent aggregate interface. + + + + + Appends a $graphLookup stage to the pipeline. + + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field elements. + The type of the as field. + The type of the new result (must be same as TResult with an additional as field). + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The options. + The fluent aggregate interface. + + + + Appends a group stage to the pipeline. + + The type of the result of the stage. + The group projection. + The fluent aggregate interface. + + + + Appends a limit stage to the pipeline. + + The limit. + The fluent aggregate interface. + + + + Appends a lookup stage to the pipeline. + + The type of the foreign document. + The type of the new result. + Name of the other collection. + The local field. + The foreign field. + The field in to place the foreign results. + The options. + The fluent aggregate interface. + + + + Appends a match stage to the pipeline. + + The filter. + The fluent aggregate interface. + + + + Appends a match stage to the pipeline that matches derived documents and changes the result type to the derived type. + + The type of the derived documents. + The new result serializer. + The fluent aggregate interface. + + + + Appends an out stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection. + + Name of the collection. + The cancellation token. + A cursor. + + + + Appends an out stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection. + + Name of the collection. + The cancellation token. + A Task whose result is a cursor. + + + + Appends a project stage to the pipeline. + + The type of the result of the stage. + The projection. + + The fluent aggregate interface. + + + + + Appends a $replaceRoot stage to the pipeline. + + The type of the new result. + The new root. + The fluent aggregate interface. + + + + Appends a skip stage to the pipeline. + + The number of documents to skip. + The fluent aggregate interface. + + + + Appends a sort stage to the pipeline. + + The sort specification. + The fluent aggregate interface. + + + + Appends a sortByCount stage to the pipeline. + + The type of the identifier. + The identifier. + The fluent aggregate interface. + + + + Appends an unwind stage to the pipeline. + + The type of the result of the stage. + The field. + The new result serializer. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The type of the new result. + The field. + The options. + The fluent aggregate interface. + + + + Fluent interface for aggregate. + + The type of the result. + + + + Combines the current sort definition with an additional sort definition. + + The new sort. + The fluent aggregate interface. + + + + Fluent interface for find. + + + This interface is not guaranteed to remain stable. Implementors should use + . + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + + + Gets or sets the filter. + + + + + Gets the options. + + + + + A simplified type of projection that changes the result type by using a different serializer. + + The type of the result. + The result serializer. + The fluent find interface. + + + + Counts the number of documents. + + The cancellation token. + The count. + + + + Counts the number of documents. + + The cancellation token. + A Task whose result is the count. + + + + Limits the number of documents. + + The limit. + The fluent find interface. + + + + Projects the the result. + + The type of the projection. + The projection. + The fluent find interface. + + + + Skips the the specified number of documents. + + The skip. + The fluent find interface. + + + + Sorts the the documents. + + The sort. + The fluent find interface. + + + + Fluent interface for find. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + + + Extension methods for + + + + + Projects the result. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The projection. + The fluent find interface. + + + + Projects the result. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The type of the new projection. + The fluent find. + The projection. + The fluent find interface. + + + + Sorts the results by an ascending field. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The field. + The fluent find interface. + + + + Sorts the results by a descending field. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The field. + The fluent find interface. + + + + Adds an ascending field to the existing sort. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The field. + The fluent find interface. + + + + Adds a descending field to the existing sort. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The field. + The fluent find interface. + + + + Get the first result. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The cancellation token. + A Task whose result is the first result. + + + + Get the first result. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The cancellation token. + A Task whose result is the first result. + + + + Get the first result or null. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The cancellation token. + A Task whose result is the first result or null. + + + + Get the first result or null. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The cancellation token. + A Task whose result is the first result or null. + + + + Gets a single result. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The cancellation token. + A Task whose result is the single result. + + + + Gets a single result. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The cancellation token. + A Task whose result is the single result. + + + + Gets a single result or null. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The cancellation token. + A Task whose result is the single result or null. + + + + Gets a single result or null. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The cancellation token. + A Task whose result is the single result or null. + + + + Extension methods for . + + + + + Begins a fluent aggregation interface. + + The type of the document. + The collection. + The options. + + A fluent aggregate interface. + + + + + Creates a queryable source of documents. + + The type of the document. + The collection. + The aggregate options + A queryable source of documents. + + + + Counts the number of documents in the collection. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + + The number of documents in the collection. + + + + + Counts the number of documents in the collection. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + + The number of documents in the collection. + + + + + Deletes multiple documents. + + The type of the document. + The collection. + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Deletes multiple documents. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Deletes multiple documents. + + The type of the document. + The collection. + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Deletes multiple documents. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The type of the document. + The collection. + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The type of the document. + The collection. + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Gets the distinct values for a specified field. + + The type of the document. + The type of the result. + The collection. + The field. + The filter. + The options. + The cancellation token. + + The distinct values for the specified field. + + + + + Gets the distinct values for a specified field. + + The type of the document. + The type of the result. + The collection. + The field. + The filter. + The options. + The cancellation token. + + The distinct values for the specified field. + + + + + Gets the distinct values for a specified field. + + The type of the document. + The type of the result. + The collection. + The field. + The filter. + The options. + The cancellation token. + + The distinct values for the specified field. + + + + + Gets the distinct values for a specified field. + + The type of the document. + The type of the result. + The collection. + The field. + The filter. + The options. + The cancellation token. + + The distinct values for the specified field. + + + + + Gets the distinct values for a specified field. + + The type of the document. + The type of the result. + The collection. + The field. + The filter. + The options. + The cancellation token. + + The distinct values for the specified field. + + + + + Gets the distinct values for a specified field. + + The type of the document. + The type of the result. + The collection. + The field. + The filter. + The options. + The cancellation token. + + The distinct values for the specified field. + + + + + Begins a fluent find interface. + + The type of the document. + The collection. + The filter. + The options. + + A fluent find interface. + + + + + Begins a fluent find interface. + + The type of the document. + The collection. + The filter. + The options. + + A fluent interface. + + + + + Finds the documents matching the filter. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + A Task whose result is a cursor. + + + + Finds the documents matching the filter. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + A Task whose result is a cursor. + + + + Finds the documents matching the filter. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + A Task whose result is a cursor. + + + + Finds the documents matching the filter. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + A Task whose result is a cursor. + + + + Finds a single document and deletes it atomically. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + + The deleted document if one was deleted. + + + + + Finds a single document and deletes it atomically. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + + The deleted document if one was deleted. + + + + + Finds a single document and deletes it atomically. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The collection. + The filter. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and deletes it atomically. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + + The deleted document if one was deleted. + + + + + Finds a single document and deletes it atomically. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + + The deleted document if one was deleted. + + + + + Finds a single document and deletes it atomically. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The collection. + The filter. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The type of the document. + The collection. + The filter. + The replacement. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The type of the document. + The collection. + The filter. + The replacement. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The collection. + The filter. + The replacement. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The type of the document. + The collection. + The filter. + The replacement. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The type of the document. + The collection. + The filter. + The replacement. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The collection. + The filter. + The replacement. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and updates it atomically. + + The type of the document. + The collection. + The filter. + The update. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and updates it atomically. + + The type of the document. + The collection. + The filter. + The update. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and updates it atomically. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The collection. + The filter. + The update. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and updates it atomically. + + The type of the document. + The collection. + The filter. + The update. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and updates it atomically. + + The type of the document. + The collection. + The filter. + The update. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and updates it atomically. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The collection. + The filter. + The update. + The options. + The cancellation token. + + The returned document. + + + + + Replaces a single document. + + The type of the document. + The collection. + The filter. + The replacement. + The options. + The cancellation token. + + The result of the replacement. + + + + + Replaces a single document. + + The type of the document. + The collection. + The filter. + The replacement. + The options. + The cancellation token. + + The result of the replacement. + + + + + Updates many documents. + + The type of the document. + The collection. + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Updates many documents. + + The type of the document. + The collection. + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Updates a single document. + + The type of the document. + The collection. + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Updates a single document. + + The type of the document. + The collection. + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + An interface representing methods used to create, delete and modify indexes. + + + This interface is not guaranteed to remain stable. Implementors should use + . + + The type of the document. + + + + Gets the namespace of the collection. + + + + + Gets the document serializer. + + + + + Gets the collection settings. + + + + + Creates an index. + + The keys. + The options. + The cancellation token. + + The name of the index that was created. + + + + + Creates an index. + + The keys. + The options. + The cancellation token. + + A task whose result is the name of the index that was created. + + + + + Creates multiple indexes. + + The models defining each of the indexes. + The cancellation token. + + An of the names of the indexes that were created. + + + + + Creates multiple indexes. + + The models defining each of the indexes. + The cancellation token. + + A task whose result is an of the names of the indexes that were created. + + + + + Drops all the indexes. + + The cancellation token. + + + + Drops all the indexes. + + The cancellation token. + A task. + + + + Drops an index by its name. + + The name. + The cancellation token. + + + + Drops an index by its name. + + The name. + The cancellation token. + A task. + + + + Lists the indexes. + + The cancellation token. + A cursor. + + + + Lists the indexes. + + The cancellation token. + A Task whose result is a cursor. + + + + Options for inserting many documents. + + + + + Initializes a new instance of the class. + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets a value indicating whether the requests are fulfilled in order. + + + + + Options for a list collections operation. + + + + + Gets or sets the filter. + + + + + Represents the options for a map-reduce operation. + + The type of the document. + The type of the result. + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets the collation. + + + + + Gets or sets the filter. + + + + + Gets or sets the finalize function. + + + + + Gets or sets the java script mode. + + + + + Gets or sets the limit. + + + + + Gets or sets the maximum time. + + + + + Gets or sets the output options. + + + + + Gets or sets the result serializer. + + + + + Gets or sets the scope. + + + + + Gets or sets the sort. + + + + + Gets or sets whether to include timing information. + + + + + Represents the output options for a map-reduce operation. + + + + + An inline map-reduce output options. + + + + + A merge map-reduce output options. + + The name of the collection. + The name of the database. + Whether the output collection should be sharded. + Whether the server should not lock the database for the duration of the merge. + A merge map-reduce output options. + + + + A reduce map-reduce output options. + + The name of the collection. + The name of the database. + Whether the output collection should be sharded. + Whether the server should not lock the database for the duration of the reduce. + A reduce map-reduce output options. + + + + A replace map-reduce output options. + + The name of the collection. + Name of the database. + Whether the output collection should be sharded. + A replace map-reduce output options. + + + + Base class for implementors of . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Base class for implementors of . + + The type of the document. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Base class for implementors of . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Base class for implementors of . + + The type of the document. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Base class for implementors of . + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A rendered command. + + The type of the result. + + + + Initializes a new instance of the class. + + The document. + The result serializer. + + + + Gets the document. + + + + + Gets the result serializer. + + + + + Base class for commands. + + The type of the result. + + + + Renders the command to a . + + The serializer registry. + A . + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + A based command. + + The type of the result. + + + + Initializes a new instance of the class. + + The document. + The result serializer. + + + + Gets the document. + + + + + Gets the result serializer. + + + + + + + + A JSON based command. + + The type of the result. + + + + Initializes a new instance of the class. + + The json. + The result serializer. + + + + Gets the json. + + + + + Gets the result serializer. + + + + + + + + An based command. + + The type of the result. + + + + Initializes a new instance of the class. + + The object. + The result serializer. + + + + Gets the object. + + + + + Gets the result serializer. + + + + + + + + Options for the $unwind aggregation stage. + + The type of the result. + + + + Gets or sets the field with which to include the array index. + + + + + Gets or sets whether to preserve null and empty arrays. + + + + + Gets or sets the result serializer. + + + + + Represents text search options. + + + + + Gets or sets whether a text search should be case sensitive. + + + + + Gets or sets whether a text search should be diacritic sensitive. + + + + + Gets or sets the language for a text search. + + + + + Extension methods for UpdateDefinition. + + + + + Combines an existing update with an add to set operator. + + The type of the document. + The type of the item. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with an add to set operator. + + The type of the document. + The type of the item. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with an add to set operator. + + The type of the document. + The type of the item. + The update. + The field. + The values. + + A combined update. + + + + + Combines an existing update with an add to set operator. + + The type of the document. + The type of the item. + The update. + The field. + The values. + + A combined update. + + + + + Combines an existing update with a bitwise and operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a bitwise and operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a bitwise or operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a bitwise or operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a bitwise xor operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a bitwise xor operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a current date operator. + + The type of the document. + The update. + The field. + The type. + + A combined update. + + + + + Combines an existing update with a current date operator. + + The type of the document. + The update. + The field. + The type. + + A combined update. + + + + + Combines an existing update with an increment operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with an increment operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a max operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a max operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a min operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a min operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a multiply operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a multiply operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a pop operator. + + The type of the document. + The update. + The field. + + A combined update. + + + + + Combines an existing update with a pop operator. + + The type of the document. + The update. + The field. + + A combined update. + + + + + Combines an existing update with a pop operator. + + The type of the document. + The update. + The field. + + A combined update. + + + + + Combines an existing update with a pop operator. + + The type of the document. + The update. + The field. + + A combined update. + + + + + Combines an existing update with a pull operator. + + The type of the document. + The type of the item. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a pull operator. + + The type of the document. + The type of the item. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a pull operator. + + The type of the document. + The type of the item. + The update. + The field. + The values. + + A combined update. + + + + + Combines an existing update with a pull operator. + + The type of the document. + The type of the item. + The update. + The field. + The values. + + A combined update. + + + + + Combines an existing update with a pull operator. + + The type of the document. + The type of the item. + The update. + The field. + The filter. + + A combined update. + + + + + Combines an existing update with a pull operator. + + The type of the document. + The type of the item. + The update. + The field. + The filter. + + A combined update. + + + + + Combines an existing update with a pull operator. + + The type of the document. + The type of the item. + The update. + The field. + The filter. + + A combined update. + + + + + Combines an existing update with a push operator. + + The type of the document. + The type of the item. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a push operator. + + The type of the document. + The type of the item. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a push operator. + + The type of the document. + The type of the item. + The update. + The field. + The values. + The slice. + The position. + The sort. + + A combined update. + + + + + Combines an existing update with a push operator. + + The type of the document. + The type of the item. + The update. + The field. + The values. + The slice. + The position. + The sort. + + A combined update. + + + + + Combines an existing update with a field renaming operator. + + The type of the document. + The update. + The field. + The new name. + + A combined update. + + + + + Combines an existing update with a field renaming operator. + + The type of the document. + The update. + The field. + The new name. + + A combined update. + + + + + Combines an existing update with a set operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a set operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a set on insert operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a set on insert operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with an unset operator. + + The type of the document. + The update. + The field. + + A combined update. + + + + + Combines an existing update with an unset operator. + + The type of the document. + The update. + The field. + + A combined update. + + + + + The type to use for a $currentDate operator. + + + + + A date. + + + + + A timestamp. + + + + + A builder for an . + + The type of the document. + + + + Creates an add to set operator. + + The type of the item. + The field. + The value. + An add to set operator. + + + + Creates an add to set operator. + + The type of the item. + The field. + The value. + An add to set operator. + + + + Creates an add to set operator. + + The type of the item. + The field. + The values. + An add to set operator. + + + + Creates an add to set operator. + + The type of the item. + The field. + The values. + An add to set operator. + + + + Creates a bitwise and operator. + + The type of the field. + The field. + The value. + A bitwise and operator. + + + + Creates a bitwise and operator. + + The type of the field. + The field. + The value. + A bitwise and operator. + + + + Creates a bitwise or operator. + + The type of the field. + The field. + The value. + A bitwise or operator. + + + + Creates a bitwise or operator. + + The type of the field. + The field. + The value. + A bitwise or operator. + + + + Creates a bitwise xor operator. + + The type of the field. + The field. + The value. + A bitwise xor operator. + + + + Creates a bitwise xor operator. + + The type of the field. + The field. + The value. + A bitwise xor operator. + + + + Creates a combined update. + + The updates. + A combined update. + + + + Creates a combined update. + + The updates. + A combined update. + + + + Creates a current date operator. + + The field. + The type. + A current date operator. + + + + Creates a current date operator. + + The field. + The type. + A current date operator. + + + + Creates an increment operator. + + The type of the field. + The field. + The value. + An increment operator. + + + + Creates an increment operator. + + The type of the field. + The field. + The value. + An increment operator. + + + + Creates a max operator. + + The type of the field. + The field. + The value. + A max operator. + + + + Creates a max operator. + + The type of the field. + The field. + The value. + A max operator. + + + + Creates a min operator. + + The type of the field. + The field. + The value. + A min operator. + + + + Creates a min operator. + + The type of the field. + The field. + The value. + A min operator. + + + + Creates a multiply operator. + + The type of the field. + The field. + The value. + A multiply operator. + + + + Creates a multiply operator. + + The type of the field. + The field. + The value. + A multiply operator. + + + + Creates a pop operator. + + The field. + A pop operator. + + + + Creates a pop first operator. + + The field. + A pop first operator. + + + + Creates a pop operator. + + The field. + A pop operator. + + + + Creates a pop first operator. + + The field. + A pop first operator. + + + + Creates a pull operator. + + The type of the item. + The field. + The value. + A pull operator. + + + + Creates a pull operator. + + The type of the item. + The field. + The value. + A pull operator. + + + + Creates a pull operator. + + The type of the item. + The field. + The values. + A pull operator. + + + + Creates a pull operator. + + The type of the item. + The field. + The values. + A pull operator. + + + + Creates a pull operator. + + The type of the item. + The field. + The filter. + A pull operator. + + + + Creates a pull operator. + + The type of the item. + The field. + The filter. + A pull operator. + + + + Creates a pull operator. + + The type of the item. + The field. + The filter. + A pull operator. + + + + Creates a push operator. + + The type of the item. + The field. + The value. + A push operator. + + + + Creates a push operator. + + The type of the item. + The field. + The value. + A push operator. + + + + Creates a push operator. + + The type of the item. + The field. + The values. + The slice. + The position. + The sort. + A push operator. + + + + Creates a push operator. + + The type of the item. + The field. + The values. + The slice. + The position. + The sort. + A push operator. + + + + Creates a field renaming operator. + + The field. + The new name. + A field rename operator. + + + + Creates a field renaming operator. + + The field. + The new name. + A field rename operator. + + + + Creates a set operator. + + The type of the field. + The field. + The value. + A set operator. + + + + Creates a set operator. + + The type of the field. + The field. + The value. + A set operator. + + + + Creates a set on insert operator. + + The type of the field. + The field. + The value. + A set on insert operator. + + + + Creates a set on insert operator. + + The type of the field. + The field. + The value. + A set on insert operator. + + + + Creates an unset operator. + + The field. + An unset operator. + + + + Creates an unset operator. + + The field. + An unset operator. + + + + A filtered mongo collection. The filter will be and'ed with all filters. + + The type of the document. + + + + Gets the filter. + + + + + Options for renaming a collection. + + + + + Gets or sets a value indicating whether to drop the target collection first if it already exists. + + + + + Options for creating a collection. + + + + + Gets or sets the collation. + + + + + Gets or sets a value indicating whether to automatically create an index on the _id. + + + + + Gets or sets a value indicating whether the collection is capped. + + + + + Gets or sets the index option defaults. + + + The index option defaults. + + + + + Gets or sets the maximum number of documents (used with capped collections). + + + + + Gets or sets the maximum size of the collection (used with capped collections). + + + + + Gets or sets whether padding should not be used. + + + + + Gets or sets the serializer registry. + + + + + Gets or sets the storage engine options. + + + + + Gets or sets a value indicating whether to use power of 2 sizes. + + + + + Gets or sets the validation action. + + + The validation action. + + + + + Gets or sets the validation level. + + + The validation level. + + + + + Options for creating a collection. + + The type of the document. + + + + Coerces a generic CreateCollectionOptions{TDocument} from a non-generic CreateCollectionOptions. + + The options. + The generic options. + + + + Gets or sets the document serializer. + + + + + Gets or sets the validator. + + + The validator. + + + + + Options for the distinct command. + + + + + Gets or sets the collation. + + + + + Gets or sets the maximum time. + + + + + Options for a find operation. + + + + + Initializes a new instance of the class. + + + + + Gets or sets a value indicating whether to allow partial results when some shards are unavailable. + + + + + Gets or sets the size of a batch. + + + + + Gets or sets the collation. + + + + + Gets or sets the comment. + + + + + Gets or sets the type of the cursor. + + + + + Gets or sets the maximum await time for TailableAwait cursors. + + + + + Gets or sets the maximum time. + + + + + Gets or sets the modifiers. + + + + + Gets or sets whether a cursor will time out. + + + + + Gets or sets whether the OplogReplay bit will be set. + + + + + Options for finding documents. + + + + + Options for finding documents. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + + + Gets or sets how many documents to return. + + + + + Gets or sets the projection. + + + + + Gets or sets how many documents to skip before returning the rest. + + + + + Gets or sets the sort. + + + + + Options for finding documents. + + The type of the document and the result. + + + + Options for a findAndModify command to delete an object. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + + + Gets or sets the collation. + + + + + Gets or sets the maximum time. + + + + + Gets or sets the projection. + + + + + Gets or sets the sort. + + + + + Options for a findAndModify command to delete an object. + + The type of the document and the result. + + + + Options for a findAndModify command to replace an object. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + + + Initializes a new instance of the class. + + + + + Gets or sets the collation. + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets a value indicating whether to insert the document if it doesn't already exist. + + + + + Gets or sets the maximum time. + + + + + Gets or sets the projection. + + + + + Gets or sets which version of the document to return. + + + + + Gets or sets the sort. + + + + + Options for a findAndModify command to replace an object. + + The type of the document and the result. + + + + Options for a findAndModify command to update an object. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + + + Initializes a new instance of the class. + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets the collation. + + + + + Gets or sets a value indicating whether to insert the document if it doesn't already exist. + + + + + Gets or sets the maximum time. + + + + + Gets or sets the projection. + + + + + Gets or sets which version of the document to return. + + + + + Gets or sets the sort. + + + + + Options for a findAndModify command to update an object. + + The type of the document and the result. + + + + Represents a serializer helper for GeoJsonObjects. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The type. + The derived members. + + + + Deserializes a base member. + + The context. + The element name. + The flag. + The arguments. + + + + Serializes the members. + + The type of the value. + The context. + The value. + The delegate to serialize the derived members. + + + + Represents a serializer for a GeoJson2DGeographicCoordinates value. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJson2DProjectedCoordinates value. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJson3DCoordinates value. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJson3DGeographicCoordinates value. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJson3DProjectedCoordinates value. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonBoundingBox value. + + The type of the coordinates. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonCoordinateReferenceSystem value. + + + + + Gets the actual type. + + The context. + The actual type. + + + + Represents a serializer for a GeoJsonCoordinates value. + + + + + Gets the actual type. + + The context. + The actual type. + + + + Represents a serializer for a GeoJsonFeatureCollection value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonFeature value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonGeometryCollection value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonGeometry value. + + The type of the coordinates. + + + + Gets the actual type. + + The context. + The actual type. + + + + Represents a serializer for a GeoJsonLinearRingCoordinates value. + + The type of the coordinates. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonLineStringCoordinates value. + + The type of the coordinates. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonLineString value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonLinkedCoordinateReferenceSystem value. + + + + + Initializes a new instance of the class. + + + + + Deserializes a class. + + The deserialization context. + The deserialization args. + An object. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonMultiLineStringCoordinates value. + + The type of the coordinates. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonMultiPointCoordinates value. + + The type of the coordinates. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonMultiPoint value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonMultiLineString value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonMultiPolygonCoordinates value. + + The type of the coordinates. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonMultiPolygon value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonNamedCoordinateReferenceSystem value. + + + + + Initializes a new instance of the class. + + + + + Deserializes a class. + + The deserialization context. + The deserialization args. + An object. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJson object. + + The type of the coordinates. + + + + Gets the actual type. + + The context. + The actual type. + + + + Represents a serializer for a GeoJsonPoint value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonPolygonCoordinates value. + + The type of the coordinates. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonPolygon value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJson2DCoordinates value. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + A static class containing helper methods to create GeoJson objects. + + + + + Creates a GeoJson bounding box. + + The type of the coordinates. + The min. + The max. + A GeoJson bounding box. + + + + Creates a GeoJson Feature object. + + The type of the coordinates. + The geometry. + A GeoJson Feature object. + + + + Creates a GeoJson Feature object. + + The type of the coordinates. + The additional args. + The geometry. + A GeoJson Feature object. + + + + Creates a GeoJson FeatureCollection object. + + The type of the coordinates. + The additional args. + The features. + A GeoJson FeatureCollection object. + + + + Creates a GeoJson FeatureCollection object. + + The type of the coordinates. + The features. + A GeoJson FeatureCollection object. + + + + Creates a GeoJson 2D geographic position (longitude, latitude). + + The longitude. + The latitude. + A GeoJson 2D geographic position. + + + + Creates a GeoJson 3D geographic position (longitude, latitude, altitude). + + The longitude. + The latitude. + The altitude. + A GeoJson 3D geographic position. + + + + Creates a GeoJson GeometryCollection object. + + The type of the coordinates. + The additional args. + The geometries. + A GeoJson GeometryCollection object. + + + + Creates a GeoJson GeometryCollection object. + + The type of the coordinates. + The geometries. + A GeoJson GeometryCollection object. + + + + Creates the coordinates of a GeoJson linear ring. + + The type of the coordinates. + The positions. + The coordinates of a GeoJson linear ring. + + + + Creates a GeoJson LineString object. + + The type of the coordinates. + The additional args. + The positions. + A GeoJson LineString object. + + + + Creates a GeoJson LineString object. + + The type of the coordinates. + The positions. + A GeoJson LineString object. + + + + Creates the coordinates of a GeoJson LineString. + + The type of the coordinates. + The positions. + The coordinates of a GeoJson LineString. + + + + Creates a GeoJson MultiLineString object. + + The type of the coordinates. + The additional args. + The line strings. + A GeoJson MultiLineString object. + + + + Creates a GeoJson MultiLineString object. + + The type of the coordinates. + The line strings. + A GeoJson MultiLineString object. + + + + Creates a GeoJson MultiPoint object. + + The type of the coordinates. + The additional args. + The positions. + A GeoJson MultiPoint object. + + + + Creates a GeoJson MultiPoint object. + + The type of the coordinates. + The positions. + A GeoJson MultiPoint object. + + + + Creates a GeoJson MultiPolygon object. + + The type of the coordinates. + The additional args. + The polygons. + A GeoJson MultiPolygon object. + + + + Creates a GeoJson MultiPolygon object. + + The type of the coordinates. + The polygons. + A GeoJson MultiPolygon object. + + + + Creates a GeoJson Point object. + + The type of the coordinates. + The additional args. + The coordinates. + A GeoJson Point object. + + + + Creates a GeoJson Point object. + + The type of the coordinates. + The coordinates. + A GeoJson Point object. + + + + Creates a GeoJson Polygon object. + + The type of the coordinates. + The additional args. + The positions. + A GeoJson Polygon object. + + + + Creates a GeoJson Polygon object. + + The type of the coordinates. + The additional args. + The coordinates. + A GeoJson Polygon object. + + + + Creates a GeoJson Polygon object. + + The type of the coordinates. + The coordinates. + A GeoJson Polygon object. + + + + Creates a GeoJson Polygon object. + + The type of the coordinates. + The positions. + A GeoJson Polygon object. + + + + Creates the coordinates of a GeoJson Polygon object. + + The type of the coordinates. + The positions. + The coordinates of a GeoJson Polygon object. + + + + Creates the coordinates of a GeoJson Polygon object. + + The type of the coordinates. + The exterior. + The holes. + The coordinates of a GeoJson Polygon object. + + + + Creates a GeoJson 2D position (x, y). + + The x. + The y. + A GeoJson 2D position. + + + + Creates a GeoJson 3D position (x, y, z). + + The x. + The y. + The z. + A GeoJson 3D position. + + + + Creates a GeoJson 2D projected position (easting, northing). + + The easting. + The northing. + A GeoJson 2D projected position. + + + + Creates a GeoJson 3D projected position (easting, northing, altitude). + + The easting. + The northing. + The altitude. + A GeoJson 3D projected position. + + + + Represents a GeoJson bounding box. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The min. + The max. + + + + Gets the max. + + + + + Gets the min. + + + + + Represents a GeoJson coordinate reference system (see subclasses). + + + + + Gets the type of the GeoJson coordinate reference system. + + + + + Represents a GeoJson Feature object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The geometry. + + + + Initializes a new instance of the class. + + The additional args. + The geometry. + + + + Gets the geometry. + + + + + Gets the id. + + + + + Gets the properties. + + + + + Gets the type of the GeoJson object. + + + + + Represents additional arguments for a GeoJson Feature object. + + The type of the coordinates. + + + + Gets or sets the id. + + + + + Gets or sets the properties. + + + + + Represents a GeoJson FeatureCollection. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The features. + + + + Initializes a new instance of the class. + + The additional args. + The features. + + + + Gets the features. + + + + + Gets the type of the GeoJson object. + + + + + Represents a GeoJson Geometry object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The additional args. + + + + Represents a GeoJson GeometryCollection object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The geometries. + + + + Initializes a new instance of the class. + + The additional args. + The geometries. + + + + Gets the geometries. + + + + + Gets the type of the GeoJson object. + + + + + Represents the coordinates of a GeoJson linear ring. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The positions. + + + + Represents a GeoJson LineString object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The coordinates. + + + + Initializes a new instance of the class. + + The additional args. + The coordinates. + + + + Gets the coordinates. + + + + + Gets the type of the GeoJson object. + + + + + Represents the coordinates of a GeoJson LineString object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The positions. + + + + Gets the positions. + + + + + Represents a GeoJson linked coordinate reference system. + + + + + Initializes a new instance of the class. + + The href. + + + + Initializes a new instance of the class. + + The href. + Type of the href. + + + + Gets the href. + + + + + Gets the type of the href. + + + + + Gets the type of the GeoJson coordinate reference system. + + + + + Represents a GeoJson MultiLineString object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The coordinates. + + + + Initializes a new instance of the class. + + The additional args. + The coordinates. + + + + Gets the coordinates. + + + + + Gets the type of the GeoJson object. + + + + + Represents the coordinates of a GeoJson MultiLineString object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The line strings. + + + + Gets the LineStrings. + + + + + Represents a GeoJson MultiPoint object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The coordinates. + + + + Initializes a new instance of the class. + + The additional args. + The coordinates. + + + + Gets the coordinates. + + + + + Gets the type of the GeoJson object. + + + + + Represents the coordinates of a GeoJson MultiPoint object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The positions. + + + + Gets the positions. + + + + + Represents the coordinates of a GeoJson MultiPolygon object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The polygons. + + + + Gets the Polygons. + + + + + Represents a GeoJson MultiPolygon object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The coordinates. + + + + Initializes a new instance of the class. + + The additional args. + The coordinates. + + + + Gets the coordinates. + + + + + Gets the type of the GeoJson object. + + + + + Represents a GeoJson named coordinate reference system. + + + + + Initializes a new instance of the class. + + The name. + + + + Gets the name. + + + + + Gets the type of the GeoJson coordinate reference system. + + + + + Represents a GeoJson object (see subclasses). + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The additional args. + + + + Gets the bounding box. + + + + + Gets the coordinate reference system. + + + + + Gets the extra members. + + + + + Gets the type of the GeoJson object. + + + + + Represents additional args provided when creating a GeoJson object. + + The type of the coordinates. + + + + Gets or sets the bounding box. + + + + + Gets or sets the coordinate reference system. + + + + + Gets or sets the extra members. + + + + + Represents the type of a GeoJson object. + + + + + A Feature. + + + + + A FeatureCollection. + + + + + A GeometryCollection. + + + + + A LineString. + + + + + A MultiLineString. + + + + + A MultiPoint. + + + + + A MultiPolygon. + + + + + A Point. + + + + + A Polygon. + + + + + Represents a GeoJson Point object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The coordinates. + + + + Initializes a new instance of the class. + + The additional args. + The coordinates. + + + + Gets the coordinates. + + + + + Gets the type of the GeoJson object. + + + + + Represents a GeoJson Polygon object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The coordinates. + + + + Initializes a new instance of the class. + + The additional args. + The coordinates. + + + + Gets the coordinates. + + + + + Gets the type of the GeoJson object. + + + + + Represents the coordinates of a GeoJson Polygon object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The exterior. + + + + Initializes a new instance of the class. + + The exterior. + The holes. + + + + Gets the exterior. + + + + + Gets the holes. + + + + + Represents a GeoJson position in some coordinate system (see subclasses). + + + + + Gets the coordinate values. + + + + + Determines whether two instances are equal. + + The LHS. + The RHS. + + true if the left hand side is equal to the right hand side; otherwise, false. + + + + + Determines whether two instances are not equal. + + The LHS. + The RHS. + + true if the left hand side is not equal to the right hand side; otherwise, false. + + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + + + + + Represents a GeoJson 2D position (x, y). + + + + + Initializes a new instance of the class. + + The x coordinate. + The y coordinate. + + + + Gets the coordinate values. + + + + + Gets the X coordinate. + + + + + Gets the Y coordinate. + + + + + Represents a GeoJson 3D position (x, y, z). + + + + + Initializes a new instance of the class. + + The x coordinate. + The y coordinate. + The z coordinate. + + + + Gets the coordinate values. + + + + + Gets the X coordinate. + + + + + Gets the Y coordinate. + + + + + Gets the Z coordinate. + + + + + Represents a GeoJson 2D geographic position (longitude, latitude). + + + + + Initializes a new instance of the class. + + The longitude. + The latitude. + + + + Gets the coordinate values. + + + + + Gets the longitude. + + + + + Gets the latitude. + + + + + Represents a GeoJson 3D geographic position (longitude, latitude, altitude). + + + + + Initializes a new instance of the class. + + The longitude. + The latitude. + The altitude. + + + + Gets the coordinate values. + + + + + Gets the longitude. + + + + + Gets the latitude. + + + + + Gets the altitude. + + + + + Represents a GeoJson 2D projected position (easting, northing). + + + + + Initializes a new instance of the class. + + The easting. + The northing. + + + + Gets the coordinate values. + + + + + Gets the easting. + + + + + Gets the northing. + + + + + Represents a GeoJson 3D projected position (easting, northing, altitude). + + + + + Initializes a new instance of the class. + + The easting. + The northing. + The altitude. + + + + Gets the coordinate values. + + + + + Gets the easting. + + + + + Gets the northing. + + + + + Gets the altitude. + + + + + The client interface to MongoDB. + + + This interface is not guaranteed to remain stable. Implementors should use + . + + + + + Gets the cluster. + + + The cluster. + + + + + Gets the settings. + + + + + Drops the database with the specified name. + + The name of the database to drop. + The cancellation token. + + + + Drops the database with the specified name. + + The name of the database to drop. + The cancellation token. + A task. + + + + Gets a database. + + The name of the database. + The database settings. + An implementation of a database. + + + + Lists the databases on the server. + + The cancellation token. + A cursor. + + + + Lists the databases on the server. + + The cancellation token. + A Task whose result is a cursor. + + + + Returns a new IMongoClient instance with a different read concern setting. + + The read concern. + A new IMongoClient instance with a different read concern setting. + + + + Returns a new IMongoClient instance with a different read preference setting. + + The read preference. + A new IMongoClient instance with a different read preference setting. + + + + Returns a new IMongoClient instance with a different write concern setting. + + The write concern. + A new IMongoClient instance with a different write concern setting. + + + + Represents a typed collection in MongoDB. + + + This interface is not guaranteed to remain stable. Implementors should use + . + + The type of the documents stored in the collection. + + + + Gets the namespace of the collection. + + + + + Gets the database. + + + + + Gets the document serializer. + + + + + Gets the index manager. + + + + + Gets the settings. + + + + + Runs an aggregation pipeline. + + The type of the result. + The pipeline. + The options. + The cancellation token. + A cursor. + + + + Runs an aggregation pipeline. + + The type of the result. + The pipeline. + The options. + The cancellation token. + A Task whose result is a cursor. + + + + Performs multiple write operations. + + The requests. + The options. + The cancellation token. + The result of writing. + + + + Performs multiple write operations. + + The requests. + The options. + The cancellation token. + The result of writing. + + + + Counts the number of documents in the collection. + + The filter. + The options. + The cancellation token. + + The number of documents in the collection. + + + + + Counts the number of documents in the collection. + + The filter. + The options. + The cancellation token. + + The number of documents in the collection. + + + + + Deletes multiple documents. + + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Deletes multiple documents. + + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Deletes multiple documents. + + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Deletes multiple documents. + + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Gets the distinct values for a specified field. + + The type of the result. + The field. + The filter. + The options. + The cancellation token. + A cursor. + + + + Gets the distinct values for a specified field. + + The type of the result. + The field. + The filter. + The options. + The cancellation token. + A Task whose result is a cursor. + + + + Finds the documents matching the filter. + + The type of the projection (same as TDocument if there is no projection). + The filter. + The options. + The cancellation token. + A cursor. + + + + Finds the documents matching the filter. + + The type of the projection (same as TDocument if there is no projection). + The filter. + The options. + The cancellation token. + A Task whose result is a cursor. + + + + Finds a single document and deletes it atomically. + + The type of the projection (same as TDocument if there is no projection). + The filter. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and deletes it atomically. + + The type of the projection (same as TDocument if there is no projection). + The filter. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The type of the projection (same as TDocument if there is no projection). + The filter. + The replacement. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The type of the projection (same as TDocument if there is no projection). + The filter. + The replacement. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and updates it atomically. + + The type of the projection (same as TDocument if there is no projection). + The filter. + The update. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and updates it atomically. + + The type of the projection (same as TDocument if there is no projection). + The filter. + The update. + The options. + The cancellation token. + + The returned document. + + + + + Inserts a single document. + + The document. + The options. + The cancellation token. + + + + Inserts a single document. + + The document. + The cancellation token. + + The result of the insert operation. + + + + + Inserts a single document. + + The document. + The options. + The cancellation token. + + The result of the insert operation. + + + + + Inserts many documents. + + The documents. + The options. + The cancellation token. + + + + Inserts many documents. + + The documents. + The options. + The cancellation token. + + The result of the insert operation. + + + + + Executes a map-reduce command. + + The type of the result. + The map function. + The reduce function. + The options. + The cancellation token. + A cursor. + + + + Executes a map-reduce command. + + The type of the result. + The map function. + The reduce function. + The options. + The cancellation token. + A Task whose result is a cursor. + + + + Returns a filtered collection that appears to contain only documents of the derived type. + All operations using this filtered collection will automatically use discriminators as necessary. + + The type of the derived document. + A filtered collection. + + + + Replaces a single document. + + The filter. + The replacement. + The options. + The cancellation token. + + The result of the replacement. + + + + + Replaces a single document. + + The filter. + The replacement. + The options. + The cancellation token. + + The result of the replacement. + + + + + Updates many documents. + + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Updates many documents. + + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Updates a single document. + + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Updates a single document. + + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Returns a new IMongoCollection instance with a different read concern setting. + + The read concern. + A new IMongoCollection instance with a different read concern setting. + + + + Returns a new IMongoCollection instance with a different read preference setting. + + The read preference. + A new IMongoCollection instance with a different read preference setting. + + + + Returns a new IMongoCollection instance with a different write concern setting. + + The write concern. + A new IMongoCollection instance with a different write concern setting. + + + + Representats a database in MongoDB. + + + This interface is not guaranteed to remain stable. Implementors should use + . + + + + + Gets the client. + + + + + Gets the namespace of the database. + + + + + Gets the settings. + + + + + Creates the collection with the specified name. + + The name. + The options. + The cancellation token. + + + + Creates the collection with the specified name. + + The name. + The options. + The cancellation token. + A task. + + + + Creates a view. + + The type of the input documents. + The type of the pipeline result documents. + The name of the view. + The name of the collection that the view is on. + The pipeline. + The options. + The cancellation token. + + + + Creates a view. + + The type of the input documents. + The type of the pipeline result documents. + The name of the view. + The name of the collection that the view is on. + The pipeline. + The options. + The cancellation token. + A task. + + + + Drops the collection with the specified name. + + The name of the collection to drop. + The cancellation token. + + + + Drops the collection with the specified name. + + The name of the collection to drop. + The cancellation token. + A task. + + + + Gets a collection. + + The document type. + The name of the collection. + The settings. + An implementation of a collection. + + + + Lists all the collections on the server. + + The options. + The cancellation token. + A cursor. + + + + Lists all the collections on the server. + + The options. + The cancellation token. + A Task whose result is a cursor. + + + + Renames the collection. + + The old name. + The new name. + The options. + The cancellation token. + + + + Renames the collection. + + The old name. + The new name. + The options. + The cancellation token. + A task. + + + + Runs a command. + + The result type of the command. + The command. + The read preference. + The cancellation token. + + The result of the command. + + + + + Runs a command. + + The result type of the command. + The command. + The read preference. + The cancellation token. + + The result of the command. + + + + + Returns a new IMongoDatabase instance with a different read concern setting. + + The read concern. + A new IMongoDatabase instance with a different read concern setting. + + + + Returns a new IMongoDatabase instance with a different read preference setting. + + The read preference. + A new IMongoDatabase instance with a different read preference setting. + + + + Returns a new IMongoDatabase instance with a different write concern setting. + + The write concern. + A new IMongoDatabase instance with a different write concern setting. + + + + The result of a delete operation. + + + + + Gets the deleted count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets a value indicating whether the result is acknowleded. + + + + + Initializes a new instance of the class. + + + + + The result of an acknowledged delete operation. + + + + + Initializes a new instance of the class. + + The deleted count. + + + + + + + + + + The result of an unacknowledged delete operation. + + + + + Gets the instance. + + + + + + + + + + + Model for inserting a single document. + + The type of the document. + + + + Initializes a new instance of the class. + + The document. + + + + Gets the document. + + + + + Gets the type of the model. + + + + + Model for replacing a single document. + + The type of the document. + + + + Initializes a new instance of the class. + + The filter. + The replacement. + + + + Gets or sets the collation. + + + + + Gets the filter. + + + + + Gets or sets a value indicating whether to insert the document if it doesn't already exist. + + + + + Gets the replacement. + + + + + Gets the type of the model. + + + + + The cursor type. + + + + + A non-tailable cursor. This is sufficient for a vast majority of uses. + + + + + A tailable cursor. + + + + + A tailable cursor with a built-in server sleep. + + + + + Which version of the document to return when executing a FindAndModify command. + + + + + Return the document before the modification. + + + + + Return the document after the modification. + + + + + A rendered projection. + + The type of the projection. + + + + Initializes a new instance of the class. + + The document. + The projection serializer. + + + + Gets the document. + + + + + Gets the serializer. + + + + + Base class for projections whose projection type is not yet known. + + The type of the source. + + + + Renders the projection to a . + + The source serializer. + The serializer registry. + A . + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + Base class for projections. + + The type of the source. + The type of the projection. + + + + Renders the projection to a . + + The source serializer. + The serializer registry. + A . + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The projection. + + The result of the conversion. + + + + + A based projection whose projection type is not yet known. + + The type of the source. + + + + Initializes a new instance of the class. + + The document. + + + + Gets the document. + + + + + + + + A based projection. + + The type of the source. + The type of the projection. + + + + Initializes a new instance of the class. + + The document. + The projection serializer. + + + + Gets the document. + + + + + Gets the projection serializer. + + + + + + + + A find based projection. + + The type of the source. + The type of the projection. + + + + Initializes a new instance of the class. + + The expression. + + + + Gets the expression. + + + + + + + + A JSON based projection whose projection type is not yet known. + + The type of the source. + + + + Initializes a new instance of the class. + + The json. + + + + Gets the json. + + + + + + + + A JSON based projection. + + The type of the source. + The type of the projection. + + + + Initializes a new instance of the class. + + The json. + The projection serializer. + + + + Gets the json. + + + + + Gets the projection serializer. + + + + + + + + An based projection whose projection type is not yet known. + + The type of the source. + + + + Initializes a new instance of the class. + + The object. + + + + Gets the object. + + + + + + + + An based projection. + + The type of the source. + The type of the projection. + + + + Initializes a new instance of the class. + + The object. + The projection serializer. + + + + Gets the object. + + + + + Gets the projection serializer. + + + + + + + + A client side only projection that is implemented solely by deserializing using a different serializer. + + The type of the source. + The type of the projection. + + + + Initializes a new instance of the class. + + The projection serializer. + + + + Gets the result serializer. + + + The result serializer. + + + + + + + + A rendered field. + + + + + Initializes a new instance of the class. + + The field name. + The field serializer. + + + + Gets the field name. + + + + + Gets the field serializer. + + + + + A rendered field. + + The type of the field. + + + + Initializes a new instance of the class. + + The field name. + The field serializer. + + + + Initializes a new instance of the class. + + The field name. + The field serializer. + The value serializer. + The underlying serializer. + + + + Gets the field name. + + + + + Gets the field serializer. + + + + + Gets the underlying serializer. + + + + + Gets the value serializer. + + + + + Base class for field names. + + The type of the document. + + + + Renders the field to a . + + The document serializer. + The serializer registry. + A . + + + + Performs an implicit conversion from to . + + Name of the field. + + The result of the conversion. + + + + + Base class for field names. + + The type of the document. + The type of the field. + + + + Renders the field to a . + + The document serializer. + The serializer registry. + A . + + + + Performs an implicit conversion from to . + + Name of the field. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The field. + + The result of the conversion. + + + + + An based field. + + The type of the document. + + + + Initializes a new instance of the class. + + The expression. + + + + Gets the expression. + + + + + + + + An based field. + + The type of the document. + The type of the field. + + + + Initializes a new instance of the class. + + The expression. + + + + Gets the expression. + + + + + + + + A based field name. + + The type of the document. + + + + Initializes a new instance of the class. + + Name of the field. + + + + + + + A based field name. + + The type of the document. + The type of the field. + + + + Initializes a new instance of the class. + + Name of the field. + The field serializer. + + + + + + + The direction of the sort. + + + + + Ascending. + + + + + Descending. + + + + + Base class for sorts. + + The type of the document. + + + + Renders the sort to a . + + The document serializer. + The serializer registry. + A . + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + A based sort. + + The type of the document. + + + + Initializes a new instance of the class. + + The document. + + + + Gets the document. + + + + + + + + A JSON based sort. + + The type of the document. + + + + Initializes a new instance of the class. + + The json. + + + + Gets the json. + + + + + + + + An based sort. + + The type of the document. + + + + Initializes a new instance of the class. + + The object. + + + + Gets the object. + + + + + + + + Base class for updates. + + The type of the document. + + + + Renders the update to a . + + The document serializer. + The serializer registry. + A . + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + A based update. + + The type of the document. + + + + Initializes a new instance of the class. + + The document. + + + + Gets the document. + + + + + + + + A JSON based update. + + The type of the document. + + + + Initializes a new instance of the class. + + The json. + + + + Gets the json. + + + + + + + + An based update. + + The type of the document. + + + + Initializes a new instance of the class. + + The object. + + + + Gets the object. + + + + + + + + Options for updating a single document. + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets the collation. + + + + + Gets or sets a value indicating whether to insert the document if it doesn't already exist. + + + + + Model for updating a single document. + + The type of the document. + + + + Initializes a new instance of the class. + + The filter. + The update. + + + + Gets or sets the collation. + + + + + Gets the filter. + + + + + Gets or sets a value indicating whether to insert the document if it doesn't already exist. + + + + + Gets the update. + + + + + + + + Model for updating many documents. + + The type of the document. + + + + Initializes a new instance of the class. + + The filter. + The update. + + + + Gets or sets the collation. + + + + + Gets the filter. + + + + + Gets or sets a value indicating whether to insert the document if it doesn't already exist. + + + + + Gets the update. + + + + + + + + Model for deleting many documents. + + The type of the document. + + + + Initializes a new instance of the class. + + The filter. + + + + Gets or sets the collation. + + + + + Gets the filter. + + + + + Gets the type of the model. + + + + + Model for deleting a single document. + + The type of the document. + + + + Initializes a new instance of the class. + + The filter. + + + + Gets or sets the collation. + + + + + Gets the filter. + + + + + Gets the type of the model. + + + + + The result of an update operation. + + + + + Gets a value indicating whether the result is acknowleded. + + + + + Gets a value indicating whether the modified count is available. + + + The modified count is only available when all servers have been upgraded to 2.6 or above. + + + + + Gets the matched count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the modified count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the upserted id, if one exists. If IsAcknowledged is false, this will throw an exception. + + + + + Initializes a new instance of the class. + + + + + The result of an acknowledged update operation. + + + + + Initializes a new instance of the class. + + The matched count. + The modified count. + The upserted id. + + + + + + + + + + + + + + + + + + + The result of an unacknowledged update operation. + + + + + Gets the instance. + + + + + + + + + + + + + + + + + + + + The result of an update operation. + + + + + Gets a value indicating whether the result is acknowleded. + + + + + Gets a value indicating whether the modified count is available. + + + The modified count is only available when all servers have been upgraded to 2.6 or above. + + + + + Gets the matched count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the modified count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the upserted id, if one exists. If IsAcknowledged is false, this will throw an exception. + + + + + Initializes a new instance of the class. + + + + + The result of an acknowledgede update operation. + + + + + Initializes a new instance of the class. + + The matched count. + The modified count. + The upserted id. + + + + + + + + + + + + + + + + + + + The result of an acknowledgede update operation. + + + + + Gets the instance. + + + + + + + + + + + + + + + + + + + + Represents the details of a write concern error. + + + + + Gets the error code. + + + + + Gets the error information. + + + + + Gets the error message. + + + + + Represents the result of a bulk write operation. + + + + + Initializes a new instance of the class. + + The request count. + + + + Gets the number of documents that were deleted. + + + + + Gets the number of documents that were inserted. + + + + + Gets a value indicating whether the bulk write operation was acknowledged. + + + + + Gets a value indicating whether the modified count is available. + + + The modified count is only available when all servers have been upgraded to 2.6 or above. + + + + + Gets the number of documents that were matched. + + + + + Gets the number of documents that were actually modified during an update. + + + + + Gets the request count. + + + + + Gets a list with information about each request that resulted in an upsert. + + + + + Represents the result of a bulk write operation. + + The type of the document. + + + + Initializes a new instance of the class. + + The request count. + The processed requests. + + + + Gets the processed requests. + + + + + Result from an acknowledged write concern. + + + + + Initializes a new instance of the class. + + The request count. + The matched count. + The deleted count. + The inserted count. + The modified count. + The processed requests. + The upserts. + + + + + + + + + + + + + + + + + + + + + + + + + Result from an unacknowledged write concern. + + + + + Initializes a new instance of the class. + + The request count. + The processed requests. + + + + + + + + + + + + + + + + + + + + + + + + + Represents the information about one Upsert. + + + + + Gets the id. + + + + + Gets the index. + + + + + Represents a bulk write exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The write errors. + The write concern error. + + + + Initializes a new instance of the MongoQueryException class (this overload supports deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Gets the write concern error. + + + + + Gets the write errors. + + + + + Gets the object data. + + The information. + The context. + + + + Represents a bulk write exception. + + The type of the document. + + + + Initializes a new instance of the class. + + The connection identifier. + The result. + The write errors. + The write concern error. + The unprocessed requests. + + + + Initializes a new instance of the MongoQueryException class (this overload supports deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Gets the result of the bulk write operation. + + + + + Gets the unprocessed requests. + + + + + Gets the object data. + + The information. + The context. + + + + + + + Initializes a new instance of the MongoClient class. + + + + + Initializes a new instance of the MongoClient class. + + The settings. + + + + Initializes a new instance of the MongoClient class. + + The URL. + + + + Initializes a new instance of the MongoClient class. + + The connection string. + + + + Gets the cluster. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The settings for a MongoDB client. + + + + + Creates a new instance of MongoClientSettings. Usually you would use a connection string instead. + + + + + Gets or sets the application name. + + + + + Gets or sets the cluster configurator. + + + + + Gets or sets the connection mode. + + + + + Gets or sets the connect timeout. + + + + + Gets or sets the credentials. + + + + + Gets or sets the representation to use for Guids. + + + + + Gets a value indicating whether the settings have been frozen to prevent further changes. + + + + + Gets or sets the heartbeat interval. + + + + + Gets or sets the heartbeat timeout. + + + + + Gets or sets a value indicating whether to use IPv6. + + + + + Gets or sets the local threshold. + + + + + Gets or sets the max connection idle time. + + + + + Gets or sets the max connection life time. + + + + + Gets or sets the max connection pool size. + + + + + Gets or sets the min connection pool size. + + + + + Gets or sets the read concern. + + + + + Gets or sets the Read Encoding. + + + + + Gets or sets the read preferences. + + + + + Gets or sets the name of the replica set. + + + + + Gets or sets the address of the server (see also Servers if using more than one address). + + + + + Gets or sets the list of server addresses (see also Server if using only one address). + + + + + Gets or sets the server selection timeout. + + + + + Gets or sets the socket timeout. + + + + + Gets or sets the SSL settings. + + + + + Gets or sets a value indicating whether to use SSL. + + + + + Gets or sets a value indicating whether to verify an SSL certificate. + + + + + Gets or sets the wait queue size. + + + + + Gets or sets the wait queue timeout. + + + + + Gets or sets the WriteConcern to use. + + + + + Gets or sets the Write Encoding. + + + + + Determines whether two instances are equal. + + The LHS. + The RHS. + + true if the left hand side is equal to the right hand side; otherwise, false. + + + + + Determines whether two instances are not equal. + + The LHS. + The RHS. + + true if the left hand side is not equal to the right hand side; otherwise, false. + + + + + Gets a MongoClientSettings object intialized with values from a MongoURL. + + The MongoURL. + A MongoClientSettings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Freezes the settings. + + The frozen settings. + + + + Returns a frozen copy of the settings. + + A frozen copy of the settings. + + + + Gets the hash code. + + The hash code. + + + + Returns a string representation of the settings. + + A string representation of the settings. + + + + The settings used to access a collection. + + + + + Initializes a new instance of the MongoCollectionSettings class. + + + + + Gets or sets a value indicating whether the driver should assign Id values when missing. + + + + + Gets or sets the representation used for Guids. + + + + + Gets a value indicating whether the settings have been frozen to prevent further changes. + + + + + Gets or sets the read concern. + + + + + Gets or sets the Read Encoding. + + + + + Gets or sets the read preference to use. + + + + + Gets the serializer registry. + + + + + Gets or sets the WriteConcern to use. + + + + + Gets or sets the Write Encoding. + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Compares two MongoCollectionSettings instances. + + The other instance. + True if the two instances are equal. + + + + Freezes the settings. + + The frozen settings. + + + + Returns a frozen copy of the settings. + + A frozen copy of the settings. + + + + Gets the hash code. + + The hash code. + + + + Returns a string representation of the settings. + + A string representation of the settings. + + + + Represents a list of credentials and the rules about how credentials can be used together. + + + + + Creates a new instance of the MongoCredentialStore class. + + The credentials. + + + + Determines whether two instances are equal. + + The LHS. + The RHS. + + true if the left hand side is equal to the right hand side; otherwise, false. + + + + + Determines whether two instances are not equal. + + The LHS. + The RHS. + + true if the left hand side is not equal to the right hand side; otherwise, false. + + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Gets the enumerator. + + + + + + Gets the hashcode for the credential store. + + The hashcode. + + + + Returns a string representation of the credential store. + + A string representation of the credential store. + + + + Returns an enumerator that iterates through a collection. + + + An object that can be used to iterate through the collection. + + + + + The settings used to access a database. + + + + + Creates a new instance of MongoDatabaseSettings. + + + + + Gets or sets the representation to use for Guids. + + + + + Gets a value indicating whether the settings have been frozen to prevent further changes. + + + + + Gets or sets the read concern. + + + + + Gets or sets the Read Encoding. + + + + + Gets or sets the read preference. + + + + + Gets the serializer registry. + + + + + Gets or sets the WriteConcern to use. + + + + + Gets or sets the Write Encoding. + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Compares two MongoDatabaseSettings instances. + + The other instance. + True if the two instances are equal. + + + + Freezes the settings. + + The frozen settings. + + + + Returns a frozen copy of the settings. + + A frozen copy of the settings. + + + + Gets the hash code. + + The hash code. + + + + Returns a string representation of the settings. + + A string representation of the settings. + + + + Represents a DBRef (a convenient way to refer to a document). + + + + + Creates a MongoDBRef. + + The name of the collection that contains the document. + The Id of the document. + + + + Creates a MongoDBRef. + + The name of the database that contains the document. + The name of the collection that contains the document. + The Id of the document. + + + + Gets the name of the database that contains the document. + + + + + Gets the name of the collection that contains the document. + + + + + Gets the Id of the document. + + + + + Determines whether two specified MongoDBRef objects have different values. + + The first value to compare, or null. + The second value to compare, or null. + True if the value of lhs is different from the value of rhs; otherwise, false. + + + + Determines whether two specified MongoDBRef objects have the same value. + + The first value to compare, or null. + The second value to compare, or null. + True if the value of lhs is the same as the value of rhs; otherwise, false. + + + + Determines whether two specified MongoDBRef objects have the same value. + + The first value to compare, or null. + The second value to compare, or null. + True if the value of lhs is the same as the value of rhs; otherwise, false. + + + + Determines whether this instance and another specified MongoDBRef object have the same value. + + The MongoDBRef object to compare to this instance. + True if the value of the rhs parameter is the same as this instance; otherwise, false. + + + + Determines whether this instance and a specified object, which must also be a MongoDBRef object, have the same value. + + The MongoDBRef object to compare to this instance. + True if obj is a MongoDBRef object and its value is the same as this instance; otherwise, false. + + + + Returns the hash code for this MongoDBRef object. + + A 32-bit signed integer hash code. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents a serializer for MongoDBRefs. + + + + + Initializes a new instance of the class. + + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents an identity defined outside of mongodb. + + + + + Initializes a new instance of the class. + + The username. + + + + Initializes a new instance of the class. + + The source. + The username. + + + + Represents an identity in MongoDB. + + + + + Initializes a new instance of the class. + + The source. + The username. + Whether to allow null usernames. + + + + Gets the source. + + + + + Gets the username. + + + + + Compares two MongoIdentity values. + + The first MongoIdentity. + The other MongoIdentity. + True if the two MongoIdentity values are equal (or both null). + + + + Compares two MongoIdentity values. + + The first MongoIdentity. + The other MongoIdentity. + True if the two MongoIdentity values are not equal (or one is null and the other is not). + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Determines whether the specified instance is equal to this instance. + + The right-hand side. + + true if the specified instance is equal to this instance; otherwise, false. + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + + + + + Evidence used as proof of a MongoIdentity. + + + + + Initializes a new instance of the class. + + + + + Compares two MongoIdentityEvidences. + + The first MongoIdentityEvidence. + The other MongoIdentityEvidence. + True if the two MongoIdentityEvidences are equal (or both null). + + + + Compares two MongoIdentityEvidences. + + The first MongoIdentityEvidence. + The other MongoIdentityEvidence. + True if the two MongoIdentityEvidences are not equal (or one is null and the other is not). + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + + + + + Represents an identity defined inside mongodb. + + + + + Initializes a new instance of the class. + + Name of the database. + The username. + + + + Represents URL style connection strings. This is the recommended connection string style, but see also + MongoConnectionStringBuilder if you wish to use .NET style connection strings. + + + + + Creates a new instance of MongoUrlBuilder. + + + + + Creates a new instance of MongoUrlBuilder. + + The initial settings. + + + + Gets or sets the application name. + + + + + Gets or sets the authentication mechanism. + + + + + Gets or sets the authentication mechanism properties. + + + + + Gets or sets the authentication source. + + + + + Gets the actual wait queue size (either WaitQueueSize or WaitQueueMultiple x MaxConnectionPoolSize). + + + + + Gets or sets the connection mode. + + + + + Gets or sets the connect timeout. + + + + + Gets or sets the optional database name. + + + + + Gets or sets the FSync component of the write concern. + + + + + Gets or sets the representation to use for Guids. + + + + + Gets or sets the heartbeat interval. + + + + + Gets or sets the heartbeat timeout. + + + + + Gets or sets a value indicating whether to use IPv6. + + + + + Gets or sets the Journal component of the write concern. + + + + + Gets or sets the local threshold. + + + + + Gets or sets the max connection idle time. + + + + + Gets or sets the max connection life time. + + + + + Gets or sets the max connection pool size. + + + + + Gets or sets the min connection pool size. + + + + + Gets or sets the password. + + + + + Gets or sets the read concern level. + + + + + Gets or sets the read preference. + + + + + Gets or sets the name of the replica set. + + + + + Gets or sets the address of the server (see also Servers if using more than one address). + + + + + Gets or sets the list of server addresses (see also Server if using only one address). + + + + + Gets or sets the server selection timeout. + + + + + Gets or sets the socket timeout. + + + + + Gets or sets the username. + + + + + Gets or sets a value indicating whether to use SSL. + + + + + Gets or sets a value indicating whether to verify an SSL certificate. + + + + + Gets or sets the W component of the write concern. + + + + + Gets or sets the wait queue multiple (the actual wait queue size will be WaitQueueMultiple x MaxConnectionPoolSize). + + + + + Gets or sets the wait queue size. + + + + + Gets or sets the wait queue timeout. + + + + + Gets or sets the WTimeout component of the write concern. + + + + + Returns a WriteConcern value based on this instance's settings and a default enabled value. + + The default enabled value. + A WriteConcern. + + + + Parses a URL and sets all settings to match the URL. + + The URL. + + + + Creates a new instance of MongoUrl based on the settings in this MongoUrlBuilder. + + A new instance of MongoUrl. + + + + Returns the canonical URL based on the settings in this MongoUrlBuilder. + + The canonical URL. + + + + Evidence of a MongoIdentity via a shared secret. + + + + + Initializes a new instance of the class. + + The password. + + + + Initializes a new instance of the class. + + The password. + + + + Gets the password. + + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + + + + + Computes the MONGODB-CR password digest. + + The username. + + + + + Computes the hash value of the secured string + + + + + Represents a setting that may or may not have been set. + + The type of the value. + + + + Gets the value of the setting. + + + + + Gets a value indicating whether the setting has been set. + + + + + Resets the setting to the unset state. + + + + + Gets a canonical string representation for this setting. + + A canonical string representation for this setting. + + + + Represents the settings for using SSL. + + + + + Gets or sets a value indicating whether to check for certificate revocation. + + + + + Gets or sets the client certificates. + + + + + Gets or sets the client certificate selection callback. + + + + + Gets or sets the enabled SSL protocols. + + + + + Gets or sets the server certificate validation callback. + + + + + Determines whether two instances are equal. + + The LHS. + The RHS. + + true if the left hand side is equal to the right hand side; otherwise, false. + + + + + Determines whether two instances are not equal. + + The LHS. + The RHS. + + true if the left hand side is not equal to the right hand side; otherwise, false. + + + + + Clones an SslSettings. + + The cloned SslSettings. + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Freezes the settings. + + The frozen settings. + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + + + + + Returns a string representation of the settings. + + A string representation of the settings. + + + + Various static utility methods. + + + + + Gets the MD5 hash of a string. + + The string to get the MD5 hash of. + The MD5 hash. + + + + Creates a TimeSpan from microseconds. + + The microseconds. + The TimeSpan. + + + + Converts a string to camel case by lower casing the first letter (only the first letter is modified). + + The string to camel case. + The camel cased string. + + + + Should only be used when the safety of the data cannot be guaranteed. For instance, + when the secure string is a password used in a plain text protocol. + + The secure string. + The CLR string. + + + + Default values for various Mongo settings. + + + + + Gets or sets whether the driver should assign a value to empty Ids on Insert. + + + + + Gets or sets the default authentication mechanism. + + + + + Gets the actual wait queue size (either WaitQueueSize or WaitQueueMultiple x MaxConnectionPoolSize). + + + + + Gets or sets the connect timeout. + + + + + Gets or sets the representation to use for Guids (this is an alias for BsonDefaults.GuidRepresentation). + + + + + Gets or sets the default local threshold. + + + + + Gets or sets the maximum batch count. + + + + + Gets or sets the max connection idle time. + + + + + Gets or sets the max connection life time. + + + + + Gets or sets the max connection pool size. + + + + + Gets or sets the max document size + + + + + Gets or sets the max message length. + + + + + Gets or sets the min connection pool size. + + + + + Gets or sets the operation timeout. + + + + + Gets or sets the Read Encoding. + + + + + Gets or sets the server selection timeout. + + + + + Gets or sets the socket timeout. + + + + + Gets or sets the TCP receive buffer size. + + + + + Gets or sets the TCP send buffer size. + + + + + Gets or sets the wait queue multiple (the actual wait queue size will be WaitQueueMultiple x MaxConnectionPoolSize, see also WaitQueueSize). + + + + + Gets or sets the wait queue size (see also WaitQueueMultiple). + + + + + Gets or sets the wait queue timeout. + + + + + Gets or sets the Write Encoding. + + + + + Credential to access a MongoDB database. + + + + + Initializes a new instance of the class. + + Mechanism to authenticate with. + The identity. + The evidence. + + + + Gets the evidence. + + + + + Gets the identity. + + + + + Gets the mechanism to authenticate with. + + + + + Gets the password. + + + + + Gets the source. + + + + + Gets the username. + + + + + Compares two MongoCredentials. + + The first MongoCredential. + The other MongoCredential. + True if the two MongoCredentials are equal (or both null). + + + + Compares two MongoCredentials. + + The first MongoCredential. + The other MongoCredential. + True if the two MongoCredentials are not equal (or one is null and the other is not). + + + + Creates a default credential. + + Name of the database. + The username. + The password. + A default credential. + + + + Creates a default credential. + + Name of the database. + The username. + The password. + A default credential. + + + + Creates a GSSAPI credential. + + The username. + A credential for GSSAPI. + This overload is used primarily on linux. + + + + Creates a GSSAPI credential. + + The username. + The password. + A credential for GSSAPI. + + + + Creates a GSSAPI credential. + + The username. + The password. + A credential for GSSAPI. + + + + Creates a credential used with MONGODB-CR. + + Name of the database. + The username. + The password. + A credential for MONGODB-CR. + + + + Creates a credential used with MONGODB-CR. + + Name of the database. + The username. + The password. + A credential for MONGODB-CR. + + + + Creates a credential used with MONGODB-CR. + + The username. + A credential for MONGODB-X509. + + + + Creates a PLAIN credential. + + Name of the database. + The username. + The password. + A credential for PLAIN. + + + + Creates a PLAIN credential. + + Name of the database. + The username. + The password. + A credential for PLAIN. + + + + Gets the mechanism property. + + The type of the mechanism property. + The key. + The default value. + The mechanism property if one was set; otherwise the default value. + + + + Compares this MongoCredential to another MongoCredential. + + The other credential. + True if the two credentials are equal. + + + + Compares this MongoCredential to another MongoCredential. + + The other credential. + True if the two credentials are equal. + + + + Gets the hashcode for the credential. + + The hashcode. + + + + Returns a string representation of the credential. + + A string representation of the credential. + + + + Creates a new MongoCredential with the specified mechanism property. + + The key. + The value. + A new MongoCredential with the specified mechanism property. + + + + The address of a MongoDB server. + + + + + Initializes a new instance of MongoServerAddress. + + The server's host name. + + + + Initializes a new instance of MongoServerAddress. + + The server's host name. + The server's port number. + + + + Parses a string representation of a server address. + + The string representation of a server address. + A new instance of MongoServerAddress initialized with values parsed from the string. + + + + Tries to parse a string representation of a server address. + + The string representation of a server address. + The server address (set to null if TryParse fails). + True if the string is parsed succesfully. + + + + Gets the server's host name. + + + + + Gets the server's port number. + + + + + Compares two server addresses. + + The first address. + The other address. + True if the two addresses are equal (or both are null). + + + + Compares two server addresses. + + The first address. + The other address. + True if the two addresses are not equal (or one is null and the other is not). + + + + Compares two server addresses. + + The other server address. + True if the two server addresses are equal. + + + + Compares two server addresses. + + The other server address. + True if the two server addresses are equal. + + + + Gets the hash code for this object. + + The hash code. + + + + Returns a string representation of the server address. + + A string representation of the server address. + + + + Represents an immutable URL style connection string. See also MongoUrlBuilder. + + + + + Creates a new instance of MongoUrl. + + The URL containing the settings. + + + + Gets the application name. + + + + + Gets the authentication mechanism. + + + + + Gets the authentication mechanism properties. + + + + + Gets the authentication source. + + + + + Gets the actual wait queue size (either WaitQueueSize or WaitQueueMultiple x MaxConnectionPoolSize). + + + + + Gets the connection mode. + + + + + Gets the connect timeout. + + + + + Gets the optional database name. + + + + + Gets the FSync component of the write concern. + + + + + Gets the representation to use for Guids. + + + + + Gets a value indicating whether this instance has authentication settings. + + + + + Gets the heartbeat interval. + + + + + Gets the heartbeat timeout. + + + + + Gets a value indicating whether to use IPv6. + + + + + Gets the Journal component of the write concern. + + + + + Gets the local threshold. + + + + + Gets the max connection idle time. + + + + + Gets the max connection life time. + + + + + Gets the max connection pool size. + + + + + Gets the min connection pool size. + + + + + Gets the password. + + + + + Gets the read concern level. + + + + + Gets the read preference. + + + + + Gets the name of the replica set. + + + + + Gets the address of the server (see also Servers if using more than one address). + + + + + Gets the list of server addresses (see also Server if using only one address). + + + + + Gets the server selection timeout. + + + + + Gets the socket timeout. + + + + + Gets the URL (in canonical form). + + + + + Gets the username. + + + + + Gets a value indicating whether to use SSL. + + + + + Gets a value indicating whether to verify an SSL certificate. + + + + + Gets the W component of the write concern. + + + + + Gets the wait queue multiple (the actual wait queue size will be WaitQueueMultiple x MaxConnectionPoolSize). + + + + + Gets the wait queue size. + + + + + Gets the wait queue timeout. + + + + + Gets the WTimeout component of the write concern. + + + + + Compares two MongoUrls. + + The first URL. + The other URL. + True if the two URLs are equal (or both null). + + + + Compares two MongoUrls. + + The first URL. + The other URL. + True if the two URLs are not equal (or one is null and the other is not). + + + + Clears the URL cache. When a URL is parsed it is stored in the cache so that it doesn't have to be + parsed again. There is rarely a need to call this method. + + + + + Creates an instance of MongoUrl (might be an existing existence if the same URL has been used before). + + The URL containing the settings. + An instance of MongoUrl. + + + + Compares two MongoUrls. + + The other URL. + True if the two URLs are equal. + + + + Compares two MongoUrls. + + The other URL. + True if the two URLs are equal. + + + + Gets the credential. + + The credential (or null if the URL has not authentication settings). + + + + Gets the hash code. + + The hash code. + + + + Returns a WriteConcern value based on this instance's settings and a default enabled value. + + The default enabled value. + A WriteConcern. + + + + Returns the canonical URL based on the settings in this MongoUrlBuilder. + + The canonical URL. + + + + Evidence of a MongoIdentity via an external mechanism. For example, on windows this may + be the current process' user or, on linux, via kinit. + + + + + Initializes a new instance of the class. + + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + + + + + Represents a write exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The write error. + The write concern error. + The inner exception. + + + + Initializes a new instance of the MongoQueryException class (this overload supports deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Gets the write concern error. + + + + + Gets the write error. + + + + + Gets the object data. + + The information. + The context. + + + + Represents the details of a write error. + + + + + Gets the category. + + + + + Gets the error code. + + + + + Gets the error details. + + + + + Gets the error message. + + + + + Base class for a write model. + + The type of the document. + + + + Gets the type of the model. + + + + + The type of a write model. + + + + + A model to insert a single document. + + + + + A model to delete a single document. + + + + + A model to delete multiple documents. + + + + + A model to replace a single document. + + + + + A model to update a single document. + + + + + A model to update many documents. + + + + diff --git a/MongoDbGenericRepository/bin/MongoDbGenericRepository.dll b/MongoDbGenericRepository/bin/MongoDbGenericRepository.dll index 6177217..a7c922a 100644 Binary files a/MongoDbGenericRepository/bin/MongoDbGenericRepository.dll and b/MongoDbGenericRepository/bin/MongoDbGenericRepository.dll differ diff --git a/MongoDbGenericRepository/bin/MongoDbGenericRepository.dll.config b/MongoDbGenericRepository/bin/MongoDbGenericRepository.dll.config index 7f52c1f..c23472f 100644 --- a/MongoDbGenericRepository/bin/MongoDbGenericRepository.dll.config +++ b/MongoDbGenericRepository/bin/MongoDbGenericRepository.dll.config @@ -5,24 +5,28 @@ --> - - + + - - - - - - - + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/MongoDbGenericRepository/bin/MongoDbGenericRepository.pdb b/MongoDbGenericRepository/bin/MongoDbGenericRepository.pdb index d6875e9..21eba16 100644 Binary files a/MongoDbGenericRepository/bin/MongoDbGenericRepository.pdb and b/MongoDbGenericRepository/bin/MongoDbGenericRepository.pdb differ diff --git a/MongoDbGenericRepository/bin/System.Runtime.InteropServices.RuntimeInformation.dll b/MongoDbGenericRepository/bin/System.Runtime.InteropServices.RuntimeInformation.dll new file mode 100644 index 0000000..360e92a Binary files /dev/null and b/MongoDbGenericRepository/bin/System.Runtime.InteropServices.RuntimeInformation.dll differ diff --git a/MongoDbGenericRepository/bin/roslyn/Microsoft.Build.Tasks.CodeAnalysis.dll b/MongoDbGenericRepository/bin/roslyn/Microsoft.Build.Tasks.CodeAnalysis.dll index 4aca434..0a70fbe 100644 Binary files a/MongoDbGenericRepository/bin/roslyn/Microsoft.Build.Tasks.CodeAnalysis.dll and b/MongoDbGenericRepository/bin/roslyn/Microsoft.Build.Tasks.CodeAnalysis.dll differ diff --git a/MongoDbGenericRepository/bin/roslyn/Microsoft.CSharp.Core.targets b/MongoDbGenericRepository/bin/roslyn/Microsoft.CSharp.Core.targets index 65629e5..885d32a 100644 --- a/MongoDbGenericRepository/bin/roslyn/Microsoft.CSharp.Core.targets +++ b/MongoDbGenericRepository/bin/roslyn/Microsoft.CSharp.Core.targets @@ -1,27 +1,42 @@ - - + + + + + + + + + + + @(IntermediateAssembly); + @(IntermediateRefAssembly); + @(_DebugSymbolsIntermediatePath); + $(NonExistentFile); + @(CustomAdditionalCompileOutputs)" + Returns="@(CscCommandLineArgs)" + DependsOnTargets="$(CoreCompileDependsOn)"> @@ -31,22 +46,22 @@ - $(NoWarn);2008 + $(NoWarn);2008 - - - - + + + + - $(AppConfig) + $(AppConfig) - $(IntermediateOutputPath)$(TargetName).compile.pdb + $(IntermediateOutputPath)$(TargetName).compile.pdb @@ -54,6 +69,8 @@ false + @@ -64,72 +81,85 @@ - + + + <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" /> - + - + \ No newline at end of file diff --git a/MongoDbGenericRepository/bin/roslyn/Microsoft.CodeAnalysis.CSharp.Scripting.dll b/MongoDbGenericRepository/bin/roslyn/Microsoft.CodeAnalysis.CSharp.Scripting.dll new file mode 100644 index 0000000..3fe3ba9 Binary files /dev/null and b/MongoDbGenericRepository/bin/roslyn/Microsoft.CodeAnalysis.CSharp.Scripting.dll differ diff --git a/MongoDbGenericRepository/bin/roslyn/Microsoft.CodeAnalysis.CSharp.dll b/MongoDbGenericRepository/bin/roslyn/Microsoft.CodeAnalysis.CSharp.dll index c01c29f..f098ba9 100644 Binary files a/MongoDbGenericRepository/bin/roslyn/Microsoft.CodeAnalysis.CSharp.dll and b/MongoDbGenericRepository/bin/roslyn/Microsoft.CodeAnalysis.CSharp.dll differ diff --git a/MongoDbGenericRepository/bin/roslyn/Microsoft.CodeAnalysis.Scripting.dll b/MongoDbGenericRepository/bin/roslyn/Microsoft.CodeAnalysis.Scripting.dll new file mode 100644 index 0000000..3d5420d Binary files /dev/null and b/MongoDbGenericRepository/bin/roslyn/Microsoft.CodeAnalysis.Scripting.dll differ diff --git a/MongoDbGenericRepository/bin/roslyn/Microsoft.CodeAnalysis.VisualBasic.dll b/MongoDbGenericRepository/bin/roslyn/Microsoft.CodeAnalysis.VisualBasic.dll index a48642f..1fe33fb 100644 Binary files a/MongoDbGenericRepository/bin/roslyn/Microsoft.CodeAnalysis.VisualBasic.dll and b/MongoDbGenericRepository/bin/roslyn/Microsoft.CodeAnalysis.VisualBasic.dll differ diff --git a/MongoDbGenericRepository/bin/roslyn/Microsoft.CodeAnalysis.dll b/MongoDbGenericRepository/bin/roslyn/Microsoft.CodeAnalysis.dll index c216197..0e403ee 100644 Binary files a/MongoDbGenericRepository/bin/roslyn/Microsoft.CodeAnalysis.dll and b/MongoDbGenericRepository/bin/roslyn/Microsoft.CodeAnalysis.dll differ diff --git a/MongoDbGenericRepository/bin/roslyn/Microsoft.DiaSymReader.Native.amd64.dll b/MongoDbGenericRepository/bin/roslyn/Microsoft.DiaSymReader.Native.amd64.dll new file mode 100644 index 0000000..d5ee45e Binary files /dev/null and b/MongoDbGenericRepository/bin/roslyn/Microsoft.DiaSymReader.Native.amd64.dll differ diff --git a/MongoDbGenericRepository/bin/roslyn/Microsoft.DiaSymReader.Native.x86.dll b/MongoDbGenericRepository/bin/roslyn/Microsoft.DiaSymReader.Native.x86.dll new file mode 100644 index 0000000..8625ad1 Binary files /dev/null and b/MongoDbGenericRepository/bin/roslyn/Microsoft.DiaSymReader.Native.x86.dll differ diff --git a/MongoDbGenericRepository/bin/roslyn/Microsoft.VisualBasic.Core.targets b/MongoDbGenericRepository/bin/roslyn/Microsoft.VisualBasic.Core.targets index 4dc93e3..89249ef 100644 --- a/MongoDbGenericRepository/bin/roslyn/Microsoft.VisualBasic.Core.targets +++ b/MongoDbGenericRepository/bin/roslyn/Microsoft.VisualBasic.Core.targets @@ -1,41 +1,56 @@ - - + + + + + + + + + + + @(IntermediateAssembly); + @(IntermediateRefAssembly); + @(_DebugSymbolsIntermediatePath); + $(NonExistentFile); + @(CustomAdditionalCompileOutputs)" + Returns="@(VbcCommandLineArgs)" + DependsOnTargets="$(CoreCompileDependsOn)"> - <_NoWarnings Condition=" '$(WarningLevel)' == '0' ">true - <_NoWarnings Condition=" '$(WarningLevel)' == '1' ">false + <_NoWarnings Condition="'$(WarningLevel)' == '0'">true + <_NoWarnings Condition="'$(WarningLevel)' == '1'">false - $(IntermediateOutputPath)$(TargetName).compile.pdb + $(IntermediateOutputPath)$(TargetName).compile.pdb - - - - + + + + @@ -43,6 +58,8 @@ false + @@ -53,81 +70,93 @@ - - + + + <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" /> - + - + \ No newline at end of file diff --git a/MongoDbGenericRepository/bin/roslyn/Microsoft.Win32.Primitives.dll b/MongoDbGenericRepository/bin/roslyn/Microsoft.Win32.Primitives.dll new file mode 100644 index 0000000..d7b2a2c Binary files /dev/null and b/MongoDbGenericRepository/bin/roslyn/Microsoft.Win32.Primitives.dll differ diff --git a/MongoDbGenericRepository/bin/roslyn/System.AppContext.dll b/MongoDbGenericRepository/bin/roslyn/System.AppContext.dll new file mode 100644 index 0000000..5cb9dfb Binary files /dev/null and b/MongoDbGenericRepository/bin/roslyn/System.AppContext.dll differ diff --git a/MongoDbGenericRepository/bin/roslyn/System.Collections.Immutable.dll b/MongoDbGenericRepository/bin/roslyn/System.Collections.Immutable.dll index 888e914..ce6fc0e 100644 Binary files a/MongoDbGenericRepository/bin/roslyn/System.Collections.Immutable.dll and b/MongoDbGenericRepository/bin/roslyn/System.Collections.Immutable.dll differ diff --git a/MongoDbGenericRepository/bin/roslyn/System.Console.dll b/MongoDbGenericRepository/bin/roslyn/System.Console.dll new file mode 100644 index 0000000..f47e609 Binary files /dev/null and b/MongoDbGenericRepository/bin/roslyn/System.Console.dll differ diff --git a/MongoDbGenericRepository/bin/roslyn/System.Diagnostics.FileVersionInfo.dll b/MongoDbGenericRepository/bin/roslyn/System.Diagnostics.FileVersionInfo.dll new file mode 100644 index 0000000..77248bf Binary files /dev/null and b/MongoDbGenericRepository/bin/roslyn/System.Diagnostics.FileVersionInfo.dll differ diff --git a/MongoDbGenericRepository/bin/roslyn/System.Diagnostics.Process.dll b/MongoDbGenericRepository/bin/roslyn/System.Diagnostics.Process.dll new file mode 100644 index 0000000..e03db64 Binary files /dev/null and b/MongoDbGenericRepository/bin/roslyn/System.Diagnostics.Process.dll differ diff --git a/MongoDbGenericRepository/bin/roslyn/System.Diagnostics.StackTrace.dll b/MongoDbGenericRepository/bin/roslyn/System.Diagnostics.StackTrace.dll new file mode 100644 index 0000000..5ec85f3 Binary files /dev/null and b/MongoDbGenericRepository/bin/roslyn/System.Diagnostics.StackTrace.dll differ diff --git a/MongoDbGenericRepository/bin/roslyn/System.IO.Compression.dll b/MongoDbGenericRepository/bin/roslyn/System.IO.Compression.dll new file mode 100644 index 0000000..f8468a6 Binary files /dev/null and b/MongoDbGenericRepository/bin/roslyn/System.IO.Compression.dll differ diff --git a/MongoDbGenericRepository/bin/roslyn/System.IO.FileSystem.DriveInfo.dll b/MongoDbGenericRepository/bin/roslyn/System.IO.FileSystem.DriveInfo.dll new file mode 100644 index 0000000..754677f Binary files /dev/null and b/MongoDbGenericRepository/bin/roslyn/System.IO.FileSystem.DriveInfo.dll differ diff --git a/MongoDbGenericRepository/bin/roslyn/System.IO.FileSystem.Primitives.dll b/MongoDbGenericRepository/bin/roslyn/System.IO.FileSystem.Primitives.dll new file mode 100644 index 0000000..ad9c238 Binary files /dev/null and b/MongoDbGenericRepository/bin/roslyn/System.IO.FileSystem.Primitives.dll differ diff --git a/MongoDbGenericRepository/bin/roslyn/System.IO.FileSystem.dll b/MongoDbGenericRepository/bin/roslyn/System.IO.FileSystem.dll new file mode 100644 index 0000000..7c43977 Binary files /dev/null and b/MongoDbGenericRepository/bin/roslyn/System.IO.FileSystem.dll differ diff --git a/MongoDbGenericRepository/bin/roslyn/System.IO.Pipes.dll b/MongoDbGenericRepository/bin/roslyn/System.IO.Pipes.dll new file mode 100644 index 0000000..f0b233a Binary files /dev/null and b/MongoDbGenericRepository/bin/roslyn/System.IO.Pipes.dll differ diff --git a/MongoDbGenericRepository/bin/roslyn/System.Reflection.Metadata.dll b/MongoDbGenericRepository/bin/roslyn/System.Reflection.Metadata.dll index a3ac7a2..ee68731 100644 Binary files a/MongoDbGenericRepository/bin/roslyn/System.Reflection.Metadata.dll and b/MongoDbGenericRepository/bin/roslyn/System.Reflection.Metadata.dll differ diff --git a/MongoDbGenericRepository/bin/roslyn/System.Security.AccessControl.dll b/MongoDbGenericRepository/bin/roslyn/System.Security.AccessControl.dll new file mode 100644 index 0000000..ea65f02 Binary files /dev/null and b/MongoDbGenericRepository/bin/roslyn/System.Security.AccessControl.dll differ diff --git a/MongoDbGenericRepository/bin/roslyn/System.Security.Claims.dll b/MongoDbGenericRepository/bin/roslyn/System.Security.Claims.dll new file mode 100644 index 0000000..4e28e4c Binary files /dev/null and b/MongoDbGenericRepository/bin/roslyn/System.Security.Claims.dll differ diff --git a/MongoDbGenericRepository/bin/roslyn/System.Security.Cryptography.Algorithms.dll b/MongoDbGenericRepository/bin/roslyn/System.Security.Cryptography.Algorithms.dll new file mode 100644 index 0000000..fa8ad65 Binary files /dev/null and b/MongoDbGenericRepository/bin/roslyn/System.Security.Cryptography.Algorithms.dll differ diff --git a/MongoDbGenericRepository/bin/roslyn/System.Security.Cryptography.Encoding.dll b/MongoDbGenericRepository/bin/roslyn/System.Security.Cryptography.Encoding.dll new file mode 100644 index 0000000..de1ec5e Binary files /dev/null and b/MongoDbGenericRepository/bin/roslyn/System.Security.Cryptography.Encoding.dll differ diff --git a/MongoDbGenericRepository/bin/roslyn/System.Security.Cryptography.Primitives.dll b/MongoDbGenericRepository/bin/roslyn/System.Security.Cryptography.Primitives.dll new file mode 100644 index 0000000..16b2446 Binary files /dev/null and b/MongoDbGenericRepository/bin/roslyn/System.Security.Cryptography.Primitives.dll differ diff --git a/MongoDbGenericRepository/bin/roslyn/System.Security.Cryptography.X509Certificates.dll b/MongoDbGenericRepository/bin/roslyn/System.Security.Cryptography.X509Certificates.dll new file mode 100644 index 0000000..e6af960 Binary files /dev/null and b/MongoDbGenericRepository/bin/roslyn/System.Security.Cryptography.X509Certificates.dll differ diff --git a/MongoDbGenericRepository/bin/roslyn/System.Security.Principal.Windows.dll b/MongoDbGenericRepository/bin/roslyn/System.Security.Principal.Windows.dll new file mode 100644 index 0000000..06601a1 Binary files /dev/null and b/MongoDbGenericRepository/bin/roslyn/System.Security.Principal.Windows.dll differ diff --git a/MongoDbGenericRepository/bin/roslyn/System.Text.Encoding.CodePages.dll b/MongoDbGenericRepository/bin/roslyn/System.Text.Encoding.CodePages.dll new file mode 100644 index 0000000..0f2f447 Binary files /dev/null and b/MongoDbGenericRepository/bin/roslyn/System.Text.Encoding.CodePages.dll differ diff --git a/MongoDbGenericRepository/bin/roslyn/System.Threading.Thread.dll b/MongoDbGenericRepository/bin/roslyn/System.Threading.Thread.dll new file mode 100644 index 0000000..c0271b0 Binary files /dev/null and b/MongoDbGenericRepository/bin/roslyn/System.Threading.Thread.dll differ diff --git a/MongoDbGenericRepository/bin/roslyn/System.ValueTuple.dll b/MongoDbGenericRepository/bin/roslyn/System.ValueTuple.dll new file mode 100644 index 0000000..78a1851 Binary files /dev/null and b/MongoDbGenericRepository/bin/roslyn/System.ValueTuple.dll differ diff --git a/MongoDbGenericRepository/bin/roslyn/System.Xml.ReaderWriter.dll b/MongoDbGenericRepository/bin/roslyn/System.Xml.ReaderWriter.dll new file mode 100644 index 0000000..3d5103b Binary files /dev/null and b/MongoDbGenericRepository/bin/roslyn/System.Xml.ReaderWriter.dll differ diff --git a/MongoDbGenericRepository/bin/roslyn/System.Xml.XPath.XDocument.dll b/MongoDbGenericRepository/bin/roslyn/System.Xml.XPath.XDocument.dll new file mode 100644 index 0000000..ada40e0 Binary files /dev/null and b/MongoDbGenericRepository/bin/roslyn/System.Xml.XPath.XDocument.dll differ diff --git a/MongoDbGenericRepository/bin/roslyn/System.Xml.XPath.dll b/MongoDbGenericRepository/bin/roslyn/System.Xml.XPath.dll new file mode 100644 index 0000000..86a25a3 Binary files /dev/null and b/MongoDbGenericRepository/bin/roslyn/System.Xml.XPath.dll differ diff --git a/MongoDbGenericRepository/bin/roslyn/System.Xml.XmlDocument.dll b/MongoDbGenericRepository/bin/roslyn/System.Xml.XmlDocument.dll new file mode 100644 index 0000000..cf138d3 Binary files /dev/null and b/MongoDbGenericRepository/bin/roslyn/System.Xml.XmlDocument.dll differ diff --git a/MongoDbGenericRepository/bin/roslyn/VBCSCompiler.exe b/MongoDbGenericRepository/bin/roslyn/VBCSCompiler.exe index b2dceff..236e793 100644 Binary files a/MongoDbGenericRepository/bin/roslyn/VBCSCompiler.exe and b/MongoDbGenericRepository/bin/roslyn/VBCSCompiler.exe differ diff --git a/MongoDbGenericRepository/bin/roslyn/VBCSCompiler.exe.config b/MongoDbGenericRepository/bin/roslyn/VBCSCompiler.exe.config index 8b14258..f0d9411 100644 --- a/MongoDbGenericRepository/bin/roslyn/VBCSCompiler.exe.config +++ b/MongoDbGenericRepository/bin/roslyn/VBCSCompiler.exe.config @@ -1,14 +1,142 @@ - + - + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + \ No newline at end of file diff --git a/MongoDbGenericRepository/bin/roslyn/csc.exe b/MongoDbGenericRepository/bin/roslyn/csc.exe index 44c3c41..2e9c551 100644 Binary files a/MongoDbGenericRepository/bin/roslyn/csc.exe and b/MongoDbGenericRepository/bin/roslyn/csc.exe differ diff --git a/MongoDbGenericRepository/bin/roslyn/csc.exe.config b/MongoDbGenericRepository/bin/roslyn/csc.exe.config new file mode 100644 index 0000000..f768ff4 --- /dev/null +++ b/MongoDbGenericRepository/bin/roslyn/csc.exe.config @@ -0,0 +1,137 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/MongoDbGenericRepository/bin/roslyn/csc.rsp b/MongoDbGenericRepository/bin/roslyn/csc.rsp new file mode 100644 index 0000000..ce72ac6 --- /dev/null +++ b/MongoDbGenericRepository/bin/roslyn/csc.rsp @@ -0,0 +1,46 @@ +# Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +# This file contains command-line options that the C# +# command line compiler (CSC) will process as part +# of every compilation, unless the "/noconfig" option +# is specified. + +# Reference the common Framework libraries +/r:Accessibility.dll +/r:Microsoft.CSharp.dll +/r:System.Configuration.dll +/r:System.Configuration.Install.dll +/r:System.Core.dll +/r:System.Data.dll +/r:System.Data.DataSetExtensions.dll +/r:System.Data.Linq.dll +/r:System.Data.OracleClient.dll +/r:System.Deployment.dll +/r:System.Design.dll +/r:System.DirectoryServices.dll +/r:System.dll +/r:System.Drawing.Design.dll +/r:System.Drawing.dll +/r:System.EnterpriseServices.dll +/r:System.Management.dll +/r:System.Messaging.dll +/r:System.Runtime.Remoting.dll +/r:System.Runtime.Serialization.dll +/r:System.Runtime.Serialization.Formatters.Soap.dll +/r:System.Security.dll +/r:System.ServiceModel.dll +/r:System.ServiceModel.Web.dll +/r:System.ServiceProcess.dll +/r:System.Transactions.dll +/r:System.Web.dll +/r:System.Web.Extensions.Design.dll +/r:System.Web.Extensions.dll +/r:System.Web.Mobile.dll +/r:System.Web.RegularExpressions.dll +/r:System.Web.Services.dll +/r:System.Windows.Forms.dll +/r:System.Workflow.Activities.dll +/r:System.Workflow.ComponentModel.dll +/r:System.Workflow.Runtime.dll +/r:System.Xml.dll +/r:System.Xml.Linq.dll diff --git a/MongoDbGenericRepository/bin/roslyn/csi.exe b/MongoDbGenericRepository/bin/roslyn/csi.exe new file mode 100644 index 0000000..b09da32 Binary files /dev/null and b/MongoDbGenericRepository/bin/roslyn/csi.exe differ diff --git a/MongoDbGenericRepository/bin/roslyn/csi.exe.config b/MongoDbGenericRepository/bin/roslyn/csi.exe.config new file mode 100644 index 0000000..19d03cc --- /dev/null +++ b/MongoDbGenericRepository/bin/roslyn/csi.exe.config @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/MongoDbGenericRepository/bin/roslyn/csi.rsp b/MongoDbGenericRepository/bin/roslyn/csi.rsp new file mode 100644 index 0000000..2ec6fc9 --- /dev/null +++ b/MongoDbGenericRepository/bin/roslyn/csi.rsp @@ -0,0 +1,14 @@ +/r:System +/r:System.Core +/r:Microsoft.CSharp +/r:System.ValueTuple.dll +/u:System +/u:System.IO +/u:System.Collections.Generic +/u:System.Console +/u:System.Diagnostics +/u:System.Dynamic +/u:System.Linq +/u:System.Linq.Expressions +/u:System.Text +/u:System.Threading.Tasks \ No newline at end of file diff --git a/MongoDbGenericRepository/bin/roslyn/vbc.exe b/MongoDbGenericRepository/bin/roslyn/vbc.exe index bc98748..5449d21 100644 Binary files a/MongoDbGenericRepository/bin/roslyn/vbc.exe and b/MongoDbGenericRepository/bin/roslyn/vbc.exe differ diff --git a/MongoDbGenericRepository/bin/roslyn/vbc.exe.config b/MongoDbGenericRepository/bin/roslyn/vbc.exe.config new file mode 100644 index 0000000..f768ff4 --- /dev/null +++ b/MongoDbGenericRepository/bin/roslyn/vbc.exe.config @@ -0,0 +1,137 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/MongoDbGenericRepository/bin/roslyn/vbc.rsp b/MongoDbGenericRepository/bin/roslyn/vbc.rsp new file mode 100644 index 0000000..8350880 --- /dev/null +++ b/MongoDbGenericRepository/bin/roslyn/vbc.rsp @@ -0,0 +1,55 @@ +# Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +# This file contains command-line options that the VB +# command line compiler (VBC) will process as part +# of every compilation, unless the "/noconfig" option +# is specified. + +# Reference the common Framework libraries +/r:Accessibility.dll +/r:System.Configuration.dll +/r:System.Configuration.Install.dll +/r:System.Data.dll +/r:System.Data.OracleClient.dll +/r:System.Deployment.dll +/r:System.Design.dll +/r:System.DirectoryServices.dll +/r:System.dll +/r:System.Drawing.Design.dll +/r:System.Drawing.dll +/r:System.EnterpriseServices.dll +/r:System.Management.dll +/r:System.Messaging.dll +/r:System.Runtime.Remoting.dll +/r:System.Runtime.Serialization.Formatters.Soap.dll +/r:System.Security.dll +/r:System.ServiceProcess.dll +/r:System.Transactions.dll +/r:System.Web.dll +/r:System.Web.Mobile.dll +/r:System.Web.RegularExpressions.dll +/r:System.Web.Services.dll +/r:System.Windows.Forms.dll +/r:System.XML.dll + +/r:System.Workflow.Activities.dll +/r:System.Workflow.ComponentModel.dll +/r:System.Workflow.Runtime.dll +/r:System.Runtime.Serialization.dll +/r:System.ServiceModel.dll + +/r:System.Core.dll +/r:System.Xml.Linq.dll +/r:System.Data.Linq.dll +/r:System.Data.DataSetExtensions.dll +/r:System.Web.Extensions.dll +/r:System.Web.Extensions.Design.dll +/r:System.ServiceModel.Web.dll + +# Import System and Microsoft.VisualBasic +/imports:System +/imports:Microsoft.VisualBasic +/imports:System.Linq +/imports:System.Xml.Linq + +/optioninfer+ diff --git a/MongoDbGenericRepository/obj/Debug/CoreCompileInputs.cache b/MongoDbGenericRepository/obj/Debug/CoreCompileInputs.cache new file mode 100644 index 0000000..92258cc --- /dev/null +++ b/MongoDbGenericRepository/obj/Debug/CoreCompileInputs.cache @@ -0,0 +1 @@ +8c4c84e6333b2486436914a7dfb1c8f300d365fd diff --git a/MongoDbGenericRepository/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/MongoDbGenericRepository/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache index 6e398ed..c5e0e98 100644 Binary files a/MongoDbGenericRepository/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/MongoDbGenericRepository/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/MongoDbGenericRepository/obj/Debug/MongoDbGenericRepository.csproj.FileListAbsolute.txt b/MongoDbGenericRepository/obj/Debug/MongoDbGenericRepository.csproj.FileListAbsolute.txt index b072993..7f560ec 100644 --- a/MongoDbGenericRepository/obj/Debug/MongoDbGenericRepository.csproj.FileListAbsolute.txt +++ b/MongoDbGenericRepository/obj/Debug/MongoDbGenericRepository.csproj.FileListAbsolute.txt @@ -23,3 +23,19 @@ c:\users\alex\documents\visual studio 2015\Projects\MongoDbGenericRepository\Mon c:\users\alex\documents\visual studio 2015\Projects\MongoDbGenericRepository\MongoDbGenericRepository\obj\Debug\MongoDbGenericRepository.dll c:\users\alex\documents\visual studio 2015\Projects\MongoDbGenericRepository\MongoDbGenericRepository\obj\Debug\MongoDbGenericRepository.pdb c:\users\alex\documents\visual studio 2015\Projects\MongoDbGenericRepository\MongoDbGenericRepository\bin\ApplicationInsights.config +C:\dev\MongoDbRepoUpdate\MongoDbGenericRepository\bin\ApplicationInsights.config +C:\dev\MongoDbRepoUpdate\MongoDbGenericRepository\bin\MongoDbGenericRepository.dll.config +C:\dev\MongoDbRepoUpdate\MongoDbGenericRepository\bin\MongoDbGenericRepository.dll +C:\dev\MongoDbRepoUpdate\MongoDbGenericRepository\bin\MongoDbGenericRepository.pdb +C:\dev\MongoDbRepoUpdate\MongoDbGenericRepository\bin\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll +C:\dev\MongoDbRepoUpdate\MongoDbGenericRepository\bin\MongoDB.Bson.dll +C:\dev\MongoDbRepoUpdate\MongoDbGenericRepository\bin\MongoDB.Driver.Core.dll +C:\dev\MongoDbRepoUpdate\MongoDbGenericRepository\bin\MongoDB.Driver.dll +C:\dev\MongoDbRepoUpdate\MongoDbGenericRepository\bin\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.xml +C:\dev\MongoDbRepoUpdate\MongoDbGenericRepository\bin\MongoDB.Bson.xml +C:\dev\MongoDbRepoUpdate\MongoDbGenericRepository\bin\MongoDB.Driver.xml +C:\dev\MongoDbRepoUpdate\MongoDbGenericRepository\obj\Debug\MongoDbGenericRepository.dll +C:\dev\MongoDbRepoUpdate\MongoDbGenericRepository\obj\Debug\MongoDbGenericRepository.pdb +C:\dev\MongoDbRepoUpdate\MongoDbGenericRepository\obj\Debug\MongoDbGenericRepository.csprojResolveAssemblyReference.cache +C:\dev\MongoDbRepoUpdate\MongoDbGenericRepository\bin\System.Runtime.InteropServices.RuntimeInformation.dll +C:\dev\MongoDbRepoUpdate\MongoDbGenericRepository\bin\MongoDB.Driver.Core.xml diff --git a/MongoDbGenericRepository/obj/Debug/MongoDbGenericRepository.csprojResolveAssemblyReference.cache b/MongoDbGenericRepository/obj/Debug/MongoDbGenericRepository.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..92245e1 Binary files /dev/null and b/MongoDbGenericRepository/obj/Debug/MongoDbGenericRepository.csprojResolveAssemblyReference.cache differ diff --git a/MongoDbGenericRepository/obj/Debug/MongoDbGenericRepository.dll b/MongoDbGenericRepository/obj/Debug/MongoDbGenericRepository.dll index 6177217..a7c922a 100644 Binary files a/MongoDbGenericRepository/obj/Debug/MongoDbGenericRepository.dll and b/MongoDbGenericRepository/obj/Debug/MongoDbGenericRepository.dll differ diff --git a/MongoDbGenericRepository/obj/Debug/MongoDbGenericRepository.pdb b/MongoDbGenericRepository/obj/Debug/MongoDbGenericRepository.pdb index d6875e9..21eba16 100644 Binary files a/MongoDbGenericRepository/obj/Debug/MongoDbGenericRepository.pdb and b/MongoDbGenericRepository/obj/Debug/MongoDbGenericRepository.pdb differ diff --git a/MongoDbGenericRepository/packages.config b/MongoDbGenericRepository/packages.config index 1326891..0b1a60f 100644 --- a/MongoDbGenericRepository/packages.config +++ b/MongoDbGenericRepository/packages.config @@ -1,8 +1,9 @@  - - - - - + + + + + + \ No newline at end of file diff --git a/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0/content/web.config.install.xdt b/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0/content/web.config.install.xdt deleted file mode 100644 index 71cc95a..0000000 --- a/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0/content/web.config.install.xdt +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0/content/web.config.uninstall.xdt b/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0/content/web.config.uninstall.xdt deleted file mode 100644 index 5733481..0000000 --- a/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0/content/web.config.uninstall.xdt +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/packages/Microsoft.Net.Compilers.1.0.0/ThirdPartyNotices.rtf b/packages/Microsoft.Net.Compilers.1.0.0/ThirdPartyNotices.rtf deleted file mode 100644 index b74371f..0000000 --- a/packages/Microsoft.Net.Compilers.1.0.0/ThirdPartyNotices.rtf +++ /dev/null @@ -1,54 +0,0 @@ -{\rtf1\ansi\ansicpg1252\deff0\nouicompat\deflang1033\deflangfe1033{\fonttbl{\f0\fswiss\fprq2\fcharset0 Tahoma;}} -{\colortbl ;\red0\green0\blue255;} -{\*\generator Riched20 10.0.10037}{\*\mmathPr\mnaryLim0\mdispDef1\mwrapIndent1440 }\viewkind4\uc1 -\pard\nowidctlpar\sb120\sa120\f0\fs19 THIRD-PARTY SOFTWARE NOTICES AND INFORMATION\par -Do Not Translate or Localize\par -\par -This file provides information regarding components that are being relicensed to you by Microsoft Corporation under Microsoft's software licensing terms. Microsoft Corporation reserves all rights not expressly granted herein.\par -\par -%% \caps .NET Compiler Platform\caps0 NOTICES AND INFORMATION BEGIN HERE\par -=========================================\par -Copyright (C) .NET Foundation. All rights reserved.\par -\par -Apache License, Version 2.0\par -Apache License\par -Version 2.0, January 2004\par -{{\field{\*\fldinst{HYPERLINK http://www.apache.org/licenses/ }}{\fldrslt{http://www.apache.org/licenses/\ul0\cf0}}}}\f0\fs19\par -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\par -1. Definitions.\par -"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.\par -"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.\par -"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.\par -"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.\par -"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.\par -"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.\par -"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).\par -"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.\par -"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."\par -"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.\par -2. Grant of Copyright License.\par -Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.\par -3. Grant of Patent License.\par -Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.\par -4. Redistribution.\par -You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:\par -1. You must give any other recipients of the Work or Derivative Works a copy of this License; and\par -2. You must cause any modified files to carry prominent notices stating that You changed the files; and\par -3. You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and\par -4. If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.\par -You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.\par -5. Submission of Contributions.\par -Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.\par -6. Trademarks.\par -This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.\par -7. Disclaimer of Warranty.\par -Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.\par -8. Limitation of Liability.\par -In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.\par -9. Accepting Warranty or Additional Liability.\par -While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.\par -END OF TERMS AND CONDITIONS\par -=========================================\par -END OF \caps .NET Compiler Platform\caps0 NOTICES AND INFORMATION\par -} - \ No newline at end of file diff --git a/packages/Microsoft.Net.Compilers.1.0.0/build/Microsoft.Net.Compilers.props b/packages/Microsoft.Net.Compilers.1.0.0/build/Microsoft.Net.Compilers.props deleted file mode 100644 index 82a16f1..0000000 --- a/packages/Microsoft.Net.Compilers.1.0.0/build/Microsoft.Net.Compilers.props +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - false - $(MSBuildThisFileDirectory)..\tools\Microsoft.CSharp.Core.targets - $(MSBuildThisFileDirectory)..\tools\Microsoft.VisualBasic.Core.targets - - - - - $(MSBuildThisFileDirectory)..\tools - csc.exe - $(MSBuildThisFileDirectory)..\tools - vbc.exe - - diff --git a/packages/MongoDB.Bson.2.2.3/License.rtf b/packages/MongoDB.Bson.2.2.3/License.rtf deleted file mode 100644 index 5f1d046..0000000 Binary files a/packages/MongoDB.Bson.2.2.3/License.rtf and /dev/null differ diff --git a/packages/MongoDB.Driver.2.2.3/License.rtf b/packages/MongoDB.Driver.2.2.3/License.rtf deleted file mode 100644 index 5f1d046..0000000 Binary files a/packages/MongoDB.Driver.2.2.3/License.rtf and /dev/null differ diff --git a/packages/MongoDB.Driver.Core.2.2.3/License.rtf b/packages/MongoDB.Driver.Core.2.2.3/License.rtf deleted file mode 100644 index 5f1d046..0000000 Binary files a/packages/MongoDB.Driver.Core.2.2.3/License.rtf and /dev/null differ