diff --git a/NzbDrone.App.Test/License.txt b/NzbDrone.App.Test/License.txt new file mode 100644 index 000000000..5ead6991a --- /dev/null +++ b/NzbDrone.App.Test/License.txt @@ -0,0 +1,22 @@ + Copyright (c) 2010 Darren Cauthon + + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following + conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. diff --git a/NzbDrone.Common.Test/License.txt b/NzbDrone.Common.Test/License.txt new file mode 100644 index 000000000..5ead6991a --- /dev/null +++ b/NzbDrone.Common.Test/License.txt @@ -0,0 +1,22 @@ + Copyright (c) 2010 Darren Cauthon + + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following + conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. diff --git a/NzbDrone.Common/Contract/ExceptionReport.cs b/NzbDrone.Common/Contract/ExceptionReport.cs index f044e0513..fbc0bc3fe 100644 --- a/NzbDrone.Common/Contract/ExceptionReport.cs +++ b/NzbDrone.Common/Contract/ExceptionReport.cs @@ -15,6 +15,11 @@ public class ExceptionReport : ReportBase [JsonProperty("s")] public string String { get; set; } + [JsonProperty("xmessage")] + public string ExceptionMessage { get; set; } + + [JsonProperty("stk")] + public string Stack { get; set; } protected override Dictionary GetString() { diff --git a/NzbDrone.Common/ReportingService.cs b/NzbDrone.Common/ReportingService.cs index ff2eeee48..26ee20e6c 100644 --- a/NzbDrone.Common/ReportingService.cs +++ b/NzbDrone.Common/ReportingService.cs @@ -62,7 +62,8 @@ public static void ReportException(LogEventInfo logEvent) var report = new ExceptionReport(); report.LogMessage = logEvent.FormattedMessage; - report.String = logEvent.Exception.ToString(); + report.Stack = logEvent.Exception.StackTrace; + report.ExceptionMessage = logEvent.Exception.Message; report.Logger = logEvent.LoggerName; report.Type = logEvent.Exception.GetType().Name; diff --git a/NzbDrone.Core.Test/License.txt b/NzbDrone.Core.Test/License.txt new file mode 100644 index 000000000..5ead6991a --- /dev/null +++ b/NzbDrone.Core.Test/License.txt @@ -0,0 +1,22 @@ + Copyright (c) 2010 Darren Cauthon + + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following + conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. diff --git a/NzbDrone.Services/NzbDrone.Services.Service/App_Start/NinjectMVC3.cs b/NzbDrone.Services/NzbDrone.Services.Service/App_Start/NinjectMVC3.cs index 406a3581c..ce3c67177 100644 --- a/NzbDrone.Services/NzbDrone.Services.Service/App_Start/NinjectMVC3.cs +++ b/NzbDrone.Services/NzbDrone.Services.Service/App_Start/NinjectMVC3.cs @@ -1,7 +1,9 @@ +using MongoDB.Driver; using NzbDrone.Services.Service.Datastore; using Microsoft.Web.Infrastructure.DynamicModuleHelper; using Ninject; using Ninject.Web.Mvc; +using NzbDrone.Services.Service.Migrations; using Services.PetaPoco; [assembly: WebActivator.PreApplicationStartMethod(typeof(NzbDrone.Services.Service.App_Start.NinjectMVC3), "Start")] @@ -29,7 +31,11 @@ public static void Stop() private static IKernel CreateKernel() { var kernel = new StandardKernel(); + MigrationsHelper.Run(Connection.GetConnectionString); kernel.Bind().ToMethod(c => Connection.GetPetaPocoDb()); + kernel.Bind().ToConstant(Connection.GetMongoDb()); + + return kernel; } } diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Controllers/ExceptionController.cs b/NzbDrone.Services/NzbDrone.Services.Service/Controllers/ExceptionController.cs index 2e3cb9fab..9c9df2c3d 100644 --- a/NzbDrone.Services/NzbDrone.Services.Service/Controllers/ExceptionController.cs +++ b/NzbDrone.Services/NzbDrone.Services.Service/Controllers/ExceptionController.cs @@ -1,23 +1,30 @@ using System; using System.Linq; using System.Web.Mvc; +using MongoDB.Driver; using NLog; using Ninject; using NzbDrone.Common.Contract; +using NzbDrone.Services.Service.Exceptions; using NzbDrone.Services.Service.Repository.Reporting; using Services.PetaPoco; +using ExceptionInstance = NzbDrone.Services.Service.Repository.Reporting.ExceptionInstance; +using ExceptionReport = NzbDrone.Common.Contract.ExceptionReport; namespace NzbDrone.Services.Service.Controllers { public class ExceptionController : Controller { private readonly IDatabase _database; + private readonly ExceptionRepository _exceptionRepository; + private readonly MongoDatabase _mongoDatabase; private static readonly Logger logger = LogManager.GetCurrentClassLogger(); [Inject] - public ExceptionController(IDatabase database) + public ExceptionController(IDatabase database, ExceptionRepository exceptionRepository) { _database = database; + _exceptionRepository = exceptionRepository; } [HttpPost] @@ -58,18 +65,31 @@ public JsonResult ReportNew(ExceptionReport exceptionReport) { try { - var exceptionHash = GetExceptionDetailId(exceptionReport); - var exceptionInstance = new ExceptionInstance - { - ExceptionHash = exceptionHash, - IsProduction = exceptionReport.IsProduction, - LogMessage = exceptionReport.LogMessage, - Timestamp = DateTime.Now, - UGuid = exceptionReport.UGuid - }; + var report = new Exceptions.ExceptionReport(); + report.AppVersion = exceptionReport.Version; + report.ApplicationId = "NzbDrone"; + report.ExceptionMessage = exceptionReport.String; + report.ExceptionType = exceptionReport.Type; + report.Location = exceptionReport.Logger; + report.Message = exceptionReport.LogMessage; + report.Stack = exceptionReport.String; + report.Uid = exceptionReport.UGuid.ToString(); - _database.Insert(exceptionInstance); + var exceptionHash = _exceptionRepository.Store(report); + + //var exceptionHash = GetExceptionDetailId(exceptionReport); + + //var exceptionInstance = new ExceptionInstance + // { + // ExceptionHash = exceptionHash, + // IsProduction = exceptionReport.IsProduction, + // LogMessage = exceptionReport.LogMessage, + // Timestamp = DateTime.Now, + // UGuid = exceptionReport.UGuid + // }; + + //_database.Insert(exceptionInstance); return new JsonResult { Data = new ExceptionReportResponse { ExceptionHash = exceptionHash } }; } diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Datastore/Connection.cs b/NzbDrone.Services/NzbDrone.Services.Service/Datastore/Connection.cs index e3f70c729..0e934eb6a 100644 --- a/NzbDrone.Services/NzbDrone.Services.Service/Datastore/Connection.cs +++ b/NzbDrone.Services/NzbDrone.Services.Service/Datastore/Connection.cs @@ -1,5 +1,8 @@ -using System.Configuration; +using System; +using System.Configuration; using System.Linq; +using MongoDB.Bson; +using MongoDB.Driver; using NzbDrone.Services.Service.Migrations; using Services.PetaPoco; @@ -15,9 +18,6 @@ public static string GetConnectionString public static IDatabase GetPetaPocoDb() { - - MigrationsHelper.Run(GetConnectionString); - var db = new Database("SqlExpress") { KeepConnectionAlive = false, @@ -26,5 +26,24 @@ public static IDatabase GetPetaPocoDb() return db; } + + + public static MongoDatabase GetMongoDb() + { + var serverSettings = new MongoServerSettings() + { + ConnectionMode = ConnectionMode.Direct, + ConnectTimeout = TimeSpan.FromSeconds(10), + DefaultCredentials = new MongoCredentials("nzbdrone", "nzbdronepassword"), + GuidRepresentation = GuidRepresentation.Standard, + Server = new MongoServerAddress("ds031747.mongolab.com", 31747), + SafeMode = new SafeMode(true) { J = true }, + }; + + + var server = MongoServer.Create(serverSettings); + + return server.GetDatabase("nzbdrone_ex"); + } } } \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Exceptions/ExceptionInfo.cs b/NzbDrone.Services/NzbDrone.Services.Service/Exceptions/ExceptionInfo.cs new file mode 100644 index 000000000..97f6eae22 --- /dev/null +++ b/NzbDrone.Services/NzbDrone.Services.Service/Exceptions/ExceptionInfo.cs @@ -0,0 +1,29 @@ +using System.Linq; +using System.Collections.Generic; +using MongoDB.Bson.Serialization.Attributes; + +namespace NzbDrone.Services.Service.Exceptions +{ + public class ExceptionInfo + { + public ExceptionInfo() + { + Instances = new ExceptionInstance[0]; + } + + [BsonId] + public string Hash { get; set; } + + [BsonElement("xtype")] + public string ExceptionType { get; set; } + + [BsonElement("stk")] + public string Stack { get; set; } + + [BsonElement("loc")] + public string Location { get; set; } + + [BsonElement("inst")] + public IEnumerable Instances { get; set; } + } +} diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Exceptions/ExceptionInstance.cs b/NzbDrone.Services/NzbDrone.Services.Service/Exceptions/ExceptionInstance.cs new file mode 100644 index 000000000..1db23a353 --- /dev/null +++ b/NzbDrone.Services/NzbDrone.Services.Service/Exceptions/ExceptionInstance.cs @@ -0,0 +1,24 @@ +using System.Linq; +using System; +using MongoDB.Bson.Serialization.Attributes; + +namespace NzbDrone.Services.Service.Exceptions +{ + public class ExceptionInstance + { + [BsonElement("ver")] + public string AppVersion { get; set; } + + [BsonElement("uid")] + public string UserId { get; set; } + + [BsonElement("xmsg")] + public string ExceptionMessage { get; set; } + + [BsonElement("msg")] + public string Message { get; set; } + + [BsonElement("time")] + public DateTime Time { get; set; } + } +} diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Exceptions/ExceptionReport.cs b/NzbDrone.Services/NzbDrone.Services.Service/Exceptions/ExceptionReport.cs new file mode 100644 index 000000000..7988ae9a9 --- /dev/null +++ b/NzbDrone.Services/NzbDrone.Services.Service/Exceptions/ExceptionReport.cs @@ -0,0 +1,16 @@ +using System.Linq; + +namespace NzbDrone.Services.Service.Exceptions +{ + public class ExceptionReport + { + public string ApplicationId { get; set; } + public string AppVersion { get; set; } + public string Uid { get; set; } + public string ExceptionType { get; set; } + public string ExceptionMessage { get; set; } + public string Stack { get; set; } + public string Location { get; set; } + public string Message { get; set; } + } +} diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Exceptions/ExceptionRepository.cs b/NzbDrone.Services/NzbDrone.Services.Service/Exceptions/ExceptionRepository.cs new file mode 100644 index 000000000..1cfe99c3f --- /dev/null +++ b/NzbDrone.Services/NzbDrone.Services.Service/Exceptions/ExceptionRepository.cs @@ -0,0 +1,88 @@ +using System; +using System.Linq; +using MongoDB.Driver; +using MongoDB.Driver.Builders; + +namespace NzbDrone.Services.Service.Exceptions +{ + public class ExceptionRepository + { + private readonly MongoDatabase _mongoDb; + + public ExceptionRepository(MongoDatabase mongoDb) + { + _mongoDb = mongoDb; + } + + + public virtual string Store(NzbDrone.Services.Service.Exceptions.ExceptionReport exceptionReport) + { + var hash = GetExceptionDetailId(exceptionReport); + + var exceptionInstance = new NzbDrone.Services.Service.Exceptions.ExceptionInstance + { + AppVersion = exceptionReport.AppVersion, + ExceptionMessage = exceptionReport.ExceptionMessage, + Message = exceptionReport.Message, + Time = DateTime.UtcNow, + UserId = exceptionReport.Uid + }; + + + + var applicationExceptions = _mongoDb.GetCollection(exceptionReport.ApplicationId); + + applicationExceptions.Update(Query.EQ("_id", hash), Update.PushWrapped("inst", exceptionInstance)); + + return hash; + } + + private string GetExceptionDetailId(NzbDrone.Services.Service.Exceptions.ExceptionReport exceptionReport) + { + var hash = Hash(String.Concat(exceptionReport.AppVersion, exceptionReport.Location, exceptionReport.ExceptionType, exceptionReport.Stack)); + + if (!ExceptionInfoExists(exceptionReport.ApplicationId, hash)) + { + var exceptionInfo = new NzbDrone.Services.Service.Exceptions.ExceptionInfo + { + Hash = hash, + Stack = exceptionReport.Stack, + ExceptionType = exceptionReport.ExceptionType, + Location = exceptionReport.Location + }; + + _mongoDb.GetCollection(exceptionReport.ApplicationId).Insert(exceptionInfo); + } + + return hash; + } + + public bool ExceptionInfoExists(string applicationId, string hash) + { + var appCollection = _mongoDb.GetCollection(applicationId); + return appCollection.FindAs(Query.EQ("_id", hash)).Any(); + } + + private static string Hash(string input) + { + uint mCrc = 0xffffffff; + byte[] bytes = System.Text.Encoding.UTF8.GetBytes(input); + foreach (byte myByte in bytes) + { + mCrc ^= ((uint)(myByte) << 24); + for (var i = 0; i < 8; i++) + { + if ((Convert.ToUInt32(mCrc) & 0x80000000) == 0x80000000) + { + mCrc = (mCrc << 1) ^ 0x04C11DB7; + } + else + { + mCrc <<= 1; + } + } + } + return String.Format("{0:x8}", mCrc); + } + } +} \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/NzbDrone.Services.Service.csproj b/NzbDrone.Services/NzbDrone.Services.Service/NzbDrone.Services.Service.csproj index 0e86a0c05..6c22bbc89 100644 --- a/NzbDrone.Services/NzbDrone.Services.Service/NzbDrone.Services.Service.csproj +++ b/NzbDrone.Services/NzbDrone.Services.Service/NzbDrone.Services.Service.csproj @@ -47,6 +47,9 @@ ..\..\packages\elmah.corelibrary.1.2.1\lib\Elmah.dll + + ..\..\Libraries\Exceptrack\Exceptrack.Core.dll + True @@ -64,6 +67,12 @@ False ..\..\Libraries\Migrator.NET\Migrator.Providers.dll + + ..\..\packages\mongocsharpdriver.1.4\lib\net35\MongoDB.Bson.dll + + + ..\..\packages\mongocsharpdriver.1.4\lib\net35\MongoDB.Driver.dll + ..\..\packages\Newtonsoft.Json.4.0.8\lib\net40\Newtonsoft.Json.dll @@ -216,6 +225,10 @@ + + + + diff --git a/NzbDrone.Services/NzbDrone.Services.Service/packages.config b/NzbDrone.Services/NzbDrone.Services.Service/packages.config index 249abe523..ce919f82c 100644 --- a/NzbDrone.Services/NzbDrone.Services.Service/packages.config +++ b/NzbDrone.Services/NzbDrone.Services.Service/packages.config @@ -9,6 +9,7 @@ + diff --git a/NzbDrone.Services/NzbDrone.Services.Tests/License.txt b/NzbDrone.Services/NzbDrone.Services.Tests/License.txt new file mode 100644 index 000000000..5ead6991a --- /dev/null +++ b/NzbDrone.Services/NzbDrone.Services.Tests/License.txt @@ -0,0 +1,22 @@ + Copyright (c) 2010 Darren Cauthon + + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following + conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. diff --git a/NzbDrone.Test.Common/License.txt b/NzbDrone.Test.Common/License.txt new file mode 100644 index 000000000..5ead6991a --- /dev/null +++ b/NzbDrone.Test.Common/License.txt @@ -0,0 +1,22 @@ + Copyright (c) 2010 Darren Cauthon + + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following + conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. diff --git a/NzbDrone.Update.Test/License.txt b/NzbDrone.Update.Test/License.txt new file mode 100644 index 000000000..5ead6991a --- /dev/null +++ b/NzbDrone.Update.Test/License.txt @@ -0,0 +1,22 @@ + Copyright (c) 2010 Darren Cauthon + + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following + conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. diff --git a/packages/Kayone.AutoMoq.0.2.0.4/Kayone.AutoMoq.0.2.0.4.nupkg b/packages/Kayone.AutoMoq.0.2.0.4/Kayone.AutoMoq.0.2.0.4.nupkg new file mode 100644 index 000000000..1202a5c38 Binary files /dev/null and b/packages/Kayone.AutoMoq.0.2.0.4/Kayone.AutoMoq.0.2.0.4.nupkg differ diff --git a/packages/Kayone.AutoMoq.0.2.0.4/content/License.txt b/packages/Kayone.AutoMoq.0.2.0.4/content/License.txt new file mode 100644 index 000000000..5ead6991a --- /dev/null +++ b/packages/Kayone.AutoMoq.0.2.0.4/content/License.txt @@ -0,0 +1,22 @@ + Copyright (c) 2010 Darren Cauthon + + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following + conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. diff --git a/packages/Kayone.AutoMoq.0.2.0.4/lib/net35/Kayone.AutoMoq.dll b/packages/Kayone.AutoMoq.0.2.0.4/lib/net35/Kayone.AutoMoq.dll new file mode 100644 index 000000000..cc7a2b024 Binary files /dev/null and b/packages/Kayone.AutoMoq.0.2.0.4/lib/net35/Kayone.AutoMoq.dll differ diff --git a/packages/mongocsharpdriver.1.4/License.rtf b/packages/mongocsharpdriver.1.4/License.rtf new file mode 100644 index 000000000..5a542c257 --- /dev/null +++ b/packages/mongocsharpdriver.1.4/License.rtf @@ -0,0 +1,175 @@ +{\rtf1\adeflang1025\ansi\ansicpg1252\uc1\adeff0\deff0\stshfdbch0\stshfloch31506\stshfhich31506\stshfbi31506\deflang1033\deflangfe1033\themelang1033\themelangfe0\themelangcs0{\fonttbl{\f0\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f2\fbidi \fmodern\fcharset0\fprq1{\*\panose 02070309020205020404}Courier New;} +{\f2\fbidi \fmodern\fcharset0\fprq1{\*\panose 02070309020205020404}Courier New;}{\f37\fbidi \fswiss\fcharset0\fprq2{\*\panose 020f0502020204030204}Calibri;}{\flomajor\f31500\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;} +{\fdbmajor\f31501\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\fhimajor\f31502\fbidi \froman\fcharset0\fprq2{\*\panose 02040503050406030204}Cambria;} +{\fbimajor\f31503\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\flominor\f31504\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;} +{\fdbminor\f31505\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\fhiminor\f31506\fbidi \fswiss\fcharset0\fprq2{\*\panose 020f0502020204030204}Calibri;} +{\fbiminor\f31507\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f39\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f40\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;} +{\f42\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f43\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f44\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f45\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);} +{\f46\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f47\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f59\fbidi \fmodern\fcharset238\fprq1 Courier New CE;}{\f60\fbidi \fmodern\fcharset204\fprq1 Courier New Cyr;} +{\f62\fbidi \fmodern\fcharset161\fprq1 Courier New Greek;}{\f63\fbidi \fmodern\fcharset162\fprq1 Courier New Tur;}{\f64\fbidi \fmodern\fcharset177\fprq1 Courier New (Hebrew);}{\f65\fbidi \fmodern\fcharset178\fprq1 Courier New (Arabic);} +{\f66\fbidi \fmodern\fcharset186\fprq1 Courier New Baltic;}{\f67\fbidi \fmodern\fcharset163\fprq1 Courier New (Vietnamese);}{\f59\fbidi \fmodern\fcharset238\fprq1 Courier New CE;}{\f60\fbidi \fmodern\fcharset204\fprq1 Courier New Cyr;} +{\f62\fbidi \fmodern\fcharset161\fprq1 Courier New Greek;}{\f63\fbidi \fmodern\fcharset162\fprq1 Courier New Tur;}{\f64\fbidi \fmodern\fcharset177\fprq1 Courier New (Hebrew);}{\f65\fbidi \fmodern\fcharset178\fprq1 Courier New (Arabic);} +{\f66\fbidi \fmodern\fcharset186\fprq1 Courier New Baltic;}{\f67\fbidi \fmodern\fcharset163\fprq1 Courier New (Vietnamese);}{\f409\fbidi \fswiss\fcharset238\fprq2 Calibri CE;}{\f410\fbidi \fswiss\fcharset204\fprq2 Calibri Cyr;} +{\f412\fbidi \fswiss\fcharset161\fprq2 Calibri Greek;}{\f413\fbidi \fswiss\fcharset162\fprq2 Calibri Tur;}{\f416\fbidi \fswiss\fcharset186\fprq2 Calibri Baltic;}{\f417\fbidi \fswiss\fcharset163\fprq2 Calibri (Vietnamese);} +{\flomajor\f31508\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\flomajor\f31509\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\flomajor\f31511\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;} +{\flomajor\f31512\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\flomajor\f31513\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\flomajor\f31514\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);} +{\flomajor\f31515\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\flomajor\f31516\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fdbmajor\f31518\fbidi \froman\fcharset238\fprq2 Times New Roman CE;} +{\fdbmajor\f31519\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\fdbmajor\f31521\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fdbmajor\f31522\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;} +{\fdbmajor\f31523\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\fdbmajor\f31524\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fdbmajor\f31525\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;} +{\fdbmajor\f31526\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fhimajor\f31528\fbidi \froman\fcharset238\fprq2 Cambria CE;}{\fhimajor\f31529\fbidi \froman\fcharset204\fprq2 Cambria Cyr;} +{\fhimajor\f31531\fbidi \froman\fcharset161\fprq2 Cambria Greek;}{\fhimajor\f31532\fbidi \froman\fcharset162\fprq2 Cambria Tur;}{\fhimajor\f31535\fbidi \froman\fcharset186\fprq2 Cambria Baltic;} +{\fhimajor\f31536\fbidi \froman\fcharset163\fprq2 Cambria (Vietnamese);}{\fbimajor\f31538\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\fbimajor\f31539\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;} +{\fbimajor\f31541\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fbimajor\f31542\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\fbimajor\f31543\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);} +{\fbimajor\f31544\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fbimajor\f31545\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\fbimajor\f31546\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);} +{\flominor\f31548\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\flominor\f31549\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\flominor\f31551\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;} +{\flominor\f31552\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\flominor\f31553\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\flominor\f31554\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);} +{\flominor\f31555\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\flominor\f31556\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fdbminor\f31558\fbidi \froman\fcharset238\fprq2 Times New Roman CE;} +{\fdbminor\f31559\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\fdbminor\f31561\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fdbminor\f31562\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;} +{\fdbminor\f31563\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\fdbminor\f31564\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fdbminor\f31565\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;} +{\fdbminor\f31566\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fhiminor\f31568\fbidi \fswiss\fcharset238\fprq2 Calibri CE;}{\fhiminor\f31569\fbidi \fswiss\fcharset204\fprq2 Calibri Cyr;} +{\fhiminor\f31571\fbidi \fswiss\fcharset161\fprq2 Calibri Greek;}{\fhiminor\f31572\fbidi \fswiss\fcharset162\fprq2 Calibri Tur;}{\fhiminor\f31575\fbidi \fswiss\fcharset186\fprq2 Calibri Baltic;} +{\fhiminor\f31576\fbidi \fswiss\fcharset163\fprq2 Calibri (Vietnamese);}{\fbiminor\f31578\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\fbiminor\f31579\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;} +{\fbiminor\f31581\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fbiminor\f31582\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\fbiminor\f31583\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);} +{\fbiminor\f31584\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fbiminor\f31585\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\fbiminor\f31586\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}} +{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0; +\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;}{\*\defchp \f31506\fs22 }{\*\defpap \ql \li0\ri0\sa200\sl276\slmult1 +\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 }\noqfpromote {\stylesheet{\ql \li0\ri0\sa200\sl276\slmult1\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs22\alang1025 \ltrch\fcs0 +\f31506\fs22\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 \snext0 \sqformat \spriority0 \styrsid6517486 Normal;}{\*\cs10 \additive \ssemihidden \sunhideused \spriority1 Default Paragraph Font;}{\* +\ts11\tsrowd\trftsWidthB3\trpaddl108\trpaddr108\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\trcbpat1\trcfpat1\tblind0\tblindtype3\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\sa200\sl276\slmult1 +\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af31506\afs22\alang1025 \ltrch\fcs0 \f31506\fs22\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 \snext11 \ssemihidden \sunhideused Normal Table;}} +{\*\rsidtbl \rsid658138\rsid2448388\rsid6517486\rsid8002733\rsid11818273\rsid14620378}{\mmathPr\mmathFont34\mbrkBin0\mbrkBinSub0\msmallFrac0\mdispDef1\mlMargin0\mrMargin0\mdefJc1\mwrapIndent1440\mintLim0\mnaryLim1}{\info{\author Robert Stam} +{\operator Sridhar Nanjundeswaran}{\creatim\yr2010\mo10\dy1\hr11\min43}{\revtim\yr2012\mo3\dy27\hr11\min52}{\version4}{\edmins2}{\nofpages1}{\nofwords82}{\nofchars471}{\*\company 10gen}{\nofcharsws552}{\vern49273}}{\*\xmlnstbl {\xmlns1 http://schemas.micr +osoft.com/office/word/2003/wordml}}\paperw12240\paperh15840\margl1440\margr1440\margt1440\margb1440\gutter0\ltrsect +\widowctrl\ftnbj\aenddoc\trackmoves0\trackformatting1\donotembedsysfont1\relyonvml0\donotembedlingdata0\grfdocevents0\validatexml1\showplaceholdtext0\ignoremixedcontent0\saveinvalidxml0\showxmlerrors1\noxlattoyen +\expshrtn\noultrlspc\dntblnsbdb\nospaceforul\formshade\horzdoc\dgmargin\dghspace180\dgvspace180\dghorigin1440\dgvorigin1440\dghshow1\dgvshow1 +\jexpand\viewkind1\viewscale100\pgbrdrhead\pgbrdrfoot\splytwnine\ftnlytwnine\htmautsp\nolnhtadjtbl\useltbaln\alntblind\lytcalctblwd\lyttblrtgr\lnbrkrule\nobrkwrptbl\snaptogridincell\allowfieldendsel\wrppunct +\asianbrkrule\rsidroot14620378\newtblstyruls\nogrowautofit\usenormstyforlist\noindnmbrts\felnbrelev\nocxsptable\indrlsweleven\noafcnsttbl\afelev\utinl\hwelev\spltpgpar\notcvasp\notbrkcnstfrctbl\notvatxbx\krnprsnet\cachedcolbal \nouicompat \fet0 +{\*\wgrffmtfilter 2450}\nofeaturethrottle1\ilfomacatclnup0\ltrpar \sectd \ltrsect\linex0\sectdefaultcl\sectrsid658138\sftnbj {\*\pnseclvl1\pnucrm\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl2\pnucltr\pnstart1\pnindent720\pnhang {\pntxta .}} +{\*\pnseclvl3\pndec\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl4\pnlcltr\pnstart1\pnindent720\pnhang {\pntxta )}}{\*\pnseclvl5\pndec\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl6\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (} +{\pntxta )}}{\*\pnseclvl7\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl8\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl9\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}\pard\plain \ltrpar +\ql \li0\ri0\widctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid14620378 \rtlch\fcs1 \af0\afs22\alang1025 \ltrch\fcs0 \f31506\fs22\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 +\f2\fs20\lang1024\langfe1024\noproof\insrsid14620378 Copyright 2010}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\lang1024\langfe1024\noproof\insrsid2448388 -2012}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\lang1024\langfe1024\noproof\insrsid14620378 + 10gen Inc. +\par +\par Licensed under the Apache License, Version 2.0 (the "License");}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\lang1024\langfe1024\noproof\insrsid11818273 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\lang1024\langfe1024\noproof\insrsid14620378 +you may not use this file except in compliance with the License.}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\lang1024\langfe1024\noproof\insrsid11818273 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\lang1024\langfe1024\noproof\insrsid14620378 +You may obtain a copy of the License at +\par +\par http://www.apache.org/licenses/LICENSE-2.0 +\par +\par Unless required by applicable law or agreed to in writing, software}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\lang1024\langfe1024\noproof\insrsid11818273 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\lang1024\langfe1024\noproof\insrsid14620378 +distributed under the License is distributed on an "AS IS" BASIS,}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\lang1024\langfe1024\noproof\insrsid11818273 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\lang1024\langfe1024\noproof\insrsid14620378 +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\lang1024\langfe1024\noproof\insrsid11818273 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\lang1024\langfe1024\noproof\insrsid14620378 +See the License for the specific language governing permissions and}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\lang1024\langfe1024\noproof\insrsid11818273 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\lang1024\langfe1024\noproof\insrsid14620378 +limitations under the License. +\par }\pard \ltrpar\ql \li0\ri0\sa200\sl276\slmult1\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 {\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid6517486 +\par }{\*\themedata 504b030414000600080000002100e9de0fbfff0000001c020000130000005b436f6e74656e745f54797065735d2e786d6cac91cb4ec3301045f748fc83e52d4a +9cb2400825e982c78ec7a27cc0c8992416c9d8b2a755fbf74cd25442a820166c2cd933f79e3be372bd1f07b5c3989ca74aaff2422b24eb1b475da5df374fd9ad +5689811a183c61a50f98f4babebc2837878049899a52a57be670674cb23d8e90721f90a4d2fa3802cb35762680fd800ecd7551dc18eb899138e3c943d7e503b6 +b01d583deee5f99824e290b4ba3f364eac4a430883b3c092d4eca8f946c916422ecab927f52ea42b89a1cd59c254f919b0e85e6535d135a8de20f20b8c12c3b0 +0c895fcf6720192de6bf3b9e89ecdbd6596cbcdd8eb28e7c365ecc4ec1ff1460f53fe813d3cc7f5b7f020000ffff0300504b030414000600080000002100a5d6 +a7e7c0000000360100000b0000005f72656c732f2e72656c73848fcf6ac3300c87ef85bd83d17d51d2c31825762fa590432fa37d00e1287f68221bdb1bebdb4f +c7060abb0884a4eff7a93dfeae8bf9e194e720169aaa06c3e2433fcb68e1763dbf7f82c985a4a725085b787086a37bdbb55fbc50d1a33ccd311ba548b6309512 +0f88d94fbc52ae4264d1c910d24a45db3462247fa791715fd71f989e19e0364cd3f51652d73760ae8fa8c9ffb3c330cc9e4fc17faf2ce545046e37944c69e462 +a1a82fe353bd90a865aad41ed0b5b8f9d6fd010000ffff0300504b0304140006000800000021006b799616830000008a0000001c0000007468656d652f746865 +6d652f7468656d654d616e616765722e786d6c0ccc4d0ac3201040e17da17790d93763bb284562b2cbaebbf600439c1a41c7a0d29fdbd7e5e38337cedf14d59b +4b0d592c9c070d8a65cd2e88b7f07c2ca71ba8da481cc52c6ce1c715e6e97818c9b48d13df49c873517d23d59085adb5dd20d6b52bd521ef2cdd5eb9246a3d8b +4757e8d3f729e245eb2b260a0238fd010000ffff0300504b03041400060008000000210096b5ade296060000501b0000160000007468656d652f7468656d652f +7468656d65312e786d6cec594f6fdb3614bf0fd87720746f6327761a07758ad8b19b2d4d1bc46e871e698996d850a240d2497d1bdae38001c3ba618715d86d87 +615b8116d8a5fb34d93a6c1dd0afb0475292c5585e9236d88aad3e2412f9e3fbff1e1fa9abd7eec70c1d1221294fda5efd72cd4324f1794093b0eddd1ef62fad +79482a9c0498f184b4bd2991deb58df7dfbb8ad755446282607d22d771db8b944ad79796a40fc3585ee62949606ecc458c15bc8a702910f808e8c66c69b9565b +5d8a314d3c94e018c8de1a8fa94fd05093f43672e23d06af89927ac06762a049136785c10607758d9053d965021d62d6f6804fc08f86e4bef210c352c144dbab +999fb7b4717509af678b985ab0b6b4ae6f7ed9ba6c4170b06c788a705430adf71bad2b5b057d03606a1ed7ebf5babd7a41cf00b0ef83a6569632cd467faddec9 +699640f6719e76b7d6ac355c7c89feca9cccad4ea7d36c65b258a206641f1b73f8b5da6a6373d9c11b90c537e7f08dce66b7bbeae00dc8e257e7f0fd2badd586 +8b37a088d1e4600ead1ddaef67d40bc898b3ed4af81ac0d76a197c86826828a24bb318f3442d8ab518dfe3a20f000d6458d104a9694ac6d88728eee2782428d6 +0cf03ac1a5193be4cbb921cd0b495fd054b5bd0f530c1931a3f7eaf9f7af9e3f45c70f9e1d3ff8e9f8e1c3e3073f5a42ceaa6d9c84e5552fbffdeccfc71fa33f +9e7ef3f2d117d57859c6fffac327bffcfc793510d26726ce8b2f9ffcf6ecc98baf3efdfdbb4715f04d814765f890c644a29be408edf3181433567125272371be +15c308d3f28acd249438c19a4b05fd9e8a1cf4cd296699771c393ac4b5e01d01e5a30a787d72cf1178108989a2159c77a2d801ee72ce3a5c545a6147f32a9979 +3849c26ae66252c6ed637c58c5bb8b13c7bfbd490a75330f4b47f16e441c31f7184e140e494214d273fc80900aedee52ead87597fa824b3e56e82e451d4c2b4d +32a423279a668bb6690c7e9956e90cfe766cb37b077538abd27a8b1cba48c80acc2a841f12e698f13a9e281c57911ce298950d7e03aba84ac8c154f8655c4f2a +f074481847bd804859b5e696007d4b4edfc150b12addbecba6b18b148a1e54d1bc81392f23b7f84137c2715a851dd0242a633f900710a218ed715505dfe56e86 +e877f0034e16bafb0e258ebb4faf06b769e888340b103d3311da9750aa9d0a1cd3e4efca31a3508f6d0c5c5c398602f8e2ebc71591f5b616e24dd893aa3261fb +44f95d843b5974bb5c04f4edafb95b7892ec1108f3f98de75dc97d5772bdff7cc95d94cf672db4b3da0a6557f70db629362d72bcb0431e53c6066acac80d699a +6409fb44d08741bdce9c0e4971624a2378cceaba830b05366b90e0ea23aaa241845368b0eb9e2612ca8c742851ca251ceccc70256d8d87265dd96361531f186c +3d9058edf2c00eafe8e1fc5c509031bb4d680e9f39a3154de0accc56ae644441edd76156d7429d995bdd88664a9dc3ad50197c38af1a0c16d684060441db0256 +5e85f3b9660d0713cc48a0ed6ef7dedc2dc60b17e92219e180643ed27acffba86e9c94c78ab90980d8a9f0913ee49d62b512b79626fb06dccee2a432bbc60276 +b9f7dec44b7904cfbca4f3f6443ab2a49c9c2c41476dafd55c6e7ac8c769db1bc399161ee314bc2e75cf8759081743be1236ec4f4d6693e5336fb672c5dc24a8 +c33585b5fb9cc24e1d4885545b58463634cc5416022cd19cacfccb4d30eb45296023fd35a458598360f8d7a4003bbaae25e331f155d9d9a5116d3bfb9a95523e +51440ca2e0088dd844ec6370bf0e55d027a012ae264c45d02f708fa6ad6da6dce29c255df9f6cae0ec38666984b372ab5334cf640b37795cc860de4ae2816e95 +b21be5ceaf8a49f90b52a51cc6ff3355f47e0237052b81f6800fd7b802239daf6d8f0b1571a8426944fdbe80c6c1d40e8816b88b8569082ab84c36ff0539d4ff +6dce591a26ade1c0a7f669880485fd484582903d284b26fa4e2156cff62e4b9265844c4495c495a9157b440e091bea1ab8aaf7760f4510eaa69a6465c0e04ec6 +9ffb9e65d028d44d4e39df9c1a52ecbd3607fee9cec7263328e5d661d3d0e4f62f44acd855ed7ab33cdf7bcb8ae889599bd5c8b3029895b6825696f6af29c239 +b75a5bb1e6345e6ee6c28117e73586c1a2214ae1be07e93fb0ff51e133fb65426fa843be0fb515c187064d0cc206a2fa926d3c902e907670048d931db4c1a449 +59d366ad93b65abe595f70a75bf03d616c2dd959fc7d4e6317cd99cbcec9c58b34766661c7d6766ca1a9c1b327531486c6f941c638c67cd22a7f75e2a37be0e8 +2db8df9f30254d30c1372581a1f51c983c80e4b71ccdd28dbf000000ffff0300504b0304140006000800000021000dd1909fb60000001b010000270000007468 +656d652f7468656d652f5f72656c732f7468656d654d616e616765722e786d6c2e72656c73848f4d0ac2301484f78277086f6fd3ba109126dd88d0add40384e4 +350d363f2451eced0dae2c082e8761be9969bb979dc9136332de3168aa1a083ae995719ac16db8ec8e4052164e89d93b64b060828e6f37ed1567914b284d2624 +52282e3198720e274a939cd08a54f980ae38a38f56e422a3a641c8bbd048f7757da0f19b017cc524bd62107bd5001996509affb3fd381a89672f1f165dfe5141 +73d9850528a2c6cce0239baa4c04ca5bbabac4df000000ffff0300504b01022d0014000600080000002100e9de0fbfff0000001c020000130000000000000000 +0000000000000000005b436f6e74656e745f54797065735d2e786d6c504b01022d0014000600080000002100a5d6a7e7c0000000360100000b00000000000000 +000000000000300100005f72656c732f2e72656c73504b01022d00140006000800000021006b799616830000008a0000001c0000000000000000000000000019 +0200007468656d652f7468656d652f7468656d654d616e616765722e786d6c504b01022d001400060008000000210096b5ade296060000501b00001600000000 +000000000000000000d60200007468656d652f7468656d652f7468656d65312e786d6c504b01022d00140006000800000021000dd1909fb60000001b01000027 +00000000000000000000000000a00900007468656d652f7468656d652f5f72656c732f7468656d654d616e616765722e786d6c2e72656c73504b050600000000050005005d0100009b0a00000000} +{\*\colorschememapping 3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e673d225554462d3822207374616e64616c6f6e653d22796573223f3e0d0a3c613a636c724d +617020786d6c6e733a613d22687474703a2f2f736368656d61732e6f70656e786d6c666f726d6174732e6f72672f64726177696e676d6c2f323030362f6d6169 +6e22206267313d226c743122207478313d22646b3122206267323d226c743222207478323d22646b322220616363656e74313d22616363656e74312220616363 +656e74323d22616363656e74322220616363656e74333d22616363656e74332220616363656e74343d22616363656e74342220616363656e74353d22616363656e74352220616363656e74363d22616363656e74362220686c696e6b3d22686c696e6b2220666f6c486c696e6b3d22666f6c486c696e6b222f3e} +{\*\latentstyles\lsdstimax267\lsdlockeddef0\lsdsemihiddendef1\lsdunhideuseddef1\lsdqformatdef0\lsdprioritydef99{\lsdlockedexcept \lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority0 \lsdlocked0 Normal; +\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 1;\lsdqformat1 \lsdpriority9 \lsdlocked0 heading 2;\lsdqformat1 \lsdpriority9 \lsdlocked0 heading 3;\lsdqformat1 \lsdpriority9 \lsdlocked0 heading 4; +\lsdqformat1 \lsdpriority9 \lsdlocked0 heading 5;\lsdqformat1 \lsdpriority9 \lsdlocked0 heading 6;\lsdqformat1 \lsdpriority9 \lsdlocked0 heading 7;\lsdqformat1 \lsdpriority9 \lsdlocked0 heading 8;\lsdqformat1 \lsdpriority9 \lsdlocked0 heading 9; +\lsdpriority39 \lsdlocked0 toc 1;\lsdpriority39 \lsdlocked0 toc 2;\lsdpriority39 \lsdlocked0 toc 3;\lsdpriority39 \lsdlocked0 toc 4;\lsdpriority39 \lsdlocked0 toc 5;\lsdpriority39 \lsdlocked0 toc 6;\lsdpriority39 \lsdlocked0 toc 7; +\lsdpriority39 \lsdlocked0 toc 8;\lsdpriority39 \lsdlocked0 toc 9;\lsdqformat1 \lsdpriority35 \lsdlocked0 caption;\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority10 \lsdlocked0 Title;\lsdpriority1 \lsdlocked0 Default Paragraph Font; +\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority11 \lsdlocked0 Subtitle;\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority22 \lsdlocked0 Strong;\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority20 \lsdlocked0 Emphasis; +\lsdsemihidden0 \lsdunhideused0 \lsdpriority59 \lsdlocked0 Table Grid;\lsdunhideused0 \lsdlocked0 Placeholder Text;\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority1 \lsdlocked0 No Spacing; +\lsdsemihidden0 \lsdunhideused0 \lsdpriority60 \lsdlocked0 Light Shading;\lsdsemihidden0 \lsdunhideused0 \lsdpriority61 \lsdlocked0 Light List;\lsdsemihidden0 \lsdunhideused0 \lsdpriority62 \lsdlocked0 Light Grid; +\lsdsemihidden0 \lsdunhideused0 \lsdpriority63 \lsdlocked0 Medium Shading 1;\lsdsemihidden0 \lsdunhideused0 \lsdpriority64 \lsdlocked0 Medium Shading 2;\lsdsemihidden0 \lsdunhideused0 \lsdpriority65 \lsdlocked0 Medium List 1; +\lsdsemihidden0 \lsdunhideused0 \lsdpriority66 \lsdlocked0 Medium List 2;\lsdsemihidden0 \lsdunhideused0 \lsdpriority67 \lsdlocked0 Medium Grid 1;\lsdsemihidden0 \lsdunhideused0 \lsdpriority68 \lsdlocked0 Medium Grid 2; +\lsdsemihidden0 \lsdunhideused0 \lsdpriority69 \lsdlocked0 Medium Grid 3;\lsdsemihidden0 \lsdunhideused0 \lsdpriority70 \lsdlocked0 Dark List;\lsdsemihidden0 \lsdunhideused0 \lsdpriority71 \lsdlocked0 Colorful Shading; +\lsdsemihidden0 \lsdunhideused0 \lsdpriority72 \lsdlocked0 Colorful List;\lsdsemihidden0 \lsdunhideused0 \lsdpriority73 \lsdlocked0 Colorful Grid;\lsdsemihidden0 \lsdunhideused0 \lsdpriority60 \lsdlocked0 Light Shading Accent 1; +\lsdsemihidden0 \lsdunhideused0 \lsdpriority61 \lsdlocked0 Light List Accent 1;\lsdsemihidden0 \lsdunhideused0 \lsdpriority62 \lsdlocked0 Light Grid Accent 1;\lsdsemihidden0 \lsdunhideused0 \lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 1; +\lsdsemihidden0 \lsdunhideused0 \lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 1;\lsdsemihidden0 \lsdunhideused0 \lsdpriority65 \lsdlocked0 Medium List 1 Accent 1;\lsdunhideused0 \lsdlocked0 Revision; +\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority34 \lsdlocked0 List Paragraph;\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority29 \lsdlocked0 Quote;\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority30 \lsdlocked0 Intense Quote; +\lsdsemihidden0 \lsdunhideused0 \lsdpriority66 \lsdlocked0 Medium List 2 Accent 1;\lsdsemihidden0 \lsdunhideused0 \lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 1;\lsdsemihidden0 \lsdunhideused0 \lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 1; +\lsdsemihidden0 \lsdunhideused0 \lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 1;\lsdsemihidden0 \lsdunhideused0 \lsdpriority70 \lsdlocked0 Dark List Accent 1;\lsdsemihidden0 \lsdunhideused0 \lsdpriority71 \lsdlocked0 Colorful Shading Accent 1; +\lsdsemihidden0 \lsdunhideused0 \lsdpriority72 \lsdlocked0 Colorful List Accent 1;\lsdsemihidden0 \lsdunhideused0 \lsdpriority73 \lsdlocked0 Colorful Grid Accent 1;\lsdsemihidden0 \lsdunhideused0 \lsdpriority60 \lsdlocked0 Light Shading Accent 2; +\lsdsemihidden0 \lsdunhideused0 \lsdpriority61 \lsdlocked0 Light List Accent 2;\lsdsemihidden0 \lsdunhideused0 \lsdpriority62 \lsdlocked0 Light Grid Accent 2;\lsdsemihidden0 \lsdunhideused0 \lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 2; +\lsdsemihidden0 \lsdunhideused0 \lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 2;\lsdsemihidden0 \lsdunhideused0 \lsdpriority65 \lsdlocked0 Medium List 1 Accent 2;\lsdsemihidden0 \lsdunhideused0 \lsdpriority66 \lsdlocked0 Medium List 2 Accent 2; +\lsdsemihidden0 \lsdunhideused0 \lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 2;\lsdsemihidden0 \lsdunhideused0 \lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 2;\lsdsemihidden0 \lsdunhideused0 \lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 2; +\lsdsemihidden0 \lsdunhideused0 \lsdpriority70 \lsdlocked0 Dark List Accent 2;\lsdsemihidden0 \lsdunhideused0 \lsdpriority71 \lsdlocked0 Colorful Shading Accent 2;\lsdsemihidden0 \lsdunhideused0 \lsdpriority72 \lsdlocked0 Colorful List Accent 2; +\lsdsemihidden0 \lsdunhideused0 \lsdpriority73 \lsdlocked0 Colorful Grid Accent 2;\lsdsemihidden0 \lsdunhideused0 \lsdpriority60 \lsdlocked0 Light Shading Accent 3;\lsdsemihidden0 \lsdunhideused0 \lsdpriority61 \lsdlocked0 Light List Accent 3; +\lsdsemihidden0 \lsdunhideused0 \lsdpriority62 \lsdlocked0 Light Grid Accent 3;\lsdsemihidden0 \lsdunhideused0 \lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 3;\lsdsemihidden0 \lsdunhideused0 \lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 3; +\lsdsemihidden0 \lsdunhideused0 \lsdpriority65 \lsdlocked0 Medium List 1 Accent 3;\lsdsemihidden0 \lsdunhideused0 \lsdpriority66 \lsdlocked0 Medium List 2 Accent 3;\lsdsemihidden0 \lsdunhideused0 \lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 3; +\lsdsemihidden0 \lsdunhideused0 \lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 3;\lsdsemihidden0 \lsdunhideused0 \lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 3;\lsdsemihidden0 \lsdunhideused0 \lsdpriority70 \lsdlocked0 Dark List Accent 3; +\lsdsemihidden0 \lsdunhideused0 \lsdpriority71 \lsdlocked0 Colorful Shading Accent 3;\lsdsemihidden0 \lsdunhideused0 \lsdpriority72 \lsdlocked0 Colorful List Accent 3;\lsdsemihidden0 \lsdunhideused0 \lsdpriority73 \lsdlocked0 Colorful Grid Accent 3; +\lsdsemihidden0 \lsdunhideused0 \lsdpriority60 \lsdlocked0 Light Shading Accent 4;\lsdsemihidden0 \lsdunhideused0 \lsdpriority61 \lsdlocked0 Light List Accent 4;\lsdsemihidden0 \lsdunhideused0 \lsdpriority62 \lsdlocked0 Light Grid Accent 4; +\lsdsemihidden0 \lsdunhideused0 \lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 4;\lsdsemihidden0 \lsdunhideused0 \lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 4;\lsdsemihidden0 \lsdunhideused0 \lsdpriority65 \lsdlocked0 Medium List 1 Accent 4; +\lsdsemihidden0 \lsdunhideused0 \lsdpriority66 \lsdlocked0 Medium List 2 Accent 4;\lsdsemihidden0 \lsdunhideused0 \lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 4;\lsdsemihidden0 \lsdunhideused0 \lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 4; +\lsdsemihidden0 \lsdunhideused0 \lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 4;\lsdsemihidden0 \lsdunhideused0 \lsdpriority70 \lsdlocked0 Dark List Accent 4;\lsdsemihidden0 \lsdunhideused0 \lsdpriority71 \lsdlocked0 Colorful Shading Accent 4; +\lsdsemihidden0 \lsdunhideused0 \lsdpriority72 \lsdlocked0 Colorful List Accent 4;\lsdsemihidden0 \lsdunhideused0 \lsdpriority73 \lsdlocked0 Colorful Grid Accent 4;\lsdsemihidden0 \lsdunhideused0 \lsdpriority60 \lsdlocked0 Light Shading Accent 5; +\lsdsemihidden0 \lsdunhideused0 \lsdpriority61 \lsdlocked0 Light List Accent 5;\lsdsemihidden0 \lsdunhideused0 \lsdpriority62 \lsdlocked0 Light Grid Accent 5;\lsdsemihidden0 \lsdunhideused0 \lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 5; +\lsdsemihidden0 \lsdunhideused0 \lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 5;\lsdsemihidden0 \lsdunhideused0 \lsdpriority65 \lsdlocked0 Medium List 1 Accent 5;\lsdsemihidden0 \lsdunhideused0 \lsdpriority66 \lsdlocked0 Medium List 2 Accent 5; +\lsdsemihidden0 \lsdunhideused0 \lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 5;\lsdsemihidden0 \lsdunhideused0 \lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 5;\lsdsemihidden0 \lsdunhideused0 \lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 5; +\lsdsemihidden0 \lsdunhideused0 \lsdpriority70 \lsdlocked0 Dark List Accent 5;\lsdsemihidden0 \lsdunhideused0 \lsdpriority71 \lsdlocked0 Colorful Shading Accent 5;\lsdsemihidden0 \lsdunhideused0 \lsdpriority72 \lsdlocked0 Colorful List Accent 5; +\lsdsemihidden0 \lsdunhideused0 \lsdpriority73 \lsdlocked0 Colorful Grid Accent 5;\lsdsemihidden0 \lsdunhideused0 \lsdpriority60 \lsdlocked0 Light Shading Accent 6;\lsdsemihidden0 \lsdunhideused0 \lsdpriority61 \lsdlocked0 Light List Accent 6; +\lsdsemihidden0 \lsdunhideused0 \lsdpriority62 \lsdlocked0 Light Grid Accent 6;\lsdsemihidden0 \lsdunhideused0 \lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 6;\lsdsemihidden0 \lsdunhideused0 \lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 6; +\lsdsemihidden0 \lsdunhideused0 \lsdpriority65 \lsdlocked0 Medium List 1 Accent 6;\lsdsemihidden0 \lsdunhideused0 \lsdpriority66 \lsdlocked0 Medium List 2 Accent 6;\lsdsemihidden0 \lsdunhideused0 \lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 6; +\lsdsemihidden0 \lsdunhideused0 \lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 6;\lsdsemihidden0 \lsdunhideused0 \lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 6;\lsdsemihidden0 \lsdunhideused0 \lsdpriority70 \lsdlocked0 Dark List Accent 6; +\lsdsemihidden0 \lsdunhideused0 \lsdpriority71 \lsdlocked0 Colorful Shading Accent 6;\lsdsemihidden0 \lsdunhideused0 \lsdpriority72 \lsdlocked0 Colorful List Accent 6;\lsdsemihidden0 \lsdunhideused0 \lsdpriority73 \lsdlocked0 Colorful Grid Accent 6; +\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority19 \lsdlocked0 Subtle Emphasis;\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority21 \lsdlocked0 Intense Emphasis; +\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority31 \lsdlocked0 Subtle Reference;\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority32 \lsdlocked0 Intense Reference; +\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority33 \lsdlocked0 Book Title;\lsdpriority37 \lsdlocked0 Bibliography;\lsdqformat1 \lsdpriority39 \lsdlocked0 TOC Heading;}}{\*\datastore 010500000200000018000000 +4d73786d6c322e534158584d4c5265616465722e362e3000000000000000000000060000 +d0cf11e0a1b11ae1000000000000000000000000000000003e000300feff090006000000000000000000000001000000010000000000000000100000feffffff00000000feffffff0000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff +ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff +ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff +ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff +fffffffffffffffffdfffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff +ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff +ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff +ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff +ffffffffffffffffffffffffffffffff52006f006f007400200045006e00740072007900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016000500ffffffffffffffffffffffff0c6ad98892f1d411a65f0040963251e500000000000000000000000080d2 +51cc4a0ccd01feffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000 +00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000 +000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffff000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000105000000000000}} \ No newline at end of file diff --git a/packages/mongocsharpdriver.1.4/Release Notes v1.4.txt b/packages/mongocsharpdriver.1.4/Release Notes v1.4.txt new file mode 100644 index 000000000..d0f0c911e --- /dev/null +++ b/packages/mongocsharpdriver.1.4/Release Notes v1.4.txt @@ -0,0 +1,348 @@ +C# Driver Version 1.4 Release Notes +=================================== + +The major feature of this release is support for LINQ queries. Some of the other +changes (e.g. new IBsonSerializer methods) are also in support of the new LINQ +implementation. + +File by file change logs are available at: + +https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Change%20Log%20v1.4-Bson.txt +https://github.com/mongodb/mongo-csharp-driver/blob/master/Release%20Notes/Change%20Log%20v1.4-Driver.txt + +These release notes describe the changes at a higher level, and omit describing +some of the minor changes. + +Breaking changes +---------------- + +There are some breaking changes in this release. Some of them are only breaking +at the binary level and are easily taken care of by simply recompiling your +application. Others require minor changes to your source code. Many of the +breaking changes are in low level classes, and these won't affect most users, +unless for example you are doing things like writing custom serializers. + +Please read these release notes carefully before adopting the new 1.4 release +of the C# driver to determine if any of the breaking changes affect you. + +LINQ query support +------------------ + +As stated previously, the major feature of this release is support for LINQ +queries. These release notes don't describe the new LINQ support, for that +please refer to the online LINQ tutorial at: + +http://www.mongodb.org/display/DOCS/CSharp+Driver+LINQ+Tutorial + +(Please note that the LINQ tutorial won't be available until several weeks +after the 1.4 release has been shipped. Sorry.) + +CLS compliance +-------------- + +Both the MongoDB.Bson.dll and MongoDB.Driver.dll libraries have been marked +as CLS compliant, which should make them more useful from other .NET languages. +Most of the changes required to make the libraries CLS compliant are not even +visible in the public interface. + +Release builds +-------------- + +Starting with the 1.4 version we are shipping Release builds of the DLLs. + +Code formatting changes +----------------------- + +In response to popular demand the code base has been reformatted using the +default Visual Studio C# code formatting settings. We have also adopted +the convention of prefixing instance field names with a single "_" and static +fields names with a double "__" (while this convention for static fields is +not common it is very useful). One of the nice benefits of these conventions +is that the drop down menu in Visual Studio that displays class members ends +up grouping all static fields first, followed by instance fields, followed by +the rest of the properties and methods. + +BSON library changes +==================== + +ArraySerializationOptions +------------------------- + +This new class allows you to specify serialization options for array-like +members. Initially the only option available is to specify serialization +options for the items of the array. When using attributes to specify +serialization options any attributes that don't apply to the collection as a +whole implictly apply to the items of the collection. + +BsonDateTime is now a pure BSON DateTime value +---------------------------------------------- + +In previous versions the BsonDateTime class stored its value twice in two +different private fields: _millisecondsSinceEpoch (a long) and _value (a .NET +DateTime). The idea was that you could store a .NET DateTime without losing any +precision. However, that turns out to be confusing because as soon as you save +the BsonDateTime value to the database and read it back you are going to lose +precision anyway, so you might as well lose it right up front and not make +false promises. + +BsonDateTime also has two new helper methods: ToLocalTime and ToUniversalTime. +These methods convert the BSON DateTime to either local or UTC .NET DateTime +values. There are also new AsLocalTime and AsUniversalTime properties in +BsonValues that can be used to convert BsonValues to .NET DateTime values (like +all AsXyz properties in BsonValue they throw an InvalidCastException if the +BsonValue is not actually a BsonDateTime). + +BsonIgnoreExtraElements attribute +--------------------------------- + +The BsonIgnoreExtraElements attribute has a new property called Inherited. If +this property is set to true then all classes derived from this one will +automatically inherit this setting, which makes it easy to set it for an +entire class hierarchy at once. + +BsonIgnoreIfDefault attribute +----------------------------- + +This new attribute allows you to specify that you want a field to be ignored +during serialization if it is equal to the default value. This replaces the +SerializeDefaultValue parameter of the BsonDefaultValue attribute. By making +this a separate attribute you can specify that you want the default value +ignored without having to specify the default value as well. + +BsonReader: CurrentBsonType vs GetCurrentBsonType +------------------------------------------------- + +In previous versions the CurrentBsonType property had side effects. In general +it is bad form for the get accessor of a property to have side effects, as even +something as simple as looking at the value of the property in a debugger can +have unintended consequences. Therefore, in the 1.4 release the CurrentBsonType +property has no side effects. The previous behavior is now implemented in the +GetCurrentBsonType method. While this is mostly an internal change, *if* you +have written a custom serializer that used the CurrentBsonType property and +were relying on its side effects you will have to change your custom serializer +to call GetCurrentBsonType instead. + +ConventionProfile new conventions +--------------------------------- + +The ConventionProfile class has two new conventions: IgnoreIfDefaultConvention +and SerializationOptionsConvention. Also, the SerializeDefaultValueConvention +has been obsoleted in favor of the new IgnoreIfDefaultConvention. + +DictionarySerializationOptions +------------------------------ + +This class has a new property called ItemSerializationOptions that can be used +to specify the options to use when serializing the value of the items in the +dictionary. When using attributes to specify serialization options, any +attributes that don't apply to the dictionary as a whole implicitly apply to +the value of the items in the dictionary. + +ExtraElements +------------- + +Previous versions of the C# driver allowed you to specify a field of the class +to be used to store any extra elements encountered during deserialization. +However, this field *had* to be of type BsonDocument, which meant introducing +a dependency on the driver into your data model classes (which some developers +don't want to do). You now have the additional option of declaring your +ExtraElements field to be of type IDictionary\ instead. + +IBsonSerializationOptions +------------------------- + +The IBsonSerializationOptions has several new methods. ApplyAttribute is used +during the AutoMap process to apply an attribute to some serialization options +that are being built incrementally (starting from the default serialization +options). This provides an extensible mechanism for applying new attributes to +new serialization options classes. The Clone and Freeze methods are introduced +to allow serialization options to be converted to read-only once initialization +is complete to provide thread safety. + +IBsonSerializer +--------------- + +The IBsonSerializer has several new methods. GetDefaultSerializationOptions +provides an initial set of serialization options that any serialization +attributes found can be applied against. GetItemSerializationInfo provides +serialization info about the items and applies only to serializers for +collection-like classes. GetMemberSerializationInfo provides serialization +info about members of a class. The last two are used in the implementation +of LINQ queries. + +Image/Bitmap serializers +------------------------ + +New serializers have been provided for the Image abstract base class and the +Bitmap class derived from it. + +ISupportInitialize +------------------ + +The ISupportInitialize interface defines two methods: BeginInit and EndInit. +The BsonClassMapSerializer now checks whether the class being deserialized +implements this interface, and if so, calls BeginInit just before it starts +to deserialize a class, and EndInit just after it has finished. You can +use this feature to do any pre- or post-processing. + +ObjectId/BsonObjectId creation +------------------------------ + +ObjectId (and BsonObjectId) have a new constructor that allows you to supply +the timestamp as a .NET DateTime value and it will automatically be converted +to seconds since the Unix Epoch. These new constructors are useful if you want +to create artificial ObjectIds to use in range based ObjectId queries (in +which case you will usually set the machine, pid and increment fields to zero). + +There are also two new overloads of GenerateNewId that allow you to provide +the desired timestamp as either an int or a .NET DateTime. These new overloads +are useful if you need to create backdated ObjectIds. When generating backdated +ObjectIds there is a slight risk that you might create an ObjectId that is +not unique (but that risk is very small). + +TimeSpanSerializationOptions +---------------------------- + +You can now choose any of the following representations for a TimeSpan: string, +double, Int32 or Int64. In addition, when using any of the numeric +representations, you can use the Units property to choose the units that the +numeric value is in (choose from: Ticks, Days, Hours, Minutes, Seconds, +Milliseconds and Nanoseconds). + +Driver changes +============== + +Authentication support improved +------------------------------- + +Operations that require admin credentials previously required you to set the +DefaultCredentials of MongoServerSetttings to admin credentials. But that is +undesirable because it provides the client code full access to all databases, +essentially negating the benefit of using authentication in the first place. +In the 1.4 release all operations that require admin credentials have a new +overload where you can provide the needed credentials; you no longer have to +set the DefaultCredentials. Another option is to store credentials for the +admin database in the new MongoCredentialsStore. + +Connection pool defaults changed +-------------------------------- + +The default value of WaitQueueMultiple has been changed from 1.0 to 5.0 and the +default value of WaitQueueTimeout has been changed from 0.5 seconds to 2 +minutes. These new values are taken from the Java driver, where they have +reportedly been working well for users running under heavy loads. These new +values mean that many more threads can be waiting for a longer time before a +timeout exception is thrown. + +Exceptions are no longer caught and rethrown when possible +---------------------------------------------------------- + +Wherever possible exception handling code that used to use catch exceptions +and rethrow them after processing them has been changed to roughly equivalent +code that uses try/finally to accomplish the same objective. This is specially +helpful if you are running the debugger set to stop whenever an exception is +thrown. + +IBsonSerializable semi-deprecated +--------------------------------- + +The LINQ support relies heavily on the new methods added to IBsonSerializer. +Because of this it is highly encouraged that *if* you have to handle your own +serialization that you always opt to write an IBsonSerializer for your class +instead of having it implement IBsonSerializable (see the notes for MongoDBRef +and SystemProfileInfo for examples of where the driver itself has switched +from IBsonSerializable to using a IBsonSerializer). IBsonSerializable still +has a modest role to play in classes that just need to be serialized quickly +and simply and for which we won't be writing LINQ queries (for example, the +driver's Builders and Wrappers still use IBsonSerializable). + +LINQ query support +------------------ + +As mentioned earlier in the release notes more information about the new +support for LINQ queries can be found in the forthcoming LINQ tutorial: + +http://www.mongodb.org/display/DOCS/CSharp+Driver+LINQ+Tutorial + +Locking issues +-------------- + +A number of locking issues related to connection pooling have been resolved. +These issues were particularly likely to occur if you had more threads than +the maximum size of the connection pool and were using the connections heavily +enough that the connection pool could be used up. + +MongoCredentialsStore +--------------------- + +You can now create a credentials store which contains credentials for multiple +databases (the name of the database is the key and the credentials are the +value). The credentials store must be set up (in the MongoServerSettings) +before you call MongoServer.Create, so it is only intended for scenarios +where you have a fixed set of credentials that aren't going to change at runtime. + +MongoDBRef no longer implements IBsonSerializable +------------------------------------------------- + +MongoDBRef used to handle its own serialization by virtue of implementing +IBsonSerializable. But the IBsonSerializable interface is not helpful when we +try to add support for writing LINQ queries against components of a MongoDBRef. +Instead, there is now a MongoDBRefSerializer which handles serialization of +MongoDBRefs, as well as implementing GetMemberSerializationInfo which enables +the LINQ implementation to support LINQ queries against MongoDBRefs. + +MongoInsertOptions/MongoUpdateOptions constructor changed +--------------------------------------------------------- + +The constructors for MongoInsertOptions and MongoUpdateOptions used to require +that the collection be passed in as a parameter. The purpose was to allow +the constructor to inherit some of the options from the collection settings. +To the developer however, this was awkward, as it required providing the +collection where it seemed to be redundant. By handling default values in a +different way we no longer require the collection to be supplied to the +constructors. The old constructors (that require the collection parameter) are +still temporarily supported but have been marked as deprecated with a warning. + +MongoServer Admin properties and methods removed +------------------------------------------------ + +The following Admin properties and methods have been removed from MongoServer: +AdminDatabase, GetAdminDatabase, RunAdminCommand, and RunAdminCommandAs. The +reason for removing them is that many developers would never use them anyway, +and adding new overloads for providing admin credentials would have resulted +in even more of these rarely used properties and methods. If you were using +any of these methods or properties they can easily be replaced with calls to +methods of an instance of MongoDatabase (use one of the overloads of +GetDatabase with "admin" as the database name to get a reference to the admin +database). + +RequestStart/RequestDone +------------------------ + +Recall that the purpose of RequestStart is to tell the driver that a series of +operations should all be done using the same connection (which in the case of a +replica set also implies using the same member of the connection set). Which +member of a replica set was chosen depended on the slaveOk parameter: a value +of false meant that the primary had to be used, and a value of true meant that +an arbitrary secondary could be used. A new overload of RequestStart now allows +the caller to specify which member should be used, which can be very useful for +implementing custom query routing algorithms or for querying specific members +of a replica set. In general though, keep in mind that you should *not* be +using RequestStart unless you have an unusual scenario which requires it. + +SocketTimeout default changed +----------------------------- + +The default value for SocketTimeout has been changed from 30 seconds to 0, +which is a special value meaning to use the operating system default value, +which in turn is infinity. If you actually want a SocketTimeout you now +have to set it yourself. The SocketTimeout is currently a server level setting, +but most likely in a future release it will be possible to set it at other +levels, including for individual operations. + +SystemProfileInfo no longer implements IBsonSerializable +-------------------------------------------------------- + +See the notes for MongoDBRef. SystemProfileInfo no longer implements +IBsonSerializable for the same reasons, and there is a new +SystemProfileInfoSerializer instead. diff --git a/packages/mongocsharpdriver.1.4/lib/net35/MongoDB.Bson.dll b/packages/mongocsharpdriver.1.4/lib/net35/MongoDB.Bson.dll new file mode 100644 index 000000000..f8bd00fd0 Binary files /dev/null and b/packages/mongocsharpdriver.1.4/lib/net35/MongoDB.Bson.dll differ diff --git a/packages/mongocsharpdriver.1.4/lib/net35/MongoDB.Bson.pdb b/packages/mongocsharpdriver.1.4/lib/net35/MongoDB.Bson.pdb new file mode 100644 index 000000000..2d7440265 Binary files /dev/null and b/packages/mongocsharpdriver.1.4/lib/net35/MongoDB.Bson.pdb differ diff --git a/packages/mongocsharpdriver.1.4/lib/net35/MongoDB.Bson.xml b/packages/mongocsharpdriver.1.4/lib/net35/MongoDB.Bson.xml new file mode 100644 index 000000000..51f31505c --- /dev/null +++ b/packages/mongocsharpdriver.1.4/lib/net35/MongoDB.Bson.xml @@ -0,0 +1,13252 @@ + + + + MongoDB.Bson + + + + + Represents a serializer for BitArrays. + + + + + Represents a base implementation for the many implementations of IBsonSerializer. + + + + + An interface implemented by BSON serializers. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The serialization options. + An object. + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Gets the default serialization options for this serializer. + + The default serialization options for this serializer. + + + + 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 the serialization info for individual items of an enumerable type. + + The serialization info for the items. + + + + Gets the serialization info for a member. + + The member name. + The serialization info for the member. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Sets the document Id. + + The document. + The Id. + + + + Initializes a new instance of the BsonBaseSerializer class. + + + + + Initializes a new instance of the BsonBaseSerializer class. + + The default serialization options for this serializer. + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The serialization options. + An object. + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Gets the default serialization options for this serializer. + + The default serialization options for this serializer. + + + + 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 the serialization info for individual items of an enumerable type. + + The serialization info for the items. + + + + Gets the serialization info for a member. + + The member name. + The serialization info for the member. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Sets the document Id. + + The document. + The Id. + + + + Ensures that the serializer has serialization options of the right type (replacing null with the default serialization options if necessary). + + The required serialization options type. + The serialization options. + The serialization options (or the defaults if null) cast to the required type. + + + + Verifies the nominal and actual types against the expected type. + + The nominal type. + The actual type. + The expected type. + + + + Gets the default serialization options. + + + + + Initializes a new instance of the BitArraySerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the BitArraySerializer class. + + + + + Represents a serializer for ByteArrays. + + + + + Initializes a new instance of the ByteArraySerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the ByteArraySerializer class. + + + + + Represents a serializer for Bytes. + + + + + Initializes a new instance of the ByteSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the ByteSerializer class. + + + + + Represents a serializer for Chars. + + + + + Initializes a new instance of the CharSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the CharSerializer class. + + + + + Represents a serializer for CultureInfos. + + + + + Initializes a new instance of the CultureInfoSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the CultureInfoSerializer class. + + + + + Represents a serializer for DateTimeOffsets. + + + + + Initializes a new instance of the DateTimeOffsetSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the DateTimeOffsetSerializer class. + + + + + Represents a serializer for Decimals. + + + + + Initializes a new instance of the DecimalSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the DecimalSerializer class. + + + + + Represents a serializer for System.Drawing.Size. + + + + + Initializes a new instance of the DrawingSizeSerializer class. + + + + + Deserializes an object of type System.Drawing.Size from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object of type System.Drawing.Size to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the DrawingSizeSerializer class. + + + + + Represents a serializer for Int16s. + + + + + Initializes a new instance of the Int16Serializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the Int16Serializer class. + + + + + Represents a serializer for IPAddresses. + + + + + Initializes a new instance of the IPAddressSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the IPAddressSerializer class. + + + + + Represents a serializer for IPEndPoints. + + + + + Initializes a new instance of the IPEndPointSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the IPEndPointSerializer class. + + + + + Represents a serializer for SBytes. + + + + + Initializes a new instance of the SByteSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the SByteSerializer class. + + + + + Represents a serializer for Singles. + + + + + Initializes a new instance of the SingleSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the SingleSerializer class. + + + + + Represents a serializer for Timespans. + + + + + Initializes a new instance of the TimeSpanSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the TimeSpanSerializer class. + + + + + Represents a serializer for UInt16s. + + + + + Initializes a new instance of the UInt16Serializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the UInt16Serializer class. + + + + + Represents a serializer for UInt32s. + + + + + Initializes a new instance of the UInt32Serializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the UInt32Serializer class. + + + + + Represents a serializer for UInt64s. + + + + + Initializes a new instance of the UInt64Serializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the UInt64Serializer class. + + + + + Represents a serializer for Uris. + + + + + Initializes a new instance of the UriSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the UriSerializer class. + + + + + Represents a serializer for Versions. + + + + + Initializes a new instance of the VersionSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the VersionSerializer class. + + + + + Represents a BSON symbol value. + + + + + Represents a BSON value (this is an abstract class, see the various subclasses). + + + + + Initializes a new instance of the BsonValue class. + + The BsonType of this BsonValue. + + + + 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 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 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. + + + + Creates a new instance of the BsonValue class. + + A value to be mapped to a BsonValue. + A BsonValue. + + + + Reads one BsonValue from a BsonReader. + + The reader. + 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 Double. + + A Double. + + + + Converts this BsonValue to an Int32. + + An Int32. + + + + Converts this BsonValue to an Int64. + + An Int64. + + + + Writes the BsonValue to a BsonWriter. + + The writer. + + + + Implementation of operator ==. + + The other BsonValue. + True if the two BsonValues are equal according to ==. + + + + 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 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{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 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. + + + + + Gets the raw value of this BsonValue (or null if this BsonValue doesn't have a single scalar value). + + + + + 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. + + + + Creates a new instance of the BsonSymbol class. + + A string. + A BsonSymbol. + + + + 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. + + + + Gets the name of the symbol. + + + + + 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 ==. + + + + Creates a new BsonArray. + + A list of values to add to the array. + A BsonArray or null. + + + + Creates a new BsonArray. + + A list of values to add to the array. + A BsonArray or null. + + + + Creates a new BsonArray. + + A list of values to add to the array. + A BsonArray or null. + + + + Creates a new BsonArray. + + A list of values to add to the array. + A BsonArray or null. + + + + Creates a new BsonArray. + + A list of values to add to the array. + A BsonArray or null. + + + + Creates a new BsonArray. + + A list of values to add to the array. + A BsonArray or null. + + + + Creates a new BsonArray. + + A list of values to add to the array. + A BsonArray or null. + + + + Creates a new BsonArray. + + A list of values to add to the array. + A BsonArray or null. + + + + Creates a new BsonArray. + + A list of values to add to the array. + A BsonArray or null. + + + + Creates a new BsonArray. + + A value to be mapped to a BsonArray. + A BsonArray or null. + + + + Reads a BsonArray from a BsonReader. + + The reader. + A BsonArray. + + + + 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. + + + + Writes the array to a BsonWriter. + + The writer. + + + + 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 an array element. + + The zero based index of the element. + The value of the element. + + + + Indicates that a field or property is required. + + + + + Abstract base class for serialization options attributes. + + + + + Initializes a new instance of the BsonSerializationOptionsAttribute class. + + + + + Represents a serializer for nullable values. + + The underlying type. + + + + Initializes a new instance of the NullableSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Gets the default serialization options for this serializer. + + The default serialization options for this serializer. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Represents a serializer for Images. + + + + + Initializes a new instance of the ImageSerializer class. + + + + + Deserializes an Image from a BsonReader. + + The BsonReader. + The nominal type of the Image. + The serialization options. + An Image. + + + + Deserializes an Image from a BsonReader. + + The BsonReader. + The nominal type of the Image. + The actual type of the Image. + The serialization options. + An Image. + + + + Serializes an Image to a BsonWriter. + + The BsonWriter. + The nominal type. + The Image. + The serialization options. + + + + Gets an instance of the ImageSerializer class. + + + + + Represents a serializer for Bitmaps. + + + + + Initializes a new instance of the BitmapSerializer class. + + + + + Deserializes an Bitmap from a BsonReader. + + The BsonReader. + The nominal type of the Bitmap. + The actual type of the Bitmap. + The serialization options. + A Bitmap. + + + + Serializes a Bitmap to a BsonWriter. + + The BsonWriter. + The nominal type. + The Bitmap. + The serialization options. + + + + Gets an instance of the BitmapSerializer class. + + + + + Represents a set of conventions. + + + + + Gets the default convention profile. + + The default convention profile. + + + + Merges another convention profile into this one (only missing conventions are merged). + + The other convention profile. + + + + Sets the default value convention. + + A default value convention. + The convention profile. + + + + Sets the element name convention. + + An element name convention. + The convention profile. + + + + Sets the extra elements member convention. + + An extra elements member convention. + The convention profile. + + + + Sets the Id generator convention. + + An Id generator convention. + The convention profile. + + + + Sets the Id member convention. + + An Id member convention. + The convention profile. + + + + Sets the ignore extra elements convention. + + An ignore extra elements convention. + The convention profile. + + + + Sets the ignore if default convention. + + An ignore if default convention. + The convention profile. + + + + Sets the ignore if null convention. + + An ignore if null convention. + The convention profile. + + + + Sets the member finder convention. + + A member finder convention. + The convention profile. + + + + Sets the serialization options convention. + + A serialization options convention. + The convention profile. + + + + Sets the serialize default value convention. + + A serialize default value convention. + The convention profile. + + + + Gets the default value convention. + + + + + Gets the element name convention. + + + + + Gets the extra elements member convention. + + + + + Gets the Id generator convention. + + + + + Gets the Id member convention. + + + + + Gets the ignore extra elements convention. + + + + + Gets the ignore if default convention. + + + + + Gets the ignore if null convention. + + + + + Gets the member finder convention. + + + + + Gets the BSON serialization options convention. + + + + + Gets the default value convention. + + + + + A marker interface that represents serialization options. + + + + + Apply an attribute to these serialization options and modify the options accordingly. + + The serializer that these serialization options are for. + The serialization options attribute. + + + + Clones the serialization options. + + A cloned copy of the serialization options. + + + + Freezes the serialization options. + + The frozen serialization options. + + + + An interface implemented by classes that handle their own BSON serialization. + + + + + Deserializes this object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The serialization options. + Normally itself, though sometimes an instance of a subclass or null. + + + + Gets the document Id. + + The Id. + The nominal type of the Id. + The IdGenerator for the Id type. + True if the document has an Id. + + + + Serializes this object to a BsonWriter. + + The BsonWriter. + The nominal type of this object. + The serialization options. + + + + Sets the document Id. + + The Id. + + + + Represents a serializer for classes that implement IBsonSerializable. + + + + + Initializes a new instance of the BsonIBsonSerializableSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The serialization options. + An object. + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Gets the default serialization options for this serializer. + + The default serialization options for this serializer. + + + + 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 the serialization info for individual items of an enumerable type. + + The serialization info for the items. + + + + Gets the serialization info for a member. + + The member name. + The serialization info for the member. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Sets the document Id. + + The document. + The Id. + + + + Gets an instance of the BsonIBsonSerializableSerializer class. + + + + + Represents a serializer for enums. + + + + + Initializes a new instance of the EnumSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the EnumSerializer class. + + + + + 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. + + + + 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. + + + + Creates a new instance of the BsonRegularExpression class. + + A Regex. + A BsonRegularExpression. + + + + Creates a new instance of the BsonRegularExpression class. + + A regular expression pattern. + A BsonRegularExpression. + + + + Creates a new instance of the BsonRegularExpression class. + + A regular expression pattern. + Regular expression options. + A BsonRegularExpression. + + + + 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. + + + + Gets the regular expression pattern. + + + + + Gets the regular expression options. + + + + + Represents a BSON int value. + + + + + Creates a new instance of the BsonInt32 class. + + The value. + + + + 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 instance of the BsonInt32 class. + + An int. + A BsonInt32. + + + + 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. + + + + 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 ==. + + + + 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 BsonInt32 as an int. + + + + + Gets the value of this BsonInt32. + + + + + Represents a BSON double value. + + + + + Initializes a new instance of the BsonDouble class. + + The value. + + + + 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. + + A double. + A BsonDouble. + + + + 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 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. + + + + 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. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + 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. + + + + + Gets the value of this BsonDouble. + + + + + 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. + + + + + Represents a BSON internal exception (almost surely the result of a bug). + + + + + 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. + + + + 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 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 nanoseconds as the units. + + + + + Represents a member finder convention. + + + + + Finds the members of a class that are serialized. + + The class. + The members that are serialized. + + + + Represents a member finder convention where all public read/write fields and properties are serialized. + + + + + Finds the members of a class that are serialized. + + The class. + The members that are serialized. + + + + 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 ==. + + + + 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. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Gets the singleton instance of BsonUndefined. + + + + + A static class that represents a JSON scanner. + + + + + Gets the next JsonToken from a JsonBuffer. + + The buffer. + The next token. + + + + 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. + + + + + Represents a BSON long value. + + + + + Initializes a new instance of the BsonInt64 class. + + The value. + + + + 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 instance of the BsonInt64 class. + + A long. + A BsonInt64. + + + + 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. + + + + 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 ==. + + + + Gets the BsonInt64 as a long. + + + + + Gets the value of this BsonInt64. + + + + + 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. + + + + + 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. + + + + + 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. + + + + Creates a clone of the context. + + A clone of the context. + + + + Represents a BSON element. + + + + + Initializes a new instance of the BsonElement class. + + The name of the element. + 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 new instance of the BsonElement class. + + Whether to create the BsonElement or return null. + The name of the element. + The value of the element. + A BsonElement or null. + + + + Creates a new instance of the BsonElement class. + + The name of the element. + The value of the element. + A BsonElement or null. + + + + 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. + + + + Gets the name of the element. + + + + + Gets or sets the value of the element. + + + + + Represents a BSON JavaScript value. + + + + + Initializes a new instance of the BsonJavaScript class. + + The JavaScript code. + + + + Initializes a new instance of the BsonJavaScript class (only called by BsonJavaScriptWithScope). + + The JavaScript code. + The BsonType (must be JavaScriptWithScope). + + + + 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 instance of the BsonJavaScript class. + + A string containing JavaScript code. + 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. + + + + Gets the JavaScript code. + + + + + A static class that represents the BSON serialization functionality. + + + + + Deserializes an object from a BsonDocument. + + The nominal type of the object. + The BsonDocument. + A TNominalType. + + + + Deserializes an object from a JsonBuffer. + + The nominal type of the object. + The JsonBuffer. + A TNominalType. + + + + Deserializes an object from a BsonReader. + + The nominal type of the object. + The BsonReader. + A TNominalType. + + + + Deserializes an object from a BSON byte array. + + The nominal type of the object. + The BSON byte array. + A TNominalType. + + + + Deserializes an object from a BSON Stream. + + The nominal type of the object. + The BSON Stream. + A TNominalType. + + + + Deserializes an object from a JSON string. + + The nominal type of the object. + The JSON string. + A TNominalType. + + + + Deserializes an object from a JSON TextReader. + + The nominal type of the object. + The JSON TextReader. + A TNominalType. + + + + Deserializes an object from a BsonDocument. + + The BsonDocument. + The nominal type of the object. + A TNominalType. + + + + Deserializes an object from a JsonBuffer. + + The JsonBuffer. + The nominal type of the object. + An object. + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + An object. + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The serialization options. + An object. + + + + Deserializes an object from a BSON byte array. + + The BSON byte array. + The nominal type of the object. + An object. + + + + Deserializes an object from a BSON Stream. + + The BSON Stream. + The nominal type of the object. + An object. + + + + Deserializes an object from a JSON string. + + The JSON string. + The nominal type of the object. + An object. + + + + Deserializes an object from a JSON TextReader. + + The JSON TextReader. + The nominal type of the object. + An object. + + + + Looks up a generic serializer definition. + + The generic type. + A generic serializer definition. + + + + 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 the Type. + + + + 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. + + + + Serializes an object to a BsonWriter. + + The nominal type of the object. + The BsonWriter. + The object. + + + + Serializes an object to a BsonWriter. + + The nominal type of the object. + The BsonWriter. + The object. + The serialization options. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type of the object. + The object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type of the object. + The object. + The serialization options. + + + + 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. + + + + + 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. + + + + Represents an Id generator for BsonObjectIds. + + + + + 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. + + + + 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. + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Gets an instance of ObjectIdGenerator. + + + + + 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. + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Gets an instance of CombGuidGenerator. + + + + + 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. + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Gets an instance of GuidGenerator. + + + + + 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. + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Gets an instance of NullIdChecker. + + + + + 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. + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Gets an instance of ObjectIdGenerator. + + + + + 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. + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Gets an instance of StringObjectIdGenerator. + + + + + 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 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 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. + + + + + Represents an Int32 JSON token. + + + + + Initializes a new instance of the Int32JsonToken class. + + The lexeme. + The Int32 value. + + + + Gets the value of an Int32 token. + + + + + Gets the value of an Int32 token as an Int64. + + + + + Represents an Int64 JSON token. + + + + + Initializes a new instance of the Int64JsonToken class. + + The lexeme. + The Int64 value. + + + + Gets the value of an Int64 token. + + + + + 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 BSON writer to a BsonDocument. + + + + + Represents a BSON writer for some external format (see subclasses). + + + + + Initializes a new instance of the BsonWriter class. + + The writer settings. + + + + Creates a BsonWriter to a BsonBuffer. + + Optional BsonBinaryWriterSettings. + A BsonWriter. + + + + Creates a BsonWriter to a BsonBuffer. + + A BsonBuffer. + A BsonWriter. + + + + Creates a BsonWriter to a BsonBuffer. + + A BsonBuffer. + Optional BsonBinaryWriterSettings. + A BsonWriter. + + + + Creates a BsonWriter to a BsonDocument. + + A BsonDocument. + A BsonWriter. + + + + Creates a BsonWriter to a BsonDocument. + + A BsonDocument. + The settings. + A BsonWriter. + + + + Creates a BsonWriter to a BSON Stream. + + A Stream. + A BsonWriter. + + + + Creates a BsonWriter to a BSON Stream. + + A Stream. + Optional BsonBinaryWriterSettings. + A BsonWriter. + + + + Creates a BsonWriter to a JSON TextWriter. + + A TextWriter. + A BsonWriter. + + + + Creates a BsonWriter to a JSON TextWriter. + + A TextWriter. + Optional JsonWriterSettings. + A BsonWriter. + + + + Closes the writer. + + + + + Disposes of any resources used by the writer. + + + + + Flushes any pending data to the output destination. + + + + + Writes a BSON binary data element to the writer. + + The binary data. + The binary data subtype. + + + + Writes BSON binary data to the writer. + + The binary data. + The binary data subtype. + The respresentation for Guids. + + + + Writes a BSON binary data element to the writer. + + The name of the element. + The binary data. + The binary data subtype. + + + + Writes a BSON binary data element to the writer. + + The name of the element. + The binary data. + The binary data subtype. + The representation for Guids. + + + + Writes a BSON Boolean to the writer. + + The Boolean value. + + + + Writes a BSON Boolean element to the writer. + + The name of the element. + The Boolean value. + + + + Writes a BSON DateTime to the writer. + + The number of milliseconds since the Unix epoch. + + + + Writes a BSON DateTime element to the writer. + + The name of the element. + The number of milliseconds since the Unix epoch. + + + + Writes a BSON Double to the writer. + + The Double value. + + + + Writes a BSON Double element to the writer. + + The name of the element. + 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 Int32 element to the writer. + + The name of the element. + The Int32 value. + + + + Writes a BSON Int64 to the writer. + + The Int64 value. + + + + Writes a BSON Int64 element to the writer. + + The name of the element. + The Int64 value. + + + + Writes a BSON JavaScript to the writer. + + The JavaScript code. + + + + Writes a BSON JavaScript element to the writer. + + The name of the element. + The JavaScript code. + + + + Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope). + + The JavaScript code. + + + + Writes a BSON JavaScript element to the writer (call WriteStartDocument to start writing the scope). + + The name of the element. + The JavaScript code. + + + + Writes a BSON MaxKey to the writer. + + + + + Writes a BSON MaxKey element to the writer. + + The name of the element. + + + + Writes a BSON MinKey to the writer. + + + + + Writes a BSON MinKey element to the writer. + + The name of the element. + + + + Writes the name of an element to the writer. + + The name of the element. + + + + Writes a BSON null to the writer. + + + + + Writes a BSON null element to the writer. + + The name of the element. + + + + Writes a BSON ObjectId to the writer. + + The timestamp. + The machine hash. + The PID. + The increment. + + + + Writes a BSON ObjectId element to the writer. + + The name of the element. + The timestamp. + The machine hash. + The PID. + The increment. + + + + Writes a BSON regular expression to the writer. + + A regular expression pattern. + A regular expression options. + + + + Writes a BSON regular expression element to the writer. + + The name of the element. + A regular expression pattern. + A regular expression options. + + + + Writes the start of a BSON array to the writer. + + + + + Writes the start of a BSON array element to the writer. + + The name of the element. + + + + Writes the start of a BSON document to the writer. + + + + + Writes the start of a BSON document element to the writer. + + The name of the element. + + + + Writes a BSON String to the writer. + + The String value. + + + + Writes a BSON String element to the writer. + + The name of the element. + The String value. + + + + Writes a BSON Symbol to the writer. + + The symbol. + + + + Writes a BSON Symbol element to the writer. + + The name of the element. + The symbol. + + + + Writes a BSON timestamp to the writer. + + The combined timestamp/increment value. + + + + Writes a BSON timestamp element to the writer. + + The name of the element. + The combined timestamp/increment value. + + + + Writes a BSON undefined to the writer. + + + + + Writes a BSON undefined element to the writer. + + The name of the element. + + + + Checks that the element name is valid. + + The element name to be checked. + + + + 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. + + + + Gets or sets whether to check element names (no periods or leading $). + + + + + Gets or sets whether to check an update document (turns CheckElementNames on if first element name does *not* start with $). + + + + + 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. + + + + + 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. + + + + + Flushes any pending data to the output destination. + + + + + Writes BSON binary data to the writer. + + The binary data. + The binary data subtype. + The representation for Guids. + + + + Writes a BSON Boolean to the writer. + + The Boolean value. + + + + 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 timestamp. + The machine hash. + The PID. + The increment. + + + + Writes a BSON regular expression to the writer. + + A regular expression pattern. + A regular expression options. + + + + 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. + + + + Gets the top level BsonDocument. + + + + + Represents a BSON reader for a BsonDocument. + + + + + Represents a BSON reader for some external format (see subclasses). + + + + + Initializes a new instance of the BsonReader class. + + The reader settings. + + + + Creates a BsonReader for a BsonBuffer. + + The BsonBuffer. + A BsonReader. + + + + Creates a BsonReader for a BsonBuffer. + + The BsonBuffer. + Optional reader settings. + A BsonReader. + + + + Creates a BsonReader for a BsonDocument. + + The BsonDocument. + A BsonReader. + + + + Creates a BsonReader for a BsonDocument. + + The BsonDocument. + The settings. + A BsonReader. + + + + Creates a BsonReader for a JsonBuffer. + + The buffer. + A BsonReader. + + + + Creates a BsonReader for a JsonBuffer. + + The buffer. + The settings. + A BsonReader. + + + + Creates a BsonReader for a BSON Stream. + + The BSON Stream. + A BsonReader. + + + + Creates a BsonReader for a BSON Stream. + + The BSON Stream. + Optional reader settings. + A BsonReader. + + + + Creates a BsonReader for a JSON string. + + The JSON string. + A BsonReader. + + + + Creates a BsonReader for a JSON TextReader. + + The JSON TextReader. + A BsonReader. + + + + Closes the reader. + + + + + Disposes of any resources used by the reader. + + + + + Positions the reader to an element by name. + + The name of the element. + True if the element was found. + + + + Positions the reader to a string element by name. + + The name of the element. + True if the element was found. + + + + Gets a bookmark to the reader's current position and state. + + A bookmark. + + + + Gets the current BsonType (calls ReadBsonType if necessary). + + The current BsonType. + + + + Reads BSON binary data from the reader. + + The binary data. + The binary data subtype. + + + + Reads BSON binary data from the reader. + + The binary data. + The binary data subtype. + The representation for Guids. + + + + Reads a BSON binary data element from the reader. + + The name of the element. + The binary data. + The binary data subtype. + + + + Reads a BSON binary data element from the reader. + + The name of the element. + The binary data. + The binary data subtype. + The representation for Guids. + + + + Reads a BSON boolean from the reader. + + A Boolean. + + + + Reads a BSON boolean element from the reader. + + The name of the element. + A Boolean. + + + + Reads a BsonType from the reader. + + A BsonType. + + + + Reads a BSON DateTime from the reader. + + The number of milliseconds since the Unix epoch. + + + + Reads a BSON DateTime element from the reader. + + The name of the element. + The number of milliseconds since the Unix epoch. + + + + Reads a BSON Double from the reader. + + A Double. + + + + Reads a BSON Double element from the reader. + + The name of the element. + 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 Int32 element from the reader. + + The name of the element. + An Int32. + + + + Reads a BSON Int64 from the reader. + + An Int64. + + + + Reads a BSON Int64 element from the reader. + + The name of the element. + An Int64. + + + + Reads a BSON JavaScript from the reader. + + A string. + + + + Reads a BSON JavaScript element from the reader. + + The name of the element. + A string. + + + + Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope). + + A string. + + + + Reads a BSON JavaScript with scope element from the reader (call ReadStartDocument next to read the scope). + + The name of the element. + A string. + + + + Reads a BSON MaxKey from the reader. + + + + + Reads a BSON MaxKey element from the reader. + + The name of the element. + + + + Reads a BSON MinKey from the reader. + + + + + Reads a BSON MinKey element from the reader. + + The name of the element. + + + + Reads the name of an element from the reader. + + The name of the element. + + + + Reads the name of an element from the reader. + + The name of the element. + + + + Reads a BSON null from the reader. + + + + + Reads a BSON null element from the reader. + + The name of the element. + + + + Reads a BSON ObjectId from the reader. + + The timestamp. + The machine hash. + The PID. + The increment. + + + + Reads a BSON ObjectId element from the reader. + + The name of the element. + The timestamp. + The machine hash. + The PID. + The increment. + + + + Reads a BSON regular expression from the reader. + + A regular expression pattern. + A regular expression options. + + + + Reads a BSON regular expression element from the reader. + + The name of the element. + A regular expression pattern. + A regular expression options. + + + + 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 string element from the reader. + + A String. + The name of the element. + + + + Reads a BSON symbol from the reader. + + A string. + + + + Reads a BSON symbol element from the reader. + + The name of the element. + A string. + + + + Reads a BSON timestamp from the reader. + + The combined timestamp/increment. + + + + Reads a BSON timestamp element from the reader. + + The combined timestamp/increment. + The name of the element. + + + + Reads a BSON undefined from the reader. + + + + + Reads a BSON undefined element from the reader. + + The name of the element. + + + + 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. + + + + Verifies the name of the current element. + + The expected name. + + + + 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. + + + + + 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. + + + + Reads BSON binary data from the reader. + + The binary data. + The binary data subtype. + The representation for Guids. + + + + Reads a BSON boolean from the reader. + + A Boolean. + + + + Reads a BsonType from the reader. + + A BsonType. + + + + 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 a BSON null from the reader. + + + + + Reads a BSON ObjectId from the reader. + + The timestamp. + The machine hash. + The PID. + The increment. + + + + Reads a BSON regular expression from the reader. + + A regular expression pattern. + A regular expression options. + + + + 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 BsonDocumentWriter. + + + + + 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. + + + + 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. + + + + + Gets or sets the representation for Guids. + + + + + Gets whether the settings are frozen. + + + + + 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. + + + + Gets or sets the default BsonDocumentWriter settings. + + + + + Represents settings for a BsonDocumentReader. + + + + + 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. + + + + 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. + + + + + Gets or sets the representation for Guids. + + + + + Gets whether the settings are frozen. + + + + + 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. + + + + Gets or sets the default settings for a BsonDocumentReader. + + + + + 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 ==. + + + + 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. + + + + Gets the singleton instance of BsonMaxKey. + + + + + Represents a BSON writer to a BSON Stream. + + + + + Initializes a new instance of the BsonBinaryWriter class. + + A stream. + A BsonBuffer. + Optional BsonBinaryWriter settings. + + + + Closes the writer. + + + + + Flushes any pending data to the output destination. + + + + + Writes BSON binary data to the writer. + + The binary data. + The binary data subtype. + The representation for Guids. + + + + Writes a BSON Boolean to the writer. + + The Boolean value. + + + + 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 timestamp. + The machine hash. + The PID. + The increment. + + + + Writes a BSON regular expression to the writer. + + A regular expression pattern. + A regular expression options. + + + + 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. + + + + Gets the writer's BsonBuffer. + + + + + Represents a BSON string value. + + + + + Initializes a new instance of the BsonString class. + + The value. + + + + 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. + + + + Creates a new instance of the BsonString class. + + A string. + A BsonString. + + + + 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. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Gets an instance of BsonString that represents an empty string. + + + + + Gets the BsonString as a string. + + + + + Gets the value of this BsonString. + + + + + Represents settings for a JsonWriter. + + + + + Initializes a new instance of the JsonWriterSettings class. + + + + + Initializes a new instance of the JsonWriterSettings class. + + Whether to close the output when the writer is closed. + The output Encoding. + The representation for Guids. + Whether to indent the output. + The indentation characters. + The new line characters. + The output mode. + The version of the shell to target. + + + + 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 whether to close the output when the writer is closed. + + + + + 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). + + + + + Represents a BSON reader for a binary BSON byte array. + + + + + Initializes a new instance of the BsonBinaryReader class. + + A BsonBuffer. + A BsonBinaryReaderSettings. + + + + Closes the reader. + + + + + Gets a bookmark to the reader's current position and state. + + A bookmark. + + + + Reads BSON binary data from the reader. + + The binary data. + The binary data subtype. + The representation for Guids. + + + + Reads a BSON boolean from the reader. + + A Boolean. + + + + Reads a BsonType from the reader. + + A BsonType. + + + + 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 a BSON null from the reader. + + + + + Reads a BSON ObjectId from the reader. + + The timestamp. + The machine hash. + The PID. + The increment. + + + + Reads a BSON regular expression from the reader. + + A regular expression pattern. + A regular expression options. + + + + 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. + + + + Gets the reader's buffer. + + + + + Represents a mapping between a class and a BSON document. + + + + + Initializes a new instance of the BsonClassMap class. + + The class type. + + + + Gets the type of a member. + + The member info. + The type of the member. + + + + Gets a loadable type name (like AssemblyQualifiedName but shortened when possible) + + The type. + The type name. + + + + 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. + + + + Looks up the conventions profile for a type. + + The type. + The conventions profile for that type. + + + + 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. + + + + Registers a conventions profile. + + The conventions profile. + The filter function that determines which types this profile applies to. + + + + Automaps the class. + + + + + Creates an instance of the class. + + An object. + + + + Freezes the class map. + + The frozen class map. + + + + Gets a member map. + + The member name. + The member map. + + + + Gets the member map for a BSON element. + + The name of the element. + The member map. + + + + 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 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). + + + + 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. + + + + 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 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 base class map. + + + + + Gets the class type. + + + + + Gets the conventions used with 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 has a root class ancestor. + + + + + Gets the Id member map. + + + + + 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 member maps. + + + + + 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. + + + + Gets a member map. + + The member type. + A lambda expression specifying the member. + 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. + + + + Specifies the element name and related options for a field or property. + + + + + Initializes a new instance of the BsonElementAttribute class. + + The name of the element. + + + + Gets the element name. + + + + + Gets the element serialization order. + + + + + Represents serialization options for a document. + + + + + Abstract base class for serialization options. + + + + + Initializes a new instance of the BsonBaseSerializationOptions class. + + + + + Apply an attribute to these serialization options and modify the options accordingly. + + The serializer that these serialization options are for. + The serialization options attribute. + + + + Clones the serialization options. + + A cloned copy of the serialization options. + + + + Freezes the serialization options. + + The frozen serialization options. + + + + Ensures that this instance is not frozen. + + + + + Gets whether the serialization options are frozen. + + + + + Initializes a new instance of the DocumentSerializationOptions class. + + + + + Initializes a new instance of the DocumentSerializationOptions class. + + Whether to serialize the Id as the first element. + + + + Apply an attribute to these serialization options and modify the options accordingly. + + The serializer that these serialization options are for. + The serialization options attribute. + + + + Clones the serialization options. + + A cloned copy of the serialization options. + + + + Gets an instance of DocumentSerializationOptions that specifies that duplicate names are allowed. + + + + + Gets or sets the default document serialization options. + + + + + Gets an instance of DocumentSerializationOptions that specifies to serialize the Id as the first element. + + + + + Gets whether to allow duplicate names. + + + + + Gets whether to serialize the Id as the first element. + + + + + Represents an ignore if default convention. + + + + + Determines whether to ignore nulls for a member. + + The member. + Whether to ignore nulls. + + + + Represents an ignore if default convention where default values are never ignored. + + + + + Determines whether to ignore nulls for a member. + + The member. + Whether to ignore nulls. + + + + Represents an ignore if default convention where default values are always ignored. + + + + + Determines whether to ignore nulls for a member. + + The member. + Whether to ignore nulls. + + + + Represents settings for a JsonReader. + + + + + Initializes a new instance of the JsonReaderSettings class. + + + + + Initializes a new instance of the JsonReaderSettings class. + + Whether to close the input stream when the reader is closed. + 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. + + + + Gets or sets the default settings for a JsonReader. + + + + + Gets or sets whether to close the input stream when the reader is closed. + + + + + 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 ==. + + + + Creates a new BsonJavaScriptWithScope. + + An object to be mapped to a BsonJavaScriptWithScope. + A BsonJavaScriptWithScope or null. + + + + Creates a new instance of the BsonJavaScript class. + + A string containing JavaScript code. + A scope (a set of variable with values). + A BsonJavaScript. + + + + 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. + + + + Gets the scope (a set of variables with values). + + + + + 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. + + + + + Represents a BSON reader for a JSON string. + + + + + Initializes a new instance of the JsonReader class. + + The buffer. + The reader settings. + + + + Closes the reader. + + + + + Gets a bookmark to the reader's current position and state. + + A bookmark. + + + + Reads BSON binary data from the reader. + + The binary data. + The binary data subtype. + The representation for Guids. + + + + Reads a BSON boolean from the reader. + + A Boolean. + + + + Reads a BsonType from the reader. + + A BsonType. + + + + 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 a BSON null from the reader. + + + + + Reads a BSON ObjectId from the reader. + + The timestamp. + The machine hash. + The PID. + The increment. + + + + Reads a BSON regular expression from the reader. + + A regular expression pattern. + A regular expression options. + + + + 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 an extra elements member convention. + + + + + Finds the extra elements member of a class. + + The class. + The extra elements member. + + + + Represents an extra elements member convention where the extra elements member has a certain name. + + + + + Initializes a new instance of the NamedExtraElementsMemberConvention class. + + The name of the extra elements member. + + + + Finds the extra elements member of a class. + + The class. + The extra elements member. + + + + Gets the name of the extra elements member. + + + + + Represents a BSON writer to a TextWriter (in JSON format). + + + + + Initializes a new instance of the JsonWriter class. + + A TextWriter. + Optional JsonWriter settings. + + + + Closes the writer. + + + + + Flushes any pending data to the output destination. + + + + + Writes BSON binary data to the writer. + + The binary data. + The binary data subtype. + The representation for Guids. + + + + Writes a BSON Boolean to the writer. + + The Boolean value. + + + + 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 timestamp. + The machine hash. + The PID. + The increment. + + + + Writes a BSON regular expression to the writer. + + A regular expression pattern. + A regular expression options. + + + + 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 a default value convention. + + + + + Gets the default value for a member. + + The member. + The default value. + + + + Represents a default value convention of null. + + + + + Gets the default value for a member. + + The member. + null. + + + + This class represents a JSON string buffer. + + + + + Initializes a new instance of the JsonBuffer class. + + The string. + + + + Reads a character from the buffer. + + The next character (or -1 if at the end of the buffer). + + + + Reads a substring from the buffer. + + The zero based index of the start of the substring. + The substring. + + + + Reads a substring from the buffer. + + The zero based index of the start of the substring. + The number of characters in the substring. + The substring. + + + + Returns one character to the buffer (if the character matches the one at the current position the current position is moved back by one). + + The character to return. + + + + Gets the length of the JSON string. + + + + + Gets or sets the current position. + + + + + Represents serialization options for a DateTime value. + + + + + Initializes a new instance of the DateTimeSerializationOptions class. + + + + + Initializes a new instance of the DateTimeSerializationOptions class. + + Whether this DateTime consists of a Date only. + + + + Initializes a new instance of the DateTimeSerializationOptions class. + + Whether this DateTime consists of a Date only. + The external representation. + + + + Initializes a new instance of theDateTimeSerializationOptions class. + + The DateTimeKind (Local, Unspecified or Utc). + + + + Initializes a new instance of the DateTimeSerializationOptions class. + + The DateTimeKind (Local, Unspecified or Utc). + The external representation. + + + + Apply an attribute to these serialization options and modify the options accordingly. + + The serializer that these serialization options are for. + The serialization options attribute. + + + + Clones the serialization options. + + A cloned copy of the serialization options. + + + + Gets an instance of DateTimeSerializationOptions with DateOnly=true. + + + + + Gets or sets the default DateTime serialization options. + + + + + Gets an instance of DateTimeSerializationOptions with Kind=Local. + + + + + Gets an instance of DateTimeSerializationOptions with Kind=Utc. + + + + + Gets whether this DateTime consists of a Date only. + + + + + Gets the DateTimeKind (Local, Unspecified or Utc). + + + + + Gets the external representation. + + + + + Represents an ObjectId (see also BsonObjectId). + + + + + Initializes a new instance of the ObjectId class. + + The value. + + + + 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 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. + + + + 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. + + + + Returns a string representation of the value. + + A string representation of 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). + + + + + 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. + + + + 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. + + A DateTime. + A BsonDateTime. + + + + Creates a new BsonDateTime. + + A DateTime. + Milliseconds since Unix Epoch. + + + + 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 the BsonDateTime value to a .NET DateTime value in the local timezone. + + A DateTime in the local timezone. + + + + Converts the BsonDateTime value to a .NET DateTime value in UTC. + + A DateTime in UTC. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + 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. + + + + + 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. + + + + + Represents the information needed to serialize a member. + + + + + Initializes a new instance of the BsonSerializationInfo class. + + The element name. + The serializer. + The nominal type. + The serialization options. + + + + Gets or sets the dotted element name. + + + + + Gets or sets the serializer. + + + + + Gets or sets the nominal type. + + + + + Gets or sets the serialization options. + + + + + Represents settings for a BsonBinaryReader. + + + + + Initializes a new instance of the BsonBinaryReaderSettings class. + + + + + Initializes a new instance of the BsonBinaryReaderSettings class. + + Whether to close the input stream when the reader is closed. + Whether to fix occurrences of the old binary subtype on input. + Whether to fix occurrences of the old representation of DateTime.MaxValue on input. + The representation for Guids. + 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. + + + + Gets or sets the default settings for a BsonBinaryReader. + + + + + Gets or sets whether to close the input stream when the reader is closed. + + + + + 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 serializer for objects. + + + + + Initializes a new instance of the ObjectSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The serialization options. + An object. + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Gets the default serialization options for this serializer. + + The default serialization options for this serializer. + + + + 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 the serialization info for individual items of an enumerable type. + + The serialization info for the items. + + + + Gets the serialization info for a member. + + The member name. + The serialization info for the member. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Sets the document Id. + + The document. + The Id. + + + + Gets an instance of the ObjectSerializer class. + + + + + Represents a serializer for enumerable values. + + The type of the elements. + + + + Initializes a new instance of the EnumerableSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Gets the serialization info for individual items of an enumerable type. + + The serialization info for the items. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Represents a serializer for Queues. + + The type of the elements. + + + + Initializes a new instance of the QueueSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Gets the serialization info for individual items of an enumerable type. + + The serialization info for the items. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Represents a serializer for Stacks. + + The type of the elements. + + + + Initializes a new instance of the StackSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Gets the serialization info for individual items of an enumerable type. + + The serialization info for the items. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Represents a serialize default value convention. + + + + + Determines whether to serialize the default value for a member. + + The member. + Whether to serialize the default value. + + + + Represents a serialize default value convention where default values are never serialized. + + + + + Determines whether to serialize the default value for a member. + + The member. + Whether to serialize the default value. + + + + Represents a serialize default value convention where default values are always serialized. + + + + + Determines whether to serialize the default value for a member. + + The member. + Whether to serialize the default value. + + + + Creates a clone of the context. + + A clone of the context. + + + + Represents a bookmark that can be used to return a reader to the current position and state. + + + + + 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 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. + + + + 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. + + + + Represents a serializer for BsonArrays. + + + + + Initializes a new instance of the BsonArraySerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the BsonArraySerializer class. + + + + + Represents a serializer for BsonBinaryDatas. + + + + + Initializes a new instance of the BsonBinaryDataSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the BsonBinaryDataSerializer class. + + + + + Represents a serializer for BsonBooleans. + + + + + Initializes a new instance of the BsonBooleanSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the BsonBooleanSerializer class. + + + + + Represents a serializer for BsonDateTimes. + + + + + Initializes a new instance of the BsonDateTimeSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the BsonDateTimeSerializer class. + + + + + Represents a serializer for BsonDocuments. + + + + + Initializes a new instance of the BsonDocumentSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + 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. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Sets the document Id. + + The document. + The Id. + + + + Gets an instance of the BsonDocumentSerializer class. + + + + + Represents a serializer for BsonDocumentWrappers. + + + + + Initializes a new instance of the BsonDocumentWrapperSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the BsonDocumentWrapperSerializer class. + + + + + Represents a serializer for BsonDoubles. + + + + + Initializes a new instance of the BsonDoubleSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the BsonDoubleSerializer class. + + + + + Represents a serializer for BsonInt32s. + + + + + Initializes a new instance of the BsonInt32Serializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the BsonInt32Serializer class. + + + + + Represents a serializer for BsonInt64s. + + + + + Initializes a new instance of the BsonInt64Serializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the BsonInt64Serializer class. + + + + + Represents a serializer for BsonJavaScripts. + + + + + Initializes a new instance of the BsonJavaScriptSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the BsonJavaScriptSerializer class. + + + + + Represents a serializer for BsonJavaScriptWithScopes. + + + + + Initializes a new instance of the BsonJavaScriptWithScopeSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the BsonJavaScriptWithScopeSerializer class. + + + + + Represents a serializer for BsonMaxKeys. + + + + + Initializes a new instance of the BsonMaxKeySerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the BsonMaxKeySerializer class. + + + + + Represents a serializer for BsonMinKeys. + + + + + Initializes a new instance of the BsonMinKeySerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the BsonMinKeySerializer class. + + + + + Represents a serializer for BsonNulls. + + + + + Initializes a new instance of the BsonNullSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the BsonNullSerializer class. + + + + + Represents a serializer for BsonObjectIds. + + + + + Initializes a new instance of the BsonObjectIdSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the BsonObjectIdSerializer class. + + + + + Represents a serializer for BsonRegularExpressions. + + + + + Initializes a new instance of the BsonRegularExpressionSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the BsonRegularExpressionSerializer class. + + + + + Represents a serializer for BsonStrings. + + + + + Initializes a new instance of the BsonStringSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the BsonStringSerializer class. + + + + + Represents a serializer for BsonSymbols. + + + + + Initializes a new instance of the BsonSymbolSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the BsonSymbolSerializer class. + + + + + Represents a serializer for BsonTimestamps. + + + + + Initializes a new instance of the BsonTimestampSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the BsonTimestampSerializer class. + + + + + Represents a serializer for BsonUndefineds. + + + + + Initializes a new instance of the BsonUndefinedSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the BsonUndefinedSerializer class. + + + + + Represents a serializer for BsonValues. + + + + + Initializes a new instance of the BsonValueSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the BsonValueSerializer class. + + + + + 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 settings for a BsonBinaryWriter. + + + + + Initializes a new instance of the BsonBinaryWriterSettings class. + + + + + Initializes a new instance of the BsonBinaryWriterSettings class. + + Whether to close the output stream when the writer is closed. + Whether to fix old binary data subtype on output. + The representation for Guids. + 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. + + + + Gets or sets the default BsonBinaryWriter settings. + + + + + Gets or sets whether to close the output when the writer is closed. + + + + + Gets or sets whether to fix the old binary data subtype on output. + + + + + Gets or sets the max document size. + + + + + 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 BsonDocument wrapper. + + + + + Initializes a new instance of the BsonDocumentWrapper class. + + The wrapped object. + + + + Initializes a new instance of the BsonDocumentWrapper class. + + The nominal type of the wrapped object. + The wrapped object. + + + + Initializes a new instance of the BsonDocumentWrapper class. + + The nominal type of the wrapped object. + The wrapped object. + Whether the wrapped object is an update document that needs to be checked. + + + + Creates a new instance of the BsonDocumentWrapper class. + + The nominal type of the wrapped object. + The wrapped object. + A BsonDocumentWrapper or null. + + + + Creates a new instance of the BsonDocumentWrapper class. + + The nominal type of the wrapped object. + The wrapped object. + Whether the wrapped object is an update document. + A BsonDocumentWrapper or null. + + + + Creates a new instance of the BsonDocumentWrapper class. + + The nominal type of the wrapped object. + The wrapped object. + A BsonDocumentWrapper or null. + + + + Creates a new instance of the BsonDocumentWrapper class. + + The nominal type of the wrapped object. + The wrapped object. + Whether the wrapped object is an update document. + A BsonDocumentWrapper or null. + + + + 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 or null. + + + + 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 or null. + + + + CompareTo is an invalid operation for BsonDocumentWrapper. + + Not applicable. + Not applicable. + + + + Deserialize is an invalid operation for BsonDocumentWrapper. + + Not applicable. + Not applicable. + Not applicable. + Not applicable. + + + + GetDocumentId is an invalid operation for BsonDocumentWrapper. + + Not applicable. + Not applicable. + Not applicable. + Not applicable. + + + + Equals is an invalid operation for BsonDocumentWrapper. + + Not applicable. + Not applicable. + + + + GetHashCode is an invalid operation for BsonDocumentWrapper. + + Not applicable. + + + + Serializes the wrapped object to a BsonWriter. + + The writer. + The nominal type (overridded by the wrapped nominal type). + The serialization options. + + + + SetDocumentId is an invalid operation for BsonDocumentWrapper. + + Not applicable. + + + + Returns a string representation of the wrapped document. + + A string representation of the wrapped document. + + + + 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. + + + + + Gets whether SerializeDefaultValue was set. + + + + + Represents an element name convention. + + + + + Gets the element name for a member. + + The member. + The element name. + + + + Represents an element name convention where the element name is the same as the member name. + + + + + Gets the element name for a member. + + The member. + The element name. + + + + Represents an element name convention where the element name is the member name with the first character lower cased. + + + + + Gets the element name for a member. + + The member. + The element name. + + + + Represents a discriminator convention. + + + + + 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 the discriminator element name. + + + + + Represents the standard discriminator conventions (see ScalarDiscriminatorConvention and HierarchicalDiscriminatorConvention). + + + + + Initializes a new instance of the StandardDiscriminatorConvention class. + + The 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 ScalarDiscriminatorConvention. + + + + + Gets an instance of the HierarchicalDiscriminatorConvention. + + + + + Gets the discriminator element name. + + + + + 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 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 bookmark that can be used to return a reader to the current position and state. + + + + + A static class containing BSON extension methods. + + + + + Converts an object to a BSON document byte array. + + The nominal type of the object. + The object. + A byte array. + + + + Converts an object to a BSON document byte array. + + The nominal type of the object. + The object. + The serialization options. + A byte array. + + + + Converts an object to a BSON document byte array. + + The nominal type of the object. + The object. + The serialization options. + The BsonBinaryWriter settings. + A byte array. + + + + Converts an object to a BSON document byte array. + + The nominal type of the object. + The object. + The BsonBinaryWriter settings. + A byte array. + + + + Converts an object to a BSON document byte array. + + The object. + The nominal type of the object. + A byte array. + + + + Converts an object to a BSON document byte array. + + The object. + The nominal type of the object. + The serialization options. + A byte array. + + + + Converts an object to a BSON document byte array. + + The object. + The nominal type of the object. + The serialization options. + The BsonBinaryWriter settings. + A byte array. + + + + Converts an object to a BSON document byte array. + + The object. + The nominal type of the object. + The BsonBinaryWriter settings. + A byte array. + + + + Converts an object to a BsonDocument. + + The nominal type of the object. + The object. + A BsonDocument. + + + + Converts an object to a BsonDocument. + + The nominal type of the object. + The object. + The serialization options. + A BsonDocument. + + + + Converts an object to a BsonDocument. + + The object. + The nominal type of the object. + A BsonDocument. + + + + Converts an object to a BsonDocument. + + The object. + The nominal type of the object. + The serialization options. + A BsonDocument. + + + + Converts an object to a JSON string. + + The nominal type of the object. + The object. + A JSON string. + + + + Converts an object to a JSON string. + + The nominal type of the object. + The object. + The serialization options. + A JSON string. + + + + Converts an object to a JSON string. + + The nominal type of the object. + The object. + The serialization options. + The JsonWriter settings. + A JSON string. + + + + Converts an object to a JSON string. + + The nominal type of the object. + The object. + The JsonWriter settings. + A JSON string. + + + + Converts an object to a JSON string. + + The object. + The nominal type of the object. + A JSON string. + + + + Converts an object to a JSON string. + + The object. + The nominal type of the object. + The serialization options. + A JSON string. + + + + Converts an object to a JSON string. + + The object. + The nominal type of the object. + The serialization options. + The JsonWriter settings. + A JSON string. + + + + Converts an object to a JSON string. + + The object. + The nominal type of the object. + The JsonWriter settings. + A JSON string. + + + + 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 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. + + + + + Represents the output mode of a JsonWriter. + + + + + Output strict JSON. + + + + + Use JavaScript data types for some values. + + + + + Use JavaScript and 10gen data types for some values. + + + + + Use a format that can be pasted in to the MongoDB shell. + + + + + 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. + + + + + Represents a serializer for dictionaries. + + The type of the keys. + The type of the values. + + + + Initializes a new instance of the DictionarySerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Gets the serialization info for individual items of an enumerable type. + + The serialization info for the items. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Represents serialization options for a TimeSpan value. + + + + + Initializes a new instance of the TimeSpanSerializationOptions class. + + The representation for serialized TimeSpans. + + + + Initializes a new instance of the TimeSpanSerializationOptions class. + + The representation for serialized TimeSpans. + The units for serialized TimeSpans. + + + + Apply an attribute to these serialization options and modify the options accordingly. + + The serializer that these serialization options are for. + The serialization options attribute. + + + + Clones the serialization options. + + A cloned copy of the serialization options. + + + + Gets the representation for serialized TimeSpans. + + + + + Gets the units for serialized TimeSpans. + + + + + 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 the external representation of a field or property. + + + + + Initializes a new instance of the RepresentationSerializationOptions class. + + The external representation. + + + + Initializes a new instance of the RepresentationSerializationOptions class. + + The external representation. + Whether to allow overflow. + Whether to allow truncation. + + + + Apply an attribute to these serialization options and modify the options accordingly. + + The serializer that these serialization options are for. + The serialization options attribute. + + + + Clones the serialization options. + + A cloned copy of the serialization options. + + + + 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 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 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 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 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 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 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 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 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. + + + + Gets the external representation. + + + + + Gets whether to allow overflow. + + + + + Gets whether to allow truncation. + + + + + Represents the representation to use for dictionaries. + + + + + Represent the dictionary as a document if the keys are strings and valid element names, otherwise as an array of arrays. + + + + + Represent the dictionary as a Document. + + + + + Represent the dictionary as an array of arrays. + + + + + Represent the dictionary as an array of documents. + + + + + Represents serialization options for a Dictionary value. + + + + + Initializes a new instance of the DictionarySerializationOptions class. + + + + + Initializes a new instance of the DictionarySerializationOptions class. + + The representation to use for a Dictionary. + + + + Initializes a new instance of the DictionarySerializationOptions class. + + The representation to use for a Dictionary. + The serialization options for the items in the dictionary. + + + + Apply an attribute to these serialization options and modify the options accordingly. + + The serializer that these serialization options are for. + The serialization options attribute. + + + + Clones the serialization options. + + A cloned copy of the serialization options. + + + + Freezes the serialization options. + + The frozen serialization options. + + + + Gets an instance of DictionarySerializationOptions with Representation=ArrayOfArrays. + + + + + Gets an instance of DictionarySerializationOptions with Representation=ArrayOfDocuments. + + + + + Gets or sets the default Dictionary serialization options. + + + + + Gets an instance of DictionarySerializationOptions with Representation=Document. + + + + + Gets an instance of DictionarySerializationOptions with Representation=Dynamic. + + + + + Gets the representation to use for a Dictionary. + + + + + Gets or sets the serialization options for the items in the dictionary. + + + + + 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 value. + + + + 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. + + + + 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 instance of the BsonObjectId class. + + An ObjectId. + A BsonObjectId. + + + + Creates a new instance of the BsonObjectId class. + + A byte array. + A BsonObjectId. + + + + Creates a new instance of the BsonObjectId class. + + The timestamp. + The machine hash. + The pid. + The increment. + A BsonObjectId. + + + + Creates a new BsonObjectId. + + An object to be mapped to a BsonObjectId. + A BsonObjectId or null. + + + + Creates a new instance of the BsonObjectId class. + + A string. + A BsonObjectId. + + + + 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. + + + + Gets an instance of BsonObjectId 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). + + + + + Gets the BsonObjectId as an ObjectId. + + + + + Gets the value of this BsonObjectId. + + + + + 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 ==. + + + + Creates a new instance of the BsonTimestamp class. + + The combined timestamp/increment value. + A BsonTimestamp. + + + + Creates a new instance of the BsonTimestamp class. + + The timestamp. + The increment. + A BsonTimestamp. + + + + 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. + + + + Gets the value of this BsonTimestamp. + + + + + Gets the increment. + + + + + Gets the timestamp. + + + + + 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. + + + + 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. + + The binary data. + A BsonBinaryData or null. + + + + Creates a new BsonBinaryData. + + The binary data. + The binary data subtype. + A BsonBinaryData or null. + + + + Creates a new BsonBinaryData. + + The binary data. + The binary data subtype. + The representation for Guids. + A BsonBinaryData or null. + + + + Creates a new BsonBinaryData. + + A Guid. + A BsonBinaryData. + + + + Creates a new BsonBinaryData. + + A Guid. + The representation for Guids. + A BsonBinaryData. + + + + 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. + + + + 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. + + + + + Represents a serializer for enumerable values. + + + + + Initializes a new instance of the EnumerableSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Gets the serialization info for individual items of an enumerable type. + + The serialization info for the items. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the EnumerableSerializer class. + + + + + Represents a serializer for Queues. + + + + + Initializes a new instance of the QueueSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Gets the serialization info for individual items of an enumerable type. + + The serialization info for the items. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the QueueSerializer class. + + + + + Represents a serializer for Stacks. + + + + + Initializes a new instance of the StackSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Gets the serialization info for individual items of an enumerable type. + + The serialization info for the items. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the StackSerializer class. + + + + + 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. + + + + + Represents a buffer for BSON encoded bytes. + + + + + Initializes a new instance of the BsonBuffer class. + + + + + Backpatches the length of an object. + + The start position of the object. + The length of the object. + + + + Clears the data in the buffer. + + + + + Copies data from the buffer to a byte array. + + The source offset in the buffer. + The destination byte array. + The destination offset in the byte array. + The number of bytes to copy. + + + + Disposes of any resources held by the buffer. + + + + + Loads the buffer from a Stream (the Stream must be positioned at a 4 byte length field). + + The Stream. + + + + Loads the buffer from a Stream (leaving the position in the buffer unchanged). + + The stream. + The number of bytes to load. + + + + Peeks at the next byte in the buffer and returns it as a BsonType. + + A BsonType. + + + + Peeks at the next byte in the buffer. + + A Byte. + + + + Reads a BSON Boolean from the buffer. + + A Boolean. + + + + Reads a BSON type from the buffer. + + A BsonType. + + + + Reads a byte from the buffer. + + A Byte. + + + + Reads bytes from the buffer. + + The number of bytes to read. + A byte array. + + + + Reads a BSON Double from the buffer. + + A Double. + + + + Reads a BSON Int32 from the reader. + + An Int32. + + + + Reads a BSON Int64 from the reader. + + An Int64. + + + + Reads a BSON ObjectId from the reader. + + The timestamp. + The machine hash. + The PID. + The increment. + + + + Reads a BSON string from the reader. + + A String. + + + + Reads a BSON CString from the reader (a null terminated string). + + A String. + + + + Skips over bytes in the buffer (advances the position). + + The number of bytes to skip. + + + + Skips over a CString in the buffer (advances the position). + + + + + Converts the buffer to a byte array. + + A byte array. + + + + Writes a BSON Boolean to the buffer. + + The Boolean value. + + + + Writes a byte to the buffer. + + A byte. + + + + Writes bytes to the buffer. + + A byte array. + + + + Writes a CString to the buffer. + + A string. + + + + Writes a BSON Double to the buffer. + + The Double value. + + + + Writes a BSON Int32 to the buffer. + + The Int32 value. + + + + Writes a BSON Int64 to the buffer. + + The Int64 value. + + + + Writes a BSON ObjectId to the buffer. + + The timestamp. + The machine hash. + The PID. + The increment. + + + + Writes a BSON String to the buffer. + + The String value. + + + + Writes all the data in the buffer to a Stream. + + The Stream. + + + + Writes a 32-bit zero the the buffer. + + + + + Gets or sets the max chunk pool size. + + + + + Gets or sets the length of the data in the buffer. + + + + + Gets or sets the current position in the buffer. + + + + + 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 ==. + + + + 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. + + + + Gets the singleton instance of BsonMinKey. + + + + + 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 an ignore extra elements convention. + + + + + Determines whether to ignore extra elements for a class. + + The class. + Whether to ignore extra elements. + + + + Represents an ignore extra elements convention where extra elements are never ignored. + + + + + Determines whether to ignore extra elements for a class. + + The class. + Whether to ignore extra elements. + + + + Represents an ignore extra elements convention where extra elements are always ignored. + + + + + Determines whether to ignore extra elements for a class. + + The class. + Whether to ignore extra elements. + + + + Represents an Id member convention. + + + + + Finds the Id member of a class. + + The class. + The name of the Id member. + + + + Represents an Id member convention where the Id member name is one of a set of possible Id member names. + + + + + Initializes a new instance of the NamedIdMemberConvention class. + + A set of possible Id member names. + + + + Finds the Id member of a class. + + The class. + The name of the Id member. + + + + Gets the set of possible Id member names. + + + + + Indicates that this property or field will be used to hold any extra elements found during deserialization. + + + + + Represents the default serialization provider. + + + + + An interface implemented by serialization providers. + + + + + Gets a serializer for a type. + + The type. + A serializer. + + + + Initializes a new instance of the BsonDefaultSerializer class. + + + + + 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. + + + + Registers the discriminator for a type. + + The type. + The discriminator. + + + + Registers the discriminator convention for a type. + + Type type. + The discriminator convention. + + + + Gets the serializer for a type. + + The type. + The serializer. + + + + Gets an instance of the BsonDefaultSerializer class. + + + + + Represents a BSON boolean value. + + + + + 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. + + The bool value. + The corresponding BsonBoolean value. + + + + 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. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Gets the instance of BsonBoolean that represents false. + + + + + Gets the instance of BsonBoolean that represents true. + + + + + Gets the BsonBoolean as a bool. + + + + + Gets the value of this BsonBoolean. + + + + + 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. + + + + + An interface implemented by objects that convert themselves to a BsonDocument. + + + + + Converts this object to a BsonDocument. + + A BsonDocument. + + + + Represents a bookmark that can be used to return a reader to the current position and state. + + + + + Represents an Id generator convention. + + + + + Gets the Id generator for an Id member. + + The member. + An Id generator. + + + + Represents an Id generator convention where the Id generator is looked up based on the member type. + + + + + Gets the Id generator for an Id member. + + The member. + An Id generator. + + + + Represents a serializer for Booleans. + + + + + Initializes a new instance of the BooleanSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the BooleanSerializer class. + + + + + Represents a serializer for DateTimes. + + + + + Initializes a new instance of the DateTimeSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the DateTimeSerializer class. + + + + + Represents a serializer for Doubles. + + + + + Initializes a new instance of the DoubleSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the DoubleSerializer class. + + + + + Represents a serializer for Guids. + + + + + Initializes a new instance of the GuidSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the GuidSerializer class. + + + + + Represents a serializer for Int32. + + + + + Initializes a new instance of the Int32Serializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the Int32Serializer class. + + + + + Represents a serializer for Int64s. + + + + + Initializes a new instance of the Int64Serializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the Int64Serializer class. + + + + + Represents a serializer for ObjectIds. + + + + + Initializes a new instance of the ObjectIdSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the ObjectIdSerializer class. + + + + + Represents a serializer for Strings. + + + + + Initializes a new instance of the StringSerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the StringSerializer class. + + + + + Represents a serializer for one-dimensional arrays. + + The type of the elements. + + + + Initializes a new instance of the ArraySerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Gets the serialization info for individual items of an enumerable type. + + The serialization info for the items. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Represents a serializer for two-dimensional arrays. + + The type of the elements. + + + + Initializes a new instance of the TwoDimensionalArraySerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Represents a serializer for three-dimensional arrays. + + The type of the elements. + + + + Initializes a new instance of the ThreeDimensionalArraySerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + 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 ==. + + + + 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. + + + + Reads a BsonDocument from a BsonBuffer. + + The BsonBuffer. + A BsonDocument. + + + + Reads a BsonDocument from a BsonReader. + + The BsonReader. + A BsonDocument. + + + + Reads a BsonDocument from a byte array. + + The byte array. + A BsonDocument. + + + + Reads a BsonDocument from a stream. + + The stream. + A BsonDocument. + + + + Reads a BsonDocument from a file. + + The name of the file. + A BsonDocument. + + + + 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). + + + + 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. + + + + Deserializes the document from a BsonReader. + + The BsonReader. + The nominal type of the object (ignored, but should be BsonDocument). + The serialization options (ignored). + The document (which has now been initialized by deserialization), or null. + + + + Gets the Id of the document. + + The Id of the document (the RawValue if it has one, otherwise the element Value). + The nominal type of the Id. + The IdGenerator for the Id (or null). + True (a BsonDocument either has an Id member or one can be added). + + + + 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. + + + + 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. + + + + Serializes this document to a BsonWriter. + + The writer. + The nominalType. + The serialization options (can be null). + + + + 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 the document Id. + + The value of the Id. + + + + 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. + + + + Writes the document to a BsonWriter. + + The writer. + + + + Writes the document to a BsonBuffer. + + The buffer. + + + + Writes the document to a Stream. + + The stream. + + + + Writes the document to a file. + + The name of the file. + + + + Gets or sets whether to allow duplicate names (allowing duplicate names is not recommended). + + + + + 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 the value of an element. + + The zero based index 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 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 the value of an element. + + The name of the element. + The value of the element. + + + + 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. + + + + Applies the default value to the member of an object. + + The object. + + + + Gets the serializer. + + The actual type of the member's value. + The member map. + + + + Sets the default value. + + The default value. + The member map. + + + + Sets the default value. + + The default value. + Whether the default value shoudl be serialized. + 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 external representation. + + The external representation. + The member map. + + + + Sets the serialization options. + + The serialization options. + The member map. + + + + Sets the serializer. + + The serializer. + The member map. + + + + Sets whether the default value should be serialized. + + Whether the default value should be serialized. + The member map. + + + + 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. + + + + Gets the class map that this member map belongs to. + + + + + Gets the name of the member. + + + + + Gets the type of the member. + + + + + Gets the name of the element. + + + + + Gets the serialization order. + + + + + Gets the member info. + + + + + Gets the getter function. + + + + + Gets the serialization options. + + + + + Gets the setter function. + + + + + Gets the Id generator. + + + + + Gets whether an element is required for this member when deserialized. + + + + + Gets whether the default value should be serialized. + + + + + 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. + + + + + Represents a serializer for dictionaries. + + + + + Initializes a new instance of the DictionarySerializer class. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Gets the serialization info for individual items of an enumerable type. + + The serialization info for the items. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Gets an instance of the DictionarySerializer class. + + + + + Represents an ignore if null convention. + + + + + Determines whether to ignore nulls for a member. + + The member. + Whether to ignore nulls. + + + + Represents an ignore if null convention where nulls are never ignored. + + + + + Determines whether to ignore nulls for a member. + + The member. + Whether to ignore nulls. + + + + Represents an ignore if null convention where nulls are always ignored. + + + + + Determines whether to ignore nulls for a member. + + The member. + Whether to ignore nulls. + + + + Creates a clone of the context. + + A clone of the context. + + + + Represents serialization options for an Array value. + + + + + Initializes a new instance of the ArraySerializationOptions class. + + + + + Initializes a new instance of the ArraySerializationOptions class. + + The serialization options to use for items in the array. + + + + Apply an attribute to these serialization options and modify the options accordingly. + + The serializer that these serialization options are for. + The serialization options attribute. + + + + Clones the serialization options. + + A cloned copy of the serialization options. + + + + Freezes the serialization options. + + The frozen serialization options. + + + + Gets or sets the serialization options for the items in the array. + + + + + 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. + + + + + 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. + + + + 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. + + + + Represents a serializer for a class map. + + + + + Initializes a new instance of the BsonClassMapSerializer class. + + The class map. + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The serialization options. + An object. + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Get the default serialization options for this serializer. + + The default serialization options for this serializer. + + + + 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 the serialization info for individual items of an enumerable type. + + The serialization info for the items. + + + + Gets the serialization info for a member. + + The member name. + The serialization info for the member. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + Sets the document Id. + + The document. + The Id. + + + + Represents a BSON serialization options convention. + + + + + Gets the BSON serialization options for a member. + + The member. + The BSON serialization options for the member; or null to use defaults. + + + + Represents BSON serialiation options that use default values. + + + + + Gets the BSON serialization options for a member. + + The member. + + The BSON serialization options for the member; or null to use defaults. + + + + + Sets serialization options for a member of a given type. + + + + + Initializes a new instance of the class. + + The type of the member. + The BSON representation to use for this type. + + + + Gets the BSON serialization options for a member. + + The member. + + The BSON serialization options for the member; or null to use defaults. + + + + + 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 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 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 ==. + + + + 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. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Gets the singleton instance of BsonNull. + + + + + A static helper class containing BSON defaults. + + + + + 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. + + + + + Indicates that this field or property should be ignored when this class is serialized. + + + + diff --git a/packages/mongocsharpdriver.1.4/lib/net35/MongoDB.Driver.XML b/packages/mongocsharpdriver.1.4/lib/net35/MongoDB.Driver.XML new file mode 100644 index 000000000..d1fcc0e62 --- /dev/null +++ b/packages/mongocsharpdriver.1.4/lib/net35/MongoDB.Driver.XML @@ -0,0 +1,11688 @@ + + + + MongoDB.Driver + + + + + Default values for various Mongo settings. + + + + + Gets or sets whether the driver should assign a value to empty Ids on Insert. + + + + + 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 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 (this is an alias for BsonDefaults.MaxDocumentSize). + + + + + Gets or sets the max message length. + + + + + Gets or sets the min connection pool size. + + + + + Gets or sets the safe mode. + + + + + 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. + + + + + Represents a LINQ query that has been translated to an equivalent MongoDB Find query. + + + + + Represents a LINQ query that has been translated to a MongoDB query. + + + + + Initializes a new instance of the MongoLinqQuery class. + + The collection being queried. + The document type being queried. + + + + Executes a query that returns a single result (overridden by subclasses). + + The result of executing the query. + + + + Gets the collection being queried. + + + + + Get the document type being queried. + + + + + Initializes a new instance of the MongoLinqFindQuery class. + + The collection being queried. + The document type. + + + + Creates an IMongoQuery from the where clause (returns null if no where clause was specified). + + An IMongoQuery. + + + + Executes the translated Find query. + + The result of executing the translated Find query. + + + + Translates a LINQ query expression tree. + + The LINQ query expression tree. + + + + Gets a list of Expressions that defines the sort order (or null if not specified). + + + + + Gets the Expression that defines the projection (or null if not specified). + + + + + Gets the Expression that defines how many documents to skip (or null if not specified). + + + + + Gets the Expression that defines how many documents to take (or null if not specified); + + + + + Gets the LambdaExpression that defines the where clause (or null if not specified). + + + + + Represents information about a GridFS file (patterned after .NET's FileInfo class). + + + + + Initializes a new instance of the GridFSFileInfo class. + + The GridFS file system that contains the GridFS file. + The remote file name. + + + + Initializes a new instance of the GridFSFileInfo class. + + The GridFS file system that contains the GridFS file. + The remote file name. + The chunk size. + + + + Initializes a new instance of the GridFSFileInfo class. + + The GridFS file system that contains the GridFS file. + The remote file name. + The create options. + + + + Determines whether two specified MongoGridFSFileInfo 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 MongoGridFSFileInfo 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 MongoGridFSFileInfo 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. + + + + Appends UTF-8 encoded text to an existing GridFS file. + + A StreamWriter. + + + + Copies a GridFS file. + + The destination file name. + The file info of the new GridFS file. + + + + Copies a GridFS file. + + The destination file name. + The create options. + The file info of the new GridFS file. + + + + Creates or overwrites a GridFS file. + + A stream. + + + + Creates or opens a GridFS file for writing UTF-8 encoded text. + + A stream. + + + + Deletes a GridFS file. + + + + + Determines whether this instance and another specified MongoGridFSFileInfo object have the same value. + + The MongoGridFSFileInfo 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 MongoGridFSFileInfo object, have the same value. + + The MongoGridFSFileInfo object to compare to this instance. + True if obj is a MongoGridFSFileInfo object and its value is the same as this instance; otherwise, false. + + + + Returns the hash code for this MongoGridFSFileInfo object. + + A 32-bit signed integer hash code. + + + + Moves the most recent version of a GridFS file. + + The destination file name. + + + + Opens a GridFS file with the specified mode. + + The mode. + A stream. + + + + Opens a GridFS file with the specified mode and access. + + The mode. + The access. + A stream. + + + + Opens an existing GridFS file for reading. + + A stream. + + + + Opens an existing UTF-8 encoded text GridFS file for reading. + + A stream reader. + + + + Opens an existing GridFS file for writing. + + A stream. + + + + Refreshes the GridFS file info from the server. + + + + + Gets the aliases. + + + + + Gets the chunk size. + + + + + Gets the content type. + + + + + Gets whether the GridFS file exists. + + + + + Gets the GridFS file system that contains this GridFS file. + + + + + Gets the GridFS file Id. + + + + + Gets the file lenth. + + + + + Gets the MD5 hash of the file contents. + + + + + Gets the metadata. + + + + + Gets the remote file name. + + + + + Gets the upload date. + + + + + Represents a GridFS file system. + + + + + Initializes a new instance of the MongoGridFS class. + + The database containing the GridFS collections. + + + + Initializes a new instance of the MongoGridFS class. + + The database containing the GridFS collections. + The GridFS settings. + + + + Appends UTF-8 encoded text to an existing GridFS file. + + The remote file name. + A StreamWriter. + + + + Copies a GridFS file. + + The source file name. + The destination file name. + The file info of the new GridFS file. + + + + Copies a GridFS file. + + The source file name. + The destination file name. + The create options. + The file info of the new GridFS file. + + + + Creates or overwrites a GridFS file. + + The remote file name. + A stream. + + + + Creates or overwrites a GridFS file. + + The remote file name. + The create options. + A stream. + + + + Creates or opens a GridFS file for writing UTF-8 encoded text. + + The remote file name. + A stream writer. + + + + Creates or opens a GridFS file for writing UTF-8 encoded text. + + The remote file name. + The create options. + A stream writer. + + + + Deletes GridFS files. + + A query that specifies the GridFS files to delete. + + + + Deletes all versions of a GridFS file. + + The remote file name. + + + + Deletes a GridFS file. + + The GridFS file Id. + + + + Downloads the most recent version of a GridFS file. + + The destination stream. + The GridFS file. + + + + Downloads a specific version of a GridFS file. + + The destination stream. + The GridFS file. + The version to download. + + + + Downloads a GridFS file. + + The destination stream. + The GridFS file. + + + + Downloads the most recent version of a GridFS file. + + The destination stream. + The remote file name. + + + + Downloads a specific version of a GridFS file. + + The destination stream. + The remote file name. + The version to download. + + + + Downloads the most recent version of a GridFS file. + + The file name (same local and remote names). + + + + Downloads a specific version of a GridFS file. + + The file name (same local and remote names). + The version to download. + + + + Downloads the most recent version of a GridFS file. + + The local file name. + The GridFS file. + + + + Downloads a specific version of a GridFS file. + + The local file name. + The GridFS file. + The version to download. + + + + Downloads a GridFS file. + + The local file name. + The GridFS file. + + + + Downloads the most recent version of a GridFS file. + + The local file name. + The remote file name. + + + + Downloads a specific version of a GridFS file. + + The local file name. + The remote file name. + The version to download. + + + + Ensures that the proper indexes for GridFS exist (only creates the new indexes if there are fewer than 1000 GridFS files). + + + + + Ensures that the proper indexes for GridFS exist. + + Only create new indexes if there are fewer than this number of GridFS files). + + + + Tests whether a GridFS file exists. + + The GridFS file. + True if the GridFS file exists. + + + + Tests whether a GridFS file exists. + + The GridFS file. + True if the GridFS file exists. + + + + Tests whether a GridFS file exists. + + The GridFS file. + True if the GridFS file exists. + + + + Finds matching GridFS files. + + A query. + The matching GridFS files. + + + + Finds matching GridFS files. + + The remote file name. + The matching GridFS files. + + + + Finds all GridFS files. + + The matching GridFS files. + + + + Finds the most recent version of a GridFS file. + + The GridFS file. + The matching GridFS file. + + + + Finds a specific version of a GridFS file. + + The GridFS file. + The version to find (1 is oldest, -1 is newest, 0 is no sort). + The matching GridFS file. + + + + Finds the most recent version of a GridFS file. + + The remote file name. + The matching GridFS file. + + + + Finds a specific version of a GridFS file. + + The remote file name. + The version to find. + The matching GridFS file. + + + + Finds a GridFS file. + + The GridFS file Id. + The GridFS file. + + + + Moves the most recent version of a GridFS file. + + The source file name. + The destination file name. + + + + Opens a GridFS file with the specified mode. + + The remote file name. + The mode. + A stream. + + + + Opens a GridFS file with the specified mode and access. + + The remote file name. + The mode. + The access. + A stream. + + + + Opens a GridFS file with the specified mode, access and create options. + + The remote file name. + The mode. + The access. + The create options. + A stream. + + + + Opens an existing GridFS file for reading. + + The remote file name. + A stream. + + + + Opens an existing UTF-8 encoded text GridFS file for reading. + + The remote file name. + A stream reader. + + + + Opens an existing GridFS file for writing. + + The remote file name. + A stream. + + + + Opens an existing GridFS file for writing. + + The remote file name. + The create options. + A stream. + + + + Sets the aliases for an existing GridFS file. + + The GridFS file. + The aliases. + + + + Sets the content type for an existing GridFS file. + + The GridFS file. + The content type. + + + + Sets the metadata for an existing GridFS file. + + The GridFS file. + The metadata. + + + + Uploads a GridFS file. + + The source stream. + The remote file name. + The file info of the new GridFS file. + + + + Uploads a GridFS file. + + The source stream. + The remote file name. + The create options. + The file info of the new GridFS file. + + + + Uploads a GridFS file. + + The file name (same local and remote names). + The file info of the new GridFS file. + + + + Uploads a GridFS file. + + The local file name. + The remote file name. + The file info of the new GridFS file. + + + + Gets the chunks collection. + + + + + Gets the database containing the GridFS collections. + + + + + Gets the files collection. + + + + + Gets the GridFS settings. + + + + + A class that replaces all occurences of one parameter with a different parameter. + + + + + 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). + + + + Initializes a new instance of the ExpressionParameterReplacer class. + + The parameter to be replaced. + The expression that replaces the parameter. + + + + Replaces all occurences of one parameter with a different parameter. + + The expression containing the parameter that should be replaced. + The from parameter. + The expression that replaces the parameter. + The expression with all occurrences of the parameter replaced. + + + + Replaces the from parameter with the two parameter if it maches. + + The node. + The parameter (replaced if it matched). + + + + Represents a BSON document that can be used where an IMongoGeoNearOptions is expected. + + + + + A marker interface that represents geo search options (see GeoNearOptionsDocument and the GeoNearOptions builder). + + + + + Initializes a new instance of the GeoNearOptionsDocument class. + + + + + Initializes a new instance of the GeoNearOptionsDocument 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 GeoNearOptionsDocument class and adds one element. + + An element to add to the document. + + + + Initializes a new instance of the GeoNearOptionsDocument 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 GeoNearOptionsDocument 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 GeoNearOptionsDocument 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 GeoNearOptionsDocument 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 GeoNearOptionsDocument 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 GeoNearOptionsDocument 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 GeoNearOptionsDocument 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 GeoNearOptionsDocument class and adds one or more elements. + + One or more elements to add to the document. + + + + Initializes a new instance of the GeoNearOptionsDocument 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. + + + + Represents a BSON document that can be used where an IMongoGeoHaystackSearchOptions is expected. + + + + + A marker interface that represents geo haystack search options (see GeoSearchHaystackOptionsDocument and the GeoHaystackSearchOptions builder). + + + + + Initializes a new instance of the GeoHaystackSearchOptionsDocument class. + + + + + Initializes a new instance of the GeoHaystackSearchOptionsDocument 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 GeoHaystackSearchOptionsDocument class and adds one element. + + An element to add to the document. + + + + Initializes a new instance of the GeoHaystackSearchOptionsDocument 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 GeoHaystackSearchOptionsDocument 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 GeoHaystackSearchOptionsDocument 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 GeoHaystackSearchOptionsDocument 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 GeoHaystackSearchOptionsDocument 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 GeoHaystackSearchOptionsDocument 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 GeoHaystackSearchOptionsDocument 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 GeoHaystackSearchOptionsDocument class and adds one or more elements. + + One or more elements to add to the document. + + + + Initializes a new instance of the GeoHaystackSearchOptionsDocument 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. + + + + Represents the options to use for an Update operation. + + + + + Initializes a new instance of the MongoUpdateOptions class. + + + + + Initializes a new instance of the MongoUpdateOptions class. + + The collection from which to get default settings for the options. + + + + Gets or sets whether to check element names before proceeding with the Update. + + + + + Gets or sets the update flags. + + + + + Gets or sets the SafeMode to use for the Update. + + + + + The settings used to access a collection (an abstract class, see MongoCollectionSettings{TDefaultDocument}). + + + + + Initializes a new instance of the MongoCollectionSettings class. + + The database that contains the collection (some collection settings will be inherited from the database settings). + The name of the collection. + The default document type for the collection. + + + + Initializes a new instance of the MongoCollectionSettings class. + + The name of the collection. + Whether to automatically assign a value to an empty document Id on insert. + The default document type for the collection. + The GUID representation to use with this collection. + The SafeMode to use with this collection. + Whether to route reads to secondaries for this collection. + + + + 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. + + + + Gets or sets whether the driver should assign Id values when missing. + + + + + Gets the name of the collection. + + + + + Gets the default document type of the collection. + + + + + Gets or sets the representation used for Guids. + + + + + Gets whether the settings have been frozen to prevent further changes. + + + + + Gets or sets the SafeMode to use. + + + + + Gets or sets whether queries should be sent to secondary servers. + + + + + Settings used to access a collection. + + The default document type of the collection. + + + + Creates a new instance of MongoCollectionSettings. + + The database to inherit settings from. + The name of the collection. + + + + Creates a new instance of MongoCollectionSettings. + + The name of the collection. + Whether the driver should assign the Id values if necessary. + The representation for Guids. + The safe mode to use. + Whether queries should be sent to secondary servers. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Flags used with queries (see the SetQueryFlags method of MongoCursor). + + + + + No flags. + + + + + This cursor should be tailable. + + + + + It's OK for the query to be handled by a secondary server. + + + + + Tell the server not to let the cursor timeout. + + + + + Tell the server to wait for data to become available before returning (only used with TailableCursor). + + + + + Tell the server to send all the data at once (in multiple messages if necessary) without waiting for GetMore messages. + + + + + Allow partial results in a sharded system if some of the shards are down. + + + + + A static class with methods to partially evaluate an Expression. + + + + + Performs evaluation and replacement of independent sub-trees. + + The root of the expression tree. + A function that decides whether a given expression node can be part of the local function. + A new tree with sub-trees evaluated and replaced. + + + + Performs evaluation and replacement of independent sub-trees + + The root of the expression tree. + A new tree with sub-trees evaluated and replaced. + + + + Evaluates and replaces sub-trees when first candidate is reached (top-down) + + + + + Represents a cache of the names of indexes that are known to exist on a given server. + + + + + Initializes a new instance of the IndexCache class. + + + + + Adds the name of an index to the cache. + + The collection that contains the index. + The name of the index. + + + + Tests whether the cache contains the name of an index. + + The collection that contains the index. + The name of the index. + True if the cache contains the named index. + + + + Removes the name of an index from the cache. + + The collection that contains the index. + The name of the index. + + + + Resets the cache. + + + + + Resets part of the cache by removing all indexes for a collection. + + The collection. + + + + Resets part of the cache by removing all indexes for a database. + + The database. + + + + Resets part of the cache by removing all indexes for a database. + + The name of the database. + + + + Resets part of the cache by removing all indexes for a collection. + + The name of the database containing the collection. + The name of the collection. + + + + Represents options used when creating a GridFS file. + + + + + Initializes a new instance of the MongoGridFSCreateOptions class. + + + + + Gets or sets the aliases. + + + + + Gets or sets the chunk size. + + + + + Gets or sets the content type. + + + + + Gets or sets the file Id. + + + + + Gets or sets the metadata. + + + + + Gets or sets the upload date. + + + + + Represents a wrapped object that can be used where an IMongoQuery is expected (the wrapped object is expected to serialize properly). + + + + + Abstract base class for wrapper classes. + + + + + Initializes a new instance of the BaseWrapper class. + + The wrapped object. + + + + Initializes a new instance of the BaseWrapper class. + + The nominal type of the wrapped object. + The wrapped object. + + + + Deserialize is an invalid operation for wrapper classes. + + Not applicable. + Not applicable. + Not applicable. + Not applicable. + + + + GetDocumentId is an invalid operation for wrapper classes. + + Not applicable. + Not applicable. + Not applicable. + Not applicable. + + + + Serializes a wrapped object to a BsonWriter. + + The writer. + The nominal type (ignored). + The serialization options. + + + + SetDocumentId is an invalid operation for wrapper classes. + + Not applicable. + Not applicable. + + + + A marker interface that represents a query (see QueryDocument and the Query builder). + + + + + Initializes a new instance of the QueryWrapper class. + + The wrapped object. + + + + Creates a new instance of the QueryWrapper class. + + The wrapped object. + A new instance of QueryWrapper or null. + + + + Represents a wrapped object that can be used where an IMongoIndexOptions is expected (the wrapped object is expected to serialize properly). + + + + + A marker interface that represents options for creating an index (see IndexOptionsDocument and the IndexOptions builder). + + + + + Initializes a new instance of the IndexOptionsWrapper class. + + The wrapped object. + + + + Creates a new instance of the IndexOptionsWrapper class. + + The wrapped object. + A new instance of IndexOptionsWrapper or null. + + + + A builder for creating queries. + + + + + Tests that the named array element contains all of the values (see $all). + + The name of the element to test. + The values to compare to. + The builder (so method calls can be chained). + + + + Tests that the named array element contains all of the values (see $all). + + The name of the element to test. + The values to compare to. + The builder (so method calls can be chained). + + + + Tests that the named array element contains all of the values (see $all). + + The name of the element to test. + The values to compare to. + The builder (so method calls can be chained). + + + + Tests that all the subqueries are true (see $and in newer versions of the server). + + A list of subqueries. + A query. + + + + Tests that at least one item of the named array element matches a query (see $elemMatch). + + The name of the element to test. + The query to match elements with. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is equal to some value. + + The name of the element to test. + The value to compare to. + A query. + + + + Tests that an element of that name does or does not exist (see $exists). + + The name of the element to test. + Whether to test for the existence or absence of an element. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is greater than some value (see $gt). + + The name of the element to test. + The value to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is greater than or equal to some value (see $gte). + + The name of the element to test. + The value to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is equal to one of a list of values (see $in). + + The name of the element to test. + The values to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is equal to one of a list of values (see $in). + + The name of the element to test. + The values to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is equal to one of a list of values (see $in). + + The name of the element to test. + The values to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is less than some value (see $lt). + + The name of the element to test. + The value to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is less than or equal to some value (see $lte). + + The name of the element to test. + The value to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element matches a regular expression (see $regex). + + The name of the element to test. + The regular expression to match against. + A query. + + + + Tests that the modulus of the value of the named element matches some value (see $mod). + + The name of the element to test. + The modulus. + The value to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is not equal to some value (see $ne). + + The name of the element to test. + The value to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is near some location (see $near). + + The name of the element to test. + The x value of the origin. + The y value of the origin. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is near some location (see $near). + + The name of the element to test. + The x value of the origin. + The y value of the origin. + The max distance for a document to be included in the results. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is near some location (see $near and $nearSphere). + + The name of the element to test. + The x value of the origin. + The y value of the origin. + The max distance for a document to be included in the results. + Whether to do a spherical search. + The builder (so method calls can be chained). + + + + Tests that none of the subqueries is true (see $nor). + + The subqueries. + A query. + + + + Tests that the value of the named element does not match any of the tests that follow (see $not). + + The name of the element to test. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is not equal to any of a list of values (see $nin). + + The name of the element to test. + The values to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is not equal to any of a list of values (see $nin). + + The name of the element to test. + The values to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is not equal to any of a list of values (see $nin). + + The name of the element to test. + The values to compare to. + The builder (so method calls can be chained). + + + + Tests that at least one of the subqueries is true (see $or). + + The subqueries. + A query. + + + + Tests that the size of the named array is equal to some value (see $size). + + The name of the element to test. + The size to compare to. + The builder (so method calls can be chained). + + + + Tests that the type of the named element is equal to some type (see $type). + + The name of the element to test. + The type to compare to. + The builder (so method calls can be chained). + + + + Tests that a JavaScript expression is true (see $where). + + The where clause. + A query. + + + + Tests that the value of the named element is within a circle (see $within and $center). + + The name of the element to test. + The x coordinate of the origin. + The y coordinate of the origin. + The radius of the circle. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is within a circle (see $within and $center/$centerSphere). + + The name of the element to test. + The x coordinate of the origin. + The y coordinate of the origin. + The radius of the circle. + Whether to do a spherical search. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is within a polygon (see $within and $polygon). + + The name of the element to test. + An array of points that defines the polygon (the second dimension must be of length 2). + The builder (so method calls can be chained). + + + + Tests that the value of the named element is within a rectangle (see $within and $box). + + The name of the element to test. + The x coordinate of the lower left corner. + The y coordinate of the lower left corner. + The x coordinate of the upper right corner. + The y coordinate of the upper right corner. + The builder (so method calls can be chained). + + + + Gets a null value with a type of IMongoQuery. + + + + + A builder for creating queries. + + + + + Abstract base class for the builders. + + + + + Initializes a new instance of the BuilderBase class. + + + + + Returns the result of the builder as a BsonDocument. + + A BsonDocument. + + + + Returns a string representation of the settings. + + A string representation of the settings. + + + + Serializes the result of the builder to a BsonWriter. + + The writer. + The nominal type. + The serialization options. + + + + A BSON document containing the query being built. + + + + + Initializes a new instance of the QueryBuilder class. + + A document representing the query. + + + + Returns the result of the builder as a BsonDocument. + + A BsonDocument. + + + + Serializes the result of the builder to a BsonWriter. + + The writer. + The nominal type. + The serialization options. + + + + Gets the document containing the query being built. + + + + + A builder for creating queries. + + + + + Initializes a new instance of the QueryComplete class. + + A document representing the query. + + + + A builder for creating queries. + + + + + Initializes a new instance of the QueryConditionList class. + + The name of the element to test. + + + + Tests that the named array element contains all of the values (see $all). + + The values to compare to. + The builder (so method calls can be chained). + + + + Tests that the named array element contains all of the values (see $all). + + The values to compare to. + The builder (so method calls can be chained). + + + + Tests that the named array element contains all of the values (see $all). + + The values to compare to. + The builder (so method calls can be chained). + + + + Tests that at least one item of the named array element matches a query (see $elemMatch). + + The query to match elements with. + The builder (so method calls can be chained). + + + + Tests that an element of that name does or does not exist (see $exists). + + Whether to test for the existence or absence of an element. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is greater than some value (see $gt). + + The value to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is greater than or equal to some value (see $gte). + + The value to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is equal to one of a list of values (see $in). + + The values to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is equal to one of a list of values (see $in). + + The values to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is equal to one of a list of values (see $in). + + The values to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is less than some value (see $lt). + + The value to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is less than or equal to some value (see $lte). + + The value to compare to. + The builder (so method calls can be chained). + + + + Tests that the modulus of the value of the named element matches some value (see $mod). + + The modulus. + The value to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is not equal to some value (see $ne). + + The value to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is near some location (see $near). + + The x value of the origin. + The y value of the origin. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is near some location (see $near). + + The x value of the origin. + The y value of the origin. + The max distance for a document to be included in the results. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is near some location (see $near and $nearSphere). + + The x value of the origin. + The y value of the origin. + The max distance for a document to be included in the results. + Whether to do a spherical search. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is not equal to any of a list of values (see $nin). + + The values to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is not equal to any of a list of values (see $nin). + + The values to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is not equal to any of a list of values (see $nin). + + The values to compare to. + The builder (so method calls can be chained). + + + + Tests that the size of the named array is equal to some value (see $size). + + The size of the array. + The builder (so method calls can be chained). + + + + Tests that the type of the named element is equal to some type (see $type). + + The type. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is within a circle (see $within and $center). + + The x coordinate of the origin. + The y coordinate of the origin. + The radius of the circle. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is within a circle (see $within and $center/$centerSphere). + + The x coordinate of the origin. + The y coordinate of the origin. + The radius of the circle. + Whether to do a spherical search. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is within a polygon (see $within and $polygon). + + An array of points that defines the polygon (the second dimension must be of length 2). + The builder (so method calls can be chained). + + + + Tests that the value of the named element is within a rectangle (see $within and $box). + + The x coordinate of the lower left corner. + The y coordinate of the lower left corner. + The x coordinate of the upper right corner. + The y coordinate of the upper right corner. + The builder (so method calls can be chained). + + + + A builder for creating queries. + + + + + Initializes a new instance of the QueryNot class. + + The name of the element to test. + + + + Tests that the named array element contains all of the values (see $all). + + The values to compare to. + The builder (so method calls can be chained). + + + + Tests that the named array element contains all of the values (see $all). + + The values to compare to. + The builder (so method calls can be chained). + + + + Tests that the named array element contains all of the values (see $all). + + The values to compare to. + The builder (so method calls can be chained). + + + + Tests that at least one item of the named array element matches a query (see $elemMatch). + + The query to match elements with. + The builder (so method calls can be chained). + + + + Tests that an element of that name does or does not exist (see $exists). + + Whether to test for the existence or absence of an element. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is greater than some value (see $gt). + + The value to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is greater than or equal to some value (see $gte). + + The value to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is equal to one of a list of values (see $in). + + The values to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is equal to one of a list of values (see $in). + + The values to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is equal to one of a list of values (see $in). + + The values to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is less than some value (see $lt). + + The value to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is less than or equal to some value (see $lte). + + The value to compare to. + The builder (so method calls can be chained). + + + + Tests that the modulus of the value of the named element matches some value (see $mod). + + The modulus. + The value to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is not equal to some value (see $ne). + + The value to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is not equal to any of a list of values (see $nin). + + The values to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is not equal to any of a list of values (see $nin). + + The values to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is not equal to any of a list of values (see $nin). + + The values to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element matches a regular expression (see $regex). + + The regular expression to match against. + A query. + + + + Tests that the size of the named array is equal to some value (see $size). + + The size of the array. + The builder (so method calls can be chained). + + + + Tests that the type of the named element is equal to some type (see $type). + + The type. + The builder (so method calls can be chained). + + + + A builder for creating queries. + + + + + Initializes a new instance of the QueryNotConditionList. + + The name of the first element to test. + + + + Tests that the named array element contains all of the values (see $all). + + The values to compare to. + The builder (so method calls can be chained). + + + + Tests that the named array element contains all of the values (see $all). + + The values to compare to. + The builder (so method calls can be chained). + + + + Tests that the named array element contains all of the values (see $all). + + The values to compare to. + The builder (so method calls can be chained). + + + + Tests that at least one item of the named array element matches a query (see $elemMatch). + + The query to match elements with. + The builder (so method calls can be chained). + + + + Tests that an element of that name does or does not exist (see $exists). + + Whether to test for the existence or absence of an element. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is greater than some value (see $gt). + + The value to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is greater than or equal to some value (see $gte). + + The value to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is equal to one of a list of values (see $in). + + The values to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is equal to one of a list of values (see $in). + + The values to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is equal to one of a list of values (see $in). + + The values to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is less than some value (see $lt). + + The value to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is less than or equal to some value (see $lte). + + The value to compare to. + The builder (so method calls can be chained). + + + + Tests that the modulus of the value of the named element matches some value (see $mod). + + The modulus. + The value to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is not equal to some value ($ne). + + The value to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is not equal to any of a list of values (see $nin). + + The values to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is not equal to any of a list of values (see $nin). + + The values to compare to. + The builder (so method calls can be chained). + + + + Tests that the value of the named element is not equal to any of a list of values (see $nin). + + The values to compare to. + The builder (so method calls can be chained). + + + + Tests that the size of the named array is equal to some value (see $size). + + The size of the array. + The builder (so method calls can be chained). + + + + Tests that the type of the named element is equal to some type (see $type). + + The type. + The builder (so method calls can be chained). + + + + Represents the result of GetIndexes. + + + + + Initializes a new instance of the GetIndexesResult class. + + The raw documents containing the information about the indexes. + + + + Gets the IndexInfo at the specified index. + + The zero-based index of the IndexInfo to get. + An IndexInfo. + + + + Gets the count of indexes. + + + + + Gets the raw BSON documents containing the information about the indexes. + + + + + Represents information about an index. + + + + + Creates a new instance of the IndexInfo class. + + The BSON document that contains information about the index. + + + + Gets whether the dups were dropped when the index was created. + + + + + Gets whether the index was created in the background. + + + + + Gets whether the index is sparse. + + + + + Gets whether the index is unique. + + + + + Gets the key of the index. + + + + + Gets the name of the index. + + + + + Gets the namespace of the collection that the index is for. + + + + + Gets the raw BSON document containing the index information. + + + + + Gets the version of the index. + + + + + Flags used with the Update method in MongoCollection. + + + + + No flags. + + + + + If document doesn't exist then do an Insert. + + + + + Update all matching documents (instead of just one). + + + + + Represents the result of a map/reduce command. + + + + + Represents the result of a command (there are also subclasses for various commands). + + + + + Initializes a new instance of the CommandResult class. + + + + + Initializes a new instance of the CommandResult class. + + The command. + The response. + + + + Initializes an existing instance of the CommandResult class. + + The command. + The response. + + + + Gets the command. + + + + + Gets the command name. + + + + + Gets the response. + + + + + Gets the error message (null if none). + + + + + Gets the Ok value from the response. + + + + + Initializes a new instance of the MapReduceResult class. + + + + + Gets the inline results as TDocuments. + + The type of the documents. + The documents. + + + + Gets the inline results as TDocuments. + + The type of the documents. + The documents. + + + + Gets the results (either inline or fetched from the output collection). + + The documents. + + + + Gets the results as TDocuments (either inline or fetched from the output collection). + + The type of the documents. + The documents. + + + + Gets the results as TDocuments (either inline or fetched from the output collection). + + The type of the documents. + The documents. + + + + Gets the output collection name (null if none). + + + + + Gets the output database name (null if none). + + + + + Gets the duration. + + + + + Gets the emit count. + + + + + Gets the output count. + + + + + Gets the inline results. + + + + + Gets the input count. + + + + + Represents a projection that deserializes BsonValues. + + The type of the result objects. + + + + Initializes a new instance of the DeserializationProjector class. + + The enumerable object that supplies the source objects. + Serialization info for deserializing source objects into result objects. + + + + Gets an enumerator for the result objects. + + An enumerator for the result objects. + + + + Represents a MongoDB GridFS exception. + + + + + Represents a MongoDB exception. + + + + + Initializes a new instance of the MongoException class. + + The error message. + + + + Initializes a new instance of the MongoException class. + + The error message. + The inner exception. + + + + Initializes a new instance of the MongoException class (this overload supports deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Initializes a new instance of the MongoGridFSException class. + + The error message. + + + + Initializes a new instance of the MongoGridFSException class. + + The error message. + The inner exception. + + + + Initializes a new instance of the MongoGridFSException class (this overload supports deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Represents a BSON document that can be used where an IMongoMapReduceOptions is expected. + + + + + A marker interface that represents options for a map/reduce operation (see MapReduceOptionsDocument and the MapReduceOptions builder). + + + + + Initializes a new instance of the MapReduceOptionsDocument class. + + + + + Initializes a new instance of the MapReduceOptionsDocument 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 MapReduceOptionsDocument class and adds one element. + + An element to add to the document. + + + + Initializes a new instance of the MapReduceOptionsDocument 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 MapReduceOptionsDocument 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 MapReduceOptionsDocument 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 MapReduceOptionsDocument 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 MapReduceOptionsDocument 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 MapReduceOptionsDocument 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 MapReduceOptionsDocument 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 MapReduceOptionsDocument class and adds one or more elements. + + One or more elements to add to the document. + + + + Initializes a new instance of the MapReduceOptionsDocument 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. + + + + Represents a BSON document that can be used where an IMongoCommand is expected. + + + + + Represents a BSON document that can be used where an IMongoQuery is expected. + + + + + Initializes a new instance of the QueryDocument class. + + + + + Initializes a new instance of the QueryDocument 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 QueryDocument class and adds one element. + + An element to add to the document. + + + + Initializes a new instance of the QueryDocument 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 QueryDocument 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 QueryDocument 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 QueryDocument 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 QueryDocument 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 QueryDocument 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 QueryDocument 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 QueryDocument class and adds one or more elements. + + One or more elements to add to the document. + + + + Initializes a new instance of the QueryDocument 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. + + + + A marker interface that represents a command (see CommandDocument). + + + + + Initializes a new instance of the CommandDocument class. + + + + + Initializes a new instance of the CommandDocument 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 CommandDocument class and adds one element. + + An element to add to the document. + + + + Initializes a new instance of the CommandDocument 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 CommandDocument 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 CommandDocument 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 CommandDocument 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 CommandDocument 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 CommandDocument 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 CommandDocument 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 CommandDocument class and adds one or more elements. + + One or more elements to add to the document. + + + + Initializes a new instance of the CommandDocument 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. + + + + Represents a BSON document that can be used where an IMongoCollectionOptions is expected. + + + + + A marker interface that represents options for creating a collection (see CollectionOptionsDocument and the CollectionOptions builder). + + + + + Initializes a new instance of the CollectionOptionsDocument class. + + + + + Initializes a new instance of the CollectionOptionsDocument 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 CollectionOptionsDocument class and adds one element. + + An element to add to the document. + + + + Initializes a new instance of the CollectionOptionsDocument 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 CollectionOptionsDocument 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 CollectionOptionsDocument 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 CollectionOptionsDocument 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 CollectionOptionsDocument 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 CollectionOptionsDocument 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 CollectionOptionsDocument 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 CollectionOptionsDocument class and adds one or more elements. + + One or more elements to add to the document. + + + + Initializes a new instance of the CollectionOptionsDocument 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. + + + + The settings used to access a MongoDB server. + + + + + Creates a new instance of MongoServerSettings. Usually you would use a connection string instead. + + + + + Creates a new instance of MongoServerSettings. Usually you would use a connection string instead. + + The connection mode (Direct or ReplicaSet). + The connect timeout. + The credentials store. + The default credentials. + The representation for Guids. + Whether to use IPv6. + The max connection idle time. + The max connection life time. + The max connection pool size. + The min connection pool size. + The name of the replica set. + The safe mode. + The server addresses (normally one unless it is the seed list for connecting to a replica set). + Whether queries should be sent to secondary servers. + The socket timeout. + The wait queue size. + The wait queue timeout. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Compares two MongoServerSettings 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 credentials for a particular database. + + The database name. + The credentials for that database (or null). + + + + Gets the hash code. + + The hash code. + + + + Returns a string representation of the settings. + + A string representation of the settings. + + + + Gets the AddressFamily for the IPEndPoint (derived from the IPv6 setting). + + + + + Gets or sets the connection mode. + + + + + Gets or sets the connect timeout. + + + + + Gets or sets the credentials store. + + + + + Gets or sets the default credentials. + + + + + Gets or sets the representation to use for Guids. + + + + + Gets whether the settings have been frozen to prevent further changes. + + + + + Gets or sets whether to use IPv6. + + + + + 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 name of the replica set. + + + + + Gets or sets the SafeMode to use. + + + + + 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 whether queries should be sent to secondary servers. + + + + + Gets or sets the socket timeout. + + + + + Gets or sets the wait queue size. + + + + + Gets or sets the wait queue timeout. + + + + + Represents a credentials store that contains credentials for different databases. + + + + + Creates a new instance of the MongoCredentialsStore class. + + + + + Adds the credentials for a database to the store. + + The database name. + The credentials. + + + + Creates a clone of the credentials store. + + A clone of the credentials store. + + + + Compares this credentials store to another credentials store. + + The other credentials store. + True if the two credentials stores are equal. + + + + Compares this credentials store to another credentials store. + + The other credentials store. + True if the two credentials stores are equal. + + + + Freezes the credentials store. + + The frozen credentials store. + + + + Gets the hashcode for the credentials store. + + The hashcode. + + + + Returns a string representation of the credentials store. + + A string representation of the credentials store. + + + + Gets the credentials for a database. + + The database name. + The credentials. + True if the store contained credentials for the database. Otherwise false. + + + + A builder for creating update modifiers. + + + + + Adds a value to a named array element if the value is not already in the array (see $addToSet). + + The name of the array element. + The value to add to the set. + The builder (so method calls can be chained). + + + + Adds a list of values to a named array element adding each value only if it not already in the array (see $addToSet and $each). + + The name of the array element. + The values to add to the set. + The builder (so method calls can be chained). + + + + Adds a list of values to a named array element adding each value only if it not already in the array (see $addToSet and $each). + + The name of the array element. + The values to add to the set. + The builder (so method calls can be chained). + + + + Adds a list of values to a named array element adding each value only if it not already in the array (see $addToSet and $each). + + The name of the array element. + The values to add to the set. + The builder (so method calls can be chained). + + + + Adds a list of wrapped values to a named array element adding each value only if it not already in the array (see $addToSet and $each). + + The type of wrapped values. + The name of the array element. + The wrapped values to add to the set. + The builder (so method calls can be chained). + + + + Adds a list of wrapped values to a named array element adding each value only if it not already in the array (see $addToSet and $each). + + The type of wrapped values. + The name of the array element. + The wrapped values to add to the set. + The builder (so method calls can be chained). + + + + Adds a wrapped value to a named array element if the value is not already in the array (see $addToSet). + + The type of wrapped value. + The name of the array element. + The wrapped value to add to the set. + The builder (so method calls can be chained). + + + + Sets the named element to the bitwise and of its value with another value (see $bit with "and"). + + The name of the element to be modified. + The value to be and-ed with the current value. + The builder (so method calls can be chained). + + + + Sets the named element to the bitwise and of its value with another value (see $bit with "and"). + + The name of the element to be modified. + The value to be and-ed with the current value. + The builder (so method calls can be chained). + + + + Sets the named element to the bitwise or of its value with another value (see $bit with "or"). + + The name of the element to be modified. + The value to be or-ed with the current value. + The builder (so method calls can be chained). + + + + Sets the named element to the bitwise or of its value with another value (see $bit with "or"). + + The name of the element to be modified. + The value to be or-ed with the current value. + The builder (so method calls can be chained). + + + + Combines several UpdateBuilders into a single UpdateBuilder. + + The UpdateBuilders to combine. + A combined UpdateBuilder. + + + + Combines several UpdateBuilders into a single UpdateBuilder. + + The UpdateBuilders to combine. + A combined UpdateBuilder. + + + + Increments the named element by a value (see $inc). + + The name of the element to be incremented. + The value to increment by. + The builder (so method calls can be chained). + + + + Increments the named element by a value (see $inc). + + The name of the element to be incremented. + The value to increment by. + The builder (so method calls can be chained). + + + + Increments the named element by a value (see $inc). + + The name of the element to be incremented. + The value to increment by. + The builder (so method calls can be chained). + + + + Removes the first value from the named array element (see $pop). + + The name of the array element. + The builder (so method calls can be chained). + + + + Removes the last value from the named array element (see $pop). + + The name of the array element. + The builder (so method calls can be chained). + + + + Removes all values from the named array element that are equal to some value (see $pull). + + The name of the array element. + The value to remove. + The builder (so method calls can be chained). + + + + Removes all values from the named array element that match some query (see $pull). + + The name of the array element. + A query that specifies which elements to remove. + The builder (so method calls can be chained). + + + + Removes all values from the named array element that are equal to any of a list of values (see $pullAll). + + The name of the array element. + The values to remove. + The builder (so method calls can be chained). + + + + Removes all values from the named array element that are equal to any of a list of values (see $pullAll). + + The name of the array element. + The values to remove. + The builder (so method calls can be chained). + + + + Removes all values from the named array element that are equal to any of a list of values (see $pullAll). + + The name of the array element. + The values to remove. + The builder (so method calls can be chained). + + + + Removes all values from the named array element that are equal to any of a list of wrapped values (see $pullAll). + + The type of wrapped values. + The name of the array element. + The wrapped values to remove. + The builder (so method calls can be chained). + + + + Removes all values from the named array element that are equal to any of a list of wrapped values (see $pullAll). + + The type of wrapped values. + The name of the array element. + The wrapped values to remove. + The builder (so method calls can be chained). + + + + Removes all values from the named array element that are equal to some wrapped value (see $pull). + + The type of wrapped value. + The name of the array element. + The wrapped value to remove. + The builder (so method calls can be chained). + + + + Adds a value to the end of the named array element (see $push). + + The name of the array element. + The value to add to the end of the array. + The builder (so method calls can be chained). + + + + Adds a list of values to the end of the named array element (see $pushAll). + + The name of the array element. + The values to add to the end of the array. + The builder (so method calls can be chained). + + + + Adds a list of values to the end of the named array element (see $pushAll). + + The name of the array element. + The values to add to the end of the array. + The builder (so method calls can be chained). + + + + Adds a list of values to the end of the named array element (see $pushAll). + + The name of the array element. + The values to add to the end of the array. + The builder (so method calls can be chained). + + + + Adds a list of wrapped values to the end of the named array element (see $pushAll). + + The type of wrapped values. + The name of the array element. + The wrapped values to add to the end of the array. + The builder (so method calls can be chained). + + + + Adds a list of wrapped values to the end of the named array element (see $pushAll). + + The type of wrapped values. + The name of the array element. + The wrapped values to add to the end of the array. + The builder (so method calls can be chained). + + + + Adds a wrapped value to the end of the named array element (see $push). + + The type of wrapped value. + The name of the array element. + The wrapped value to add to the end of the array. + The builder (so method calls can be chained). + + + + Renames an element (see $rename). + + The name of the element to be renamed. + The new name of the element. + An UpdateDocuemnt. + + + + Replaces the entire document with a new document (the _id must remain the same). + + The nominal type of the replacement document + The replacement document. + An UpdateWrapper. + + + + Replaces the entire document with a new document (the _id must remain the same). + + The nominal type of the replacement document + The replacement document. + An UpdateWrapper. + + + + Sets the value of the named element to a new value (see $set). + + The name of the element to be set. + The new value. + The builder (so method calls can be chained). + + + + Sets the value of the named element to a new wrapped value (see $set). + + The type of wrapped value. + The name of the element to be set. + The new wrapped value. + The builder (so method calls can be chained). + + + + Removes the named element from the document (see $unset). + + The name of the element to be removed. + The builder (so method calls can be chained). + + + + A builder for creating update modifiers. + + + + + A marker interface that represents an update modifier (see UpdateDocument and the Update builder). + + + + + Initializes a new instance of the UpdateBuilder class. + + + + + Adds a value to a named array element if the value is not already in the array (see $addToSet). + + The name of the array element. + The value to add to the set. + The builder (so method calls can be chained). + + + + Adds a list of values to a named array element adding each value only if it not already in the array (see $addToSet and $each). + + The name of the array element. + The values to add to the set. + The builder (so method calls can be chained). + + + + Adds a list of values to a named array element adding each value only if it not already in the array (see $addToSet and $each). + + The name of the array element. + The values to add to the set. + The builder (so method calls can be chained). + + + + Adds a list of values to a named array element adding each value only if it not already in the array (see $addToSet and $each). + + The name of the array element. + The values to add to the set. + The builder (so method calls can be chained). + + + + Adds a list of wrapped values to a named array element adding each value only if it not already in the array (see $addToSet and $each). + + The type of wrapped values. + The name of the array element. + The wrapped values to add to the set. + The builder (so method calls can be chained). + + + + Adds a list of wrapped values to a named array element adding each value only if it not already in the array (see $addToSet and $each). + + The type of wrapped values. + The name of the array element. + The wrapped values to add to the set. + The builder (so method calls can be chained). + + + + Adds a wrapped value to a named array element if the value is not already in the array (see $addToSet). + + The type of wrapped value. + The name of the array element. + The wrapped value to add to the set. + The builder (so method calls can be chained). + + + + Sets the named element to the bitwise and of its value with another value (see $bit with "and"). + + The name of the element to be modified. + The value to be and-ed with the current value. + The builder (so method calls can be chained). + + + + Sets the named element to the bitwise and of its value with another value (see $bit with "and"). + + The name of the element to be modified. + The value to be and-ed with the current value. + The builder (so method calls can be chained). + + + + Sets the named element to the bitwise or of its value with another value (see $bit with "or"). + + The name of the element to be modified. + The value to be or-ed with the current value. + The builder (so method calls can be chained). + + + + Sets the named element to the bitwise or of its value with another value (see $bit with "or"). + + The name of the element to be modified. + The value to be or-ed with the current value. + The builder (so method calls can be chained). + + + + Combines another UpdateBuilder into this one. + + The UpdateBuilder to combine into this one. + A combined UpdateBuilder. + + + + Increments the named element by a value (see $inc). + + The name of the element to be incremented. + The value to increment by. + The builder (so method calls can be chained). + + + + Increments the named element by a value (see $inc). + + The name of the element to be incremented. + The value to increment by. + The builder (so method calls can be chained). + + + + Increments the named element by a value (see $inc). + + The name of the element to be incremented. + The value to increment by. + The builder (so method calls can be chained). + + + + Removes the first value from the named array element (see $pop). + + The name of the array element. + The builder (so method calls can be chained). + + + + Removes the last value from the named array element (see $pop). + + The name of the array element. + The builder (so method calls can be chained). + + + + Removes all values from the named array element that are equal to some value (see $pull). + + The name of the array element. + The value to remove. + The builder (so method calls can be chained). + + + + Removes all values from the named array element that match some query (see $pull). + + The name of the array element. + A query that specifies which elements to remove. + The builder (so method calls can be chained). + + + + Removes all values from the named array element that are equal to any of a list of values (see $pullAll). + + The name of the array element. + The values to remove. + The builder (so method calls can be chained). + + + + Removes all values from the named array element that are equal to any of a list of values (see $pullAll). + + The name of the array element. + The values to remove. + The builder (so method calls can be chained). + + + + Removes all values from the named array element that are equal to any of a list of values (see $pullAll). + + The name of the array element. + The values to remove. + The builder (so method calls can be chained). + + + + Removes all values from the named array element that are equal to any of a list of wrapped values (see $pullAll). + + The type of wrapped values. + The name of the array element. + The wrapped values to remove. + The builder (so method calls can be chained). + + + + Removes all values from the named array element that are equal to any of a list of wrapped values (see $pullAll). + + The type of wrapped values. + The name of the array element. + The wrapped values to remove. + The builder (so method calls can be chained). + + + + Removes all values from the named array element that are equal to some wrapped value (see $pull). + + The type of wrapped value. + The name of the array element. + The wrapped value to remove. + The builder (so method calls can be chained). + + + + Adds a value to the end of the named array element (see $push). + + The name of the array element. + The value to add to the end of the array. + The builder (so method calls can be chained). + + + + Adds a list of values to the end of the named array element (see $pushAll). + + The name of the array element. + The values to add to the end of the array. + The builder (so method calls can be chained). + + + + Adds a list of values to the end of the named array element (see $pushAll). + + The name of the array element. + The values to add to the end of the array. + The builder (so method calls can be chained). + + + + Adds a list of values to the end of the named array element (see $pushAll). + + The name of the array element. + The values to add to the end of the array. + The builder (so method calls can be chained). + + + + Adds a list of wrapped values to the end of the named array element (see $pushAll). + + The type of wrapped values. + The name of the array element. + The wrapped values to add to the end of the array. + The builder (so method calls can be chained). + + + + Adds a list of wrapped values to the end of the named array element (see $pushAll). + + The type of wrapped values. + The name of the array element. + The wrapped values to add to the end of the array. + The builder (so method calls can be chained). + + + + Adds a wrapped value to the end of the named array element (see $push). + + The type of wrapped value. + The name of the array element. + The wrapped value to add to the end of the array. + The builder (so method calls can be chained). + + + + Renames an element (see $rename). + + The old element name. + The new element name. + The builder (so method calls can be chained). + + + + Sets the value of the named element to a new value (see $set). + + The name of the element to be set. + The new value. + The builder (so method calls can be chained). + + + + Sets the value of the named element to a new wrapped value (see $set). + + The type of wrapped value. + The name of the element to be set. + The new wrapped value. + The builder (so method calls can be chained). + + + + Returns the result of the builder as a BsonDocument. + + A BsonDocument. + + + + Removes the named element from the document (see $unset). + + The name of the element to be removed. + The builder (so method calls can be chained). + + + + Serializes the result of the builder to a BsonWriter. + + The writer. + The nominal type. + The serialization options. + + + + A builder for specifying what the GroupBy command should group by. + + + + + Sets a key function. + + The key function. + A BsonJavaScript. + + + + Sets one or more key names. + + One or more key names. + The builder (so method calls can be chained). + + + + A builder for specifying what the GroupBy command should group by. + + + + + A marker interface that represents what to group by (see GroupByDocument and the GroupBy builder). + + + + + Initializes a new instance of the GroupByBuilder class. + + One or more key names. + + + + Returns the result of the builder as a BsonDocument. + + A BsonDocument. + + + + Serializes the result of the builder to a BsonWriter. + + The writer. + The nominal type. + The serialization options. + + + + 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. + + + + 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. + + + + Returns the server address as an IPEndPoint (does a DNS lookup). + + The address family of the returned IPEndPoint. + The IPEndPoint of the server. + + + + Gets the server's host name. + + + + + Gets the server's port number. + + + + + Represents setting for GridFS. + + + + + Initializes a new instance of the MongoGridFSSettings class. + + + + + Initializes a new instance of the MongoGridFSSettings class. + + The database from which to inherit some of the settings. + + + + Initializes a new instance of the MongoGridFSSettings class. + + The chunk size. + The root collection name. + The safe mode. + + + + Compares two MongoGridFSSettings. + + The first MongoGridFSSettings. + The other MongoGridFSSettings. + True if the two MongoGridFSSettings are not equal (or one is null and the other is not). + + + + Compares two MongoGridFSSettings. + + The first MongoGridFSSettings. + The other MongoGridFSSettings. + True if the two MongoGridFSSettings are equal (or both null). + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Compares this MongoGridFSSettings to another one. + + The other MongoGridFSSettings. + True if the two settings are equal. + + + + Compares this MongoGridFSSettings to another object. + + The other object. + True if the other objects is a MongoGridFSSettings and is equal to this one. + + + + 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 default GridFS settings. + + + + + Gets the chunks collection name. + + + + + Gets or sets the chunk size. + + + + + Gets the files collection name. + + + + + Gets whether the settings are frozen. + + + + + Gets or sets the root collection name (the files and chunks collection names are derived from the root). + + + + + Gets or sets the safe mode. + + + + + Represents a pool of connections to a MongoDB server. + + + + + Gets the number of available connections (connections that are open but not currently in use). + + + + + Gets the number of connections in the connection pool (includes both available and in use connections). + + + + + Gets the current generation Id of the connection pool. + + + + + Gets the server instance. + + + + + Represents a wrapped object that can be used where an IMongoGeoHaystackSearchOptions is expected (the wrapped object is expected to serialize properly). + + + + + Initializes a new instance of the GeoHaystackSearchOptionsWrapper class. + + The wrapped object. + + + + Creates a new instance of the GeoHaystackSearchOptionsWrapper class. + + The wrapped object. + A new instance of GeoHaystackSearchOptionsWrapper or null. + + + + Used with the Connect method when connecting to a replica set to specify what subset of the replica set must be connected before returning. + + + + + Wait for all members of the replica set to be connected. + + + + + Wait for the primary member of the replica set to be connected. + + + + + Wait for any slaveOk member of the replica set to be connected (primary or any secondary). + + + + + Represents the result of a GeoNear command. + + + + + Initializes a new instance of the GeoNearResult class. + + + + + Gets the hits. + + + + + Gets the namespace. + + + + + Gets the stats. + + + + + Gets the hits. + + + + + Represents a collection of GeoNear hits. + + + + + Initializes a new instance of the GeoNearHits class. + + + + + Gets an enumerator for the hits. + + An enumerator. + + + + Gets the enumerator. + + An enumerator. + + + + Gets an individual hit. + + The zero based index of the hit. + The hit. + + + + Gets the count of the number of hits. + + + + + Gets an individual hit. + + The zero based index of the hit. + The hit. + + + + Represents a GeoNear hit. + + + + + Initializes a new instance of the GeoNearHit class. + + The hit. + + + + Gets the distance. + + + + + Gets the document. + + + + + Gets the document as a BsonDocument. + + + + + Gets the document. + + + + + Represents the stats of a GeoNear command. + + + + + Initializes a new instance of the GeoNearStats class. + + The stats. + + + + Gets the average distance. + + + + + Gets the count of b-tree locations. + + + + + Gets the duration. + + + + + Gets the max distance. + + + + + Gets the number of documents scanned. + + + + + Gets the number of documents loaded. + + + + + Represents the result of a GeoNear command. + + The type of the returned documents. + + + + Initializes a new instance of the GeoNearResult class. + + + + + Gets the hits. + + + + + Gets the hits. + + + + + Represents a collection of GeoNear hits. + + + + + Initializes a new instance of the GeoNearHits class. + + The hits. + + + + Gets an enumerator for the hits. + + An enumerator. + + + + Gets a hit. + + The zero based index of the hit. + The hit. + + + + Gets an enumerator for the hits. + + An enumerator. + + + + Gets the count of the number of hits. + + + + + Gets an individual hit. + + The zero based index of the hit. + The hit. + + + + Represents a GeoNear hit. + + + + + Initializes a new instance of the GeoNearHit class. + + The hit. + + + + Gets the document. + + + + + Gets the document. + + + + + Represents a wrapped object that can be used where an IMongoMapReduceOptions is expected (the wrapped object is expected to serialize properly). + + + + + Initializes a new instance of the MapReduceOptionsWrapper class. + + The wrapped object. + + + + Creates a new instance of the MapReduceOptionsWrapper class. + + The wrapped object. + A new instance of MapReduceOptionsWrapper or null. + + + + Represents a document from the system.profile collection. + + + + + Initializes a new instance of the SystemProfileInfo class. + + + + + Gets or sets the abbreviated profile info (only used when the profile info would have exceeded 100KB). + + + + + Gets or sets the client. + + + + + Gets or sets the command. + + + + + Gets or sets the cursor Id. + + + + + Gets or sets the duration. + + + + + Gets or sets the error message. + + + + + Gets or sets the exception message. + + + + + Gets or sets the exception code. + + + + + Gets or sets whether exhaust was true. + + + + + Gets or sets whether fastMod was true. + + + + + Gets or sets whether fastModInsert was true. + + + + + Gets or sets whether idHack was true. + + + + + Gets or sets the info string (only present with pre 2.0 servers). + + + + + Gets or sets the number of key updates. + + + + + Gets or sets whether moved was true. + + + + + Gets or sets the namespace. + + + + + Gets or sets the number of documents returned. + + + + + Gets or sets the number of documents scanned. + + + + + Gets or sets the number of documents to return. + + + + + Gets or sets the number of documents to skip. + + + + + Gets or sets the operation. + + + + + Gets or sets the query. + + + + + Gets or sets the response length. + + + + + Gets or sets whether scanAndOrder was true. + + + + + Gets or sets the timestamp. + + + + + Gets or sets the update object. + + + + + Gets or sets whether upsert was true. + + + + + Gets or sets the user. + + + + + Represents a serializer for SystemProfileInfo. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Gets the serialization info for a member. + + The member name. + The serialization info for the member. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + The settings used to access a database. + + + + + Creates a new instance of MongoDatabaseSettings. + + The server to inherit settings from. + The name of the database. + + + + Creates a new instance of MongoDatabaseSettings. + + The name of the database. + The credentials to access the database. + The representation for Guids. + The safe mode to use. + Whether queries should be sent to secondary servers. + + + + 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. + + + + Gets or sets the credentials to access the database. + + + + + Gets the name of the database. + + + + + Gets or sets the representation to use for Guids. + + + + + Gets whether the settings have been frozen to prevent further changes. + + + + + Gets or sets the SafeMode to use. + + + + + Gets or sets whether queries should be sent to secondary servers. + + + + + Flags used with the Insert method in MongoCollection. + + + + + No flags. + + + + + Continue with the remaining documents even if one of the documents resulted in an error. + + + + + A builder for the options used when creating an index. + + + + + Sets whether to build the index in the background. + + Whether to build the index in the background. + The builder (so method calls can be chained). + + + + Sets the bucket size for geospatial haystack indexes. + + The bucket size. + The builder (so method calls can be chained). + + + + Sets whether duplicates should be dropped. + + Whether duplicates should be dropped. + The builder (so method calls can be chained). + + + + Sets the geospatial range. + + The min value of the range. + The max value of the range. + The builder (so method calls can be chained). + + + + Sets the name of the index. + + The name of the index. + The builder (so method calls can be chained). + + + + Sets whether the index is a sparse index. + + Whether the index is a sparse index. + The builder (so method calls can be chained). + + + + Sets whether the index enforces unique values. + + Whether the index enforces unique values. + The builder (so method calls can be chained). + + + + Gets a null value with a type of IMongoIndexOptions. + + + + + A builder for the options used when creating an index. + + + + + Initializes a new instance of the IndexOptionsBuilder class. + + + + + Sets whether to build the index in the background. + + Whether to build the index in the background. + The builder (so method calls can be chained). + + + + Sets the bucket size for geospatial haystack indexes. + + The bucket size. + The builder (so method calls can be chained). + + + + Sets whether duplicates should be dropped. + + Whether duplicates should be dropped. + The builder (so method calls can be chained). + + + + Sets the geospatial range. + + The min value of the range. + The max value of the range. + The builder (so method calls can be chained). + + + + Sets the name of the index. + + The name of the index. + The builder (so method calls can be chained). + + + + Sets whether the index is a sparse index. + + Whether the index is a sparse index. + The builder (so method calls can be chained). + + + + Sets whether the index enforces unique values. + + Whether the index enforces unique values. + The builder (so method calls can be chained). + + + + Returns the result of the builder as a BsonDocument. + + A BsonDocument. + + + + Serializes the result of the builder to a BsonWriter. + + The writer. + The nominal type. + The serialization options. + + + + Represents a stream interface to a GridFS file (patterned after .NET's Stream class). + + + + + Initializes a new instance of the MongoGridFSStream class. + + The GridFS file info. + The mode. + + + + Initializes a new instance of the MongoGridFSStream class. + + The GridFS file info. + The mode. + The acess. + + + + Flushes any unsaved data in the buffers to the GridFS file. + + + + + Reads bytes from the GridFS stream. + + The destination buffer. + The offset in the destination buffer at which to place the read bytes. + The number of bytes to read. + The number of bytes read. + + + + Reads one byte from the GridFS stream. + + The byte (-1 if at the end of the GridFS stream). + + + + Seeks to a new position. + + The seek offset. + The seek origin. + The new position. + + + + Sets the length of the GridFS file. + + The length. + + + + Writes bytes to the GridFS stream. + + The source buffer. + The offset in the source buffer to the bytes. + The number of bytes to write. + + + + Writes one byte to the GridFS stream. + + The byte. + + + + Disposes of any resources used by the stream. + + True if called from Dispose. + + + + Gets whether the GridFS stream supports reading. + + + + + Gets whether the GridFS stream supports seeking. + + + + + Gets whether the GridFS stream supports writing. + + + + + Gets the current length (use SetLength to change the length). + + + + + Gets or sets the current position. + + + + + Gets or sets whether to compute and update the MD5 hash for the file when the stream is closed. + + + + + Represents a projection. + + The type of the source objects. + The type of the result objects. + + + + Initializes a new instance of the Projector class. + + The cursor that supplies the source objects. + The projection. + + + + Gets an enumerator for the result objects. + + An enumerator for the result objects. + + + + A class that formats an Expression as a string. + + + + + Initializes a new instance of the ExpressionFormatter class. + + + + + Returns a string that represents the Expression. + + The Expression to format. + A string that represents the Expression. + + + + Returns a string that represents the Expression. + + A string that represents the Expression. + + + + Visits a BinaryExpression. + + The BinaryExpression. + The BinaryExpression. + + + + Visits a ConditionalExpression. + + The ConditionalExpression. + The ConditionalExpression. + + + + Visits a ConstantExpression. + + The ConstantExpression. + The ConstantExpression. + + + + Visits an ElementInit node. + + The ElementInit node. + The ElementInit node. + + + + Visits an ElementInit list. + + The ElementInit list. + The ElementInit list. + + + + Visits an InvocationExpression. + + The InvocationExpression. + The InvocationExpression. + + + + Visits a LambdaExpression. + + The LambdaExpression. + The LambdaExpression. + + + + Visits a ListInitExpression. + + The ListInitExpression. + The ListInitExpression. + + + + Visits a MemberExpression. + + The MemberExpression. + The MemberExpression. + + + + Visits a MemberAssignment. + + The MemberAssignment. + The MemberAssignment. + + + + Visits a MemberBinding. + + The MemberBinding. + The MemberBinding (possibly modified). + + + + Visits a MemberBinding list. + + The MemberBinding list. + The MemberBinding list. + + + + Visits a MemberInitExpression. + + The MemberInitExpression. + The MemberInitExpression. + + + + Visits a MemberListBinding. + + The MemberListBinding. + The MemberListBinding. + + + + Visits a MemberMemberBinding. + + The MemberMemberBinding. + The MemberMemberBinding. + + + + Visits a MethodCallExpression. + + The MethodCallExpression. + The MethodCallExpression. + + + + Visits a NewExpression. + + The NewExpression. + The NewExpression. + + + + Visits a NewArrayExpression. + + The NewArrayExpression. + The NewArrayExpression. + + + + Visits a ParameterExpression. + + The ParameterExpression. + The ParameterExpression. + + + + Visits a TypeBinaryExpression. + + The TypeBinaryExpression. + The TypeBinaryExpression. + + + + Visits a UnaryExpression. + + The UnaryExpression. + The UnaryExpression. + + + + A marker interface that represents a scope (a set of variables with values, see ScopeDocument). + + + + + Represents a MongoDB database and the settings used to access it. This class is thread-safe. + + + + + Creates a new instance of MongoDatabase. Normally you would call one of the indexers or GetDatabase methods + of MongoServer instead. + + The server that contains this database. + The settings to use to access this database. + + + + Creates a new instance or returns an existing instance of MongoDatabase. Only one instance + is created for each combination of database settings. Automatically creates an instance + of MongoServer if needed. + + Server and database settings in the form of a MongoConnectionStringBuilder. + + A new or existing instance of MongoDatabase. + + + + + Creates a new instance or returns an existing instance of MongoDatabase. Only one instance + is created for each combination of database settings. Automatically creates an instance + of MongoServer if needed. + + The server settings for the server that contains this database. + The name of this database (will be accessed using default settings). + + A new or existing instance of MongoDatabase. + + + + + Creates a new instance or returns an existing instance of MongoDatabase. Only one instance + is created for each combination of database settings. Automatically creates an instance + of MongoServer if needed. + + Server and database settings in the form of a MongoUrl. + + A new or existing instance of MongoDatabase. + + + + + Creates a new instance or returns an existing instance of MongoDatabase. Only one instance + is created for each combination of database settings. Automatically creates an instance + of MongoServer if needed. + + Server and database settings in the form of a connection string. + + A new or existing instance of MongoDatabase. + + + + + Creates a new instance or returns an existing instance of MongoDatabase. Only one instance + is created for each combination of database settings. Automatically creates an instance + of MongoServer if needed. + + Server and database settings in the form of a Uri. + + A new or existing instance of MongoDatabase. + + + + + Adds a user to this database. + + The user's credentials. + + + + Adds a user to this database. + + The user's credentials. + True if the user is a read-only user. + + + + Adds a user to this database. + + The user. + + + + Tests whether a collection exists on this database. + + The name of the collection. + True if the collection exists. + + + + Creates a collection. MongoDB creates collections automatically when they are first used, so + this command is mainly here for frameworks. + + The name of the collection. + A CommandResult. + + + + Creates a collection. MongoDB creates collections automatically when they are first used, so + you only need to call this method if you want to provide non-default options. + + The name of the collection. + Options for creating this collection (usually a CollectionOptionsDocument or constructed using the CollectionOptions builder). + A CommandResult. + + + + Creates an instance of MongoCollectionSettings for the named collection with the rest of the settings inherited. + You can override some of these settings before calling GetCollection. + + The default document type for this collection. + The name of this collection. + A MongoCollectionSettings. + + + + Creates an instance of MongoCollectionSettings for the named collection with the rest of the settings inherited. + You can override some of these settings before calling GetCollection. + + The default document type for this collection. + The name of this collection. + A MongoCollectionSettings. + + + + Drops a database. + + + + + Drops a collection. + + The name of the collection to drop. + A CommandResult. + + + + Evaluates JavaScript code at the server. + + Flags that control Eval options. + The code to evaluate. + Optional arguments (only used when the code is a function with parameters). + The result of evaluating the code. + + + + Evaluates JavaScript code at the server. + + The code to evaluate. + Optional arguments (only used when the code is a function with parameters). + The result of evaluating the code. + + + + Fetches the document referred to by the DBRef. + + The to fetch. + A BsonDocument (or null if the document was not found). + + + + Fetches the document referred to by the DBRef, deserialized as a . + + The nominal type of the document to fetch. + The to fetch. + A (or null if the document was not found). + + + + Fetches the document referred to by the DBRef. + + The nominal type of the document to fetch. + The to fetch. + An instance of nominalType (or null if the document was not found). + + + + Finds all users of this database. + + An array of users. + + + + Finds a user of this database. + + The username. + The user. + + + + Gets a MongoCollection instance representing a collection on this database + with a default document type of TDefaultDocument. + + The default document type for this collection. + The settings to use when accessing this collection. + An instance of MongoCollection. + + + + Gets a MongoCollection instance representing a collection on this database + with a default document type of TDefaultDocument. + + The default document type for this collection. + The name of the collection. + An instance of MongoCollection. + + + + Gets a MongoCollection instance representing a collection on this database + with a default document type of TDefaultDocument. + + The default document type for this collection. + The name of the collection. + The safe mode to use when accessing this collection. + An instance of MongoCollection. + + + + Gets a MongoCollection instance representing a collection on this database + with a default document type of TDefaultDocument. + + The settings to use when accessing this collection. + An instance of MongoCollection. + + + + Gets a MongoCollection instance representing a collection on this database + with a default document type of BsonDocument. + + The name of the collection. + An instance of MongoCollection. + + + + Gets a MongoCollection instance representing a collection on this database + with a default document type of BsonDocument. + + The name of the collection. + The safe mode to use when accessing this collection. + An instance of MongoCollection. + + + + Gets a MongoCollection instance representing a collection on this database + with a default document type of BsonDocument. + + The default document type. + The name of the collection. + An instance of MongoCollection. + + + + Gets a MongoCollection instance representing a collection on this database + with a default document type of BsonDocument. + + The default document type. + The name of the collection. + The safe mode to use when accessing this collection. + An instance of MongoCollection. + + + + Gets a list of the names of all the collections in this database. + + A list of collection names. + + + + Gets the current operation. + + The current operation. + + + + Gets an instance of MongoGridFS for this database using custom GridFS settings. + + The GridFS settings to use. + An instance of MongoGridFS. + + + + Gets the last error (if any) that occurred on this connection. You MUST be within a RequestStart to call this method. + + The last error () + + + + Gets one or more documents from the system.profile collection. + + A query to select which documents to return. + A cursor. + + + + Gets the current profiling level. + + The profiling level. + + + + Gets a sister database on the same server. + + The name of the sister database. + An instance of MongoDatabase. + + + + Gets the current database stats. + + An instance of DatabaseStatsResult. + + + + Removes a user from this database. + + The user to remove. + + + + Removes a user from this database. + + The username to remove. + + + + Renames a collection on this database. + + The old name for the collection. + The new name for the collection. + A CommandResult. + + + + Renames a collection on this database. + + The old name for the collection. + The new name for the collection. + Whether to drop the target collection first if it already exists. + A CommandResult. + + + + Renames a collection on this database. + + The old name for the collection. + The new name for the collection. + Whether to drop the target collection first if it already exists. + Credentials for the admin database. + A CommandResult. + + + + Renames a collection on this database. + + The old name for the collection. + The new name for the collection. + Credentials for the admin database. + A CommandResult. + + + + Lets the server know that this thread is done with a series of related operations. Instead of calling this method it is better + to put the return value of RequestStart in a using statement. + + + + + Lets the server know that this thread is about to begin a series of related operations that must all occur + on the same connection. The return value of this method implements IDisposable and can be placed in a + using statement (in which case RequestDone will be called automatically when leaving the using statement). + + A helper object that implements IDisposable and calls from the Dispose method. + + + + Lets the server know that this thread is about to begin a series of related operations that must all occur + on the same connection. The return value of this method implements IDisposable and can be placed in a + using statement (in which case RequestDone will be called automatically when leaving the using statement). + + Whether queries should be sent to secondary servers. + A helper object that implements IDisposable and calls from the Dispose method. + + + + Removes all entries for this database in the index cache used by EnsureIndex. Call this method + when you know (or suspect) that a process other than this one may have dropped one or + more indexes. + + + + + Runs a command on this database. + + The command object. + A CommandResult + + + + Runs a command on this database. + + The name of the command. + A CommandResult + + + + Runs a command on this database and returns the result as a TCommandResult. + + The type of the returned command result. + The command object. + A TCommandResult + + + + Runs a command on this database and returns the result as a TCommandResult. + + The type of the returned command result. + The name of the command. + A TCommandResult + + + + Runs a command on this database and returns the result as a TCommandResult. + + The command result type. + The command object. + A TCommandResult + + + + Runs a command on this database and returns the result as a TCommandResult. + + The command result type. + The name of the command. + A TCommandResult + + + + Sets the level of profile information to write. + + The profiling level. + A CommandResult. + + + + Sets the level of profile information to write. + + The profiling level. + The threshold that defines a slow query. + A CommandResult. + + + + Gets a canonical string representation for this database. + + A canonical string representation for this database. + + + + Gets the command collection for this database. + + + + + Gets the credentials being used to access this database. + + + + + Gets the default GridFS instance for this database. The default GridFS instance uses default GridFS + settings. See also GetGridFS if you need to use GridFS with custom settings. + + + + + Gets the name of this database. + + + + + Gets the server that contains this database. + + + + + Gets the settings being used to access this database. + + + + + Gets a MongoCollection instance representing a collection on this database + with a default document type of BsonDocument. + + The name of the collection. + An instance of MongoCollection. + + + + Gets a MongoCollection instance representing a collection on this database + with a default document type of BsonDocument. + + The name of the collection. + The safe mode to use when accessing this collection. + An instance of MongoCollection. + + + + An object that can be enumerated to fetch the results of a query. The query is not sent + to the server until you begin enumerating the results. + + + + + Creates a new MongoCursor. It is very unlikely that you will call this constructor. Instead, see all the Find methods in MongoCollection. + + The collection. + The query. + + + + Creates a cursor. + + The type of the returned documents. + The collection to query. + A query. + A cursor. + + + + Creates a clone of the cursor. + + The type of the documents returned. + A clone of the cursor. + + + + Creates a clone of the cursor. + + The type of the documents returned. + A clone of the cursor. + + + + Returns the number of documents that match the query (ignores Skip and Limit, unlike Size which honors them). + + The number of documents that match the query. + + + + Returns an explanation of how the query was executed (instead of the results). + + An explanation of thow the query was executed. + + + + Returns an explanation of how the query was executed (instead of the results). + + Whether the explanation should contain more details. + An explanation of thow the query was executed. + + + + Sets the batch size (the number of documents returned per batch). + + The number of documents in each batch. + The cursor (so you can chain method calls to it). + + + + Sets the fields that will be returned from the server. + + The fields that will be returned from the server. + The cursor (so you can chain method calls to it). + + + + Sets the fields that will be returned from the server. + + The fields that will be returned from the server. + The cursor (so you can chain method calls to it). + + + + Sets the query flags. + + The query flags. + The cursor (so you can chain method calls to it). + + + + Sets the index hint for the query. + + The index hint. + The cursor (so you can chain method calls to it). + + + + Sets the index hint for the query. + + The name of the index. + The cursor (so you can chain method calls to it). + + + + Sets the limit on the number of documents to be returned. + + The limit on the number of documents to be returned. + The cursor (so you can chain method calls to it). + + + + Sets the max value for the index key range of documents to return (note: the max value itself is excluded from the range). + Often combined with SetHint (if SetHint is not used the server will attempt to determine the matching index automatically). + + The max value. + The cursor (so you can chain method calls to it). + + + + Sets the maximum number of documents to scan. + + The maximum number of documents to scan. + The cursor (so you can chain method calls to it). + + + + Sets the min value for the index key range of documents to return (note: the min value itself is included in the range). + Often combined with SetHint (if SetHint is not used the server will attempt to determine the matching index automatically). + + The min value. + The cursor (so you can chain method calls to it). + + + + Sets a cursor option. + + The name of the option. + The value of the option. + The cursor (so you can chain method calls to it). + + + + Sets multiple cursor options. See also the individual Set{Option} methods, which are easier to use. + + The options. + The cursor (so you can chain method calls to it). + + + + Sets the serialization options (only needed in rare cases). + + The serialization options. + The cursor (so you can chain method calls to it). + + + + Sets the $showDiskLoc option. + + The cursor (so you can chain method calls to it). + + + + Sets the number of documents the server should skip before returning the rest of the documents. + + The number of documents to skip. + The cursor (so you can chain method calls to it). + + + + Sets whether the query should be sent to a secondary server. + + Whether the query should be sent to a secondary server. + The cursor (so you can chain method calls to it). + + + + Sets the $snapshot option. + + The cursor (so you can chain method calls to it). + + + + Sets the sort order for the server to sort the documents by before returning them. + + The sort order. + The cursor (so you can chain method calls to it). + + + + Sets the sort order for the server to sort the documents by before returning them. + + The names of the fields to sort by. + The cursor (so you can chain method calls to it). + + + + Returns the size of the result set (honors Skip and Limit, unlike Count which does not). + + The size of the result set. + + + + Gets the non-generic enumerator. + + The enumerator. + + + + Gets the server that the query will be sent to. + + + + + Gets the database that constains the collection that is being queried. + + + + + Gets the collection that is being queried. + + + + + Gets the query that will be sent to the server. + + + + + Gets or sets the fields that will be returned from the server. + + + + + Gets or sets the cursor options. See also the individual Set{Option} methods, which are easier to use. + + + + + Gets or sets the query flags. + + + + + Gets or sets whether the query should be sent to a secondary server. + + + + + Gets or sets the number of documents the server should skip before returning the rest of the documents. + + + + + Gets or sets the limit on the number of documents to be returned. + + + + + Gets or sets the batch size (the number of documents returned per batch). + + + + + Gets or sets the serialization options (only needed in rare cases). + + + + + Gets whether the cursor has been frozen to prevent further changes. + + + + + An object that can be enumerated to fetch the results of a query. The query is not sent + to the server until you begin enumerating the results. + + The type of the documents returned. + + + + Creates a new MongoCursor. It is very unlikely that you will call this constructor. Instead, see all the Find methods in MongoCollection. + + The collection. + The query. + + + + Returns an enumerator that can be used to enumerate the cursor. Normally you will use the foreach statement + to enumerate the cursor (foreach will call GetEnumerator for you). + + An enumerator that can be used to iterate over the cursor. + + + + Sets the batch size (the number of documents returned per batch). + + The number of documents in each batch. + The cursor (so you can chain method calls to it). + + + + Sets the fields that will be returned from the server. + + The fields that will be returned from the server. + The cursor (so you can chain method calls to it). + + + + Sets the fields that will be returned from the server. + + The fields that will be returned from the server. + The cursor (so you can chain method calls to it). + + + + Sets the query flags. + + The query flags. + The cursor (so you can chain method calls to it). + + + + Sets the index hint for the query. + + The index hint. + The cursor (so you can chain method calls to it). + + + + Sets the index hint for the query. + + The name of the index. + The cursor (so you can chain method calls to it). + + + + Sets the limit on the number of documents to be returned. + + The limit on the number of documents to be returned. + The cursor (so you can chain method calls to it). + + + + Sets the max value for the index key range of documents to return (note: the max value itself is excluded from the range). + Often combined with SetHint (if SetHint is not used the server will attempt to determine the matching index automatically). + + The max value. + The cursor (so you can chain method calls to it). + + + + Sets the maximum number of documents to scan. + + The maximum number of documents to scan. + The cursor (so you can chain method calls to it). + + + + Sets the min value for the index key range of documents to return (note: the min value itself is included in the range). + Often combined with SetHint (if SetHint is not used the server will attempt to determine the matching index automatically). + + The min value. + The cursor (so you can chain method calls to it). + + + + Sets a cursor option. + + The name of the option. + The value of the option. + The cursor (so you can chain method calls to it). + + + + Sets multiple cursor options. See also the individual Set{Option} methods, which are easier to use. + + The options. + The cursor (so you can chain method calls to it). + + + + Sets the serialization options (only needed in rare cases). + + The serialization options. + The cursor (so you can chain method calls to it). + + + + Sets the $showDiskLoc option. + + The cursor (so you can chain method calls to it). + + + + Sets the number of documents the server should skip before returning the rest of the documents. + + The number of documents to skip. + The cursor (so you can chain method calls to it). + + + + Sets whether the query should be sent to a secondary server. + + Whether the query should be sent to a secondary server. + The cursor (so you can chain method calls to it). + + + + Sets the $snapshot option. + + The cursor (so you can chain method calls to it). + + + + Sets the sort order for the server to sort the documents by before returning them. + + The sort order. + The cursor (so you can chain method calls to it). + + + + Sets the sort order for the server to sort the documents by before returning them. + + The names of the fields to sort by. + The cursor (so you can chain method calls to it). + + + + Gets the non-generic enumerator. + + The enumerator. + + + + Represents a wrapped object that can be used where an IMongoSortBy is expected (the wrapped object is expected to serialize properly). + + + + + A marker interface that represents a sort order (see SortByDocument and the SortBy builder). + + + + + Initializes a new instance of the SortByWrapper class. + + The wrapped object. + + + + Creates a new instance of the SortByWrapper class. + + The wrapped object. + A new instance of SortByWrapper or null. + + + + Represents a wrapped object that can be used where an IMongoGroupBy is expected (the wrapped object is expected to serialize properly). + + + + + Initializes a new instance of the GroupByWrapper class. + + The wrapped object. + + + + Creates a new instance of the GroupByWrapper class. + + The wrapped object. + A new instance of GroupByWrapper or null. + + + + Represents build info about a server instance. + + + + + Creates a new instance of MongoServerBuildInfo. + + The number of bits (32 or 64). + The GIT version. + The sysInfo. + The version string. + + + + Gets the number of bits (32 or 64). + + + + + Gets the GIT version. + + + + + Gets the sysInfo. + + + + + Gets the version. + + + + + Gets the version string. + + + + + Represents the results of an operation performed with a safe mode. + + + + + Represents the results of a GetLastError command. + + + + + Initializes a new instance of the GetLastErrorResult class. + + + + + Gets the number of documents affected. + + + + + Gets whether the result has a LastErrorMessage. + + + + + Gets the last error message (null if none). + + + + + Gets whether the last command updated an existing document. + + + + + Initializes a new instance of the SafeModeResult class. + + + + + Represents .NET style connection strings. We recommend you use URL style connection strings + (see MongoUrl and MongoUrlBuilder). + + + + + Creates a new instance of MongoConnectionStringBuilder. + + + + + Creates a new instance of MongoConnectionStringBuilder. + + The initial settings. + + + + Clears all settings to their default values. + + + + + Tests whether a keyword is valid. + + The keyword. + True if the keyword is valid. + + + + Creates a new instance of MongoServerSettings based on the settings in this MongoConnectionStringBuilder. + + A new instance of MongoServerSettings. + + + + 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 representation for Guids. + + + + + Gets or sets whether to use IPv6. + + + + + 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 default password. + + + + + Gets or sets the name of the replica set. + + + + + Gets or sets the SafeMode to use. + + + + + 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 whether queries should be sent to secondary servers. + + + + + Gets or sets the socket timeout. + + + + + Gets or sets the default username. + + + + + 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 individual settings by keyword. + + The keyword. + The value of the setting. + + + + Various static utility methods. + + + + + Gets the MD5 hash of a string. + + The string to get the MD5 hash of. + The MD5 hash. + + + + 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. + + + + Static class that contains the Mongo Linq extension methods. + + + + + Returns an instance of IQueryable{{T}} for a MongoCollection. + + The type of the returned documents. + The name of the collection. + An instance of IQueryable{{T}} for a MongoCollection. + + + + Represents a thread-safe queue. + + The type of elements. + + + + Initializes a new instance of the BlockingQueue class. + + + + + Dequeues one item from the queue. Will block waiting for an item if the queue is empty. + + The timeout for waiting for an item to appear in the queue. + The first item in the queue (null if it timed out). + + + + Enqueues an item on to the queue. + + The item to be queued. + + + + Represents a MongoDB query exception. + + + + + Initializes a new instance of the MongoQueryException class. + + The error message. + + + + Initializes a new instance of the MongoQueryException class. + + The error message. + The inner exception. + + + + Initializes a new instance of the MongoQueryException class. + + The error message. + The error document returned by the server. + + + + Initializes a new instance of the MongoQueryException class (this overload supports deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Gets the error document returned by the server. + + + + + Represents a BSON document that can be used where an IMongoScope is expected. + + + + + Initializes a new instance of the ScopeDocument class. + + + + + Initializes a new instance of the ScopeDocument 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 ScopeDocument class and adds one element. + + An element to add to the document. + + + + Initializes a new instance of the ScopeDocument 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 ScopeDocument 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 ScopeDocument 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 ScopeDocument 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 ScopeDocument 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 ScopeDocument 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 ScopeDocument 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 ScopeDocument class and adds one or more elements. + + One or more elements to add to the document. + + + + Initializes a new instance of the ScopeDocument 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. + + + + Represents a wrapped object that can be used where an IMongoIndexKeys is expected (the wrapped object is expected to serialize properly). + + + + + A marker interface that represents the keys of an index (see IndexKeysDocument and the IndexKeys builder). + + + + + Initializes a new instance of the IndexKeysWrapper class. + + The wrapped object. + + + + Creates a new instance of the IndexKeysWrapper class. + + The wrapped object. + A new instance of IndexKeysWrapper or null. + + + + 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. + + + + 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. + + + + 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. + + + + + Represents a serializer for MongoDBRefs. + + + + + Deserializes an object from a BsonReader. + + The BsonReader. + The nominal type of the object. + The actual type of the object. + The serialization options. + An object. + + + + Gets the serialization info for a member. + + The member name. + The serialization info for the member. + + + + Serializes an object to a BsonWriter. + + The BsonWriter. + The nominal type. + The object. + The serialization options. + + + + An implementation of IQueryProvider for querying a MongoDB collection. + + + + + Initializes a new instance of the MongoQueryProvider class. + + The collection being queried. + + + + Builds the MongoDB query that will be sent to the server when the LINQ query is executed. + + The type of the documents being queried. + The LINQ query. + The MongoDB query. + + + + Creates a new instance of MongoQueryable{{T}} for this provider. + + The type of the returned elements. + The query expression. + A new instance of MongoQueryable{{T}}. + + + + Creates a new instance MongoQueryable{{T}} for this provider. Calls the generic CreateQuery{{T}} + to actually create the new MongoQueryable{{T}} instance. + + The query expression. + A new instance of MongoQueryable{{T}}. + + + + Executes a query. + + The type of the result. + The query expression. + The result of the query. + + + + Executes a query. Calls the generic method Execute{{T}} to actually execute the query. + + The query expression. + The result of the query. + + + + Gets the Collection. + + + + + Performs bottom-up analysis to find maximal subtrees that satisfy a predicate. + + + + + Represents a MongoDB safe mode exception. + + + + + Represents a MongoDB command exception. + + + + + Initializes a new instance of the MongoCommandException class. + + The command result (an error message will be constructed using the result). + + + + Initializes a new instance of the MongoCommandException class. + + The error message. + + + + Initializes a new instance of the MongoCommandException class. + + The error message. + The inner exception. + + + + Initializes a new instance of the MongoCommandException class. + + The error message. + The command result. + + + + Initializes a new instance of the MongoCommandException class (this overload supports deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Gets the command result. + + + + + Initializes a new instance of the MongoSafeModeException class. + + The error message. + The command result. + + + + Initializes a new instance of the MongoSafeModeException class (this overload supports deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Represents an instance of a MongoDB server host (in the case of a replica set a MongoServer uses multiple MongoServerInstances). + + + + + Gets the IP end point of this server instance. + + The IP end point of this server instance. + + + + Checks whether the server is alive (throws an exception if not). + + + + + Verifies the state of the server instance. + + + + + Occurs when the value of the State property changes. + + + + + Gets the address of this server instance. + + + + + Gets the version of this server instance. + + + + + Gets the exception thrown the last time Connect was called (null if Connect did not throw an exception). + + + + + Gets the connection pool for this server instance. + + + + + Gets whether this server instance is an arbiter instance. + + + + + Gets the result of the most recent ismaster command sent to this server instance. + + + + + Gets whether this server instance is a passive instance. + + + + + Gets whether this server instance is a primary. + + + + + Gets whether this server instance is a secondary. + + + + + Gets the max document size for this server instance. + + + + + Gets the max message length for this server instance. + + + + + Gets the unique sequential Id for this server instance. + + + + + Gets the server for this server instance. + + + + + Gets the state of this server instance. + + + + + A marker interface that represents a list of fields (see FieldsDocument and the Fields builder). + + + + + Represents the different safe modes that can be used. + + + + + Creates a new instance of the SafeMode class. + + Whether safe mode is enabled. + + + + Creates a new instance of the SafeMode class. + + Whether safe mode is enabled. + Whether the server should call fsync after each operation. + + + + Creates a new instance of the SafeMode class. + + Whether safe mode is enabled. + Whether the server should call fsync after each operation. + The number of write replications that should be completed before server returns. + + + + Creates a new instance of the SafeMode class. + + Whether safe mode is enabled. + Whether the server should call fsync after each operation. + The number of write replications that should be completed before server returns. + The timeout for each operation. + + + + Creates a new instance of the SafeMode class. + + The number of write replications that should be completed before server returns. + + + + Creates a new instance of the SafeMode class. + + The number of write replications that should be completed before server returns. + The timeout for each operation. + + + + Creates a new instance of the SafeMode class. + + Another SafeMode to initialize this one from. + + + + Determines whether two specified SafeMode 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 SafeMode 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. + + + + Creates a SafeMode instance (or returns an existing instance). + + Whether safe mode is enabled. + A SafeMode instance. + + + + Creates a SafeMode instance (or returns an existing instance). + + Whether safe mode is enabled. + Whether fysnc is true. + A SafeMode instance. + + + + Creates a SafeMode instance (or returns an existing instance). + + Whether safe mode is enabled. + Whether fysnc is true. + The number of write replications that should be completed before server returns. + A SafeMode instance. + + + + Creates a SafeMode instance (or returns an existing instance). + + Whether safe mode is enabled. + Whether fysnc is true. + The number of write replications that should be completed before server returns. + The timeout for each operation. + A SafeMode instance. + + + + Creates a SafeMode instance (or returns an existing instance). + + The number of write replications that should be completed before server returns. + A SafeMode instance. + + + + Creates a SafeMode instance (or returns an existing instance). + + The number of write replications that should be completed before server returns. + The timeout for each operation. + A SafeMode instance. + + + + Determines whether two specified SafeMode 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. + + + + Creates a clone of the SafeMode. + + A clone of the SafeMode. + + + + Determines whether this instance and a specified object, which must also be a SafeMode object, have the same value. + + The SafeMode object to compare to this instance. + True if obj is a SafeMode object and its value is the same as this instance; otherwise, false. + + + + Determines whether this instance and another specified SafeMode object have the same value. + + The SafeMode object to compare to this instance. + True if the value of the rhs parameter is the same as this instance; otherwise, false. + + + + Freezes the SafeMode. + + The frozen SafeMode. + + + + Returns a frozen copy of the SafeMode. + + A frozen copy of the SafeMode. + + + + Gets the hash code. + + The hash code. + + + + Returns a string representation of the SafeMode. + + A string representation of the SafeMode. + + + + Gets an instance of SafeMode with safe mode off. + + + + + Gets an instance of SafeMode with fsync=true. + + + + + Gets an instance of SafeMode with safe mode on. + + + + + Gets an instance of SafeMode with safe mode on and w=2. + + + + + Gets an instance of SafeMode with safe mode on and w=3. + + + + + Gets an instance of SafeMode with safe mode on and w=4. + + + + + Gets whether safe mode is enabled. + + + + + Gets whether fsync is true. + + + + + Gets whether wait for journal commit is true. + + + + + Gets the w value (the number of write replications that must complete before the server returns). + + + + + Gets the w mode (the w mode determines which write replications must complete before the server returns). + + + + + Gets the wtimeout value (the timeout before which the server must return). + + + + + Represents a MongoDB connection exception. + + + + + Initializes a new instance of the MongoConnectionException class. + + The error message. + + + + Initializes a new instance of the MongoConnectionException class. + + The error message. + The inner exception. + + + + Initializes a new instance of the MongoConnectionException class (this overload supports deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Represents a wrapped object that can be used where an IMongoScope is expected (the wrapped object is expected to serialize properly). + + + + + Initializes a new instance of the ScopeWrapper class. + + The wrapped object. + + + + Creates a new instance of the ScopeWrapper class. + + The wrapped object. + A new instance of ScopeWrapper or null. + + + + Represents a wrapped object that can be used where an IMongoGeoNearOptions is expected (the wrapped object is expected to serialize properly). + + + + + Initializes a new instance of the GeoNearOptionsWrapper class. + + The wrapped object. + + + + Creates a new instance of the GeoNearOptionsWrapper class. + + The wrapped object. + A new instance of GeoNearOptionsWrapper or null. + + + + Represents a wrapped object that can be used where an IMongoCollectionOptions is expected (the wrapped object is expected to serialize properly). + + + + + Initializes a new instance of the CollectionOptionsWrapper class. + + The wrapped object. + + + + Creates a new instance of the CollectionOptionsWrapper class. + + The wrapped object. + A new instance of CollectionOptionsWrapper or null. + + + + Represents the results of a GetProfilingLevel command. + + + + + Initializes a new instance of the GetProfilingLevelResult class. + + + + + Gets the profiling level. + + + + + Gets the threshold for a slow query. + + + + + Represents a MongoDB server (either a single instance or a replica set) and the settings used to access it. This class is thread-safe. + + + + + Creates a new instance of MongoServer. Normally you will use one of the Create methods instead + of the constructor to create instances of this class. + + The settings for this instance of MongoServer. + + + + Creates a new instance or returns an existing instance of MongoServer. Only one instance + is created for each combination of server settings. + + + A new or existing instance of MongoServer. + + + + + Creates a new instance or returns an existing instance of MongoServer. Only one instance + is created for each combination of server settings. + + Server settings in the form of a MongoConnectionStringBuilder. + + A new or existing instance of MongoServer. + + + + + Creates a new instance or returns an existing instance of MongoServer. Only one instance + is created for each combination of server settings. + + Server settings. + + A new or existing instance of MongoServer. + + + + + Creates a new instance or returns an existing instance of MongoServer. Only one instance + is created for each combination of server settings. + + Server settings in the form of a MongoUrl. + + A new or existing instance of MongoServer. + + + + + Creates a new instance or returns an existing instance of MongoServer. Only one instance + is created for each combination of server settings. + + Server settings in the form of a connection string. + + A new or existing instance of MongoServer. + + + + + Creates a new instance or returns an existing instance of MongoServer. Only one instance + is created for each combination of server settings. + + Server settings in the form of a Uri. + + A new or existing instance of MongoServer. + + + + + Gets an array containing a snapshot of the set of all servers that have been created so far. + + An array containing a snapshot of the set of all servers that have been created so far. + + + + Unregisters all servers from the dictionary used by Create to remember which servers have already been created. + + + + + Unregisters a server from the dictionary used by Create to remember which servers have already been created. + + The server to unregister. + + + + Connects to the server. Normally there is no need to call this method as + the driver will connect to the server automatically when needed. + + + + + Connects to the server. Normally there is no need to call this method as + the driver will connect to the server automatically when needed. + + What to wait for before returning (when connecting to a replica set). + + + + Connects to the server. Normally there is no need to call this method as + the driver will connect to the server automatically when needed. + + How long to wait before timing out. + + + + Connects to the server. Normally there is no need to call this method as + the driver will connect to the server automatically when needed. + + How long to wait before timing out. + What to wait for before returning (when connecting to a replica set). + + + + Copies a database. + + The name of an existing database. + The name of the new database. + + + + Creates an instance of MongoDatabaseSettings for the named database with the rest of the settings inherited. + You can override some of these settings before calling GetDatabase. + + The name of the database. + An instance of MongoDatabase for . + + + + Tests whether a database exists. + + The name of the database. + True if the database exists. + + + + Tests whether a database exists. + + The name of the database. + Credentials for the admin database. + True if the database exists. + + + + Disconnects from the server. Normally there is no need to call this method so + you should be sure to have a good reason to call it. + + + + + Drops a database. + + The name of the database to be dropped. + A . + + + + Drops a database. + + The name of the database to be dropped. + Credentials for the database to be dropped (or admin credentials). + A . + + + + Fetches the document referred to by the DBRef. + + The to fetch. + A BsonDocument (or null if the document was not found). + + + + Fetches the document referred to by the DBRef, deserialized as a . + + The nominal type of the document to fetch. + The to fetch. + A (or null if the document was not found). + + + + Fetches the document referred to by the DBRef. + + The nominal type of the document to fetch. + The to fetch. + The document (or null if the document was not found). + + + + Gets a MongoDatabase instance representing a database on this server. Only one instance + is created for each combination of database settings. + + The settings to use with this database. + A new or existing instance of MongoDatabase. + + + + Gets a MongoDatabase instance representing a database on this server. Only one instance + is created for each combination of database settings. + + The name of the database. + A new or existing instance of MongoDatabase. + + + + Gets a MongoDatabase instance representing a database on this server. Only one instance + is created for each combination of database settings. + + The name of the database. + The credentials to use with this database. + A new or existing instance of MongoDatabase. + + + + Gets a MongoDatabase instance representing a database on this server. Only one instance + is created for each combination of database settings. + + The name of the database. + The credentials to use with this database. + The safe mode to use with this database. + A new or existing instance of MongoDatabase. + + + + Gets a MongoDatabase instance representing a database on this server. Only one instance + is created for each combination of database settings. + + The name of the database. + The safe mode to use with this database. + A new or existing instance of MongoDatabase. + + + + Gets the names of the databases on this server. + + A list of database names. + + + + Gets the names of the databases on this server. + + Credentials for the admin database. + A list of database names. + + + + Gets the last error (if any) that occurred on this connection. You MUST be within a RequestStart to call this method. + + The last error () + + + + Gets the last error (if any) that occurred on this connection. You MUST be within a RequestStart to call this method. + + Credentials for the admin database. + The last error () + + + + Checks whether the server is alive (throws an exception if not). If server is a replica set, pings all members one at a time. + + + + + Reconnects to the server. Normally there is no need to call this method. All connections + are closed and new connections will be opened as needed. Calling + this method frequently will result in connection thrashing. + + + + + Lets the server know that this thread is done with a series of related operations. Instead of calling this method it is better + to put the return value of RequestStart in a using statement. + + + + + Lets the server know that this thread is about to begin a series of related operations that must all occur + on the same connection. The return value of this method implements IDisposable and can be placed in a + using statement (in which case RequestDone will be called automatically when leaving the using statement). + + One of the databases involved in the related operations. + A helper object that implements IDisposable and calls from the Dispose method. + + + + Lets the server know that this thread is about to begin a series of related operations that must all occur + on the same connection. The return value of this method implements IDisposable and can be placed in a + using statement (in which case RequestDone will be called automatically when leaving the using statement). + + One of the databases involved in the related operations. + Whether queries should be sent to secondary servers. + A helper object that implements IDisposable and calls from the Dispose method. + + + + Lets the server know that this thread is about to begin a series of related operations that must all occur + on the same connection. The return value of this method implements IDisposable and can be placed in a + using statement (in which case RequestDone will be called automatically when leaving the using statement). + + One of the databases involved in the related operations. + The server instance this request should be tied to. + A helper object that implements IDisposable and calls from the Dispose method. + + + + Removes all entries in the index cache used by EnsureIndex. Call this method + when you know (or suspect) that a process other than this one may have dropped one or + more indexes. + + + + + Shuts down the server. + + + + + Shuts down the server. + + Credentials for the admin database. + + + + Verifies the state of the server (in the case of a replica set all members are contacted one at a time). + + + + + Gets or sets the maximum number of instances of MongoServer that will be allowed to be created. + + + + + Gets the number of instances of MongoServer that have been created. + + + + + Gets the arbiter instances. + + + + + Gets the build info of the server. + + + + + Gets the most recent connection attempt number. + + + + + Gets the index cache (used by EnsureIndex) for this server. + + + + + Gets the one and only instance for this server. + + + + + Gets the instances for this server. + + + + + Gets the passive instances. + + + + + Gets the primary instance (null if there is no primary). + + + + + Gets the name of the replica set (null if not connected to a replica set). + + + + + Gets the connection reserved by the current RequestStart scope (null if not in the scope of a RequestStart). + + + + + Gets the RequestStart nesting level for the current thread. + + + + + Gets the secondary instances. + + + + + Gets the unique sequential Id for this server. + + + + + Gets the settings for this server. + + + + + Gets the current state of this server (as of the last operation, not updated until another operation is performed). + + + + + Gets a MongoDatabase instance representing a database on this server. Only one instance + is created for each combination of database settings. + + The name of the database. + A new or existing instance of MongoDatabase. + + + + Gets a MongoDatabase instance representing a database on this server. Only one instance + is created for each combination of database settings. + + The name of the database. + The credentials to use with this database. + A new or existing instance of MongoDatabase. + + + + Gets a MongoDatabase instance representing a database on this server. Only one instance + is created for each combination of database settings. + + The settings to use with this database. + A new or existing instance of MongoDatabase. + + + + Gets a MongoDatabase instance representing a database on this server. Only one instance + is created for each combination of database settings. + + The name of the database. + The credentials to use with this database. + The safe mode to use with this database. + A new or existing instance of MongoDatabase. + + + + Gets a MongoDatabase instance representing a database on this server. Only one instance + is created for each combination of database settings. + + The name of the database. + The safe mode to use with this database. + A new or existing instance of MongoDatabase. + + + + An implementation of IQueryable{{T}} for querying a MongoDB collection. + This class has been named MongoQueryable instead of MongoQuery to avoid confusion with IMongoQuery. + + The type of the documents being queried. + + + + Initializes a new instance of the MongoQueryable class. + + The query provider. + + + + Initializes a new instance of the MongoQueryable class. + + The query provider. + The expression. + + + + Gets an enumerator for the results of a MongoDB LINQ query. + + An enumerator for the results of a MongoDB LINQ query. + + + + Gets the MongoDB query that will be sent to the server when this LINQ query is executed. + + The MongoDB query. + + + + Represents a BSON document that can be used where an IMongoSortBy is expected. + + + + + Initializes a new instance of the SortByDocument class. + + + + + Initializes a new instance of the SortByDocument 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 SortByDocument class and adds one element. + + An element to add to the document. + + + + Initializes a new instance of the SortByDocument 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 SortByDocument 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 SortByDocument 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 SortByDocument 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 SortByDocument 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 SortByDocument 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 SortByDocument 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 SortByDocument class and adds one or more elements. + + One or more elements to add to the document. + + + + Initializes a new instance of the SortByDocument 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. + + + + Represents a wrapped object that can be used where an IMongoFields is expected (the wrapped object is expected to serialize properly). + + + + + Initializes a new instance of the FieldsWrapper class. + + The wrapped object. + + + + Creates a new instance of the FieldsWrapper class. + + The wrapped object. + A new instance of FieldsWrapper or null. + + + + Represents what level of profile information to write. + + + + + Don't write profile information for any queries. + + + + + Write profile information for slow queries. + + + + + Write profile information for all queries. + + + + + A builder for specifying a sort order. + + + + + Adds keys to be sorted by in ascending order. + + One or more key names. + The builder (so method calls can be chained). + + + + Adds keys to be sorted by in descending order. + + One or more key names. + The builder (so method calls can be chained). + + + + Gets a null value with a type of IMongoSortBy. + + + + + A builder for specifying a sort order. + + + + + Initializes a new instance of the SortByBuider class. + + + + + Adds keys to be sorted by in ascending order. + + One or more key names. + The builder (so method calls can be chained). + + + + Adds keys to be sorted by in descending order. + + One or more key names. + The builder (so method calls can be chained). + + + + Returns the result of the builder as a BsonDocument. + + A BsonDocument. + + + + Serializes the result of the builder to a BsonWriter. + + The writer. + The nominal type. + The serialization options. + + + + A builder for specifying the keys for an index. + + + + + Sets one or more key names to index in ascending order. + + One or more key names. + The builder (so method calls can be chained). + + + + Sets one or more key names to index in descending order. + + One or more key names. + The builder (so method calls can be chained). + + + + Sets the key name to create a geospatial index on. + + The key name. + The builder (so method calls can be chained). + + + + Sets the key name to create a geospatial haystack index on. + + The key name. + The builder (so method calls can be chained). + + + + Sets the key name and additional field name to create a geospatial haystack index on. + + The key name. + The name of an additional field to index. + The builder (so method calls can be chained). + + + + A builder for specifying the keys for an index. + + + + + Initializes a new instance of the IndexKeysBuilder class. + + + + + Sets one or more key names to index in ascending order. + + One or more key names. + The builder (so method calls can be chained). + + + + Sets one or more key names to index in descending order. + + One or more key names. + The builder (so method calls can be chained). + + + + Sets the key name to create a geospatial index on. + + The key name. + The builder (so method calls can be chained). + + + + Sets the key name to create a geospatial haystack index on. + + The key name. + The builder (so method calls can be chained). + + + + Sets the key name and additional field name to create a geospatial haystack index on. + + The key name. + The name of an additional field to index. + The builder (so method calls can be chained). + + + + Returns the result of the builder as a BsonDocument. + + A BsonDocument. + + + + Serializes the result of the builder to a BsonWriter. + + The writer. + The nominal type. + The serialization options. + + + + A builder for the options of the GeoHaystackSearch command. + + + + + Sets the maximum number of results to return. + + The maximum number of results to return. + The builder (so method calls can be chained). + + + + Sets the max distance. + + The max distance. + The builder (so method calls can be chained). + + + + Sets the query on the optional additional field. + + The name of the additional field. + The value fo the additional field. + The builder (so method calls can be chained). + + + + Gets a null value with a type of IMongoGeoHaystackSearchOptions. + + + + + A builder for the options of the GeoHaystackSearch command. + + + + + Initializes a new instance of the GeoHaystackSearchOptionsBuilder class. + + + + + Sets the maximum number of results to return. + + The maximum number of results to return. + The builder (so method calls can be chained). + + + + Sets the max distance. + + The max distance. + The builder (so method calls can be chained). + + + + Sets the query on the optional additional field. + + The name of the additional field. + The value fo the additional field. + The builder (so method calls can be chained). + + + + Returns the result of the builder as a BsonDocument. + + A BsonDocument. + + + + Serializes the result of the builder to a BsonWriter. + + The writer. + The nominal type. + The serialization options. + + + + The state of a MongoServer instance. + + + + + Disconnected from the server. + + + + + Connecting to the server (in progress). + + + + + Connected to the server. + + + + + Connected to a subset of the replica set members. + + + + + The state is temporarily unknown. + + + + + Disconnecting from the server (in progress). + + + + + Represents an order by clause. + + + + + Initializes an instance of the OrderByClause class. + + An expression identifying the key of the order by clause. + The direction of the order by clause. + + + + Gets the lambda expression identifying the key of the order by clause. + + + + + Gets the direction of the order by clause. + + + + + Represents the direction of an order by clause. + + + + + Ascending order. + + + + + Descending order. + + + + + Represents the state of a connection. + + + + + The connection has not yet been initialized. + + + + + The connection is open. + + + + + The connection is closed. + + + + + Represents a connection to a MongoServerInstance. + + + + + Gets the connection pool that this connection belongs to. + + + + + Gets the DateTime that this connection was created at. + + + + + Gets the generation of the connection pool that this connection belongs to. + + + + + Gets the DateTime that this connection was last used at. + + + + + Gets a count of the number of messages that have been sent using this connection. + + + + + Gets the RequestId of the last message sent on this connection. + + + + + Gets the server instance this connection is connected to. + + + + + Gets the state of this connection. + + + + + Reprsents an enumerator that fetches the results of a query sent to the server. + + The type of the documents returned. + + + + Initializes a new instance of the MongoCursorEnumerator class. + + The cursor to be enumerated. + + + + Disposes of any resources held by this enumerator. + + + + + Moves to the next result and returns true if another result is available. + + True if another result is available. + + + + Resets the enumerator (not supported by MongoCursorEnumerator). + + + + + Gets the current document. + + + + + Gets whether the cursor is dead (used with tailable cursors). + + + + + Gets whether the server is await capable (used with tailable cursors). + + + + + Represents a MongoDB authentication exception + + + + + Initializes a new instance of the MongoAuthenticationException class. + + The error message. + + + + Initializes a new instance of the MongoAuthenticationException class. + + The error message. + The inner exception. + + + + Initializes a new instance of the MongoAuthenticationException class (this overload supports deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Represents a BSON document that can be used where an IMongoFields is expected. + + + + + Initializes a new instance of the FieldsDocument class. + + + + + Initializes a new instance of the FieldsDocument 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 FieldsDocument class and adds one element. + + An element to add to the document. + + + + Initializes a new instance of the FieldsDocument 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 FieldsDocument 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 FieldsDocument 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 FieldsDocument 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 FieldsDocument 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 FieldsDocument 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 FieldsDocument 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 FieldsDocument class and adds one or more elements. + + One or more elements to add to the document. + + + + Initializes a new instance of the FieldsDocument 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. + + + + A class that pretty prints an Expression. + + + + + Initializes a new instance of the ExpressionPrettyPrinter class. + + + + + Pretty prints an Expression. + + The Expression to pretty print. + A string containing the pretty printed Expression. + + + + Returns the pretty printed string representation of the Expression. + + The pretty printed string representation of the Expression. + + + + Visits a BinaryExpression. + + The BinaryExpression. + The BinaryExpression. + + + + Visits a ConditionalExpression. + + The ConditionalExpression. + The ConditionalExpression. + + + + Visits a ConstantExpression. + + The ConstantExpression. + The ConstantExpression. + + + + Visits an ElementInit node. + + The ElementInit node. + The ElementInit node. + + + + Visits an ElementInit list. + + The ElementInit list. + The ElementInit list. + + + + Visits an InvocationExpression. + + The InvocationExpression. + The InvocationExpression. + + + + Visits a LambdaExpression. + + The LambdaExpression. + The LambdaExpression. + + + + Visits a ListInitExpression. + + The ListInitExpression. + The ListInitExpression. + + + + Visits a MemberExpression. + + The MemberExpression. + The MemberExpression. + + + + Visits a MemberAssignment. + + The MemberAssignment. + The MemberAssignment. + + + + Visits a MemberBinding. + + The MemberBinding. + The MemberBinding (possibly modified). + + + + Visits a MemberBinding list. + + The MemberBinding list. + The MemberBinding list. + + + + Visits a MemberInitExpression. + + The MemberInitExpression. + The MemberInitExpression. + + + + Visits a MemberListBinding. + + The MemberListBinding. + The MemberListBinding. + + + + Visits a MemberMemberBinding. + + The MemberMemberBinding. + The MemberMemberBinding. + + + + Visits a MethodCallExpression. + + The MethodCallExpression. + The MethodCallExpression. + + + + Visits a NewExpression. + + The NewExpression. + The NewExpression. + + + + Visits a NewArrayExpression. + + The NewArrayExpression. + The NewArrayExpression. + + + + Visits a ParameterExpression. + + The ParameterExpression. + The ParameterExpression. + + + + Visits a TypeBinaryExpression. + + The TypeBinaryExpression. + The TypeBinaryExpression. + + + + Visits a UnaryExpression. + + The UnaryExpression. + The UnaryExpression. + + + + This static class holds methods that can be used to express MongoDB specific query operations in LINQ queries. + + + + + Determines whether a sequence contains all of the specified values. + + The type of the elements of source. + A sequence in which to locate the values. + The values to locate in the sequence. + True if the sequence contains all of the specified values. + + + + Determines whether a sequence contains any of the specified values. + + The type of the elements of source. + A sequence in which to locate the values. + The values to locate in the sequence. + True if the sequence contains any of the specified values. + + + + Determines whether a specified value is contained in a sequence. + + The type of the elements of source. + The value to locate in the sequence. + A sequence in which to locate the values. + True if the value is contained in the sequence. + + + + Injects a low level IMongoQuery into a LINQ where clause. Can only be used in LINQ queries. + + The low level query. + Throws an InvalidOperationException if called. + + + + Represents a BSON document that can be used where an IMongoIndexKeys is expected. + + + + + Initializes a new instance of the IndexKeysDocument class. + + + + + Initializes a new instance of the IndexKeysDocument 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 IndexKeysDocument class and adds one element. + + An element to add to the document. + + + + Initializes a new instance of the IndexKeysDocument 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 IndexKeysDocument 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 IndexKeysDocument 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 IndexKeysDocument 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 IndexKeysDocument 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 IndexKeysDocument 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 IndexKeysDocument 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 IndexKeysDocument class and adds one or more elements. + + One or more elements to add to the document. + + + + Initializes a new instance of the IndexKeysDocument 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. + + + + Represents a MongoDB user. + + + + + Creates a new instance of MongoUser. + + The user's credentials. + Whether the user has read-only access. + + + + Creates a new instance of MongoUser. + + The username. + The password hash. + Whether the user has read-only access. + + + + Determines whether two specified MongoUser 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 MongoUser 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 MongoUser 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. + + + + Calculates the password hash. + + The username. + The password. + The password hash. + + + + Determines whether this instance and another specified MongoUser object have the same value. + + The MongoUser 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 MongoUser object, have the same value. + + The MongoUser object to compare to this instance. + True if obj is a MongoUser object and its value is the same as this instance; otherwise, false. + + + + Returns the hash code for this Class1 object. + + A 32-bit signed integer hash code. + + + + Returns a string representation of the credentials. + + A string representation of the user. + + + + Gets or sets the username. + + + + + Gets or sets the password hash. + + + + + Gets or sets whether the user is a read-only user. + + + + + Represents the output mode for a map reduce operation. + + + + + The output of the map reduce operation is returned inline. + + + + + The output of the map reduce operation replaces an existing collection. + + + + + The output of the map reduce operation is merged with an existing collection. + + + + + The output of the map reduce operation is merged with an existing collection using the reduce function. + + + + + Represents the output options of a map/reduce operation. + + + + + Creates a new instance of the MapReduceOutput class. + + + + + Creates a new instance of the MapReduceOutput class. + + The name of the output collection. + + + + Creates a new instance of the MapReduceOutput class. + + The name of the database that will contain the output collection. + The name of the output collection. + + + + Allows strings to be implicitly used as the name of the output collection. + + The output collection name. + A MapReduceOutput. + + + + Gets a MapReduceOutput value that specifies that the output should be stored in a collection (replaces the entire collection). + + The output collection name. + A MapReduceOutput. + + + + Gets a MapReduceOutput value that specifies that the output should be stored in a collection (replaces the entire collection). + + The output collection name. + Whether the output collection is sharded. + A MapReduceOutput. + + + + Gets a MapReduceOutput value that specifies that the output should be stored in a collection (replaces the entire collection). + + The output database name. + The output collection name. + A MapReduceOutput. + + + + Gets a MapReduceOutput value that specifies that the output should be stored in a collection (replaces the entire collection). + + The output database name. + The output collection name. + Whether the output collection is sharded. + A MapReduceOutput. + + + + Gets a MapReduceOutput value that specifies that the output should be stored in a collection (adding new values and overwriting existing ones). + + The output collection name. + A MapReduceOutput. + + + + Gets a MapReduceOutput value that specifies that the output should be stored in a collection (adding new values and overwriting existing ones). + + The output collection name. + Whether the output collection is sharded. + A MapReduceOutput. + + + + Gets a MapReduceOutput value that specifies that the output should be stored in a collection (adding new values and overwriting existing ones). + + The output database name. + The output collection name. + A MapReduceOutput. + + + + Gets a MapReduceOutput value that specifies that the output should be stored in a collection (adding new values and overwriting existing ones). + + The output database name. + The output collection name. + Whether the output collection is sharded. + A MapReduceOutput. + + + + Gets a MapReduceOutput value that specifies that the output should be stored in a collection (using the reduce function to combine new values with existing values). + + The output collection name. + A MapReduceOutput. + + + + Gets a MapReduceOutput value that specifies that the output should be stored in a collection (using the reduce function to combine new values with existing values). + + The output collection name. + Whether the output collection is sharded. + A MapReduceOutput. + + + + Gets a MapReduceOutput value that specifies that the output should be stored in a collection (using the reduce function to combine new values with existing values). + + The output database name. + The output collection name. + A MapReduceOutput. + + + + Gets a MapReduceOutput value that specifies that the output should be stored in a collection (using the reduce function to combine new values with existing values). + + The output database name. + The output collection name. + Whether the output collection is sharded. + A MapReduceOutput. + + + + Gets a MapReduceOutput value that specifies that the output should returned inline. + + + + + Gets or sets the name of the output collection. + + + + + Gets or sets the name of the database that will contain the output collection. + + + + + Gets or sets the output mode for the results of the map reduce operation. + + + + + Gets or sets whether the output collection is sharded. + + + + + A builder for the options of a Map/Reduce operation. + + + + + Sets the finalize function. + + The finalize function. + The builder (so method calls can be chained). + + + + Sets whether to use jsMode for the map reduce operation. + + Whether to use jsMode. + The builder (so method calls can be chained). + + + + Sets whether to keep the temp collection (obsolete in 1.8.0+). + + Whether to keep the temp collection. + The builder (so method calls can be chained). + + + + Sets the number of documents to send to the map function (useful in combination with SetSortOrder). + + The number of documents to send to the map function. + The builder (so method calls can be chained). + + + + Sets the output option (see MapReduceOutput). + + The output option. + The builder (so method calls can be chained). + + + + Sets the optional query that filters which documents are sent to the map function (also useful in combination with SetSortOrder and SetLimit). + + The query. + The builder (so method calls can be chained). + + + + Sets a scope that contains variables that can be accessed by the map, reduce and finalize functions. + + The scope. + The builder (so method calls can be chained). + + + + Sets the sort order (useful in combination with SetLimit, your map function should not depend on the order the documents are sent to it). + + The sort order. + The builder (so method calls can be chained). + + + + Sets the sort order (useful in combination with SetLimit, your map function should not depend on the order the documents are sent to it). + + The names of the keys to sort by. + The builder (so method calls can be chained). + + + + Sets whether the server should be more verbose when logging map/reduce operations. + + Whether the server should be more verbose. + The builder (so method calls can be chained). + + + + Gets a null value with a type of IMongoMapReduceOptions. + + + + + A builder for the options of a Map/Reduce operation. + + + + + Initializes a new instance of the MapReduceOptionsBuilder class. + + + + + Sets the finalize function. + + The finalize function. + The builder (so method calls can be chained). + + + + Sets whether to use jsMode for the map reduce operation. + + Whether to use jsMode. + The builder (so method calls can be chained). + + + + Sets whether to keep the temp collection (obsolete in 1.8.0+). + + Whether to keep the temp collection. + The builder (so method calls can be chained). + + + + Sets the number of documents to send to the map function (useful in combination with SetSortOrder). + + The number of documents to send to the map function. + The builder (so method calls can be chained). + + + + Sets the output option (see MapReduceOutput). + + The output option. + The builder (so method calls can be chained). + + + + Sets the optional query that filters which documents are sent to the map function (also useful in combination with SetSortOrder and SetLimit). + + The query. + The builder (so method calls can be chained). + + + + Sets a scope that contains variables that can be accessed by the map, reduce and finalize functions. + + The scope. + The builder (so method calls can be chained). + + + + Sets the sort order (useful in combination with SetLimit, your map function should not depend on the order the documents are sent to it). + + The sort order. + The builder (so method calls can be chained). + + + + Sets the sort order (useful in combination with SetLimit, your map function should not depend on the order the documents are sent to it). + + The names of the keys to sort by. + The builder (so method calls can be chained). + + + + Sets whether the server should be more verbose when logging map/reduce operations. + + Whether the server should be more verbose. + The builder (so method calls can be chained). + + + + Returns the result of the builder as a BsonDocument. + + A BsonDocument. + + + + Serializes the result of the builder to a BsonWriter. + + The writer. + The nominal type. + The serialization options. + + + + A builder for the options of the GeoNear command. + + + + + Sets the distance multiplier. + + The distance multiplier. + The builder (so method calls can be chained). + + + + Sets the max distance. + + The max distance. + The builder (so method calls can be chained). + + + + Sets whether to use a spherical search. + + Whether to use a spherical search. + The builder (so method calls can be chained). + + + + Gets a null value with a type of IMongoGeoNearOptions. + + + + + A builder for the options of the GeoNear command. + + + + + Initializes a new instance of the GeoNearOptionsBuilder class. + + + + + Sets the distance multiplier. + + The distance multiplier. + The builder (so method calls can be chained). + + + + Sets the max distance. + + The max distance. + The builder (so method calls can be chained). + + + + Sets whether to use a spherical search. + + Whether to use a spherical search. + The builder (so method calls can be chained). + + + + Returns the result of the builder as a BsonDocument. + + A BsonDocument. + + + + Serializes the result of the builder to a BsonWriter. + + The writer. + The nominal type. + The serialization options. + + + + Represents a MongoDB internal exception (almost surely the result of a bug). + + + + + Initializes a new instance of the MongoInternalException class. + + The error message. + + + + Initializes a new instance of the MongoInternalException class. + + The error message. + The inner exception. + + + + Initializes a new instance of the MongoInternalException class (this overload supports deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Represents a BSON document that can be used where an IMongoUpdate is expected. + + + + + Initializes a new instance of the UpdateDocument class. + + + + + Initializes a new instance of the UpdateDocument 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 UpdateDocument class and adds one element. + + An element to add to the document. + + + + Initializes a new instance of the UpdateDocument 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 UpdateDocument 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 UpdateDocument 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 UpdateDocument 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 UpdateDocument 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 UpdateDocument 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 UpdateDocument 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 UpdateDocument class and adds one or more elements. + + One or more elements to add to the document. + + + + Initializes a new instance of the UpdateDocument 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. + + + + Represents a BSON document that can be used where an IMongoIndexOptions is expected. + + + + + Initializes a new instance of the IndexOptionsDocument class. + + + + + Initializes a new instance of the IndexOptionsDocument 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 IndexOptionsDocument class and adds one element. + + An element to add to the document. + + + + Initializes a new instance of the IndexOptionsDocument 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 IndexOptionsDocument 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 IndexOptionsDocument 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 IndexOptionsDocument 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 IndexOptionsDocument 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 IndexOptionsDocument 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 IndexOptionsDocument 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 IndexOptionsDocument class and adds one or more elements. + + One or more elements to add to the document. + + + + Initializes a new instance of the IndexOptionsDocument 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. + + + + Represents the options to use for an Insert or InsertBatch operation. + + + + + Initializes a new instance of the MongoInsertOptions class. + + + + + Initializes a new instance of the MongoInsertOptions class. + + The collection from which to get default settings for the options. + + + + Gets or sets whether to check element names before proceeding with the Insert. + + + + + Gets or sets the insert flags. + + + + + Gets or sets the SafeMode to use for the Insert. + + + + + Represents the result of the database stats command. + + + + + Initializes a new instance of the DatabaseStatsResult class. + + + + + Gets the average object size. + + + + + Gets the collection count. + + + + + Gets the data size. + + + + + Gets the extent count. + + + + + Gets the file size. + + + + + Gets the index count. + + + + + Gets the index size. + + + + + Gets the object count. + + + + + Gets the storage size. + + + + + A builder for the options used when creating a collection. + + + + + Sets whether to automatically create an index on the _id element. + + Whether to automatically create an index on the _id element. + The builder (so method calls can be chained). + + + + Sets whether the collection is capped. + + Whether the collection is capped. + The builder (so method calls can be chained). + + + + Sets the max number of documents in a capped collection. + + The max number of documents. + The builder (so method calls can be chained). + + + + Sets the max size of a capped collection. + + The max size. + The builder (so method calls can be chained). + + + + Gets a null value with a type of IMongoCollectionOptions. + + + + + A builder for the options used when creating a collection. + + + + + Initializes a new instance of the CollectionOptionsBuilder class. + + + + + Sets whether to automatically create an index on the _id element. + + Whether to automatically create an index on the _id element. + The builder (so method calls can be chained). + + + + Sets whether the collection is capped. + + Whether the collection is capped. + The builder (so method calls can be chained). + + + + Sets the max number of documents in a capped collection. + + The max number of documents. + The builder (so method calls can be chained). + + + + Sets the max size of a capped collection. + + The max size. + The builder (so method calls can be chained). + + + + Returns the result of the builder as a BsonDocument. + + A BsonDocument. + + + + Serializes the result of the builder to a BsonWriter. + + The writer. + The nominal type. + The serialization options. + + + + Server connection mode. + + + + + Connect directly to a server. + + + + + Connect to a replica set. + + + + + Represents an immutable URL style connection string. See also MongoUrlBuilder. + + + + + Creates a new instance of MongoUrl. + + The URL containing the settings. + + + + 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 hash code. + + The hash code. + + + + Creates a new instance of MongoServerSettings based on the settings in this MongoUrlBuilder. + + A new instance of MongoServerSettings. + + + + Returns the canonical URL based on the settings in this MongoUrlBuilder. + + The canonical URL. + + + + 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 default credentials. + + + + + Gets the representation to use for Guids. + + + + + Gets whether to use IPv6. + + + + + 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 name of the replica set. + + + + + Gets the SafeMode to use. + + + + + 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 whether queries should be sent to secondary servers. + + + + + Gets the socket timeout. + + + + + Gets the URL (in canonical form). + + + + + 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. + + + + + A translator from LINQ expression queries to Mongo queries. + + + + + Translate a MongoDB LINQ query. + + The MongoDB LINQ query. + A TranslatedQuery. + + + + Translate a MongoDB LINQ query. + + The MongoDB query provider. + The LINQ query expression. + A TranslatedQuery. + + + + Represents a wrapped object that can be used where an IMongoCommand is expected (the wrapped object is expected to serialize properly). + + + + + Initializes a new instance of the CommandWrapper class. + + The wrapped object. + + + + Creates a new instance of the CommandWrapper class. + + The wrapped object. + A new instance of CommandWrapper or null. + + + + Represents the results of a validate collection command. + + + + + Initializes a new instance of the ValidateCollectionResult class. + + + + + Gets the data size of the collection. + + + + + Gets the number of documents that have been deleted from the collection. + + + + + Gets the number of documents that have been deleted from the collection. + + + + + Gets the errors returned by validate (or an empty array if there were no errors). + + + + + Gets the number of extents in the collection. + + + + + Gets the first extent of the collection. + + + + + Gets details of the first extent of the collection. + + + + + Gets the number of indexes in the collection. + + + + + Gets whether the collection is valid. + + + + + Gets a dictionary containing the number of keys per index. + + + + + Gets the last extent of the collection. + + + + + Gets the size of the last extent of the collection. + + + + + Gets the namespace. + + + + + Gets the padding factor of the collection. + + + + + Gets the number of records in the collection. + + + + + Gets the result string. + + + + + Gets any warning returned by the validate command (or null if there is no warning). + + + + + Represents the details of the first extent of the collection. + + + + + Gets the location of the extent. + + + + + Gets the location of the first record of the extent. + + + + + Gets the location of the last record of the extent. + + + + + Gets the nsdiag value of the extent. + + + + + Gets the size of the extent. + + + + + Gets the next extent. + + + + + Gets the prev extent. + + + + + Represents the result of a GeoHaystackSearch command. + + + + + Initializes a new instance of the GeoHaystackSearchResult class. + + + + + Gets the hits. + + + + + Gets the stats. + + + + + Gets the hits. + + + + + Represents a collection of GeoHaystackSearch hits. + + + + + Initializes a new instance of the GeoHaystackSearchHits class. + + + + + Gets an enumerator for the hits. + + An enumerator. + + + + Gets the enumerator. + + An enumerator. + + + + Gets an individual hit. + + The zero based index of the hit. + The hit. + + + + Gets the count of the number of hits. + + + + + Gets an individual hit. + + The zero based index of the hit. + The hit. + + + + Represents a GeoHaystackSearch hit. + + + + + Initializes a new instance of the GeoHaystackSearchHit class. + + The hit. + + + + Gets the document. + + + + + Gets the document as a BsonDocument. + + + + + Gets the document. + + + + + Represents the stats of a GeoHaystackSearch command. + + + + + Initializes a new instance of the GeoHaystackSearchStats class. + + The stats. + + + + Gets the count of b-tree matches. + + + + + Gets the duration. + + + + + Gets the number of hits. + + + + + Represents the result of a GeoHaystackSearch command. + + The type of the returned documents. + + + + Initializes a new instance of the GeoHaystackSearchResult class. + + + + + Gets the hits. + + + + + Gets the hits. + + + + + Represents a collection of GeoHaystackSearch hits. + + + + + Initializes a new instance of the GeoHaystackSearchHits class. + + The hits. + + + + Gets an enumerator for the hits. + + An enumerator. + + + + Gets a hit. + + The zero based index of the hit. + The hit. + + + + Gets an enumerator for the hits. + + An enumerator. + + + + Gets the count of the number of hits. + + + + + Gets an individual hit. + + The zero based index of the hit. + The hit. + + + + Represents a GeoHaystackSearch hit. + + + + + Initializes a new instance of the GeoHaystackSearchHit class. + + The hit. + + + + Gets the document. + + + + + Gets the document. + + + + + Flags used with the Remove method of MongoCollection. + + + + + No flags. + + + + + Remove only a single document. + + + + + Credentials to access a MongoDB database. + + + + + Creates a new instance of MongoCredentials. + + The username. + The password. + + + + Creates a new instance of MongoCredentials. + + The username. + The password. + Whether the credentials should be validated against the admin database. + + + + Creates an instance of MongoCredentials. + + The username. + The password. + A new instance of MongoCredentials (or null if either parameter is null). + + + + Compares two MongoCredentials. + + The first MongoCredentials. + The other MongoCredentials. + True if the two MongoCredentials are equal (or both null). + + + + Compares two MongoCredentials. + + The first MongoCredentials. + The other MongoCredentials. + True if the two MongoCredentials are not equal (or one is null and the other is not). + + + + Compares this MongoCredentials to another MongoCredentials. + + The other credentials. + True if the two credentials are equal. + + + + Compares this MongoCredentials to another MongoCredentials. + + The other credentials. + True if the two credentials are equal. + + + + Gets the hashcode for the credentials. + + The hashcode. + + + + Returns a string representation of the credentials. + + A string representation of the credentials. + + + + Gets the username. + + + + + Gets the password. + + + + + Gets whether the credentials should be validated against the admin database. + + + + + Represents a MongoDB collection and the settings used to access it. This class is thread-safe. + + + + + Protected constructor for abstract base class. + + The database that contains this collection. + The settings to use to access this collection. + + + + Counts the number of documents in this collection. + + The number of documents in this collection. + + + + Counts the number of documents in this collection that match a query. + + The query (usually a QueryDocument or constructed using the Query builder). + The number of documents in this collection that match the query. + + + + Creates an index for this collection. + + The indexed fields (usually an IndexKeysDocument or constructed using the IndexKeys builder). + The index options(usually an IndexOptionsDocument or created using the IndexOption builder). + A SafeModeResult. + + + + Creates an index for this collection. + + The indexed fields (usually an IndexKeysDocument or constructed using the IndexKeys builder). + A SafeModeResult. + + + + Creates an index for this collection. + + The names of the indexed fields. + A SafeModeResult. + + + + Returns the distinct values for a given field. + + The key of the field. + The distint values of the field. + + + + Returns the distinct values for a given field for documents that match a query. + + The key of the field. + The query (usually a QueryDocument or constructed using the Query builder). + The distint values of the field. + + + + Drops this collection. + + A CommandResult. + + + + Drops all indexes on this collection. + + A . + + + + Drops an index on this collection. + + The indexed fields (usually an IndexKeysDocument or constructed using the IndexKeys builder). + A . + + + + Drops an index on this collection. + + The names of the indexed fields. + A . + + + + Drops an index on this collection. + + The name of the index. + A . + + + + Ensures that the desired index exists and creates it if it does not. + + The indexed fields (usually an IndexKeysDocument or constructed using the IndexKeys builder). + The index options(usually an IndexOptionsDocument or created using the IndexOption builder). + + + + Ensures that the desired index exists and creates it if it does not. + + The indexed fields (usually an IndexKeysDocument or constructed using the IndexKeys builder). + + + + Ensures that the desired index exists and creates it if it does not. + + The names of the indexed fields. + + + + Tests whether this collection exists. + + True if this collection exists. + + + + Returns a cursor that can be used to find all documents in this collection as TDocuments. + + The nominal type of the documents. + A . + + + + Returns a cursor that can be used to find all documents in this collection as TDocuments. + + The nominal type of the documents. + A . + + + + Finds one matching document using the query and sortBy parameters and applies the specified update to it. + + The query (usually a QueryDocument or constructed using the Query builder). + The sort order to select one of the matching documents. + The update to apply to the matching document. + A . + + + + Finds one matching document using the query and sortBy parameters and applies the specified update to it. + + The query (usually a QueryDocument or constructed using the Query builder). + The sort order to select one of the matching documents. + The update to apply to the matching document. + Whether to return the new or old version of the modified document in the . + A . + + + + Finds one matching document using the query and sortBy parameters and applies the specified update to it. + + The query (usually a QueryDocument or constructed using the Query builder). + The sort order to select one of the matching documents. + The update to apply to the matching document. + Whether to return the new or old version of the modified document in the . + Whether to do an upsert if no matching document is found. + A . + + + + Finds one matching document using the query and sortBy parameters and applies the specified update to it. + + The query (usually a QueryDocument or constructed using the Query builder). + The sort order to select one of the matching documents. + The update to apply to the matching document. + Which fields of the modified document to return in the . + Whether to return the new or old version of the modified document in the . + Whether to do an upsert if no matching document is found. + A . + + + + Finds one matching document using the query and sortBy parameters and removes it from this collection. + + The query (usually a QueryDocument or constructed using the Query builder). + The sort order to select one of the matching documents. + A . + + + + Returns a cursor that can be used to find all documents in this collection that match the query as TDocuments. + + The type to deserialize the documents as. + The query (usually a QueryDocument or constructed using the Query builder). + A . + + + + Returns a cursor that can be used to find all documents in this collection that match the query as TDocuments. + + The nominal type of the documents. + The query (usually a QueryDocument or constructed using the Query builder). + A . + + + + Returns a cursor that can be used to find one document in this collection as a TDocument. + + The type to deserialize the documents as. + A TDocument (or null if not found). + + + + Returns a cursor that can be used to find one document in this collection that matches a query as a TDocument. + + The type to deserialize the documents as. + The query (usually a QueryDocument or constructed using the Query builder). + A TDocument (or null if not found). + + + + Returns a cursor that can be used to find one document in this collection as a TDocument. + + The nominal type of the documents. + A document (or null if not found). + + + + Returns a cursor that can be used to find one document in this collection that matches a query as a TDocument. + + The type to deserialize the documents as. + The query (usually a QueryDocument or constructed using the Query builder). + A TDocument (or null if not found). + + + + Returns a cursor that can be used to find one document in this collection by its _id value as a TDocument. + + The nominal type of the document. + The id of the document. + A TDocument (or null if not found). + + + + Returns a cursor that can be used to find one document in this collection by its _id value as a TDocument. + + The nominal type of the document. + The id of the document. + A TDocument (or null if not found). + + + + Runs a geoHaystack search command on this collection. + + The type of the found documents. + The x coordinate of the starting location. + The y coordinate of the starting location. + The options for the geoHaystack search (null if none). + A . + + + + Runs a geoHaystack search command on this collection. + + The type to deserialize the documents as. + The x coordinate of the starting location. + The y coordinate of the starting location. + The options for the geoHaystack search (null if none). + A . + + + + Runs a GeoNear command on this collection. + + The type to deserialize the documents as. + The query (usually a QueryDocument or constructed using the Query builder). + The x coordinate of the starting location. + The y coordinate of the starting location. + The maximum number of results returned. + A . + + + + Runs a GeoNear command on this collection. + + The type to deserialize the documents as. + The query (usually a QueryDocument or constructed using the Query builder). + The x coordinate of the starting location. + The y coordinate of the starting location. + The maximum number of results returned. + The GeoNear command options (usually a GeoNearOptionsDocument or constructed using the GeoNearOptions builder). + A . + + + + Runs a GeoNear command on this collection. + + The type to deserialize the documents as. + The query (usually a QueryDocument or constructed using the Query builder). + The x coordinate of the starting location. + The y coordinate of the starting location. + The maximum number of results returned. + A . + + + + Runs a GeoNear command on this collection. + + The type to deserialize the documents as. + The query (usually a QueryDocument or constructed using the Query builder). + The x coordinate of the starting location. + The y coordinate of the starting location. + The maximum number of results returned. + The GeoNear command options (usually a GeoNearOptionsDocument or constructed using the GeoNearOptions builder). + A . + + + + Gets the indexes for this collection. + + A list of BsonDocuments that describe the indexes. + + + + Gets the stats for this collection. + + The stats for this collection as a . + + + + Gets the total data size for this collection (data + indexes). + + The total data size. + + + + Gets the total storage size for this collection (data + indexes + overhead). + + The total storage size. + + + + Runs the group command on this collection. + + The query (usually a QueryDocument or constructed using the Query builder). + A JavaScript function that returns the key value to group on. + Initial value passed to the reduce function for each group. + A JavaScript function that is called for each matching document in a group. + A JavaScript function that is called at the end of the group command. + A list of results as BsonDocuments. + + + + Runs the group command on this collection. + + The query (usually a QueryDocument or constructed using the Query builder). + The names of the fields to group on. + Initial value passed to the reduce function for each group. + A JavaScript function that is called for each matching document in a group. + A JavaScript function that is called at the end of the group command. + A list of results as BsonDocuments. + + + + Runs the group command on this collection. + + The query (usually a QueryDocument or constructed using the Query builder). + The name of the field to group on. + Initial value passed to the reduce function for each group. + A JavaScript function that is called for each matching document in a group. + A JavaScript function that is called at the end of the group command. + A list of results as BsonDocuments. + + + + Tests whether an index exists. + + The indexed fields (usually an IndexKeysDocument or constructed using the IndexKeys builder). + True if the index exists. + + + + Tests whether an index exists. + + The names of the fields in the index. + True if the index exists. + + + + Tests whether an index exists. + + The name of the index. + True if the index exists. + + + + Inserts a document into this collection (see also InsertBatch to insert multiple documents at once). + + The nominal type of the document to insert. + The document to insert. + A SafeModeResult (or null if SafeMode is not being used). + + + + Inserts a document into this collection (see also InsertBatch to insert multiple documents at once). + + The nominal type of the document to insert. + The document to insert. + The options to use for this Insert. + A SafeModeResult (or null if SafeMode is not being used). + + + + Inserts a document into this collection (see also InsertBatch to insert multiple documents at once). + + The nominal type of the document to insert. + The document to insert. + The SafeMode to use for this Insert. + A SafeModeResult (or null if SafeMode is not being used). + + + + Inserts a document into this collection (see also InsertBatch to insert multiple documents at once). + + The nominal type of the document to insert. + The document to insert. + A SafeModeResult (or null if SafeMode is not being used). + + + + Inserts a document into this collection (see also InsertBatch to insert multiple documents at once). + + The nominal type of the document to insert. + The document to insert. + The options to use for this Insert. + A SafeModeResult (or null if SafeMode is not being used). + + + + Inserts a document into this collection (see also InsertBatch to insert multiple documents at once). + + The nominal type of the document to insert. + The document to insert. + The SafeMode to use for this Insert. + A SafeModeResult (or null if SafeMode is not being used). + + + + Inserts multiple documents at once into this collection (see also Insert to insert a single document). + + The type of the documents to insert. + The documents to insert. + A list of SafeModeResults (or null if SafeMode is not being used). + + + + Inserts multiple documents at once into this collection (see also Insert to insert a single document). + + The type of the documents to insert. + The documents to insert. + The options to use for this Insert. + A list of SafeModeResults (or null if SafeMode is not being used). + + + + Inserts multiple documents at once into this collection (see also Insert to insert a single document). + + The type of the documents to insert. + The documents to insert. + The SafeMode to use for this Insert. + A list of SafeModeResults (or null if SafeMode is not being used). + + + + Inserts multiple documents at once into this collection (see also Insert to insert a single document). + + The nominal type of the documents to insert. + The documents to insert. + A list of SafeModeResults (or null if SafeMode is not being used). + + + + Inserts multiple documents at once into this collection (see also Insert to insert a single document). + + The nominal type of the documents to insert. + The documents to insert. + The SafeMode to use for this Insert. + A list of SafeModeResults (or null if SafeMode is not being used). + + + + Inserts multiple documents at once into this collection (see also Insert to insert a single document). + + The nominal type of the documents to insert. + The documents to insert. + The options to use for this Insert. + A list of SafeModeResults (or null if SafeMode is not being used). + + + + Tests whether this collection is capped. + + True if this collection is capped. + + + + Runs a Map/Reduce command on this collection. + + A JavaScript function called for each document. + A JavaScript function called on the values emitted by the map function. + Options for this map/reduce command (see , and the builder). + A . + + + + Runs a Map/Reduce command on document in this collection that match a query. + + The query (usually a QueryDocument or constructed using the Query builder). + A JavaScript function called for each document. + A JavaScript function called on the values emitted by the map function. + Options for this map/reduce command (see , and the builder). + A . + + + + Runs a Map/Reduce command on document in this collection that match a query. + + The query (usually a QueryDocument or constructed using the Query builder). + A JavaScript function called for each document. + A JavaScript function called on the values emitted by the map function. + A . + + + + Runs a Map/Reduce command on this collection. + + A JavaScript function called for each document. + A JavaScript function called on the values emitted by the map function. + A . + + + + Runs the ReIndex command on this collection. + + A CommandResult. + + + + Removes documents from this collection that match a query. + + The query (usually a QueryDocument or constructed using the Query builder). + A SafeModeResult (or null if SafeMode is not being used). + + + + Removes documents from this collection that match a query. + + The query (usually a QueryDocument or constructed using the Query builder). + The SafeMode to use for this operation. + A SafeModeResult (or null if SafeMode is not being used). + + + + Removes documents from this collection that match a query. + + The query (usually a QueryDocument or constructed using the Query builder). + The flags for this Remove (see ). + A SafeModeResult (or null if SafeMode is not being used). + + + + Removes documents from this collection that match a query. + + The query (usually a QueryDocument or constructed using the Query builder). + The flags for this Remove (see ). + The SafeMode to use for this operation. + A SafeModeResult (or null if SafeMode is not being used). + + + + Removes all documents from this collection (see also ). + + A SafeModeResult (or null if SafeMode is not being used). + + + + Removes all documents from this collection (see also ). + + The SafeMode to use for this operation. + A SafeModeResult (or null if SafeMode is not being used). + + + + Removes all entries for this collection in the index cache used by EnsureIndex. Call this method + when you know (or suspect) that a process other than this one may have dropped one or + more indexes. + + + + + Saves a document to this collection. The document must have an identifiable Id field. Based on the value + of the Id field Save will perform either an Insert or an Update. + + The type of the document to save. + The document to save. + A SafeModeResult (or null if SafeMode is not being used). + + + + Saves a document to this collection. The document must have an identifiable Id field. Based on the value + of the Id field Save will perform either an Insert or an Update. + + The type of the document to save. + The document to save. + The options to use for this Save. + A SafeModeResult (or null if SafeMode is not being used). + + + + Saves a document to this collection. The document must have an identifiable Id field. Based on the value + of the Id field Save will perform either an Insert or an Update. + + The type of the document to save. + The document to save. + The SafeMode to use for this operation. + A SafeModeResult (or null if SafeMode is not being used). + + + + Saves a document to this collection. The document must have an identifiable Id field. Based on the value + of the Id field Save will perform either an Insert or an Update. + + The type of the document to save. + The document to save. + A SafeModeResult (or null if SafeMode is not being used). + + + + Saves a document to this collection. The document must have an identifiable Id field. Based on the value + of the Id field Save will perform either an Insert or an Update. + + The type of the document to save. + The document to save. + The options to use for this Save. + A SafeModeResult (or null if SafeMode is not being used). + + + + Saves a document to this collection. The document must have an identifiable Id field. Based on the value + of the Id field Save will perform either an Insert or an Update. + + The type of the document to save. + The document to save. + The SafeMode to use for this operation. + A SafeModeResult (or null if SafeMode is not being used). + + + + Gets a canonical string representation for this database. + + A canonical string representation for this database. + + + + Updates one matching document in this collection. + + The query (usually a QueryDocument or constructed using the Query builder). + The update to perform on the matching document. + A SafeModeResult (or null if SafeMode is not being used). + + + + Updates one or more matching documents in this collection (for multiple updates use UpdateFlags.Multi). + + The query (usually a QueryDocument or constructed using the Query builder). + The update to perform on the matching document. + The update options. + A SafeModeResult (or null if SafeMode is not being used). + + + + Updates one matching document in this collection. + + The query (usually a QueryDocument or constructed using the Query builder). + The update to perform on the matching document. + The SafeMode to use for this operation. + A SafeModeResult (or null if SafeMode is not being used). + + + + Updates one or more matching documents in this collection (for multiple updates use UpdateFlags.Multi). + + The query (usually a QueryDocument or constructed using the Query builder). + The update to perform on the matching document. + The flags for this Update. + A SafeModeResult (or null if SafeMode is not being used). + + + + Updates one or more matching documents in this collection (for multiple updates use UpdateFlags.Multi). + + The query (usually a QueryDocument or constructed using the Query builder). + The update to perform on the matching document. + The flags for this Update. + The SafeMode to use for this operation. + A SafeModeResult (or null if SafeMode is not being used). + + + + Validates the integrity of this collection. + + A . + + + + Gets the database that contains this collection. + + + + + Gets the fully qualified name of this collection. + + + + + Gets the name of this collection. + + + + + Gets the settings being used to access this collection. + + + + + Represents a MongoDB collection and the settings used to access it as well as a default document type. This class is thread-safe. + + The default document type of the collection. + + + + Creates a new instance of MongoCollection. Normally you would call one of the indexers or GetCollection methods + of MongoDatabase instead. + + The database that contains this collection. + The settings to use to access this collection. + + + + Returns a cursor that can be used to find all documents in this collection that match the query as TDefaultDocuments. + + The query (usually a QueryDocument or constructed using the Query builder). + A . + + + + Returns a cursor that can be used to find all documents in this collection as TDefaultDocuments. + + A . + + + + Returns a cursor that can be used to find one document in this collection as a TDefaultDocument. + + A TDefaultDocument (or null if not found). + + + + Returns a cursor that can be used to find one document in this collection that matches a query as a TDefaultDocument. + + The query (usually a QueryDocument or constructed using the Query builder). + A TDefaultDocument (or null if not found). + + + + Returns a cursor that can be used to find one document in this collection by its _id value as a TDefaultDocument. + + The id of the document. + A TDefaultDocument (or null if not found). + + + + Runs a geoHaystack search command on this collection. + + The x coordinate of the starting location. + The y coordinate of the starting location. + The options for the geoHaystack search (null if none). + A . + + + + Runs a GeoNear command on this collection. + + The query (usually a QueryDocument or constructed using the Query builder). + The x coordinate of the starting location. + The y coordinate of the starting location. + The maximum number of results returned. + A . + + + + Runs a GeoNear command on this collection. + + The query (usually a QueryDocument or constructed using the Query builder). + The x coordinate of the starting location. + The y coordinate of the starting location. + The maximum number of results returned. + Options for the GeoNear command (see , , and the builder). + A . + + + + Inserts a document into this collection (see also InsertBatch to insert multiple documents at once). + + The document to insert. + A SafeModeResult (or null if SafeMode is not being used). + + + + Inserts a document into this collection (see also InsertBatch to insert multiple documents at once). + + The document to insert. + The options to use for this Insert. + A SafeModeResult (or null if SafeMode is not being used). + + + + Inserts a document into this collection (see also InsertBatch to insert multiple documents at once). + + The document to insert. + The SafeMode to use for this Insert. + A SafeModeResult (or null if SafeMode is not being used). + + + + Inserts multiple documents at once into this collection (see also Insert to insert a single document). + + The documents to insert. + A list of SafeModeResults (or null if SafeMode is not being used). + + + + Inserts multiple documents at once into this collection (see also Insert to insert a single document). + + The documents to insert. + The options to use for this Insert. + A list of SafeModeResults (or null if SafeMode is not being used). + + + + Inserts multiple documents at once into this collection (see also Insert to insert a single document). + + The documents to insert. + The SafeMode to use for this Insert. + A list of SafeModeResults (or null if SafeMode is not being used). + + + + Saves a document to this collection. The document must have an identifiable Id field. Based on the value + of the Id field Save will perform either an Insert or an Update. + + The document to save. + A SafeModeResult (or null if SafeMode is not being used). + + + + Saves a document to this collection. The document must have an identifiable Id field. Based on the value + of the Id field Save will perform either an Insert or an Update. + + The document to save. + The options to use for this Save. + A SafeModeResult (or null if SafeMode is not being used). + + + + Saves a document to this collection. The document must have an identifiable Id field. Based on the value + of the Id field Save will perform either an Insert or an Update. + + The document to save. + The SafeMode to use for this operation. + A SafeModeResult (or null if SafeMode is not being used). + + + + Represents a wrapped object that can be used where an IMongoUpdate is expected (the wrapped object is expected to serialize properly). + + + + + Initializes a new instance of the UpdateWrapper class. + + The nominal type of the wrapped object. + The wrapped object. + + + + Creates a new instance of the UpdateWrapper class (this overload is used when the update + modifier is a replacement document). + + The nominal type of the wrapped object. + The wrapped object. + A new instance of UpdateWrapper or null. + + + + Creates a new instance of the UpdateWrapper class. + + The nominal type of the wrapped object. + The wrapped object. + A new instance of UpdateWrapper or null. + + + + Represents a BSON document that can be used where an IMongoGroupBy is expected. + + + + + Initializes a new instance of the GroupByDocument class. + + + + + Initializes a new instance of the GroupByDocument 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 GroupByDocument class and adds one element. + + An element to add to the document. + + + + Initializes a new instance of the GroupByDocument 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 GroupByDocument 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 GroupByDocument 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 GroupByDocument 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 GroupByDocument 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 GroupByDocument 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 GroupByDocument 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 GroupByDocument class and adds one or more elements. + + One or more elements to add to the document. + + + + Initializes a new instance of the GroupByDocument 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. + + + + 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. + + + + 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. + + + + Creates a new instance of MongoServerSettings based on the settings in this MongoUrlBuilder. + + A new instance of MongoServerSettings. + + + + Returns the canonical URL based on the settings in this MongoUrlBuilder. + + The canonical URL. + + + + 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 default credentials. + + + + + Gets or sets the representation to use for Guids. + + + + + Gets or sets whether to use IPv6. + + + + + 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 name of the replica set. + + + + + Gets or sets the SafeMode to use. + + + + + 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 whether queries should be sent to secondary servers. + + + + + Gets or sets the socket timeout. + + + + + 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. + + + + + Flags used with the Eval method in MongoDatabase. + + + + + No flags. + + + + + Do not take a write lock. + + + + + Represents the result of a FindAndModify command. + + + + + Initializes a new instance of the FindAndModifyResult class. + + + + + Gets the modified document as a TDocument. + + The nominal type of the modified document. + The modified document. + + + + Gets the modified document as a TDocument. + + The nominal type of the modified document. + The modified document. + + + + Gets the modified document. + + + + + Represents the results of the collection stats command. + + + + + Initializes a new instance of the CollectionStatsResult class. + + + + + Gets the average object size. + + + + + Gets the data size. + + + + + Gets the extent count. + + + + + Gets the flags. + + + + + Gets the index count. + + + + + Gets the index sizes. + + + + + Gets whether the collection is capped. + + + + + Gets the last extent size. + + + + + Gets the index count. + + + + + Gets the namespace. + + + + + Gets the object count. + + + + + Gets the padding factor. + + + + + Gets the storage size. + + + + + Gets the total index size. + + + + + Represents a collection of index sizes. + + + + + Initializes a new instance of the IndexSizesResult class. + + The index sizes document. + + + + Tests whether the results contain the size of an index. + + The name of the index. + True if the results contain the size of the index. + + + + Gets the size of an index. + + The name of the index. + The size of the index. + + + + Gets the count of indexes. + + + + + Gets the names of the indexes. + + + + + Gets the sizes of the indexes. + + + + + A builder for specifying which fields of a document the server should return. + + + + + Adds one or more field names to be excluded from the results. + + One or more field names. + The builder (so method calls can be chained). + + + + Adds one or more field names to be included in the results. + + One or more field names. + The builder (so method calls can be chained). + + + + Adds a slice to be included in the results. + + The name of the field to slice. + The size of the slice (negative sizes are taken from the end). + The builder (so method calls can be chained). + + + + Adds a slice to be included in the results. + + The name of the field to slice. + The number of values to skip. + The number of values to extract. + The builder (so method calls can be chained). + + + + Gets a null value with a type of IMongoFields. + + + + + A builder for specifying which fields of a document the server should return. + + + + + Initializes a new instance of the FieldsBuilder class. + + + + + Adds one or more field names to be excluded from the results. + + One or more field names. + The builder (so method calls can be chained). + + + + Adds one or more field names to be included in the results. + + One or more field names. + The builder (so method calls can be chained). + + + + Adds a slice to be included in the results. + + The name of the field to slice. + The size of the slice (negative sizes are taken from the end). + The builder (so method calls can be chained). + + + + Adds a slice to be included in the results. + + The name of the field to slice. + The number of values to skip. + The number of values to extract. + The builder (so method calls can be chained). + + + + Returns the result of the builder as a BsonDocument. + + A BsonDocument. + + + + Serializes the result of the builder to a BsonWriter. + + The writer. + The nominal type. + The serialization options. + + + diff --git a/packages/mongocsharpdriver.1.4/lib/net35/MongoDB.Driver.dll b/packages/mongocsharpdriver.1.4/lib/net35/MongoDB.Driver.dll new file mode 100644 index 000000000..34b88a0dd Binary files /dev/null and b/packages/mongocsharpdriver.1.4/lib/net35/MongoDB.Driver.dll differ diff --git a/packages/mongocsharpdriver.1.4/lib/net35/MongoDB.Driver.pdb b/packages/mongocsharpdriver.1.4/lib/net35/MongoDB.Driver.pdb new file mode 100644 index 000000000..270355f52 Binary files /dev/null and b/packages/mongocsharpdriver.1.4/lib/net35/MongoDB.Driver.pdb differ diff --git a/packages/mongocsharpdriver.1.4/mongocsharpdriver.1.4.nupkg b/packages/mongocsharpdriver.1.4/mongocsharpdriver.1.4.nupkg new file mode 100644 index 000000000..9920c9b64 Binary files /dev/null and b/packages/mongocsharpdriver.1.4/mongocsharpdriver.1.4.nupkg differ